Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
master
-
-
0aaf514042 (qt/qtbase/dev) 8d1ec1449d (qt/qtbase/6.2) cdc60890c5 (qt/qtbase/6.3) c8e0a742fb (qt/qtbase/dev) 8d1ec1449d (qt/tqtc-qtbase/6.2) cdc60890c5 (qt/tqtc-qtbase/6.3) 0aaf514042 (qt/tqtc-qtbase/dev) bd3f787623 (qt/qtbase/6.2)
Description
Execute /opt/android/sdk/platform-tools/adb install -r -g /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qabstractitemmodeltester/android-build/tst_qabstractitemmodeltester.apk. Performing Push Install /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qabstractitemmodeltester/android-build/tst_qabstractitemmodeltester.apk: 1 file pushed, 0 skipped. 55.3 MB/s (11934463 bytes in 0.206s) Error: Could not access the Package Manager. Is the system running? Execute /opt/android/sdk/platform-tools/adb shell am start -e applicationArguments \"'-o output.txt,txt'\" -n org.qtproject.example.tst_qabstractitemmodeltester/org.qtproject.qt.android.bindings.QtActivity. Error type 2 android.util.AndroidException: Can't connect to activity manager; is the system running? at com.android.commands.am.Am.onRun(Am.java:353) at com.android.internal.os.BaseCommand.run(BaseCommand.java:47) at com.android.commands.am.Am.main(Am.java:100) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:251) Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qabstractitemmodeltester. Failure [DELETE_FAILED_INTERNAL_ERROR] CMake Error at tst_qabstractitemmodeltesterWrapperRelWithDebInfo.cmake:17 (message): /home/qt/work/install/bin/androidtestrunner --path /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qabstractitemmodeltester/android-build --adb /opt/android/sdk/platform-tools/adb --skip-install-root --make /opt/cmake-3.21.1/bin/cmake --build /home/qt/work/qt/qtbase_standalone_tests --target tst_qabstractitemmodeltester_make_apk --apk /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qabstractitemmodeltester/android-build/tst_qabstractitemmodeltester.apk --verbose execution failed.
This error happens on every single qtbase integration on dev, on either of these 2 platforms on the testing phase:
- Android_ANY (clang-x86) on Linux RHEL_8_2 (gcc-x86_64)
- Android_ANY (clang-x86) on Linux RHEL_8_4 (gcc-x86_64)
(BTW do we need both of these platforms? The minor revisions of RHEL are binary compatible AFAICT, if we only test the oldest, we are guaranteed to run on the newest.)
The error happens, then CTest retries the test and the error does not happen. But it is there on every single log I have checked, which makes it a different story from a flaky test, since it's 100% reproducible.
BTW, I found this while resolving QTBUG-96353, which results in removing the repeat flags --rerun-failed --force-new-ctest-process --repeat until-pass:5 from CTest. Then absolutely no status check of mine would pass.
Attachments
Issue Links
- blocks
-
QTBUG-96353 Test run procedure and flaky detection
- Closed
- is duplicated by
-
COIN-792 Integration fails in qtbase with "Could not access the Package Manager. Is the system running?"
- Closed
For Gerrit Dashboard: QTQAINFRA-4681 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
388404,3 | Wait for android emulator to be up and running properly | dev | qt/qtbase | Status: MERGED | +2 | 0 |
388564,4 | Wait for boot to be fully complete with all packages installed | dev | qt/qtbase | Status: MERGED | +2 | 0 |
388822,2 | Wait for android emulator to be up and running properly | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
388823,2 | Wait for android emulator to be up and running properly | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
388871,2 | Wait for boot to be fully complete with all packages installed | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
388872,2 | Wait for boot to be fully complete with all packages installed | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
388975,3 | Properly wait for the Android emulator to fully boot | dev | qt/qtbase | Status: MERGED | +2 | 0 |
389030,2 | Properly wait for the Android emulator to fully boot | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
389031,2 | Properly wait for the Android emulator to fully boot | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |