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

QQmlTypeLoader::importAndDestroy() is flaky

    XMLWordPrintable

Details

    • e68d03405 (dev)

    Description

      Since https://codereview.qt-project.org/c/qt/qtdeclarative/+/607499 it doesn't crash anymore, but instead times out. Log snippet:

      agent:2024/12/19 14:05:56 build.go:404: ********* Start testing of tst_QQMLTypeLoader *********
      agent:2024/12/19 14:05:56 build.go:404: Config: Using QtTest library 6.9.0, Qt 6.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.3.0 20190222 (lookup) [qnx710 1535#57]), qnx unknown
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::initTestCase()
      agent:2024/12/19 14:05:56 build.go:404: QDEBUG : tst_QQMLTypeLoader::testLoadComplete() QList("/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qqmltypeloader", "qrc:/qt-project.org/imports", "qrc:/qt/qml", "/home/qt/work/install/target/qml")
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::testLoadComplete()
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::loadComponentSynchronously()
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::trimCache()
      agent:2024/12/19 14:05:56 build.go:404: QDEBUG : tst_QQMLTypeLoader::trimCache2() qml: file:///home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmltypeloader/data/MyComponent.qml:7 Type MyComponent3 unavailable
      agent:2024/12/19 14:05:56 build.go:404: file:///home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmltypeloader/data/MyComponent3.qml:7 MyComponent4 is not a type
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::trimCache2()
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::trimCache3()
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::keepSingleton()
      agent:2024/12/19 14:05:56 build.go:404: PASS   : tst_QQMLTypeLoader::keepRegistrations()
      agent:2024/12/19 14:05:56 build.go:404:          importAndDestroy function time: 300000ms, total time: 302189ms
      agent:2024/12/19 14:05:56 build.go:404: QFATAL : tst_QQMLTypeLoader::importAndDestroy() Test function timed out
      agent:2024/12/19 14:05:56 build.go:404: FAIL!  : tst_QQMLTypeLoader::importAndDestroy() Received a fatal error.
      agent:2024/12/19 14:05:56 build.go:404: Totals: 8 passed, 1 failed, 0 skipped, 0 blacklisted, 302191ms
      agent:2024/12/19 14:05:56 build.go:404: ********* Finished testing of tst_QQMLTypeLoader *********
      agent:2024/12/19 14:05:56 build.go:404: Received signal 6 (SIGABRT) sent by PID 2850837 UID -1
      agent:2024/12/19 14:05:56 build.go:404:          importAndDestroy function time: 300015ms, total time: 302204ms
      agent:2024/12/19 14:05:56 build.go:404: Abort (core dumped) 
      agent:2024/12/19 14:05:56 build.go:404: qt-testrunner.py     INFO: Test process exited with code: 134
      agent:2024/12/19 14:05:56 build.go:404: qt-testrunner.py     INFO: Parsed XML file /home/qt/work/testresults/tst_qqmltypeloader-1734615656385.xml in 0.001 seconds
      agent:2024/12/19 14:05:56 build.go:404: qt-testrunner.py     INFO: Found 8 passes and 1 failures
      agent:2024/12/19 14:05:56 build.go:404: qt-testrunner.py     INFO: Some tests failed, will re-run at most 5 times.
      agent:2024/12/19 14:05:56 build.go:404: qt-testrunner.py     INFO: Re-running testcase: importAndDestroy
      agent:2024/12/19 14:05:56 build.go:404: qt-testrunner.py    DEBUG: Running test command line: ['/home/qt/work/qt/qtdeclarative/coin_qnx_qemu_runner.sh', '/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qqmltypeloader/tst_qqmltypeloader', '-o', '/home/qt/work/testresults/tst_qqmltypeloader-1734615960315.xml,xml', '-o', '/home/qt/work/testresults/tst_qqmltypeloader-1734615960315.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qqmltypeloader-1734615960315.txt,txt', '-o', '-,txt', 'importAndDestroy']
      

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes