Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-65830

BGHook does not stop before aborting the fixture due to a test failure

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Tooling & Methods
    • ALL
    • 148

      This was observed in a build failure. The replica set fixture was being stopped due to a test failure.

      [j1] Stopping all members of the replica set...
      [fsm_workload_test:job1_fixture_abort_0] Aborting the fixture ReplicaSetFixture (Job #1) due to test failure.
      

      However, the SimulateCrash background hook was still running during the teardown, causing it to fail.

      [SimulateCrash:job1] | 2022-04-08T04:30:08.117Z F  CONTROL  20574   [-] "Error during global initialization","attr":{"error":{"code":38,"codeName":"FileNotOpen","errmsg":"Can't initialize rotatable log file :: caused by :: Failed to open /data/db/job1/resmoke/node2/simulateCrashes/validate.log"}}
      

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: