Occasional failure in FileOpsTest::testLocalDirOps
Seems to happen on Tumbleweed only and only in OBS on the faster goat (and some lamb) workers, but there it's fairly reproducible:
[ 34s] PASS : FileOpsTest::testLocalFileOps()
[ 34s] [20210602 20:39:15.216 UTC org.kde.kio.fuse: Stating "file:///tmp/fileopstest-cache-CzegDE" for mount
[ 34s] [20210602 20:39:15.216 UTC org.kde.kio.fuse: Trying origin "file:///"
[ 34s] [20210602 20:39:15.216 UTC org.kde.kio.fuse: Origin found at "file:///"
[ 34s] [20210602 20:39:15.218 UTC org.kde.kio.fuse: Mounting "file:///tmp/fileopstest-cache-CzegDE"
[ 34s] [20210602 20:39:15.218 UTC org.kde.kio.fuse: Mounting "file:///tmp/fileopstest-cache-CzegDE/directory"
[ 35s] [20210602 20:39:15.219 UTC org.kde.kio.fuse: "The file or folder /tmp/fileopstest-cache-CzegDE/directory does not exist."
[ 35s] [20210602 20:39:15.219 UTC org.kde.kio.fuse: Mounting "file:///tmp/fileopstest-cache-CzegDE/directory"
[ 35s] [20210602 20:39:15.224 UTC org.kde.kio.fuse: Stating "file:///home/abuild/rpmbuild/BUILD/kio-fuse-5.0.1/tests/data" for mount
[ 35s] [20210602 20:39:15.224 UTC org.kde.kio.fuse: Trying origin "file:///"
[ 35s] [20210602 20:39:15.224 UTC org.kde.kio.fuse: Origin found at "file:///"
[ 35s] QDEBUG : FileOpsTest::testLocalDirOps() [20210602 20:39:15.227 UTC (".", "..", "symlink", "symlinktarget") (".", "..", "outerarchive.tar.gz", "symlink", "symlinktarget")
[ 35s] FAIL! : FileOpsTest::testLocalDirOps() Compared lists have different sizes.
[ 35s] Actual (mirrorEntryList) size: 4
[ 35s] Expected (sourceEntryList) size: 5
[ 35s] Loc: [/home/abuild/rpmbuild/BUILD/kio-fuse-5.0.1/tests/fileopstest.cpp(393)]
It seems like awaitChildrenComplete
doesn't think that it needs to request children, the code after return callback(0); // Children complete and up to date
is not reached. Maybe a race condition around m_lastChildrenRefresh
?