ci: Failing unit test on FreeBSD; request enfocing passing unit tests
With c9ea8687 & 1aa802e5 we now enforce passing unit tests during CI for Linux.
FreeBSD is unfortunately still failing the processtest
(even though it passes on Linux):
********* Start testing of testProcess *********
Config: Using QtTest library 6.6.0, Qt 6.6.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by FreeBSD Clang 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)), freebsd 13.2
PASS : testProcess::initTestCase()
PASS : testProcess::testTimeToUpdateAllProcesses()
RESULT : testProcess::testTimeToUpdateAllProcesses():
0.21 msecs per iteration (total: 54, iterations: 256)
QCRITICAL: testProcess::testTimeToUpdateModel() "applications.menu" not found in QList()
QCRITICAL: testProcess::testTimeToUpdateModel() Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kglobalaccel was not provided by any .service files")
PASS : testProcess::testTimeToUpdateModel()
RESULT : testProcess::testTimeToUpdateModel():
8.2 msecs per iteration (total: 66, iterations: 8)
PASS : testProcess::testProcesses()
PASS : testProcess::testProcessesTreeStructure()
PASS : testProcess::testProcessesModification()
QWARN : testProcess::testHistories() History was not available
QWARN : testProcess::testHistories() History was not available
PASS : testProcess::testHistories()
RESULT : testProcess::testHistories():
0 msecs per iteration (total: 0, iterations: 1)
PASS : testProcess::testHistoriesWithWidget()
QFATAL : testProcess::testUpdateOrAddProcess() ASSERT: "pid >= 0" in file /var/tmp/gitlab_runner/builds/hc5_dd3tW/0/plasma/libksysguard/processcore/processes.cpp, line 402
FAIL! : testProcess::testUpdateOrAddProcess() Received a fatal error.
Loc: [/var/tmp/gitlab_runner/builds/hc5_dd3tW/0/plasma/libksysguard/processcore/processes.cpp(402)]
Totals: 8 passed, 1 failed, 0 skipped, 0 blacklisted, 3663ms
********* Finished testing of testProcess *********
Received signal 6 (SIGABRT)
testUpdateOrAddProcess function time: 2ms, total time: 3663ms
=== Stack trace ===
(lldb) process attach --pid 55826
error: attach failed: Operation not permitted
=== End of stack trace ===
System Out:
********* Start testing of testProcess *********
Config: Using QtTest library 6.6.0, Qt 6.6.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by FreeBSD Clang 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)), freebsd 13.2
PASS : testProcess::initTestCase()
PASS : testProcess::testTimeToUpdateAllProcesses()
RESULT : testProcess::testTimeToUpdateAllProcesses():
0.21 msecs per iteration (total: 54, iterations: 256)
QCRITICAL: testProcess::testTimeToUpdateModel() "applications.menu" not found in QList()
QCRITICAL: testProcess::testTimeToUpdateModel() Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kglobalaccel was not provided by any .service files")
PASS : testProcess::testTimeToUpdateModel()
RESULT : testProcess::testTimeToUpdateModel():
8.2 msecs per iteration (total: 66, iterations: 8)
PASS : testProcess::testProcesses()
PASS : testProcess::testProcessesTreeStructure()
PASS : testProcess::testProcessesModification()
QWARN : testProcess::testHistories() History was not available
QWARN : testProcess::testHistories() History was not available
PASS : testProcess::testHistories()
RESULT : testProcess::testHistories():
0 msecs per iteration (total: 0, iterations: 1)
PASS : testProcess::testHistoriesWithWidget()
QFATAL : testProcess::testUpdateOrAddProcess() ASSERT: "pid >= 0" in file /var/tmp/gitlab_runner/builds/hc5_dd3tW/0/plasma/libksysguard/processcore/processes.cpp, line 402
FAIL! : testProcess::testUpdateOrAddProcess() Received a fatal error.
Loc: [/var/tmp/gitlab_runner/builds/hc5_dd3tW/0/plasma/libksysguard/processcore/processes.cpp(402)]
Totals: 8 passed, 1 failed, 0 skipped, 0 blacklisted, 3663ms
********* Finished testing of testProcess *********
Received signal 6 (SIGABRT)
testUpdateOrAddProcess function time: 2ms, total time: 3663ms
=== Stack trace ===
(lldb) process attach --pid 55826
error: attach failed: Operation not permitted
=== End of stack trace ===
If someone familiar with FreeBSD can get this test passing, we can begin enforcing CI tests for FreeBSD as well.