Bug 463179 - libkscreen: Flaky builds with fake backend autotests
Summary: libkscreen: Flaky builds with fake backend autotests
Status: REPORTED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (other bugs)
Version First Reported In: 5.24.6
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-18 04:25 UTC by A. Wilcox (awilfox)
Modified: 2024-09-08 20:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Full build log (60.73 KB, text/plain)
2022-12-18 04:25 UTC, A. Wilcox (awilfox)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox (awilfox) 2022-12-18 04:25:25 UTC
Created attachment 154660 [details]
Full build log

SUMMARY
The libkscreen autotests that consume the fake backend occasionally fail to build with high parallelism on our Adélie Linux x86_64 builder.


STEPS TO REPRODUCE
1. Build libkscreen with tests enabled.

OBSERVED RESULT
[ 68%] Generating fakebackendinterface.moc
[ 69%] Building CXX object autotests/CMakeFiles/testkwaylandbackend.dir/testkwaylandbackend_autogen/mocs_compilation.cpp.o
[ 69%] Building CXX object autotests/CMakeFiles/testkwaylandbackend.dir/testkwaylandbackend.cpp.o
/root/packages/user/libkscreen/src/libkscreen-5.24.5/autotests/fakebackendinterface.h:0: Note: No relevant classes found. No output generated.
[ 70%] Building CXX object autotests/CMakeFiles/testkwaylandbackend.dir/__/tests/kwayland/waylandconfigreader.cpp.o
/root/packages/user/libkscreen/src/libkscreen-5.24.5/autotests/fakebackendinterface.h:0: Note: No relevant classes found. No output generated.
[ 70%] Building CXX object autotests/CMakeFiles/testkwaylandbackend.dir/__/tests/kwayland/waylandtestserver.cpp.o
/root/packages/user/libkscreen/src/libkscreen-5.24.5/autotests/fakebackendinterface.cpp:18:1: error: ‘OrgKdeKscreenFakeBackendInterface’ does not name a type
 OrgKdeKscreenFakeBackendInterface::OrgKdeKscreenFakeBackendInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/packages/user/libkscreen/src/libkscreen-5.24.5/autotests/fakebackendinterface.cpp:23:1: error: ‘OrgKdeKscreenFakeBackendInterface’ does not name a type
 OrgKdeKscreenFakeBackendInterface::~OrgKdeKscreenFakeBackendInterface()
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [autotests/CMakeFiles/testlog.dir/build.make:127: autotests/CMakeFiles/testlog.dir/fakebackendinterface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/root/packages/user/libkscreen/src/libkscreen-5.24.5/autotests/fakebackendinterface.cpp:18:1: error: ‘OrgKdeKscreenFakeBackendInterface’ does not name a type
 OrgKdeKscreenFakeBackendInterface::OrgKdeKscreenFakeBackendInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/packages/user/libkscreen/src/libkscreen-5.24.5/autotests/fakebackendinterface.cpp:23:1: error: ‘OrgKdeKscreenFakeBackendInterface’ does not name a type
 OrgKdeKscreenFakeBackendInterface::~OrgKdeKscreenFakeBackendInterface()
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 71%] Generating fakebackendinterface.moc
/root/packages/user/libkscreen/src/libkscreen-5.24.5/autotests/fakebackendinterface.h:0: Note: No relevant classes found. No output generated.
[ 71%] Building CXX object autotests/CMakeFiles/testkwaylanddpms.dir/testkwaylanddpms_autogen/mocs_compilation.cpp.o
[ 71%] Building CXX object autotests/CMakeFiles/testbackendloader.dir/testbackendloader_autogen/mocs_compilation.cpp.o
[ 71%] Building CXX object autotests/CMakeFiles/testbackendloader.dir/testbackendloader.cpp.o
[ 71%] Building CXX object autotests/CMakeFiles/testkwaylandconfig.dir/testkwaylandconfig_autogen/mocs_compilation.cpp.o
make[2]: *** [autotests/CMakeFiles/testedid.dir/build.make:127: autotests/CMakeFiles/testedid.dir/fakebackendinterface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....


EXPECTED RESULT
Successful build.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15 kernel, x86_64, Plasma 5.24 LTS
KDE Plasma Version: 5.24 LTS
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.5 + KDE patches


ADDITIONAL INFORMATION
Full build logs are available on our tracker at https://git.adelielinux.org/adelie/packages/-/issues/811.  I've attached one.