Created attachment 897756 [details] build.log and emerge --info 269/330 Testing: test_provider_copcprovider 269/330 Test: test_provider_copcprovider Command: "/var/tmp/portage/sci-geosciences/qgis-3.36.3-r1/work/qgis-3.36.3_build/output/bin/test_provider_copcprovider" "-maxwarnings" "10000" Directory: /var/tmp/portage/sci-geosciences/qgis-3.36.3-r1/work/qgis-3.36.3_build/tests/src/providers "test_provider_copcprovider" start time: Jul 16 03:47 UTC Output: ---------------------------------------------------------- ********* Start testing of TestQgsCopcProvider ********* Config: Using QtTest library 5.15.14, Qt 5.15.14 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.1 20240210), gentoo 2.15 PASS : TestQgsCopcProvider::initTestCase() PASS : TestQgsCopcProvider::filters() PASS : TestQgsCopcProvider::encodeUri() PASS : TestQgsCopcProvider::decodeUri() PASS : TestQgsCopcProvider::absoluteRelativeUri() PASS : TestQgsCopcProvider::preferredUri() PASS : TestQgsCopcProvider::layerTypesForUri() PASS : TestQgsCopcProvider::uriIsBlocklisted() PASS : TestQgsCopcProvider::querySublayers() PASS : TestQgsCopcProvider::brokenPath() PASS : TestQgsCopcProvider::testLazInfo() PASS : TestQgsCopcProvider::validLayer() PASS : TestQgsCopcProvider::validLayerWithCopcHierarchy() PASS : TestQgsCopcProvider::attributes() PASS : TestQgsCopcProvider::calculateZRange() PASS : TestQgsCopcProvider::testIdentify(copc) PASS : TestQgsCopcProvider::testExtraBytesAttributesExtraction() PASS : TestQgsCopcProvider::testExtraBytesAttributesValues() PASS : TestQgsCopcProvider::testClassFlagsValues() PASS : TestQgsCopcProvider::testPointCloudIndex() PASS : TestQgsCopcProvider::testStatsCalculator() PASS : TestQgsCopcProvider::testSaveLoadStats() PASS : TestQgsCopcProvider::testPointCloudRequest() FAIL! : TestQgsCopcProvider::testQgsRangeRequestCache() 'files[0].baseName().endsWith( QLatin1String( "bytes=3-4" ) )' returned FALSE. () Loc: [/var/tmp/portage/sci-geosciences/qgis-3.36.3-r1/work/qgis-3.36.3/tests/src/providers/testqgscopcprovider.cpp(1103)] PASS : TestQgsCopcProvider::cleanupTestCase() Totals: 24 passed, 1 failed, 0 skipped, 0 blacklisted, 798ms ********* Finished testing of TestQgsCopcProvider ********* <end of output> Test time = 0.92 sec ---------------------------------------------------------- Test Failed. "test_provider_copcprovider" end time: Jul 16 03:47 UTC "test_provider_copcprovider" time elapsed: 00:00:00 ----------------------------------------------------------
What about 3.38.3?
Created attachment 904915 [details] build.log and emerge --info Still present with 3.38.3
https://github.com/qgis/QGIS/blob/f549811d78ca0590352c834c9fa158e3ac6bfc9d/tests/src/providers/testqgscopcprovider.cpp#L1054 Looks like it might be racey. At the assertion which fails, does anything exist in the cache? (Wrong filename or simply not there)? What happens if you tweak the sleep times?