[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1113084: kpublictransport: FTBFS with CMake 4



Source: kpublictransport
Followup-For: Bug #1113084
Control: forwarded -1 https://invent.kde.org/libraries/kpublictransport/-/
merge_requests/121

/Sune
On Wednesday, October 29, 2025 11:34:26 AM Central European Standard Time Pino 
Toscano wrote:
> Source: kpublictransport
> Followup-For: Bug #1113084
> Control: severity -1 important
> Control: retitle -1 kpublictransport: sporadic test suite failure
> 
> Hi,
> 
> the failure in the log file is the following:
> 
> ********* Start testing of CacheTest *********
> Config: Using QtTest library 6.8.2, Qt 6.8.2 (arm64-little_endian-lp64
> shared (dynamic) release build; by GCC 14.3.0), debian unknown PASS   :
> CacheTest::initTestCase()
> QWARN  : CacheTest::testLocationCache() QIODevice::write (QFile,
> "/build/reproducible-path/kpublictransport-25.04.3/debian/.debhelper/genera
> ted/_source/home/.qttest/cache/org.kde.kpublictransport/backends/unittest/lo
> cation/d5ad7d49e02f5cec70f1eab4288db4d936f3fa62.attribution"): device not
> open FAIL!  : CacheTest::testLocationCache() Compared values are not the
> same Actual   (entry.type)            : 0
>    Expected (CacheHitType::Positive): 1
>    Loc: [./autotests/cachetest.cpp(58)]
> PASS   : CacheTest::testLocationCacheKey()
> PASS   : CacheTest::cleanupTestCase()
> Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms
> ********* Finished testing of CacheTest *********
> 
> I tried to reproduce it with both
> - cmake 3.31.6 -- as currently available in unstable
> - cmake 4.1.2 -- as currently available in experimental
> and the build passed in both cases. My thought here is that the failure
> is simply a flakiness, possibly (but that's a very broad speculation
> though) due to the parallelism of the tests. Because of this, I'm
> - downgrading the severity to important
> - retitling accordingly, dropping the cmake 4 reference
> - dropping the cmake-4 user tagging
> 
> If anyone has a reliable way to reproduce it, please do followup here
> so it can be properly investigated & fixed.
> 
> Thanks,


-- 
I didn’t stop pretending when I became an adult, it’s just that when I was a 
kid I was pretending that I fit into the rules and structures of this world. 
And now that I’m an adult, I pretend that those rules and structures exist.
   - zefrank


Reply to: