Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1991

Fix the tests "rerun" mechanism

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.4.2
    • Component/s: Tests

      Description

      When all tests pass, the "rerun" mecanism will still be executed. And then all tests will be started, without OS filtering:

      17:10:46  [INFO]      [exec] >>> Re-rerun failed tests
      17:10:47  [INFO]      [exec] ============================= test session starts ==============================
      17:10:47  [INFO]      [exec] platform linux -- Python 3.7.4, pytest-5.3.0, py-1.8.0, pluggy-0.13.1
      17:10:47  [INFO]      [exec] benchmark: 3.2.2 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
      17:10:47  [INFO]      [exec] rootdir: /opt/jenkins/workspace/Drive/Drive-OS-test-jobs/Drive-tests-linux-dynamic/sources, inifile: setup.cfg
      17:10:47  [INFO]      [exec] plugins: timeout-1.3.3, cov-2.8.1, forked-1.1.3, benchmark-3.2.2, xdist-1.30.0
      17:10:47  [INFO]      [exec] gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I
      
      17:11:13  [INFO]      [exec] gw0 [829] / gw1 [829] / gw2 [829] / gw3 [829] / gw4 [829] / gw5 [829] / gw6 [829] / gw7 [829]
      
      17:12:34  [INFO]      [exec] ................................s....s....F.........s...FFs.F.F.......... [  8%]
      
      17:14:26  [INFO]      [exec] .............s................x....F......F....FF.F...Fss....FFF.sF.FFss [ 17%]
      
      17:16:02  [INFO]      [exec] F.xFFFFFFxFssFFFsFFFF.FssFFssFsFFFsF..ssFFFFFFFFFFFF.FFFF...FF.FFFF.FFFF [ 25%]
      
      17:18:09  [INFO]      [exec] FFFFFFFF.FFFF.FFFsFFFs.FFF..FsFFFF.sFFFF.FFFFF.RFFFFF.RFFF.FFRFFF.FRFFF..F [ 34%]
      
      17:18:35  [INFO]      [exec] R.FR.F.F......F..R.............FF...........R........s.F...............s [ 41%]
      
      17:18:45  [INFO]      [exec] s...........R...F..............................ss.........FF............ [ 50%]
      17:18:45  [INFO]      [exec] ...........................................................s............ [ 59%]
      
      17:18:49  [INFO]      [exec] ......................................R................................. [ 67%]
      
      17:18:56  [INFO]      [exec] ....s.........F......................................................... [ 76%]
      17:18:56  [INFO]      [exec] ........................................................................ [ 85%]
      
      17:20:17  [INFO]      [exec] ......................ssssssF.FFFsssssssssF.FsF.FFFF.FFFFFsFFFsFFF....FF [ 93%]
      
      17:24:23  [INFO]      [exec] .FRFFsFRRFFRRFRRF.RFRFRFRFRFFRFRRFRFRRFFFFF.FFx.FFFFF..FFFsFF.
      17:24:23  [INFO]      [exec] ==================================== ERRORS ====================================
      ...
      

      In that case, no test should be run at all.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 20 minutes
                  1d 20m