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

Avoid depending on particular error message text for test_bug018

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.3.3, 4.2.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage Engines 2019-12-30, Storage Engines 2020-01-13, Storage Engines 2020-01-27

      Below assertion failure was encountered while running test_bug018.py as part of unit test on kodkod-aws. The error output indicates the openning of the 2nd table failed and the string pattern captured is unexpected - the expected pattern is "unable to read root page".

      http://build.wiredtiger.com:8080/job/wiredtiger-test-unit/8136/

      FAIL: test_bug018.test_bug018.test_bug018 (subunit.RemotedTestCase)
      test_bug018.test_bug018.test_bug018
      ----------------------------------------------------------------------
      _StringException: Traceback (most recent call last):
        File "/mnt/data0/jenkins/workspace/wiredtiger-test-unit/test/suite/test_bug018.py", line 116, in test_bug018
          self.captureerr.checkAdditionalPattern(self, 'unable to read root page')
        File "/mnt/data0/jenkins/workspace/wiredtiger-test-unit/test/suite/wttest.py", line 136, in checkAdditionalPattern
          gotstr + '"')
        File "/usr/lib/python2.7/unittest/case.py", line 410, in fail
          raise self.failureException(msg)
      AssertionError: in error output, expected pattern "unable to read root page", but got "[1561527970:385671][25006:0x7fe81a544740], test_bug018.test_bug018.test_bug018, file:bug018.02.wt, WT_SESSION.open_cursor: __posix_file_read, 447: SUBPROCESS/test_bug018.0/bug018.02.wt: handle-read: pread: failed to read 4096 bytes at offset 16384: WT_ERROR: non-specific WiredTiger error
      " 

        1. failure.log
          7 kB
        2. failure.log
          7 kB
        3. image-2019-12-20-15-01-39-879.png
          image-2019-12-20-15-01-39-879.png
          1.94 MB
        4. success.log
          4 kB

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: