-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Developer Productivity
-
Storage Engines
-
StorEng - Defined Pipeline
The setup_spawn_host.sh script is great for spawning a host and having access to the core files immediately.
We could extend it to start reproducing an issue to save us time. Find below an example with test/format:
diff --git a/test/evergreen/setup_spawn_host.sh b/test/evergreen/setup_spawn_host.sh index a160a5987..b553658a7 100644 --- a/test/evergreen/setup_spawn_host.sh +++ b/test/evergreen/setup_spawn_host.sh @@ -83,3 +83,12 @@ slack_message="The setup_spawn_host script has finished setting things up. Pleas if [[ -n "${slack_user}" ]]; then "$evg_binary_pathname" --config "$evg_credentials_pathname" notify slack -t "@$slack_user" -m "$slack_message" fi + +# Find the test/format config +cd cmake_build/test/format +config=$(find RUNDIR.*/ -type f -name "CONFIG") + +./format.sh -c $config -j $(nproc) -F + +# If the above command fails - send a Slack notification.