Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126630

6.7.2 qtsensors: test suite fails in two units

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 6.7.2
    • Sensors
    • None
    • 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
      FEATURE_sensorfw:BOOL=OFF
      FEATURE_winrt_sensors:BOOL=OFF
      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_QtSensors: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_QtSensors: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 

      And test suite fails in two uits

      + cd qtsensors-everywhere-src-6.7.1
      + dbus-launch --exit-with-session xvfb-run -a /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/qtsensors-everywhere-src-6.7.1/x86_64-redhat-linux-gnu
      Test project /home/tkloczko/rpmbuild/BUILD/qtsensors-everywhere-src-6.7.1/x86_64-redhat-linux-gnu
          Start 2: module_includes
          Start 4: tst_sensors_qmlquick
          Start 3: tst_sensors_qmlcpp
          Start 1: tst_qsensor
      1/4 Test #2: module_includes ..................***Failed    0.02 sec
      Internal cmake changing into directory: /home/tkloczko/rpmbuild/BUILD/qtsensors-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/cmake/module_includes/build
      Error: cmake execution failed
      Could NOT find Qt6 (missing: Qt6_DIR)
      CMake Error at /home/tkloczko/rpmbuild/BUILD/qtsensors-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6Sensors/Qt6SensorsConfig.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/qtsensors-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6Sensors/Qt6SensorsConfig.cmake  but it set Qt6Sensors_FOUND to FALSE so package "Qt6Sensors" is considered
        to be NOT FOUND.  Reason given by package:  Qt6Sensors could not be found because dependency Qt6 could not be found.Configuring incomplete, errors occurred!
      2/4 Test #1: tst_qsensor ......................   Passed    0.03 sec
      3/4 Test #3: tst_sensors_qmlcpp ...............   Passed    0.04 sec
      4/4 Test #4: tst_sensors_qmlquick .............***Failed    0.31 sec
      qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
      qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
      qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
      Could not initialize GLX
      CMake Error at tst_sensors_qmlquickWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qtsensors-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/qml/qml_quick/tst_sensors_qmlquick
        execution failed with exit code Subprocess aborted.
      50% tests passed, 2 tests failed out of 4Label Time Summary:
      tests/auto/qml/qml_cpp/tst_sensors_qmlcpp        =   0.04 sec*proc (1 test)
      tests/auto/qml/qml_quick/tst_sensors_qmlquick    =   0.31 sec*proc (1 test)
      tests/auto/qsensor/tst_qsensor                   =   0.03 sec*proc (1 test)Total Test time (real) =   0.32 secThe following tests FAILED:
                2 - module_includes (Failed)
                4 - tst_sensors_qmlquick (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

              kloczek Tomasz Kloczko
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes