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

Test run-ex_access.py fails on mongodb-4.0 and -3.6 branches

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      Storage Engines 2020-04-06

      Description

      While working on a backport-to-4.0 ticket, I ran the make check all command as usual and encountered the test failure below. This issue occurs on the mongodb-3.6 and mongodb-4.0 branches as well. The test passes on the mongodb-4.0 and develop branches.

      make  check-TESTS
      make[2]: Entering directory '/home/tammy/wiredtiger/build_posix/lang/python'
      make[3]: Entering directory '/home/tammy/wiredtiger/build_posix/lang/python'
      FAIL: run-ex_access
      ============================================================================
      Testsuite summary for WiredTiger 3.1.0
      ============================================================================
      # TOTAL: 1
      # PASS:  0
      # SKIP:  0
      # XFAIL: 0
      # FAIL:  1
      # XPASS: 0
      # ERROR: 0
      ============================================================================
      See lang/python/test-suite.log
      Please report to support@wiredtiger.com
      ============================================================================
      Makefile:591: recipe for target 'test-suite.log' failed
      make[3]: *** [test-suite.log] Error 1
      make[3]: Leaving directory '/home/tammy/wiredtiger/build_posix/lang/python'
      Makefile:697: recipe for target 'check-TESTS' failed
      make[2]: *** [check-TESTS] Error 2
      

      The contents of the lang/python/test-suite.log file are as follows:

      ==================================================
         WiredTiger 3.1.0: lang/python/test-suite.log
      ==================================================
       
      # TOTAL: 1
      # PASS:  0
      # SKIP:  0
      # XFAIL: 0
      # FAIL:  1
      # XPASS: 0
      # ERROR: 0
       
      .. contents:: :depth: 2
       
      FAIL: run-ex_access
      ===================
       
      Traceback (most recent call last):
        File "../../../lang/python/../../examples/python/ex_access.py", line 31, in <module>
          from wiredtiger import wiredtiger_open
        File "./wiredtiger/__init__.py", line 49, in <module>
          import swig_wiredtiger
        File "./wiredtiger/swig_wiredtiger.py", line 990, in <module>
          WT_BACKUP_INVALID = _wiredtiger.WT_BACKUP_INVALID
      AttributeError: 'module' object has no attribute 'WT_BACKUP_INVALID'
      FAIL run-ex_access (exit status: 1)
      

       

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            tammy.bailey Tammy Bailey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: