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

Python2: handle errors that occur under the concurrent test option (-j)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, WT3.2.2, 4.2.2
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Storage Engines 2019-11-04, Storage Engines 2019-11-18

      Description

      In WT-4486, a test case is clearly failing (giving a Python stack trace), but the results.txt file has: passed=True and the directory is removed.  This behavior occurs with the -j option, and does not occur without that.

      To reproduce in the same way as in WT-4486, one needs to change test_log03.py to alter the line in test_dirty_max to be:

        for dirty_pct,increase in [[50, 50]]:
      

      Then run:

      $ cd build_posix
      $ env LD_LIBRARY_PATH=.libs:lang/python python ../test/suite/run.py -v 2 -j 4 log 

      This was noticed on a non-zseries linux box, but it is the same on regular linux.

        Attachments

        1. test_simple.py
          1 kB
        2. test_simple2.py
          1 kB

          Activity

            People

            • Assignee:
              donald.anderson Donald Anderson
              Reporter:
              donald.anderson Donald Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: