Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-1075

QEMU tests fail randomly on "Exec format error"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • master
    • Other
    • None
    • d4cccd047 (dev), 6782e1eb7 (6.6), 56073b297 (6.5)

    Description

      Test have started to fail randomly on "Exec format error". This has happened on multiple modules, but always on QEMU targets.

      Here is an example fail:
      agent:2023/08/14 04:36:17 build.go:405: Start 1: tst_qserialport
      agent:2023/08/14 04:36:17 build.go:405: 1: Test command: /opt/cmake-3.24.2/bin/cmake "-P" "/home/qt/work/qt/qtserialport_standalone_tests/tests/auto/qserialport/tst_qserialportWrapperRelWithDebInfo.cmake"
      agent:2023/08/14 04:36:17 build.go:405: 1: Working Directory: /home/qt/work/qt/qtserialport_standalone_tests/tests/auto/qserialport
      agent:2023/08/14 04:36:17 build.go:405: 1: Test timeout computed to be: 1500
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=/home/qt/work/testresults
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/qtserialport_standalone_tests/tests/auto/qserialport/tst_qserialport', '-o', '/home/qt/work/testresults/tst_qserialport-1691987777190.xml,xml', '-o', '/home/qt/work/testresults/tst_qserialport-1691987777190.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qserialport-1691987777190.txt,txt', '-o', '-,txt']
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py ERROR: exception:OSError [Errno 8] Exec format error: '/home/qt/work/qt/qtserialport_standalone_tests/tests/auto/qserialport/tst_qserialport'
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py ERROR: The test executable probably crashed, see above for details
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py INFO: Will re-run the full test executable
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py DEBUG: Running test command line: ['/home/qt/work/qt/qtserialport_standalone_tests/tests/auto/qserialport/tst_qserialport', '-o', '/home/qt/work/testresults/tst_qserialport-1691987777193.xml,xml', '-o', '/home/qt/work/testresults/tst_qserialport-1691987777193.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qserialport-1691987777193.txt,txt', '-o', '-,txt']
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py ERROR: exception:OSError [Errno 8] Exec format error: '/home/qt/work/qt/qtserialport_standalone_tests/tests/auto/qserialport/tst_qserialport'
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py ERROR: The test executable probably crashed, see above for details
      agent:2023/08/14 04:36:17 build.go:405: 1: qt-testrunner.py ERROR: Full test run failed repeatedly, aborting!
      agent:2023/08/14 04:36:17 build.go:405: 1: CMake Error at tst_qserialportWrapperRelWithDebInfo.cmake:18 (message):
      agent:2023/08/14 04:36:17 build.go:405: 1: /home/qt/work/install/libexec/qt-testrunner.py –
      agent:2023/08/14 04:36:17 build.go:405: 1: /home/qt/work/qt/qtserialport_standalone_tests/tests/auto/qserialport/tst_qserialport
      agent:2023/08/14 04:36:17 build.go:405: 1: execution failed with exit code 3.

      Another example:
      https://testresults.qt.io/coin/api/log/qt/qthttpserver/2659d645ac293324af52c1d9273ee27d0325467a/LinuxUbuntu_22_04x86_64LinuxQEMUarmv7GCCqtci-linux-Ubuntu-22.04-x86_64-51-166e66Sccache_UseConfigure/04750a542ed4281aad1f78778914cdb9f7269828/test_1697477772/log.txt.gz

      Attachments

        Issue Links

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

          Activity

            People

              casimirs Casimir Saastamoinen
              jujokini Jukka Jokiniva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes