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

Qtestlib produces invalid xml for crashed tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12
    • Testing: qtestlib
    • None

      The test run has failed with error:

      agent:2018/11/13 20:06:31 build.go:193: -- Configuring incomplete, errors occurred!
      agent:2018/11/13 20:06:31 build.go:193: See also "/home/qt/work/qt/qtwebchannel/tests/auto/cmake/build/CMakeFiles/CMakeOutput.log".
      agent:2018/11/13 20:06:31 build.go:193: See also "/home/qt/work/qt/qtwebchannel/tests/auto/cmake/build/CMakeFiles/CMakeError.log".
      agent:2018/11/13 20:06:31 build.go:193: Makefile:255: recipe for target 'check' failed
      agent:2018/11/13 20:06:31 build.go:193: make: *** [check] Error 1
      agent:2018/11/13 20:06:31 build.go:234: Process finished with error exit status 2 but the result is ignored as instructed by Coin.
      

      The last lines in the log file are about failure to unmarshal the testresults:

      agent:2018/11/13 20:06:40 build.go:193: ********* Finished testing of tst_Bic *********
      agent:2018/11/13 20:06:40 build.go:653: 
      agent:2018/11/13 20:06:40 build.go:435: Executing scheduled instruction 1 of 2 - Upload all core dumps if there are some
      agent:2018/11/13 20:06:40 build.go:437: 
      agent:2018/11/13 20:06:40 build.go:435: Executing scheduled instruction 2 of 2 - Upload test results
      agent:2018/11/13 20:06:40 storageclient.go:542: Collecting test results, archiving and uploading them
      agent:2018/11/13 20:06:40 result.go:155: Collecting 3 test results ...
      agent:2018/11/13 20:06:40 build.go:437: 
      agent:2018/11/13 20:06:40 agent.go:198: Test failed
      agent:2018/11/13 20:06:40 agent.go:94: ERROR building: error unmarshalling testlib xml output ('/home/qt/work/testresults/tests/auto/webchannel927374922'): 'XML syntax error on line 57: unexpected EOF'.
      

       The implementation could be improved so that it will not try to parse the results if the make check fails.

       

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

            hehalmet Heikki Halmet
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes