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

6.7.2 qt5compat: test suite fails in tst_qt5compat_qdebug unit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 6.7.1, 6.7.2
    • Qt5 Compat
    • None
    • Linux/X11

    Description

       

      camke  -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_big_codecs:BOOL=ON
      FEATURE_codecs:BOOL=ON
      FEATURE_iconv:BOOL=OFF
      FEATURE_pkg_config:BOOL=ON
      FEATURE_textcodec: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_Qt5Compat: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_Qt5Compat: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_WILL_INSTALL:BOOL=ON
      Qt6BuildInternals_DIR:PATH=/usr/lib64/cmake/Qt6BuildInternals
      Qt6Core5Compat_DIR:PATH=/home/tkloczko/rpmbuild/BUILD/qt5compat-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/lib64/cmake/Qt6Core5Compat
      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
      Qt6Quick_DIR:PATH=Qt6Quick_DIR-NOTFOUND
      Qt6ShaderToolsTools_DIR:PATH=/usr/lib64/cmake/Qt6ShaderToolsTools
      Qt6ShaderTools_DIR:PATH=/usr/lib64/cmake/Qt6ShaderTools
      Qt6Test_DIR:PATH=/usr/lib64/cmake/Qt6Test
      Qt6WidgetsTools_DIR:PATH=/usr/lib64/cmake/Qt6WidgetsTools
      Qt6Widgets_DIR:PATH=/usr/lib64/cmake/Qt6Widgets
      Qt6Xml_DIR:PATH=/usr/lib64/cmake/Qt6Xml
      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 suite fails with

       

      + /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/qt5compat-everywhere-src-6.7.2/x86_64-redhat-linux-gnu
      Test project /home/tkloczko/rpmbuild/BUILD/qt5compat-everywhere-src-6.7.2/x86_64-redhat-linux-gnu
            Start  1: tst_qtextcodec
            Start  2: tst_utf8
            Start  3: tst_qt5compat_qdebug
            Start  4: tst_qxml
            Start  5: tst_qxmlinputsource
            Start  6: tst_qxmlsimplereader
            Start  7: tst_qt5compat_json
            Start  8: tst_qt5compat_qtextstream
            Start  9: tst_qregexp
            Start 10: tst_qstringref
            Start 11: tst_qt5compat_qstringbuilder1
            Start 12: tst_qlinkedlist
       1/12 Test  #3: tst_qt5compat_qdebug .............***Failed    0.02 sec
      ********* Start testing of tst_QDebug *********
      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
      PASS   : tst_QDebug::initTestCase()
      FAIL!  : tst_QDebug::qDebugQStringRef() Compared values are not the same
         Actual   (s_msg)                           : ""
         Expected (QString::fromLatin1("\"input\"")): "\"input\""
         Loc: [/home/tkloczko/rpmbuild/BUILD/qt5compat-everywhere-src-6.7.2/tests/auto/core5/io/qdebug/tst_qdebug.cpp(67)]
      PASS   : tst_QDebug::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
      ********* Finished testing of tst_QDebug *********
      CMake Error at tst_qt5compat_qdebugWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qt5compat-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/tests/auto/core5/io/qdebug/tst_qt5compat_qdebug
        execution failed with exit code 1. 2/12 Test  #4: tst_qxml .........................   Passed    0.02 sec
       3/12 Test  #2: tst_utf8 .........................   Passed    0.03 sec
       4/12 Test  #8: tst_qt5compat_qtextstream ........   Passed    0.02 sec
       5/12 Test #11: tst_qt5compat_qstringbuilder1 ....   Passed    0.02 sec
       6/12 Test #12: tst_qlinkedlist ..................   Passed    0.03 sec
       7/12 Test #10: tst_qstringref ...................   Passed    0.03 sec
       8/12 Test  #1: tst_qtextcodec ...................   Passed    0.13 sec
       9/12 Test  #9: tst_qregexp ......................   Passed    0.39 sec
      10/12 Test  #6: tst_qxmlsimplereader .............   Passed    0.43 sec
      11/12 Test  #7: tst_qt5compat_json ...............   Passed    1.14 sec
      12/12 Test  #5: tst_qxmlinputsource ..............   Passed   21.92 sec92% tests passed, 1 tests failed out of 12Label Time Summary:
      tests/auto/core5/codecs/qtextcodec/tst_qtextcodec                                     =   0.13 sec*proc (1 test)
      tests/auto/core5/codecs/utf8/tst_utf8                                                 =   0.03 sec*proc (1 test)
      tests/auto/core5/io/qdebug/tst_qt5compat_qdebug                                       =   0.02 sec*proc (1 test)
      tests/auto/core5/sax/qxml/tst_qxml                                                    =   0.02 sec*proc (1 test)
      tests/auto/core5/sax/qxmlinputsource/tst_qxmlinputsource                              =  21.92 sec*proc (1 test)
      tests/auto/core5/sax/qxmlsimplereader/tst_qxmlsimplereader                            =   0.43 sec*proc (1 test)
      tests/auto/core5/serialization/json/tst_qt5compat_json                                =   1.14 sec*proc (1 test)
      tests/auto/core5/serialization/qtextstream/tst_qt5compat_qtextstream                  =   0.02 sec*proc (1 test)
      tests/auto/core5/text/qregexp/tst_qregexp                                             =   0.39 sec*proc (1 test)
      tests/auto/core5/text/qstringbuilder/qstringbuilder1/tst_qt5compat_qstringbuilder1    =   0.02 sec*proc (1 test)
      tests/auto/core5/text/qstringref/tst_qstringref                                       =   0.03 sec*proc (1 test)
      tests/auto/core5/tools/qlinkedlist/tst_qlinkedlist                                    =   0.03 sec*proc (1 test)Total Test time (real) =  21.93 secThe following tests FAILED:
                3 - tst_qt5compat_qdebug (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

              ivan.solovev Ivan Solovev
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes