Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12833

Extend setup_spawn_host.sh to start reproducing failures automatically

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.
      

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: