Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Test Case failed
Qt 6.11 is out! See what's new in the release blog

Test Case failed

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 3 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Darshan R
    wrote on last edited by Darshan R
    #1

    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
    

    Screenshot from 2025-07-24 11-09-10.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which Linux distribution are you using ?
      Which window manager ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Darshan R
        wrote on last edited by
        #3

        I'm using Ubuntu 24.04 with the default GNOME desktop environment,

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If you build and run a dummy application, does it work ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          D 1 Reply Last reply
          0
          • Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            24.04 is currently not tested in the ci due to too much failures.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            0
            • SGaistS SGaist

              If you build and run a dummy application, does it work ?

              D Offline
              D Offline
              Darshan R
              wrote on last edited by
              #6

              @SGaist
              Yes, I tested with a simple QWidget-based dummy application, and it runs without any issues on Ubuntu 24.04

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                That test checks quite a lot of stuff you may have more information running it in verbose mode.

                ctest -V -R tst_qwidget
                

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  Darshan R
                  wrote on last edited by
                  #8

                  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$ 
                  

                  Screenshot from 2025-07-28 09-53-19.png

                  1 Reply Last reply
                  0
                  • Christian EhrlicherC Online
                    Christian EhrlicherC Online
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    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...

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved