https://bugs.kde.org/show_bug.cgi?id=463179
            Bug ID: 463179
           Summary: libkscreen: Flaky builds with fake backend autotests
    Classification: Plasma
           Product: KScreen
           Version: 5.24.6
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: kscreen-bugs-n...@kde.org
          Reporter: awil...@adelielinux.org
  Target Milestone: ---

Created attachment 154660
  --> https://bugs.kde.org/attachment.cgi?id=154660&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to