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

Avoid depending on particular error message text for test_bug018

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.3.3, 4.2.4
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Storage Engines 2019-12-30, Storage Engines 2020-01-13, Storage Engines 2020-01-27

      Description

      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
      " 

        Attachments

        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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: