Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-7466

coin_scraper: handle empty XML files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • unversioned
    • None

      A crash can lead to empty XML file. How is coin_scraper parsing an empty XML file?
      Should it record it as a crash? Maybe mark it with a new -EMPTY_XML- resulttype?

      https://testresults.qt.io/coin/api/log/qt/qtdatavis3d/cf793be2bffe18e61593ab02ada829b2b0fbbd2d/MacOSMacOS_26arm64MacOSMacOS_26arm64Clangqtci-macos-26-arm-104-bc5415Packaging_TestOnly/d189c036c6aaf7019fc3d0c8764f7fc9fe373b5e/test_1758851863/log.txt.gz

      agent:2025/09/25 19:47:18 build.go:413: 27/27 Test #27: tst_qmltest_datavis .................***Failed    0.44 sec
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py     INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=/Users/qt/work/testresults
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py    DEBUG: Running test command line: ['/Users/qt/work/qt/qtdatavis3d_standalone_tests/tests/auto/qmltest/tst_qmltest_datavis', '-o', '/Users/qt/work/testresults/tst_qmltest_datavis-1758829638490.xml,xml', '-o', '/Users/qt/work/testresults/tst_qmltest_datavis-1758829638490.junit.xml,junitxml', '-o', '/Users/qt/work/testresults/tst_qmltest_datavis-1758829638490.txt,txt', '-o', '-,txt']
      agent:2025/09/25 19:47:18 build.go:413: Received signal 10 (SIGBUS), code BUS_ADRALN, at instruction address 0x000000018ea4e394, accessing address 0x0000000800000280
      agent:2025/09/25 19:47:18 build.go:413:          [Non-test] function time: -./,),(-*,(ms, total time: -./,),(-*,(ms
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py     INFO: Test process exited with code: -10
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py    ERROR: Failed to parse the XML log file: /Users/qt/work/testresults/tst_qmltest_datavis-1758829638490.xml
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py    ERROR:     File is empty
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py    ERROR: exception:ParseError no element found: line 1, column 0
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py    ERROR: The test executable probably crashed, see above for details
      agent:2025/09/25 19:47:18 build.go:413: qt-testrunner.py     INFO: Will re-run the full test executable
      

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

            jimis Dimitrios Apostolou
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes