Details
-
Sub-task
-
Resolution: Fixed
-
P1: Critical
-
None
-
-
7407161212c56378529427adfe95627677a95cf9
Description
This test "tst_QX11Info::isPlatformX11()" is returning false correctly because image for this offscreen target is Wayland.
2024-06-19
Target: ubuntu-24.04-arm64-offscreen-tests
Image: Wayland
https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1718747102
agent:2024/06/18 23:43:58 build.go:404: 437: ********* Start testing of tst_QX11Info ********* agent:2024/06/18 23:43:58 build.go:404: 437: Config: Using QtTest library 6.8.0, Qt 6.8.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), ubuntu 24.04 agent:2024/06/18 23:43:58 build.go:404: 437: PASS : tst_QX11Info::initTestCase() agent:2024/06/18 23:43:58 build.go:404: 437: PASS : tst_QX11Info::staticFunctionsBeforeQGuiApplication() agent:2024/06/18 23:43:58 build.go:404: 437: FAIL! : tst_QX11Info::startupId() Compared values are not the same agent:2024/06/18 23:43:58 build.go:404: 437: Actual (QString(QX11Info::nextStartupId())): "" agent:2024/06/18 23:43:58 build.go:404: 437: Expected (QString(idFromEnv)) : "startupid_TIME123456" agent:2024/06/18 23:43:58 build.go:404: 437: Loc: [/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp(95)] agent:2024/06/18 23:43:58 build.go:404: 437: FAIL! : tst_QX11Info::isPlatformX11() 'QX11Info::isPlatformX11()' returned FALSE. () agent:2024/06/18 23:43:58 build.go:404: 437: Loc: [/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp(116)] agent:2024/06/18 23:43:58 build.go:404: 437: FAIL! : tst_QX11Info::appTime() 'QX11Info::appTime() > 0' returned FALSE. () agent:2024/06/18 23:43:58 build.go:404: 437: Loc: [/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp(134)] agent:2024/06/18 23:43:58 build.go:404: 437: QWARN : tst_QX11Info::peeker() Internal error: QPA plugin doesn't implement generatePeekerId agent:2024/06/18 23:43:58 build.go:404: 437: FAIL! : tst_QX11Info::peeker() 'm_peekerFirstId >= 0' returned FALSE. () agent:2024/06/18 23:43:58 build.go:404: 437: Loc: [/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp(154)] agent:2024/06/18 23:43:58 build.go:404: 437: Received signal 11 (SIGSEGV), code 1, for address 0x0000000000000000 agent:2024/06/18 23:43:58 build.go:404: 437: peeker function time: 5ms, total time: 195ms agent:2024/06/18 23:43:58 build.go:404: 437: agent:2024/06/18 23:43:58 build.go:404: 437: === Stack trace === agent:2024/06/18 23:43:59 build.go:404: 437: Could not attach to process. If your uid matches the uid of the target agent:2024/06/18 23:43:59 build.go:404: 437: process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try agent:2024/06/18 23:43:59 build.go:404: 437: again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf agent:2024/06/18 23:43:59 build.go:404: 437: ptrace: Inappropriate ioctl for device. agent:2024/06/18 23:43:59 build.go:404: 437: === End of stack trace === agent:2024/06/18 23:43:59 build.go:404: 437: qt-testrunner.py INFO: Test process exited with code: -11 agent:2024/06/18 23:43:59 build.go:404: 437: qt-testrunner.py ERROR: Failed to parse the XML log file: /home/qt/work/testresults/tst_qx11info-1718754238741.xml agent:2024/06/18 23:43:59 build.go:404: 437: qt-testrunner.py ERROR: File Contents: agent:2024/06/18 23:43:59 build.go:404: 437: <?xml version="1.0" encoding="UTF-8"?> agent:2024/06/18 23:43:59 build.go:404: 437: <TestCase name="tst_QX11Info"> agent:2024/06/18 23:43:59 build.go:404: 437: <Environment> agent:2024/06/18 23:43:59 build.go:404: 437: <QtVersion>6.8.0</QtVersion> agent:2024/06/18 23:43:59 build.go:404: 437: <QtBuild>Qt 6.8.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0)</QtBuild> agent:2024/06/18 23:43:59 build.go:404: 437: <QTestVersion>6.8.0</QTestVersion> agent:2024/06/18 23:43:59 build.go:404: 437: </Environment> agent:2024/06/18 23:43:59 build.go:404: 437: <TestFunction name="initTestCase"> agent:2024/06/18 23:43:59 build.go:404: 437: <Incident type="pass" file="" line="0" /> agent:2024/06/18 23:43:59 build.go:404: 437: <Duration msecs="0.85328"/> agent:2024/06/18 23:43:59 build.go:404: 437: </TestFunction> agent:2024/06/18 23:43:59 build.go:404: 437: <TestFunction name="staticFunctionsBeforeQGuiApplication"> agent:2024/06/18 23:43:59 build.go:404: 437: <Incident type="pass" file="" line="0" /> agent:2024/06/18 23:43:59 build.go:404: 437: <Duration msecs="0.05712"/> agent:2024/06/18 23:43:59 build.go:404: 437: </TestFunction> agent:2024/06/18 23:43:59 build.go:404: 437: <TestFunction name="startupId"> agent:2024/06/18 23:43:59 build.go:404: 437: <Incident type="fail" file="/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp" line="95"> agent:2024/06/18 23:43:59 build.go:404: 437: <Description><![CDATA[Compared values are not the same agent:2024/06/18 23:43:59 build.go:404: 437: Actual (QString(QX11Info::nextStartupId())): "" agent:2024/06/18 23:43:59 build.go:404: 437: Expected (QString(idFromEnv)) : "startupid_TIME123456"]]></Description> agent:2024/06/18 23:43:59 build.go:404: 437: </Incident> agent:2024/06/18 23:43:59 build.go:404: 437: <Duration msecs="24.8603"/> agent:2024/06/18 23:43:59 build.go:404: 437: </TestFunction> agent:2024/06/18 23:43:59 build.go:404: 437: <TestFunction name="isPlatformX11"> agent:2024/06/18 23:43:59 build.go:404: 437: <Incident type="fail" file="/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp" line="116"> agent:2024/06/18 23:43:59 build.go:404: 437: <Description><![CDATA['QX11Info::isPlatformX11()' returned FALSE. ()]]></Description> agent:2024/06/18 23:43:59 build.go:404: 437: </Incident> agent:2024/06/18 23:43:59 build.go:404: 437: <Duration msecs="32.1173"/> agent:2024/06/18 23:43:59 build.go:404: 437: </TestFunction> agent:2024/06/18 23:43:59 build.go:404: 437: <TestFunction name="appTime"> agent:2024/06/18 23:43:59 build.go:404: 437: <Incident type="fail" file="/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp" line="134"> agent:2024/06/18 23:43:59 build.go:404: 437: <Description><![CDATA['QX11Info::appTime() > 0' returned FALSE. ()]]></Description> agent:2024/06/18 23:43:59 build.go:404: 437: </Incident> agent:2024/06/18 23:43:59 build.go:404: 437: <Duration msecs="130.301"/> agent:2024/06/18 23:43:59 build.go:404: 437: </TestFunction> agent:2024/06/18 23:43:59 build.go:404: 437: <TestFunction name="peeker"> agent:2024/06/18 23:43:59 build.go:404: 437: <Message type="qwarn" file="" line="0"> agent:2024/06/18 23:43:59 build.go:404: 437: <Description><![CDATA[Internal error: QPA plugin doesn't implement generatePeekerId]]></Description> agent:2024/06/18 23:43:59 build.go:404: 437: </Message> agent:2024/06/18 23:43:59 build.go:404: 437: <Incident type="fail" file="/home/qt/work/qt/qtbase/tests/auto/gui/platform/qx11info/tst_qx11info.cpp" line="154"> agent:2024/06/18 23:43:59 build.go:404: 437: <Description><![CDATA['m_peekerFirstId >= 0' returned FALSE. ()]]></Description> agent:2024/06/18 23:43:59 build.go:404: 437: </Incident> agent:2024/06/18 23:43:59 build.go:404: 437: agent:2024/06/18 23:43:59 build.go:404: 437: agent:2024/06/18 23:43:59 build.go:404: 437: agent:2024/06/18 23:43:59 build.go:404: 437: qt-testrunner.py ERROR: exception:ParseError no element found: line 43, column 0 agent:2024/06/18 23:43:59 build.go:404: 437: qt-testrunner.py ERROR: The test executable probably crashed, see above for details agent:2024/06/18 23:43:59 build.go:404: 437: qt-testrunner.py INFO: Will re-run the full test executable agent:2024/06/18 23:43:59 build.go:404: 437: qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/qtbase_standalone_tests/tests/auto/gui/platform/qx11info/tst_qx11info', '-o', '/home/qt/work/testresults/tst_qx11info-1718754239176.xml,xml', '-o', '/home/qt/work/testresults/tst_qx11info-1718754239176.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qx11info-1718754239176.txt,txt', '-o', '-,txt']