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

tst_qscreencapture is flaky on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.9
    • Multimedia
    • Android

    Description

      tst_qscreencapture fails intermittently on Android

      testresults.qt.io/logs/qt/qtmultimedia/cbe60f12afd969c9cf3c7c0198cd2e07b3409031/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86GCCqtci-linux-RHEL-8.10-x86_64-51-c4da15AndroidTestRun_GenerateSBOM_Packaging_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/33031f517bdb92cd3dc44a66ec117e3157f44211/test_1730296736/log.txt.gz

       

      agent:2024/10/30 14:39:27 build.go:404: 25/55 Test #25: tst_qscreencapture ...............***Failed    9.28 sec
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py     INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=/home/qt/work/testresults
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py     INFO: Detected androidtestrunner, test will be handled specially. Detected test basename: tst_qscreencapture
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    DEBUG: Running test command line: ['/home/qt/work/install/bin/androidtestrunner', '--path', '/home/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/unit/multimedia/qscreencapture/android-build', '--adb', '/opt/android/sdk/platform-tools/adb', '--skip-install-root', '--make', '"/opt/cmake-3.30.5/bin/cmake" --build /home/qt/work/qt/qtmultimedia_standalone_tests --target tst_qscreencapture_make_apk', '--apk', '/home/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/unit/multimedia/qscreencapture/android-build/tst_qscreencapture.apk', '--ndk-stack', '/opt/android/android-ndk-r26b/ndk-stack', '--timeout', '1425', '--', '-o', '/home/qt/work/testresults/tst_qscreencapture-1730299157936.xml,xml', '-o', '/home/qt/work/testresults/tst_qscreencapture-1730299157936.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qscreencapture-1730299157936.txt,txt', '-o', '-,txt']
      agent:2024/10/30 14:39:27 build.go:404: "Error: failed to retrieve the test's output.junitxml file."
      agent:2024/10/30 14:39:27 build.go:404: ****** Begin logcat output ******
      agent:2024/10/30 14:39:27 build.go:404: --------- beginning of main
      agent:2024/10/30 14:39:27 build.go:404: 10-30 14:39:22.402  9357  9357 I _qscreencaptur: Late-enabling -Xcheck:jni
      agent:2024/10/30 14:39:27 build.go:404: 10-30 14:39:22.409  9357  9357 W _qscreencaptur: Unexpected CPU variant for X86 using defaults: x86
      agent:2024/10/30 14:39:27 build.go:404: ****** End logcat output ******
      agent:2024/10/30 14:39:27 build.go:404: The retrieved crash logcat is empty
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py     INFO: Test process exited with code: 1
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    ERROR: XML log file not found: /home/qt/work/testresults/tst_qscreencapture-1730299157936.xml
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    ERROR: exception:FileNotFoundError [Errno 2] No such file or directory: '/home/qt/work/testresults/tst_qscreencapture-1730299157936.xml'
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    ERROR: The test executable probably crashed, see above for details
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py     INFO: Will re-run the full test executable
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    DEBUG: Running test command line: ['/home/qt/work/install/bin/androidtestrunner', '--path', '/home/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/unit/multimedia/qscreencapture/android-build', '--adb', '/opt/android/sdk/platform-tools/adb', '--skip-install-root', '--make', '"/opt/cmake-3.30.5/bin/cmake" --build /home/qt/work/qt/qtmultimedia_standalone_tests --target tst_qscreencapture_make_apk', '--apk', '/home/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/unit/multimedia/qscreencapture/android-build/tst_qscreencapture.apk', '--ndk-stack', '/opt/android/android-ndk-r26b/ndk-stack', '--timeout', '1425', '--', '-o', '/home/qt/work/testresults/tst_qscreencapture-1730299163759.xml,xml', '-o', '/home/qt/work/testresults/tst_qscreencapture-1730299163759.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qscreencapture-1730299163759.txt,txt', '-o', '-,txt']
      agent:2024/10/30 14:39:27 build.go:404: "Error: failed to retrieve the test's output.xml file."
      agent:2024/10/30 14:39:27 build.go:404: ****** Begin logcat output ******
      agent:2024/10/30 14:39:27 build.go:404: --------- beginning of main
      agent:2024/10/30 14:39:27 build.go:404: 10-30 14:39:26.244  9433  9433 I _qscreencaptur: Late-enabling -Xcheck:jni
      agent:2024/10/30 14:39:27 build.go:404: 10-30 14:39:26.250  9433  9433 W _qscreencaptur: Unexpected CPU variant for X86 using defaults: x86
      agent:2024/10/30 14:39:27 build.go:404: ****** End logcat output ******
      agent:2024/10/30 14:39:27 build.go:404: The retrieved crash logcat is empty
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py     INFO: Test process exited with code: 1
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    ERROR: XML log file not found: /home/qt/work/testresults/tst_qscreencapture-1730299163759.xml
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    ERROR: exception:FileNotFoundError [Errno 2] No such file or directory: '/home/qt/work/testresults/tst_qscreencapture-1730299163759.xml'
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    ERROR: The test executable probably crashed, see above for details
      agent:2024/10/30 14:39:27 build.go:404: qt-testrunner.py    ERROR: Full test run failed repeatedly, aborting!
      agent:2024/10/30 14:39:27 build.go:404: CMake Error at tst_qscreencaptureWrapperRelWithDebInfo.cmake:18 (message):
      agent:2024/10/30 14:39:27 build.go:404:   /home/qt/work/install/libexec/qt-testrunner.py --
      agent:2024/10/30 14:39:27 build.go:404:   /home/qt/work/install/bin/androidtestrunner --path
      agent:2024/10/30 14:39:27 build.go:404:   /home/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/unit/multimedia/qscreencapture/android-build
      agent:2024/10/30 14:39:27 build.go:404:   --adb /opt/android/sdk/platform-tools/adb --skip-install-root --make
      agent:2024/10/30 14:39:27 build.go:404:   "/opt/cmake-3.30.5/bin/cmake" --build
      agent:2024/10/30 14:39:27 build.go:404:   /home/qt/work/qt/qtmultimedia_standalone_tests --target
      agent:2024/10/30 14:39:27 build.go:404:   tst_qscreencapture_make_apk --apk
      agent:2024/10/30 14:39:27 build.go:404:   /home/qt/work/qt/qtmultimedia_standalone_tests/tests/auto/unit/multimedia/qscreencapture/android-build/tst_qscreencapture.apk
      agent:2024/10/30 14:39:27 build.go:404:   --ndk-stack /opt/android/android-ndk-r26b/ndk-stack --timeout 1425
      agent:2024/10/30 14:39:27 build.go:404:   execution failed with exit code 3.
      agent:2024/10/30 14:39:27 build.go:404: 96% tests passed, 1 tests failed out of 25
      agent:2024/10/30 14:39:27 build.go:404: Total Test time (real) = 319.85 sec
      agent:2024/10/30 14:39:27 build.go:404: The following tests FAILED:
      agent:2024/10/30 14:39:27 build.go:404: 	 25 - tst_qscreencapture (Failed)
      agent:2024/10/30 14:39:27 build.go:404: Errors while running CTest
      agent:2024/10/30 14:39:27 build.go:455: Process finished with error: exit status 8
      agent:2024/10/30 14:39:27 build.go:832: 
      agent:2024/10/30 14:39:27 build.go:833: Executing instruction 105 of 172 - ExecuteCommand
      agent:2024/10/30 14:39:27 build.go:427: [cmake -E copy Testing/Temporary/LastTest.log /home/qt/work/testresults/CTest.log] 10s 10s false false 

      Attachments

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

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            johanseg Jøger Hansegård
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes