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

Corrupt XML testlog generated by tst_qquickanimationcontroller

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7
    • Testing: QuickTest
    • macOS

    Description

      In this testlog from January 2024 we see that the XML log file generated by tst_qquickanimationcontroller is corrupt.

      It starts directly with <TestFunction>, which is not inside a <TestCase> as it should always be:

      <TestFunction name="AnimationController::test_complete">
        <Incident type="skip" file="/Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickanimationcontroller/data/tst_completion.qml" line="20">
          <Description><![CDATA[QTBUG-25967]]></Description>
        </Incident>
        <Duration msecs="15.4915"/>
      </TestFunction>
      <TestFunction name="AnimationController::cleanupTestCase">
        <Incident type="pass" file="" line="0" />
        <Duration msecs="0.059833"/>
      </TestFunction>
      <TestFunction name="AnimationController::initTestCase">
        <Incident type="pass" file="" line="0" />
        <Duration msecs="37.9018"/>
      </TestFunction>
      ...
      

      In the test log we see twice the peculiar log message "Could not create pipeline cache lock file .../qqpc_metal.lck" which must be related to the problem, as it does not happen when the test is re-run succesfully.

      qt-testrunner.py    DEBUG: Running test command line: ['/Users/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickanimationcontroller/tst_qquickanimationcontroller', '-o', '/Users/qt/work/testresults/tst_qquickanimationcontroller-1704560619569.xml,xml', '-o', '/Users/qt/work/testresults/tst_qquickanimationcontroller-1704560619569.junit.xml,junitxml', '-o', '/Users/qt/work/testresults/tst_qquickanimationcontroller-1704560619569.txt,txt', '-o', '-,txt']
      Could not create pipeline cache lock file '/Users/qt/Library/Caches/tst_qquickanimationcontroller/qtpipelinecache-arm64-little_endian-lp64/qqpc_metal.lck'
      ********* Start testing of qquickanimationcontroller *********
      Config: Using QtTest library 6.8.0, Qt 6.8.0 (arm64-little_endian-lp64 shared (dynamic) release build; by Apple LLVM 14.0.0 (clang-1400.0.29.202)), macos 11.7
      PASS   : qquickanimationcontroller::AnimationController::initTestCase()
      PASS   : qquickanimationcontroller::AnimationController::test_colorAnimation()
      PASS   : qquickanimationcontroller::AnimationController::cleanupTestCase()
      QWARN  : qquickanimationcontroller::UnknownTestFunc() Could not create pipeline cache lock file '/Users/qt/Library/Caches/tst_qquickanimationcontroller/qtpipelinecache-arm64-little_endian-lp64/qqpc_metal.lck'
      PASS   : qquickanimationcontroller::AnimationController::initTestCase()
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes