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

Use retry mechanism against rollbacks in test_txn24

    • 5
    • Storage - Ra 2022-05-16
    • v6.0

      unit-test on macos-1014

      Host: macos-1014-153.macstadium.build.10gen.cc
      Project: wiredtiger
      Commit: b23061e2

      Task Logs:

      unit-test task_log

      Logs:

      Test failure
      ERROR: test_txn24.test_txn24.test_snapshot_isolation_and_eviction(integer-row) (subunit.RemotedTestCase)
      test_txn24.test_txn24.test_snapshot_isolation_and_eviction(integer-row)
      ----------------------------------------------------------------------
      testtools.testresult.real._StringException: Traceback (most recent call last):
        File "/data/mci/5f7c07b8cb1e8aa24290b2979e46e2da/wiredtiger/test/suite/test_txn24.py", line 117, in test_snapshot_isolation_and_eviction
          cursor4[start_row] = new_val
        File "/data/mci/5f7c07b8cb1e8aa24290b2979e46e2da/wiredtiger/cmake_build/lang/python/wiredtiger/swig_wiredtiger.py", line 320, in __setitem__
          if self.insert() != 0:
      _wiredtiger.WiredTigerError: WT_ROLLBACK: conflict between concurrent operations
      ----------------------------------------------------------------------
      Ran 8793 tests in 7459.683s
      FAILED (errors=1, skipped=1346)
      failure: test_txn24.test_txn24.test_snapshot_isolation_and_eviction(integer-row) [
      Traceback (most recent call last):
        File "/data/mci/5f7c07b8cb1e8aa24290b2979e46e2da/wiredtiger/test/suite/wttest.py", line 565, in tearDown
          self.captureout.check(self)
        File "/data/mci/5f7c07b8cb1e8aa24290b2979e46e2da/wiredtiger/test/suite/wttest.py", line 116, in check
          testcase.fail('unexpected ' + self.desc + ', contains: "' +
        File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/unittest/case.py", line 670, in fail
          raise self.failureException(msg)
      AssertionError: unexpected standard output, contains: "[1649913845:13897][90275:0x118e8e5c0], test_txn24.test_txn24.test_snapshot_isolation_and_eviction(integer-row), file:test_txn24.wt, WT_CURSOR.insert: [WT_VERB_TRANSACTION][NOTICE]: oldest pinned transaction ID rolled back for eviction
      "
      ]
      sysctl -n hw.logicalcpu
      git rev-parse --show-toplevel
      Command failed: command encountered problem: error waiting on process '332b90fb-806a-4395-88ba-396dd9976e58': exit status 1
      Task completed - FAILURE.
      Running post-task commands.
      Running command 'shell.exec' in "dump stacktraces" (step 1.1 of 5)
      `${SHELL_EXPANSION}` syntax will only work for Evergreen expansions. See Evergreen FAQ for details.
      # Parse through any failures inside the WT_TEST directory.
      python3 ../test/evergreen/print_stack_trace.py --unit_test -e python3 -c WT_TEST -l .
      # Look through the stress format directory for any coredumps.
      cd test/format
      python3 ../../../test/evergreen/print_stack_trace.py --format -e ./t -c . -l .
      Finished 'shell.exec' in "dump stacktraces" in 85.324197ms
      Running command 's3.put' in "dump stacktraces" (step 1.2 of 5)
      Putting files matching filter [wiredtiger/cmake_build/*stacktrace.txt wiredtiger/cmake_build/test/format/*stacktrace.txt] into path wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/artifacts/ in s3 bucket build_external
      performing s3 put to build_external of wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/artifacts/ [1 of 5]
      s3.put: file filter 'wiredtiger/cmake_build/*stacktrace.txt wiredtiger/cmake_build/test/format/*stacktrace.txt' matched no files
      Finished 's3.put' in "dump stacktraces" in 522.468678ms
      Running command 'shell.exec' in "dump stderr/stdout" (step 2 of 5)
      `${SHELL_EXPANSION}` syntax will only work for Evergreen expansions. See Evergreen FAQ for details.
      if [ -d "WT_TEST" ]; then
        # Dump stderr/stdout contents generated by the C libraries onto console for Python tests
        find "WT_TEST" -name "std*.txt" ! -empty -exec sh -c "echo 'Contents from {}:'; cat '{}'" \;
      fi
      Contents from WT_TEST/test_txn24.test_txn24.test_snapshot_isolation_and_eviction_integer-row/stdout.txt:
      [1649913845:13897][90275:0x118e8e5c0], test_txn24.test_txn24.test_snapshot_isolation_and_eviction(integer-row), file:test_txn24.wt, WT_CURSOR.insert: [WT_VERB_TRANSACTION][NOTICE]: oldest pinned transaction ID rolled back for eviction
      Finished 'shell.exec' in "dump stderr/stdout" in 8.899295ms
      Running command 'archive.targz_pack' in "upload artifact" (step 3.1 of 5)
      Finished 'archive.targz_pack' in "upload artifact" in 6.648232217s
      Running command 's3.put' in "upload artifact" (step 3.2 of 5)
      Putting wiredtiger.tgz into build_external/wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/artifacts/unit-test_wiredtiger_macos_1014_b23061e288645400c92167f56b55576ad686de82_22_04_14_03_37_18-0.tgz (https://build_external.s3.amazonaws.com/wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/artifacts/unit-test_wiredtiger_macos_1014_b23061e288645400c92167f56b55576ad686de82_22_04_14_03_37_18-0.tgz)
      performing s3 put to build_external of wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/artifacts/unit-test_wiredtiger_macos_1014_b23061e288645400c92167f56b55576ad686de82_22_04_14_03_37_18-0.tgz [1 of 5]
      Finished 's3.put' in "upload artifact" in 10.366209859s
      Running command 'archive.targz_pack' in "save wt hang analyzer core/debugger files" (step 4.1 of 5)
      Finished 'archive.targz_pack' in "save wt hang analyzer core/debugger files" in 33.059356ms
      Running command 's3.put' in "save wt hang analyzer core/debugger files" (step 4.2 of 5)
      Putting wt-hang-analyzer.tgz into build_external/wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/wt_hang_analyzer/wt-hang-analyzer_unit-test_wiredtiger_macos_1014_b23061e288645400c92167f56b55576ad686de82_22_04_14_03_37_18-0.tgz (https://build_external.s3.amazonaws.com/wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/wt_hang_analyzer/wt-hang-analyzer_unit-test_wiredtiger_macos_1014_b23061e288645400c92167f56b55576ad686de82_22_04_14_03_37_18-0.tgz)
      performing s3 put to build_external of wiredtiger/macos-1014/b23061e288645400c92167f56b55576ad686de82/wt_hang_analyzer/wt-hang-analyzer_unit-test_wiredtiger_macos_1014_b23061e288645400c92167f56b55576ad686de82_22_04_14_03_37_18-0.tgz [1 of 5]
      file '/data/mci/5f7c07b8cb1e8aa24290b2979e46e2da/wt-hang-analyzer.tgz' not found but skip missing true
      Finished 's3.put' in "save wt hang analyzer core/debugger files" in 77.397651ms
      Running command 'shell.exec' in "cleanup" (step 5 of 5)
      `${SHELL_EXPANSION}` syntax will only work for Evergreen expansions. See Evergreen FAQ for details.
      Finished 'shell.exec' in "cleanup" in 285.255218ms
      [message='Finished running post-task commands.' total_time='18.054657963s']
      Link: https://evergreen.mongodb.com/task_log_raw/wiredtiger_macos_1014_unit_test_b23061e288645400c92167f56b55576ad686de82_22_04_14_03_37_18/0?type=T#L31440
      

      logs

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: