Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.7
-
-
2024wk42s3FOQtforAndroid
Description
The androidtestrunner should fail early if the test apk wasn't installed instead of trying to run a non-existing test and diverting attention from the real issue.
An example of this is this failure:
Execute /opt/android/sdk/platform-tools/adb install -r -g /home/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/kernel/qmath/android-build/tst_qmath.apk. agent:2024/01/25 10:31:35 build.go:404: 2: Performing Push Install agent:2024/01/25 10:31:35 build.go:404: 2: /home/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/kernel/qmath/android-build/tst_qmath.apk: 1 file pushed, 0 skipped. 98.8 MB/s (16521469 bytes in 0.160s) agent:2024/01/25 10:31:35 build.go:404: 2: pkg: /data/local/tmp/tst_qmath.apk agent:2024/01/25 10:31:35 build.go:404: 2: Failure [INSTALL_FAILED_OLDER_SDK]
The link to the integration of that is https://testresults.qt.io/coin/api/log/qt/qtbase/861dddde300c9264fab926e458ac8b404b7f55af/LinuxRHEL_8_8x86_64AndroidAndroid_ANYmultiGCCqtci-linux-RHEL-8.8-x86_64-50-bb456bAndroidTestRun_InstallDepsPerPlatformSubdir_MinimalAndroidMultiABITests_Sccache_WarningsAreErrors/3afe2466480471646001829bcaf8bbbf21cfd2ac/test_1706601364/log.txt.gz