https://bugs.kde.org/show_bug.cgi?id=387006

--- Comment #9 from Christophe Giboudeaux <christo...@krop.fr> ---
ok, I tried running ctest -j4 a couple times, the kdirwatch_*_unittest tests
fail randomly:

27/28 Testing: kdirwatch_inotify_unittest
27/28 Test: kdirwatch_inotify_unittest
Command: "/data/kde/build/kcoreaddons/bin/kdirwatch_inotify_unittest"
Directory: /data/kde/build/kcoreaddons/autotests
"kdirwatch_inotify_unittest" start time: Sep 07 17:47 CEST
Output:
----------------------------------------------------------
Using method QFSWatch
********* Start testing of KDirWatch_UnitTest *********
Config: Using QtTest library 5.15.0, Qt 5.15.0 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 10.1.1 20200625 [revision
c91e43e9363bd119a695d64505f96539fa451bf2])
PASS   : KDirWatch_UnitTest::initTestCase()
QDEBUG : KDirWatch_UnitTest::touchOneFile() Waited 750 ms so that now
"2020-09-07T17:47:45" is > "2020-09-07T17:47:44"
PASS   : KDirWatch_UnitTest::touchOneFile()
QDEBUG : KDirWatch_UnitTest::touch1000Files() Waited 800 ms so that now
"2020-09-07T17:47:46" is > "2020-09-07T17:47:45"
QWARN  : KDirWatch_UnitTest::touch1000Files() Timeout waiting for KDirWatch.
Got 1 dirty() signals, expected 100
PASS   : KDirWatch_UnitTest::touch1000Files()
QDEBUG : KDirWatch_UnitTest::watchAndModifyOneFile() Waited 0 ms so that now
"2020-09-07T17:47:48" is > "2020-09-07T17:47:44"
PASS   : KDirWatch_UnitTest::watchAndModifyOneFile()
QDEBUG : KDirWatch_UnitTest::removeAndReAdd() Waited 900 ms so that now
"2020-09-07T17:47:50" is > "2020-09-07T17:47:49"
QDEBUG : KDirWatch_UnitTest::removeAndReAdd() Waited 900 ms so that now
"2020-09-07T17:47:51" is > "2020-09-07T17:47:50"
PASS   : KDirWatch_UnitTest::removeAndReAdd()
QDEBUG : KDirWatch_UnitTest::watchNonExistent() Creating
"/tmp/kdirwatch_inotify_unittest-YtguSE/subdir"
QDEBUG : KDirWatch_UnitTest::watchNonExistent() Creating
"/tmp/kdirwatch_inotify_unittest-YtguSE/subdir/0"
QDEBUG : KDirWatch_UnitTest::watchNonExistent() Waited 0 ms so that now
"2020-09-07T17:47:53" is > "2020-09-07T17:47:52"
PASS   : KDirWatch_UnitTest::watchNonExistent()
PASS   : KDirWatch_UnitTest::watchNonExistentWithSingleton()
QDEBUG : KDirWatch_UnitTest::testDelete() Waited 900 ms so that now
"2020-09-07T17:47:56" is > "2020-09-07T17:47:55"
PASS   : KDirWatch_UnitTest::testDelete()
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 0 ms so that
now "2020-09-07T17:47:56" is > "2020-09-07T17:47:54"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 800 ms so that
now "2020-09-07T17:47:57" is > "2020-09-07T17:47:56"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 1
removing+recreating "/tmp/kdirwatch_inotify_unittest-YtguSE/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 900 ms so that
now "2020-09-07T17:47:58" is > "2020-09-07T17:47:57"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 2
removing+recreating "/tmp/kdirwatch_inotify_unittest-YtguSE/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 900 ms so that
now "2020-09-07T17:47:59" is > "2020-09-07T17:47:58"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 3
removing+recreating "/tmp/kdirwatch_inotify_unittest-YtguSE/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 900 ms so that
now "2020-09-07T17:48:00" is > "2020-09-07T17:47:59"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 4
removing+recreating "/tmp/kdirwatch_inotify_unittest-YtguSE/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 850 ms so that
now "2020-09-07T17:48:01" is > "2020-09-07T17:48:00"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 5
removing+recreating "/tmp/kdirwatch_inotify_unittest-YtguSE/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 900 ms so that
now "2020-09-07T17:48:02" is > "2020-09-07T17:48:01"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 0 ms so that
now "2020-09-07T17:48:02" is > "2020-09-07T17:48:01"
PASS   : KDirWatch_UnitTest::testDeleteAndRecreateFile()
PASS   : KDirWatch_UnitTest::testDeleteAndRecreateDir()
QDEBUG : KDirWatch_UnitTest::testMoveTo() Waited 900 ms so that now
"2020-09-07T17:48:04" is > "2020-09-07T17:48:03"
QDEBUG : KDirWatch_UnitTest::testMoveTo() Overwrite file1 with tempfile
QDEBUG : KDirWatch_UnitTest::testMoveTo() Waited 900 ms so that now
"2020-09-07T17:48:05" is > "2020-09-07T17:48:04"
QDEBUG : KDirWatch_UnitTest::testMoveTo() Waited 0 ms so that now
"2020-09-07T17:48:05" is > "2020-09-07T17:48:04"
PASS   : KDirWatch_UnitTest::testMoveTo()
QDEBUG : KDirWatch_UnitTest::nestedEventLoop() Waited 0 ms so that now
"2020-09-07T17:48:06" is > "2020-09-07T17:47:44"
QDEBUG : KDirWatch_UnitTest::nestedEventLoop() Waited 0 ms so that now
"2020-09-07T17:48:07" is > "2020-09-07T17:47:44"
PASS   : KDirWatch_UnitTest::nestedEventLoop()
QDEBUG : KDirWatch_UnitTest::testHardlinkChange() Waited 900 ms so that now
"2020-09-07T17:48:10" is > "2020-09-07T17:48:09"
QDEBUG : KDirWatch_UnitTest::testHardlinkChange() Waited 0 ms so that now
"2020-09-07T17:48:10" is > "2020-09-07T17:47:44"
PASS   : KDirWatch_UnitTest::testHardlinkChange()
QDEBUG : KDirWatch_UnitTest::stopAndRestart() Waited 0 ms so that now
"2020-09-07T17:48:10" is > "2020-09-07T17:48:08"
QDEBUG : KDirWatch_UnitTest::stopAndRestart() Waited 400 ms so that now
"2020-09-07T17:48:11" is > "2020-09-07T17:48:10"
PASS   : KDirWatch_UnitTest::stopAndRestart()
FAIL!  : KDirWatch_UnitTest::shouldIgnoreQrcPaths() 'file.remove()' returned
FALSE. ()
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(856)]
SKIP   : KDirWatch_UnitTest::benchCreateTree() Benchmarks are disabled in debug
mode
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(863)]
SKIP   : KDirWatch_UnitTest::benchCreateWatcher() Benchmarks are disabled in
debug mode
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(875)]
SKIP   : KDirWatch_UnitTest::benchNotifyWatcher() Benchmarks are disabled in
debug mode
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(889)]
PASS   : KDirWatch_UnitTest::cleanupTestCase()
Totals: 15 passed, 1 failed, 3 skipped, 0 blacklisted, 27898ms
********* Finished testing of KDirWatch_UnitTest *********

and on the next run, kdirwatch_qfswatch_unittest failed instead:

28/28 Testing: kdirwatch_qfswatch_unittest
28/28 Test: kdirwatch_qfswatch_unittest
Command: "/data/kde/build/kcoreaddons/bin/kdirwatch_qfswatch_unittest"
Directory: /data/kde/build/kcoreaddons/autotests
"kdirwatch_qfswatch_unittest" start time: Sep 07 17:50 CEST
Output:
----------------------------------------------------------
Using method QFSWatch
********* Start testing of KDirWatch_UnitTest *********
Config: Using QtTest library 5.15.0, Qt 5.15.0 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 10.1.1 20200625 [revision
c91e43e9363bd119a695d64505f96539fa451bf2])
PASS   : KDirWatch_UnitTest::initTestCase()
QDEBUG : KDirWatch_UnitTest::touchOneFile() Waited 500 ms so that now
"2020-09-07T17:50:18" is > "2020-09-07T17:50:17"
PASS   : KDirWatch_UnitTest::touchOneFile()
QDEBUG : KDirWatch_UnitTest::touch1000Files() Waited 450 ms so that now
"2020-09-07T17:50:19" is > "2020-09-07T17:50:18"
QWARN  : KDirWatch_UnitTest::touch1000Files() Timeout waiting for KDirWatch.
Got 1 dirty() signals, expected 100
PASS   : KDirWatch_UnitTest::touch1000Files()
QDEBUG : KDirWatch_UnitTest::watchAndModifyOneFile() Waited 0 ms so that now
"2020-09-07T17:50:21" is > "2020-09-07T17:50:17"
PASS   : KDirWatch_UnitTest::watchAndModifyOneFile()
QDEBUG : KDirWatch_UnitTest::removeAndReAdd() Waited 400 ms so that now
"2020-09-07T17:50:22" is > "2020-09-07T17:50:21"
QDEBUG : KDirWatch_UnitTest::removeAndReAdd() Waited 400 ms so that now
"2020-09-07T17:50:23" is > "2020-09-07T17:50:22"
PASS   : KDirWatch_UnitTest::removeAndReAdd()
QDEBUG : KDirWatch_UnitTest::watchNonExistent() Creating
"/tmp/kdirwatch_qfswatch_unittest-DUOCgp/subdir"
QDEBUG : KDirWatch_UnitTest::watchNonExistent() Creating
"/tmp/kdirwatch_qfswatch_unittest-DUOCgp/subdir/0"
QDEBUG : KDirWatch_UnitTest::watchNonExistent() Waited 0 ms so that now
"2020-09-07T17:50:25" is > "2020-09-07T17:50:24"
PASS   : KDirWatch_UnitTest::watchNonExistent()
PASS   : KDirWatch_UnitTest::watchNonExistentWithSingleton()
QDEBUG : KDirWatch_UnitTest::testDelete() Waited 400 ms so that now
"2020-09-07T17:50:28" is > "2020-09-07T17:50:27"
PASS   : KDirWatch_UnitTest::testDelete()
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 0 ms so that
now "2020-09-07T17:50:28" is > "2020-09-07T17:50:26"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 300 ms so that
now "2020-09-07T17:50:29" is > "2020-09-07T17:50:28"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 1
removing+recreating "/tmp/kdirwatch_qfswatch_unittest-DUOCgp/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 400 ms so that
now "2020-09-07T17:50:30" is > "2020-09-07T17:50:29"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 2
removing+recreating "/tmp/kdirwatch_qfswatch_unittest-DUOCgp/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 400 ms so that
now "2020-09-07T17:50:31" is > "2020-09-07T17:50:30"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 3
removing+recreating "/tmp/kdirwatch_qfswatch_unittest-DUOCgp/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 400 ms so that
now "2020-09-07T17:50:32" is > "2020-09-07T17:50:31"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 4
removing+recreating "/tmp/kdirwatch_qfswatch_unittest-DUOCgp/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 400 ms so that
now "2020-09-07T17:50:33" is > "2020-09-07T17:50:32"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Attempt # 5
removing+recreating "/tmp/kdirwatch_qfswatch_unittest-DUOCgp/subdir/1"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 400 ms so that
now "2020-09-07T17:50:34" is > "2020-09-07T17:50:33"
QDEBUG : KDirWatch_UnitTest::testDeleteAndRecreateFile() Waited 0 ms so that
now "2020-09-07T17:50:34" is > "2020-09-07T17:50:33"
PASS   : KDirWatch_UnitTest::testDeleteAndRecreateFile()
PASS   : KDirWatch_UnitTest::testDeleteAndRecreateDir()
QDEBUG : KDirWatch_UnitTest::testMoveTo() Waited 400 ms so that now
"2020-09-07T17:50:36" is > "2020-09-07T17:50:35"
QDEBUG : KDirWatch_UnitTest::testMoveTo() Overwrite file1 with tempfile
QDEBUG : KDirWatch_UnitTest::testMoveTo() Waited 400 ms so that now
"2020-09-07T17:50:37" is > "2020-09-07T17:50:36"
QDEBUG : KDirWatch_UnitTest::testMoveTo() Waited 0 ms so that now
"2020-09-07T17:50:37" is > "2020-09-07T17:50:36"
PASS   : KDirWatch_UnitTest::testMoveTo()
QDEBUG : KDirWatch_UnitTest::nestedEventLoop() Waited 0 ms so that now
"2020-09-07T17:50:38" is > "2020-09-07T17:50:17"
QDEBUG : KDirWatch_UnitTest::nestedEventLoop() Waited 0 ms so that now
"2020-09-07T17:50:39" is > "2020-09-07T17:50:17"
PASS   : KDirWatch_UnitTest::nestedEventLoop()
QDEBUG : KDirWatch_UnitTest::testHardlinkChange() Waited 400 ms so that now
"2020-09-07T17:50:42" is > "2020-09-07T17:50:41"
QDEBUG : KDirWatch_UnitTest::testHardlinkChange() Waited 0 ms so that now
"2020-09-07T17:50:42" is > "2020-09-07T17:50:17"
PASS   : KDirWatch_UnitTest::testHardlinkChange()
QDEBUG : KDirWatch_UnitTest::stopAndRestart() Waited 0 ms so that now
"2020-09-07T17:50:42" is > "2020-09-07T17:50:40"
QDEBUG : KDirWatch_UnitTest::stopAndRestart() Waited 0 ms so that now
"2020-09-07T17:50:43" is > "2020-09-07T17:50:42"
PASS   : KDirWatch_UnitTest::stopAndRestart()
FAIL!  : KDirWatch_UnitTest::shouldIgnoreQrcPaths() 'file.remove()' returned
FALSE. ()
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(856)]
SKIP   : KDirWatch_UnitTest::benchCreateTree() Benchmarks are disabled in debug
mode
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(863)]
SKIP   : KDirWatch_UnitTest::benchCreateWatcher() Benchmarks are disabled in
debug mode
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(875)]
SKIP   : KDirWatch_UnitTest::benchNotifyWatcher() Benchmarks are disabled in
debug mode
   Loc: [/data/kde/src/kcoreaddons/autotests/kdirwatch_unittest.cpp(889)]
PASS   : KDirWatch_UnitTest::cleanupTestCase()
Totals: 15 passed, 1 failed, 3 skipped, 0 blacklisted, 27107ms
********* Finished testing of KDirWatch_UnitTest *********

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to