Test Case failed
-
I cloned the Qt 6 source from GitHub and successfully built the entire project without any issues. However, when I try to run the test case located at:
qt6-build/qtbase/tests/auto/widgets/kernel/qwidget
using the command:
ctest -R qwidget --output-on-failure
the test fails, even though I haven't made any changes to the source code. Has anyone else encountered this issue, or is there something I'm missing?
[Inferior 1 (process 23375) detached] === End of stack trace === CMake Error at tst_qwidgetWrapperDebug.cmake:18 (message): /home/darshan-gowda/qt6-bugfix/qt6-build/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget execution failed with exit code Subprocess aborted. 0% tests passed, 1 tests failed out of 1 Label Time Summary: qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget = 25.22 sec*proc (1 test) Total Test time (real) = 25.25 sec The following tests FAILED: 1 - tst_qwidget (Failed) Errors while running CTest
-
Hi and welcome to devnet,
Which Linux distribution are you using ?
Which window manager ? -
If you build and run a dummy application, does it work ?
-
24.04 is currently not tested in the ci due to too much failures.
-
That test checks quite a lot of stuff you may have more information running it in verbose mode.
ctest -V -R tst_qwidget
-
Thanks for the suggestion!
I ran the command you mentioned:ctest -V -R tst_qwidget
However, the test still fails on my end.1: 0xffffffffff600000 0xffffffffff601000 0x1000 0x0 --xp [vsyscall] 1: [Inferior 1 (process 4497) detached] 1: === End of stack trace === 1: CMake Error at tst_qwidgetWrapperDebug.cmake:18 (message): 1: 1: /home/darshan-gowda/qt6-bugfix/qt6-build/qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget 1: execution failed with exit code Subprocess aborted. 1: 1: 1/1 Test #1: tst_qwidget ......................***Failed 25.24 sec 0% tests passed, 1 tests failed out of 1 Label Time Summary: qtbase/tests/auto/widgets/kernel/qwidget/tst_qwidget = 25.24 sec*proc (1 test) Total Test time (real) = 25.25 sec The following tests FAILED: 1 - tst_qwidget (Failed) Errors while running CTest Output from these tests are in: /home/darshan-gowda/qt6-bugfix/qt6-build/qtbase/tests/auto/widgets/kernel/qwidget/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. darshan-gowda@VivoBook-ASUSLaptop-X409FJ-X409FJ:~/qt6-bugfix/qt6-build/qtbase/tests/auto/widgets/kernel/qwidget$
-
I just repeat myself: "24.04 is currently not tested in the ci due to too much failures." - and your output just shows some of them...