Bug 431083

Summary: plasma-themetest fails with 5.78.0 pre-release packages
Product: [Frameworks and Libraries] libplasma Reporter: Heiko Becker <heiko.becker>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR Keywords: regression
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Heiko Becker 2021-01-02 23:14:05 UTC
plasma-themetest fails when running the tests after building the 5.78.0 tarball available to packagers. It also fails to build on build.kde.org, e.g. https://build.kde.org/job/Frameworks/job/plasma-framework/job/kf5-qt5%20SUSEQt5.15/272/consoleFull.

The history indicates it might be https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/168 that broke the test.


    Start 5: plasma-themetest

5: Test command: /var/tmp/paludis/build/kde-frameworks-plasma-framework-5.78.0/work/build/bin/themetest
5: Environment variables: 
5:  QT_PLUGIN_PATH=/var/tmp/paludis/build/kde-frameworks-plasma-framework-5.78.0/work/build/bin:/usr/host/lib/qt6/plugins
5: Test timeout computed to be: 10000000
5: ********* Start testing of ThemeTest *********
5: Config: Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0), exherbo unknown
5: PASS   : ThemeTest::initTestCase()
5: FAIL!  : ThemeTest::loadSvgIcon() 'm_svg->theme()->findInCache(cacheId, result, info.lastModified().toSecsSinceEpoch())' returned FALSE. ()
5:    Loc: [/var/tmp/paludis/build/kde-frameworks-plasma-framework-5.78.0/work/plasma-framework-5.78.0/autotests/themetest.cpp(81)]
5: PASS   : ThemeTest::testColors()
5: PASS   : ThemeTest::testCompositingChange()
5: PASS   : ThemeTest::cleanupTestCase()
5: Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 210ms
5: ********* Finished testing of ThemeTest *********
5/9 Test #5: plasma-themetest .................***Failed    0.25 sec

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-01-04 21:45:39 UTC
Can confirm. Marco, can you take a look?