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

Various test failures on RHEL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.0
    • Quick: Controls 2
    • None
    • d451cab0c8b727fa7f12a169a3d6ee449a3a1902 e94d8c4dc8d1ced13f867c8bdb0696e089b1f894

    Description

      Doing a pre-CI quick check on https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/310208/ fails:

      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/310208/10#message-94219c43e55400728ea055f99b17ab6e827f70b1

       Pre Continuous Integration Quick Check: Failed
      
      Failed to run tests.
      
      
      The error was in "qt/qtquickcontrols2", revision: e527cb6306bea433e87a2e372cab349f6896c298
       
       49078: 13: PASS   : tst_platform::MessageDialog::test_clicked()
       13: PASS   : tst_platform::MessageDialog::test_instance()
       13: PASS   : tst_platform::MessageDialog::test_standardButtons()
       13: PASS   : tst_platform::MessageDialog::cleanupTestCase()
       13: PASS   : tst_platform::StandardPaths::initTestCase()
       13: PASS   : tst_platform::StandardPaths::test_locateOptions()
       13: PASS   : tst_platform::StandardPaths::test_standardLocation()
       13: PASS   : tst_platform::StandardPaths::cleanupTestCase()
       13: PASS   : tst_platform::SystemTrayIcon::initTestCase()
       13: QSYSTEM: tst_platform::SystemTrayIcon::test_activated()
       13: ERROR: No native SystemTrayIcon implementation available.
       
       55338: 	 27 - tst_qquickpopup (Failed)
       	 28 - tst_qquickstyle (Failed)
       	 31 - tst_revisions (Failed)
       	 34 - tst_styleimports (Failed)
       Errors while running CTest
       Process finished with error: exit status 8
       Executing scheduled instruction 1 of 1 - Upload all core dumps if there are some
       Skip uploading core files because CORE_FILES_PATH is not set in the environment
       agent:2020/08/17 11:06:52 build.go:584:
       Test failed
       ERROR building: exit status 8
      

      Build log: https://testresults.qt.io/logs/qt/qtquickcontrols2/02de84193c770a81614fef335997cb1824c91334/LinuxRHEL_7_6x86_64LinuxRHEL_7_6x86_64GCCqtci-linux-RHEL-7.6-x86_64-bd26e2/3feb75f9622ae7a59cd848712a0dbd5f16b6d6d5/test_1597658213/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtquickcontrols2/tasks/web_qt_qtquickcontrols2_1597658167666

      Example of some of the failed tests:

      agent:2020/08/17 10:11:21 build.go:302: 2: PASS   : tst_controls::Default::ToolSeparator::test_size()
      agent:2020/08/17 10:11:21 build.go:302: 2: PASS   : tst_controls::Default::ToolSeparator::cleanupTestCase()
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::UnknownTestFunc() QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: PASS   : tst_controls::Default::ToolTip::initTestCase()
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_activateShortcutWhileToolTipVisible() QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_activateShortcutWhileToolTipVisible() QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: FAIL!  : tst_controls::Default::ToolTip::test_activateShortcutWhileToolTipVisible() Uncaught exception: Cannot read property 'visible' of null
      agent:2020/08/17 10:11:21 build.go:302: 2:    Loc: [/home/qt/work/install/qml/QtTest/TestCase.qml(1052)]
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_attached(text) QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: FAIL!  : tst_controls::Default::ToolTip::test_attached(text) Uncaught exception: Value is null and could not be converted to an object
      agent:2020/08/17 10:11:21 build.go:302: 2:    Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)]
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_attached(delay) QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: FAIL!  : tst_controls::Default::ToolTip::test_attached(delay) Uncaught exception: Value is null and could not be converted to an object
      agent:2020/08/17 10:11:21 build.go:302: 2:    Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)]
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_attached(timeout) QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: FAIL!  : tst_controls::Default::ToolTip::test_attached(timeout) Uncaught exception: Value is null and could not be converted to an object
      agent:2020/08/17 10:11:21 build.go:302: 2:    Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)]
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_attachedTimeout() QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_attachedTimeout() QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: FAIL!  : tst_controls::Default::ToolTip::test_attachedTimeout() Uncaught exception: Cannot read property 'opened' of null
      agent:2020/08/17 10:11:21 build.go:302: 2:    Loc: [/home/qt/work/install/qml/QtTest/TestCase.qml(1052)]
      

      If we take tst_controls::Default::ToolTip::test_attached(text) as an example:

      agent:2020/08/17 10:11:21 build.go:302: 2: QWARN  : tst_controls::Default::ToolTip::test_attached(text) QQmlComponent: Component is not ready
      agent:2020/08/17 10:11:21 build.go:302: 2: FAIL!  : tst_controls::Default::ToolTip::test_attached(text) Uncaught exception: Value is null and could not be converted to an object
      agent:2020/08/17 10:11:21 build.go:302: 2:    Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)]
      

      The first error is printed by this line:

      https://codereview.qt-project.org/gitweb?p=qt/qtquickcontrols2.git;a=blob;f=tests/auto/controls/data/tst_tooltip.qml;h=6ca172633fb19e560dd53f7b83d3efd78491748c;hb=afe4df0eab3487049e401146e48eee88b2257094#l126

      Which makes no sense to me - usually that error is printed when creating an object from a component, and here we're accessing (and I guess creating) an attached object.

      The second error happens on the next line:

      https://codereview.qt-project.org/gitweb?p=qt/qtquickcontrols2.git;a=blob;f=tests/auto/controls/data/tst_tooltip.qml;h=6ca172633fb19e560dd53f7b83d3efd78491748c;hb=afe4df0eab3487049e401146e48eee88b2257094#l127

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes