Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126837 6.7.2/6.7.1 test suite fails - main ticket
  3. QTBUG-126585

6.7.2 qtwebsockets: test suite is failing in two units

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • P5: Not important
    • None
    • Build System: CMake
    • None
    • Linux/Wayland, Linux/X11

    Description

      cmake -L output:

      -- Cache values
      BUILD_SHARED_LIBS:BOOL=ON
      BUILD_WITH_PCH:STRING=ON
      CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
      CMAKE_INSTALL_PREFIX:PATH=/usr
      CMAKE_INSTALL_RPATH:STRING=
      FEATURE_pkg_config:BOOL=ON
      INSTALL_ARCHDATADIR:STRING=lib64/qt6
      INSTALL_BINDIR:STRING=bin
      INSTALL_DATADIR:STRING=share
      INSTALL_DESCRIPTIONSDIR:STRING=lib64/qt6/modules
      INSTALL_DOCDIR:STRING=share/doc/qch
      INSTALL_EXAMPLESDIR:STRING=libexec/examples/qt6
      INSTALL_INCLUDEDIR:STRING=include/qt6
      INSTALL_LIBDIR:STRING=lib64
      INSTALL_LIBEXECDIR:STRING=libexec/qt6
      INSTALL_MKSPECSDIR:STRING=lib64/qt6/mkspecs
      INSTALL_PLUGINSDIR:STRING=lib64/modules/qt6
      INSTALL_QMLDIR:STRING=lib64/qt6/qml
      INSTALL_SYSCONFDIR:STRING=/etc/xdg
      INSTALL_TESTSDIR:STRING=libexec/tests/qt6
      INSTALL_TRANSLATIONSDIR:STRING=share/translations
      QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH:STRING=
      QT_ADDITIONAL_PACKAGES_PREFIX_PATH:STRING=
      QT_ALLOW_DOWNLOAD:BOOL=OFF
      QT_ALLOW_SYMLINK_IN_PATHS:BOOL=OFF
      QT_BUILDING_QT:BOOL=TRUE
      QT_BUILD_BENCHMARKS:BOOL=OFF
      QT_BUILD_EXAMPLES:BOOL=ON
      QT_BUILD_EXAMPLES_AS_EXTERNAL:BOOL=OFF
      QT_BUILD_EXAMPLES_BY_DEFAULT:BOOL=ON
      QT_BUILD_EXAMPLES_PROJECT_QtWebSockets:BOOL=ON
      QT_BUILD_MANUAL_TESTS:BOOL=OFF
      QT_BUILD_MINIMAL_ANDROID_MULTI_ABI_TESTS:BOOL=OFF
      QT_BUILD_MINIMAL_STATIC_TESTS:BOOL=OFF
      QT_BUILD_TESTS:BOOL=ON
      QT_BUILD_TESTS_BATCHED:BOOL=OFF
      QT_BUILD_TESTS_BY_DEFAULT:BOOL=ON
      QT_BUILD_TESTS_PROJECT_QtWebSockets:BOOL=ON
      QT_BUILD_TOOLS_BY_DEFAULT:BOOL=ON
      QT_CMAKE_DEBUG_EXTEND_TARGET:BOOL=OFF
      QT_COPYRIGHT:STRING=Copyright (C) The Qt Company Ltd. and other contributors.
      QT_CREATE_VERSIONED_HARD_LINK:BOOL=ON
      QT_DEPLOY_MINIMAL_EXAMPLES:BOOL=OFF
      QT_DISABLE_RPATH:STRING=TRUE
      QT_HOST_PATH:PATH=
      QT_INSTALL_EXAMPLES_SOURCES:BOOL=OFF
      QT_INSTALL_EXAMPLES_SOURCES_BY_DEFAULT:BOOL=ON
      QT_INTERNAL_STRIP_SUPPORTS_KEEP_SECTION:BOOL=TRUE
      QT_INTERNAL_SUMMARY_INSTRUCTIONS_SHOWN:STRING=TRUE
      QT_NAMESPACE:STRING=
      QT_PLATFORM_DEFINITIONS:STRING=
      QT_QMAKE_TARGET_MKSPEC:STRING=linux-g++
      QT_QPA_DEFAULT_PLATFORM:STRING=xcb
      QT_SHOW_EXTRA_IDE_SOURCES:BOOL=ON
      QT_SOURCE_TREE:PATH=/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-6.7.2
      QT_SYNC_HEADERS_AT_CONFIGURE_TIME:BOOL=OFF
      QT_UNITY_BUILD:BOOL=OFF
      QT_UNITY_BUILD_BATCH_SIZE:STRING=32
      QT_USE_CCACHE:BOOL=OFF
      QT_USE_VCPKG:BOOL=OFF
      QT_WARN_PLUGIN_PUBLIC_KEYWORDS:BOOL=ON
      QT_WILL_INSTALL:BOOL=ON
      Qt6BuildInternals_DIR:PATH=/usr/lib64/cmake/Qt6BuildInternals
      Qt6CoreTools_DIR:PATH=/usr/lib64/cmake/Qt6CoreTools
      Qt6Core_DIR:PATH=/usr/lib64/cmake/Qt6Core
      Qt6DBusTools_DIR:PATH=/usr/lib64/cmake/Qt6DBusTools
      Qt6DBus_DIR:PATH=/usr/lib64/cmake/Qt6DBus
      Qt6GuiTools_DIR:PATH=/usr/lib64/cmake/Qt6GuiTools
      Qt6Gui_DIR:PATH=/usr/lib64/cmake/Qt6Gui
      Qt6Network_DIR:PATH=/usr/lib64/cmake/Qt6Network
      Qt6OpenGL_DIR:PATH=/usr/lib64/cmake/Qt6OpenGL
      Qt6QmlBuiltins_DIR:PATH=/usr/lib64/cmake/Qt6QmlBuiltins
      Qt6QmlCompilerPlusPrivate_DIR:PATH=Qt6QmlCompilerPlusPrivate_DIR-NOTFOUND
      Qt6QmlIntegration_DIR:PATH=/usr/lib64/cmake/Qt6QmlIntegration
      Qt6QmlModels_DIR:PATH=/usr/lib64/cmake/Qt6QmlModels
      Qt6QmlTools_DIR:PATH=/usr/lib64/cmake/Qt6QmlTools
      Qt6Qml_DIR:PATH=/usr/lib64/cmake/Qt6Qml
      Qt6QuickTest_DIR:PATH=/usr/lib64/cmake/Qt6QuickTest
      Qt6QuickTools_DIR:PATH=/usr/lib64/cmake/Qt6QuickTools
      Qt6Quick_DIR:PATH=/usr/lib64/cmake/Qt6Quick
      Qt6Test_DIR:PATH=/usr/lib64/cmake/Qt6Test
      Qt6WebSockets_DIR:PATH=/home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/lib64/cmake/Qt6WebSockets
      Qt6_DIR:PATH=/usr/lib64/cmake/Qt6
      WARNINGS_ARE_ERRORS:BOOL=OFF
      XKB_INCLUDE_DIR:PATH=/usr/include
      XKB_LIBRARY:FILEPATH=/usr/lib64/libxkbcommon.so 

      And test site fails:

      + cd qtwebsockets-everywhere-src-6.7.2
      + xvfb-run -a dbus-launch --exit-with-session /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48
      Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu
      Test project /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu
          Start 1: module_includes
          Start 2: tst_qwebsocketcorsauthenticator
          Start 3: tst_qwebsocket
          Start 4: tst_qwebsocketserver
          Start 5: tst_qmlwebsockets
      1/5 Test #2: tst_qwebsocketcorsauthenticator ...   Passed    0.04 sec
      2/5 Test #5: tst_qmlwebsockets .................***Failed    0.10 sec
      ********* Start testing of qmlwebsockets *********
      Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240607 (Red Hat 14.1.1-5)), fedora 41
      QWARN  : qmlwebsockets::tst_qmlwebsockets::compile()
        /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml produced 1 error(s):
          /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml:5,1: module "QtWebSockets" is not installed
        Working directory: /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/tests/auto/qml/qmlwebsockets
        Import paths:
          '/home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/tests/auto/qml/qmlwebsockets'
          'qrc:/qt-project.org/imports'
          'qrc:/qt/qml'
          '/usr/lib64/qt6/qml'
        Plugin paths:
          '.'FAIL!  : qmlwebsockets::tst_qmlwebsockets::compile() module "QtWebSockets" is not installed
         Loc: [/home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml(5)]
      Totals: 0 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
      ********* Finished testing of qmlwebsockets *********
      CMake Error at tst_qmlwebsocketsWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets
        execution failed with exit code 1.3/5 Test #1: module_includes ...................***Failed    0.71 sec
      Internal cmake changing into directory: /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/tests/auto/cmake/module_includes/build
      Error: cmake execution failed
      The C compiler identification is GNU 14.1.1
      The CXX compiler identification is GNU 14.1.1
      Detecting C compiler ABI info
      Detecting C compiler ABI info - done
      Check for working C compiler: /usr/bin/gcc - skipped
      Detecting C compile features
      Detecting C compile features - done
      Detecting CXX compiler ABI info
      Detecting CXX compiler ABI info - done
      Check for working CXX compiler: /usr/bin/g++ - skipped
      Detecting CXX compile features
      Detecting CXX compile features - done
      Could NOT find Qt6 (missing: Qt6_DIR)
      CMake Error at /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/lib64/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake:54 (_qt_internal_suggest_dependency_debugging):
        Unknown CMake command "_qt_internal_suggest_dependency_debugging".
      Call Stack (most recent call first):
        CMakeLists.txt:6 (find_package)
      CMake Error at CMakeLists.txt:6 (find_package):
        Found package configuration file:    /home/tkloczko/rpmbuild/BUILD/qtwebsockets-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/lib64/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake  but it set Qt6WebSockets_FOUND to FALSE so package "Qt6WebSockets" is
        considered to be NOT FOUND.  Reason given by package:  Qt6WebSockets could not be found because dependency Qt6 could not be found.Configuring incomplete, errors occurred!
      4/5 Test #3: tst_qwebsocket ....................   Passed    4.52 sec
      5/5 Test #4: tst_qwebsocketserver ..............   Passed    6.50 sec60% tests passed, 2 tests failed out of 5Label Time Summary:
      tests/auto/qml/qmlwebsockets/tst_qmlwebsockets                                       =   0.10 sec*proc (1 test)
      tests/auto/websockets/qwebsocket/tst_qwebsocket                                      =   4.52 sec*proc (1 test)
      tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator    =   0.04 sec*proc (1 test)
      tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver                          =   6.50 sec*proc (1 test)Total Test time (real) =   6.51 secThe following tests FAILED:
                1 - module_includes (Failed)
                5 - tst_qmlwebsockets (Failed)
      Errors while running CTest
       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes