Details
-
Bug
-
Resolution: Moved
-
P1: Critical
-
None
-
production, dev
-
2024wk38s2FOQtforAndroid, 2024wk40s3FOQtforAndroid, 2024wk42s3FOQtforAndroid
Description
There has been cases were Android emulator starts, but the test execution stops before it actually starts:
agent:2024/08/24 22:21:24 build.go:404: 1: Execute /opt/android/sdk/platform-tools/adb shell am start -n org.qtproject.example.tst_qshaderbaker/org.qtproject.qt.android.bindings.QtActivity -e applicationArguments "-o output.xml,xml -o output.txt,txt -o output.junitxml,junitxml" -e extraenvvars "UVRFU1RfRU5WSVJPTk1FTlQ9Y2k=". agent:2024/08/24 22:21:25 build.go:404: 1: Starting: Intent { cmp=org.qtproject.example.tst_qshaderbaker/org.qtproject.qt.android.bindings.QtActivity (has extras) } agent:2024/08/24 22:21:25 build.go:404: 1: agent:2024/08/24 22:21:30 build.go:404: 1: "Error: failed to retrieve the test's output.xml file." agent:2024/08/24 22:21:30 build.go:404: 1: ****** Begin logcat output ****** agent:2024/08/24 22:21:30 build.go:404: 1: --------- beginning of main agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.629 4929 4929 I st_qshaderbaker: Late-enabling -Xcheck:jni agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.652 4929 4929 I st_qshaderbaker: Using CollectorTypeCC GC. agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.653 4929 4929 W st_qshaderbaker: Unexpected CPU variant for x86: x86_64. agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.653 4929 4929 W st_qshaderbaker: Known variants: atom, sandybridge, silvermont, goldmont, goldmont-plus, tremont, kabylake, default agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.889 4929 4929 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10190; state: ENABLED agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.890 4929 4929 D CompatibilityChangeReporter: Compat change id reported: 242716250; UID 10190; state: ENABLED agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.918 4929 4929 W ziparchive: Unable to open '/data/app/~~CnQpobGQBUhTMtvRewiDkQ==/org.qtproject.example.tst_qshaderbaker-tcDjqXE0yXYAdfB52cdnIA==/base.dm': No such file or directory agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.918 4929 4929 W ziparchive: Unable to open '/data/app/~~CnQpobGQBUhTMtvRewiDkQ==/org.qtproject.example.tst_qshaderbaker-tcDjqXE0yXYAdfB52cdnIA==/base.dm': No such file or directory agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.973 4929 4929 D nativeloader: Configuring clns-6 for other apk /data/app/~~CnQpobGQBUhTMtvRewiDkQ==/org.qtproject.example.tst_qshaderbaker-tcDjqXE0yXYAdfB52cdnIA==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~CnQpobGQBUhTMtvRewiDkQ==/org.qtproject.example.tst_qshaderbaker-tcDjqXE0yXYAdfB52cdnIA==/lib/x86_64:/data/app/~~CnQpobGQBUhTMtvRewiDkQ==/org.qtproject.example.tst_qshaderbaker-tcDjqXE0yXYAdfB52cdnIA==/base.apk!/lib/x86_64, permitted_path=/data:/mnt/expand:/data/user/0/org.qtproject.example.tst_qshaderbaker agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.998 4929 4929 V GraphicsEnvironment: Currently set values for: agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.998 4929 4929 V GraphicsEnvironment: angle_gl_driver_selection_pkgs=[] agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:24.998 4929 4929 V GraphicsEnvironment: angle_gl_driver_selection_values=[] agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.005 4929 4929 V GraphicsEnvironment: ANGLE GameManagerService for org.qtproject.example.tst_qshaderbaker: false agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.005 4929 4929 V GraphicsEnvironment: org.qtproject.example.tst_qshaderbaker is not listed in per-application setting agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.005 4929 4929 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported. agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.055 4929 4972 D libEGL : loaded /vendor/lib64/egl/libEGL_emulation.so agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.066 4929 4972 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.068 4929 4972 D libEGL : loaded /vendor/lib64/egl/libGLESv2_emulation.so agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.158 4929 4929 D CompatibilityChangeReporter: Compat change id reported: 247079863; UID 10190; state: ENABLED agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.159 4929 4929 W ziparchive: Unable to open '/data/app/~~CnQpobGQBUhTMtvRewiDkQ==/org.qtproject.example.tst_qshaderbaker-tcDjqXE0yXYAdfB52cdnIA==/base.dm': No such file or directory agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.159 4929 4929 W ziparchive: Unable to open '/data/app/~~CnQpobGQBUhTMtvRewiDkQ==/org.qtproject.example.tst_qshaderbaker-tcDjqXE0yXYAdfB52cdnIA==/base.dm': No such file or directory agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:25.826 4929 4929 I QtLoader: Sleeping for 3000ms, helping the native debugger to settle. Use the env QT_ANDROID_DEBUGGER_MAIN_THREAD_SLEEP_MS variable to change this value. agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.835 4929 4976 I QtCore : Start agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.852 4929 4976 I Qt : qt started agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.862 4929 4929 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10190; state: ENABLED agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.879 4929 4929 D CompatibilityChangeReporter: Compat change id reported: 237531167; UID 10190; state: DISABLED agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.880 4929 4929 W OpenGLRenderer: Unknown dataspace 0 agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.889 4929 4929 I Choreographer: Skipped 232 frames! The application may be doing too much work on its main thread. agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.958 4929 4971 W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:28.987 4929 4971 I Gralloc4: mapper 4.x is not supported agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:29.231 4929 4929 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda17@18d793b agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:29.276 4929 4929 I st_qshaderbaker: System.exit called, status: 0 agent:2024/08/24 22:21:30 build.go:404: 1: 08-24 22:21:29.276 4929 4929 I AndroidRuntime: VM exiting with result code 0, cleanup skipped. agent:2024/08/24 22:21:30 build.go:404: 1: agent:2024/08/24 22:21:30 build.go:404: 1: ****** End logcat output ****** agent:2024/08/24 22:21:30 build.go:404: 1: The retrieved crash logcat is empty agent:2024/08/24 22:21:30 build.go:404: 1: Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qshaderbaker. agent:2024/08/24 22:21:31 build.go:404: 1: Success agent:2024/08/24 22:21:31 build.go:404: 1: agent:2024/08/24 22:21:31 build.go:404: 1: qt-testrunner.py INFO: Test process exited with code: 1 agent:2024/08/24 22:21:31 build.go:404: 1: qt-testrunner.py ERROR: XML log file not found: /home/qt/work/testresults/tst_qshaderbaker-1724538047240.xml agent:2024/08/24 22:21:31 build.go:404: 1: qt-testrunner.py ERROR: exception:FileNotFoundError [Errno 2] No such file or directory: '/home/qt/work/testresults/tst_qshaderbaker-1724538047240.xml' agent:2024/08/24 22:21:31 build.go:404: 1: qt-testrunner.py ERROR: The test executable probably crashed, see above for details
Example full logs:
https://testresults.qt.io/coin/api/log/qt/qtimageformats/dd7b9978f07dc5d6d0c74ca19883436850e72506/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86_64GCCqtci-linux-RHEL-8.10-x86_64-50-7f266cAndroidTestRun_GenerateSBOM_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/83709ae4e1d848b0e74603f21c569f03b252e8b6/forceRun/test_1724626838/log.txt.gz
https://testresults.qt.io/coin/api/log/qt/qtbase/b1b1f1152dd9b19f0b4ff1a5196033e521ad43b4/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86GCCqtci-linux-RHEL-8.10-x86_64-50-7f266cAndroidTestRun_GenerateSBOM_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/0bf245b92054db3fd8c68d3aa6f0037c27f7945e/forceRun/test_1724538728/log.txt.gz
https://testresults.qt.io/coin/api/log/qt/qtshadertools/702de3d1a6bd773bc1f555c136c2dc3459f73c0c/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86_64GCCqtci-linux-RHEL-8.10-x86_64-50-7f266cAndroidTestRun_GenerateSBOM_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/83709ae4e1d848b0e74603f21c569f03b252e8b6/forceRun/test_1724541872/log.txt.gz
Attachments
Issue Links
- relates to
-
COIN-1154 Failed to start Android emulator on RHEL
-
- Closed
-
-
QTBUG-129201 tst_qwidget_window crashes on Android in nightly health check
-
- Closed
-
For Gerrit Dashboard: QTQAINFRA-6541 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
598607,2 | Fix Android test fail to start | dev | qt/qtbase | Status: ABANDONED | 0 | +1 |