Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33574

tst_QFileSystemWatcher is unstable

    XMLWordPrintable

Details

    Description

      Qt Continuous Integration System		Sep 19
      Patch Set 1:
      Autotest `tst_qfilesystemwatcher' failed :(
      The test was determined to be flaky, meaning results were not consistent across multiple runs. This might make the problem difficult to reproduce. Also, flaky failures might or might not be related to any recent changes in the source code.
        Testing tst_QFileSystemWatcher
        FAIL!  : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-testfile) Compared values are not the same
           Actual   (dirChangedSpy.count()): 0
           Expected (1)                    : 1
        tst_qfilesystemwatcher.cpp(487) : failure location
        FAIL!  : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-specialchars) Compared values are not the same
           Actual   (dirChangedSpy.count()): 0
           Expected (1)                    : 1
        tst_qfilesystemwatcher.cpp(487) : failure location
        Totals: 18 passed, 2 failed, 1 skipped
        QtQA::App::TestRunner: test failed, running again to see if it is flaky...
        ********* Start testing of tst_QFileSystemWatcher *********
        Config: Using QtTest library 5.2.0, Qt 5.2.0
        PASS   : tst_QFileSystemWatcher::initTestCase()
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        PASS   : tst_QFileSystemWatcher::basicTest(native backend-testfile)
        QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        PASS   : tst_QFileSystemWatcher::basicTest(poller backend-testfile)
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::basicTest(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        PASS   : tst_QFileSystemWatcher::basicTest(native backend-specialchars)
        QDEBUG : tst_QFileSystemWatcher::watchDirectory(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::watchDirectory(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        QSYSTEM: tst_QFileSystemWatcher::watchDirectory(native backend-testfile) QFileSystemWatcher: FindNextChangeNotification failed for "C:\Users\qt\AppData\Local\Temp\tst_qfilesystemwatcherA3gaaa\testDir"  (Access is denied.)
        PASS   : tst_QFileSystemWatcher::watchDirectory(native backend-testfile)
        QDEBUG : tst_QFileSystemWatcher::watchDirectory(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        QDEBUG : tst_QFileSystemWatcher::watchDirectory(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        PASS   : tst_QFileSystemWatcher::watchDirectory(poller backend-testfile)
        QDEBUG : tst_QFileSystemWatcher::watchDirectory(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::watchDirectory(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QSYSTEM: tst_QFileSystemWatcher::watchDirectory(native backend-specialchars) QFileSystemWatcher: FindNextChangeNotification failed for "C:\Users\qt\AppData\Local\Temp\tst_qfilesystemwatcherMfeaaa\testDir"  (Access is denied.)
        PASS   : tst_QFileSystemWatcher::watchDirectory(native backend-specialchars)
        PASS   : tst_QFileSystemWatcher::addPath()
        PASS   : tst_QFileSystemWatcher::removePath()
        PASS   : tst_QFileSystemWatcher::addPaths()
        PASS   : tst_QFileSystemWatcher::removePaths()
        QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        XFAIL  : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-testfile) See QTBUG-30943
        tst_qfilesystemwatcher.cpp(476) : failure location
        FAIL!  : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-testfile) Compared values are not the same
           Actual   (dirChangedSpy.count()): 0
           Expected (1)                    : 1
        tst_qfilesystemwatcher.cpp(487) : failure location
        QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        PASS   : tst_QFileSystemWatcher::watchFileAndItsDirectory(poller backend-testfile)
        QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QSYSTEM: tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-specialchars) QFileSystemWatcher: FindNextChangeNotification failed for "C:\Users\qt\AppData\Local\Temp\tst_qfilesystemwatcher2ahaaa\testDir"  (Access is denied.)
        PASS   : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend-specialchars)
        QWARN  : tst_QFileSystemWatcher::nonExistingFile() QFileSystemWatcher::addPaths: list is empty
        QWARN  : tst_QFileSystemWatcher::nonExistingFile() QFileSystemWatcher::removePaths: list is empty
        PASS   : tst_QFileSystemWatcher::nonExistingFile()
        SKIP   : tst_QFileSystemWatcher::removeFileAndUnWatch() Skipping remaining test due to race condition.
        tst_qfilesystemwatcher.cpp(544) : failure location
        PASS   : tst_QFileSystemWatcher::destroyAfterQCoreApplication()
        QDEBUG : tst_QFileSystemWatcher::QTBUG2331(native backend-testfile) QFileSystemWatcher: skipping polling engine, using only native engine
        QSYSTEM: tst_QFileSystemWatcher::QTBUG2331(native backend-testfile) QFileSystemWatcher: FindNextChangeNotification failed for "C:\Users\qt\AppData\Local\Temp\tst_qfilesystemwatcherbEbaaa"  (Access is denied.)
        PASS   : tst_QFileSystemWatcher::QTBUG2331(native backend-testfile)
        QDEBUG : tst_QFileSystemWatcher::QTBUG2331(poller backend-testfile) QFileSystemWatcher: skipping native engine, using only polling engine
        PASS   : tst_QFileSystemWatcher::QTBUG2331(poller backend-testfile)
        QDEBUG : tst_QFileSystemWatcher::QTBUG2331(native backend-specialchars) QFileSystemWatcher: skipping polling engine, using only native engine
        QSYSTEM: tst_QFileSystemWatcher::QTBUG2331(native backend-specialchars) QFileSystemWatcher: FindNextChangeNotification failed for "C:\Users\qt\AppData\Local\Temp\tst_qfilesystemwatcherFdgaaa"  (Access is denied.)
        PASS   : tst_QFileSystemWatcher::QTBUG2331(native backend-specialchars)
        PASS   : tst_QFileSystemWatcher::cleanupTestCase()
        Totals: 19 passed, 1 failed, 1 skipped
        ********* Finished testing of tst_QFileSystemWatcher *********
        QtQA::App::TestRunner: test failed on first and second attempts, but with different behavior each time:
        QtQA::App::TestRunner:   first attempt:  exited with exit code 2
        QtQA::App::TestRunner:   second attempt: exited with exit code 1
        QtQA::App::TestRunner: the test seems to be flaky, please fix this
        QtQA::App::TestRunner: this flaky test is being treated as a FAIL
        QtQA::App::TestRunner: end tst_qfilesystemwatcher: 256 seconds, exit code 1
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            w00t Robin Burchell
            sletta Gunnar Sletta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes