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

Pre-allocating log file takes long time on PPC machine

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT3.2.0, 4.1.8
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Engines 2019-01-14

      After a recent extension of max wait time in test_bug019.py by WT-4331, the test failed again on the PPC machine. 

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

      FAIL: test_bug019.test_bug019.test_bug019 (subunit.RemotedTestCase)
      test_bug019.test_bug019.test_bug019
      ----------------------------------------------------------------------
      _StringException: Traceback (most recent call last):
        File "/home/jenkins/jenkins/workspace/wiredtiger-test-unit-ppc/test/suite/test_bug019.py", line 87, in test_bug019
          newer = self.prepfiles()
        File "/home/jenkins/jenkins/workspace/wiredtiger-test-unit-ppc/test/suite/test_bug019.py", line 71, in prepfiles
          self.assertFalse(not f)
        File "/usr/lib64/python2.7/unittest/case.py", line 456, in assertFalse
          raise self.failureException(msg)
      AssertionError: True is not false

      There seems to be another place in the test program that are set to wait for 30 seconds:

       63     # Wait for a log file to be pre-allocated. Avoid timing problems, but
       64     # assert a file is created within 30 seconds.
       65     def prepfiles(self):
       66         for i in range(1,30):
       67                 f = fnmatch.filter(os.listdir('.'), "*Prep*")
       68                 if f:
       69                         return f
       70                 time.sleep(1.0)
       71         self.assertFalse(not f) 

            Assignee:
            jongbin.kim Jongbin Kim
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: