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

Windows: QFileSystemWatcher autotest fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 5.0.0
    • None
    • windows 7, msvc2008
    • 0f0d8a5a8fecf545cdf58ab50d05253ffd20e90b

    Description

      Test passes on 4.8, fails on 5.0

      ********* Start testing of tst_QFileSystemWatcher *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_QFileSystemWatcher::initTestCase()
      QDEBUG : tst_QFileSystemWatcher::basicTest(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QDEBUG : tst_QFileSystemWatcher::basicTest(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QDEBUG : tst_QFileSystemWatcher::basicTest(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QDEBUG : tst_QFileSystemWatcher::basicTest(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      QDEBUG : tst_QFileSystemWatcher::basicTest(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      PASS   : tst_QFileSystemWatcher::basicTest()
      QDEBUG : tst_QFileSystemWatcher::watchDirectory(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QDEBUG : tst_QFileSystemWatcher::watchDirectory(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QSYSTEM: tst_QFileSystemWatcher::watchDirectory(native backend) QFileSystemWatcher: FindNextChangeNotification failed for "C:\dev\qt\qtbase\tests\auto\corelib\io\qfilesystemwatcher\testdir"  (Access is denied.)
      SKIP   : tst_QFileSystemWatcher::watchDirectory(native backend) Failed to recreate directory, skipping final test..\tst_qfilesystemwatcher.cpp(287) : failure location
      QDEBUG : tst_QFileSystemWatcher::watchDirectory(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      QDEBUG : tst_QFileSystemWatcher::watchDirectory(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      PASS   : tst_QFileSystemWatcher::watchDirectory()
      PASS   : tst_QFileSystemWatcher::addPath()
      PASS   : tst_QFileSystemWatcher::removePath()
      PASS   : tst_QFileSystemWatcher::addPaths()
      PASS   : tst_QFileSystemWatcher::removePaths()
      QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend) QFileSystemWatcher: skipping polling engine, using only native engine
      QSYSTEM: tst_QFileSystemWatcher::watchFileAndItsDirectory(native backend) QFileSystemWatcher: FindNextChangeNotification failed for "C:\dev\qt\qtbase\tests\auto\corelib\io\qfilesystemwatcher\testdir"  (Access is denied.)
      QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      QDEBUG : tst_QFileSystemWatcher::watchFileAndItsDirectory(poller backend) QFileSystemWatcher: skipping native engine, using only polling engine
      PASS   : tst_QFileSystemWatcher::watchFileAndItsDirectory()
      QWARN  : tst_QFileSystemWatcher::nonExistingFile() QFileSystemWatcher::addPaths: list is empty
      QWARN  : tst_QFileSystemWatcher::nonExistingFile() QFileSystemWatcher::removePaths: list is empty
      PASS   : tst_QFileSystemWatcher::nonExistingFile()
      FAIL!  : tst_QFileSystemWatcher::removeFileAndUnWatch() 'watcher.removePath(filename)' returned FALSE. ()
      .\tst_qfilesystemwatcher.cpp(489) : failure location
      PASS   : tst_QFileSystemWatcher::destroyAfterQCoreApplication()
      PASS   : tst_QFileSystemWatcher::cleanupTestCase()
      Totals: 11 passed, 1 failed, 1 skipped
      ********* Finished testing of tst_QFileSystemWatcher *********
      NMAKE : fatal error U1077: 'debug\tst_qfilesystemwatcher.exe' : return code '0x1'

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              shkearns Shane Kearns
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes