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

schema_abort test hangs

    • StorEng - Refinement Pipeline

      Summary
      schema_abort test hangs after adding a long sleep to the parent process. This lets the child process run longer. Each iteration crashes with a known issue, but eventually, it gets stuck in what looks like a deadlock.

      diff --git a/test/csuite/schema_abort/main.c b/test/csuite/schema_abort/main.c
      index 88ea6e3a3..a85c60c32 100644
      --- a/test/csuite/schema_abort/main.c
      +++ b/test/csuite/schema_abort/main.c
      @@ -1114,6 +1114,7 @@ main(int argc, char *argv[])
               while (stat(statname, &sb) != 0)
                   testutil_sleep_wait(1, pid);
               sleep(timeout);
      +        sleep(100000);
               sa.sa_handler = SIG_DFL;
               testutil_assert_errno(sigaction(SIGCHLD, &sa, NULL) == 0); 

      To reproduce the issue just run the following command in a loop. The script will hang after ~30 iterations.

      ./test_schema_abort -B 

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            alexey.anisimov@mongodb.com Alexey Anisimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: