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

Integration fails in qtbase with "Could not access the Package Manager. Is the system running?"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: None
    • Labels:
      None

      Description

      https://codereview.qt-project.org/c/qt/qtbase/+/383185/3#message-afb3ae40c14c1f3b26709002ee086cd24da95ac2

       
       452: 23
       Execute /opt/android/sdk/platform-tools/adb install -r -g /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qsignalspy/android-build/tst_qsignalspy.apk.
       Performing Push Install
       /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qsignalspy/android-build/tst_qsignalspy.apk: 1 file pushed, 0 skipped. 65.9 MB/s (8769175 bytes in 0.127s)
       Aborted
       Execute /opt/android/sdk/platform-tools/adb shell am start -e applicationArguments \"'-o output.txt,txt -o output.junitxml,junitxml -o output.xml,xml'\" -n org.qtproject.example.tst_qsignalspy/org.qtproject.qt.android.bindings.QtActivity.
       Aborted
       Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qsignalspy.
       Error: Could not access the Package Manager.  Is the system running?
       qt-testrunner.py     INFO: Test process exited with code: 1
       qt-testrunner.py    ERROR: XML log file not found: /home/qt/work/testresults/tst_qsignalspy.xml
       
       453: Execute /opt/android/sdk/platform-tools/adb install -r -g /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qsignalspy/android-build/tst_qsignalspy.apk.
       Performing Push Install
       /home/qt/work/qt/qtbase_standalone_tests/tests/auto/testlib/qsignalspy/android-build/tst_qsignalspy.apk: 1 file pushed, 0 skipped. 65.9 MB/s (8769175 bytes in 0.127s)
       Aborted
       Execute /opt/android/sdk/platform-tools/adb shell am start -e applicationArguments \"'-o output.txt,txt -o output.junitxml,junitxml -o output.xml,xml'\" -n org.qtproject.example.tst_qsignalspy/org.qtproject.qt.android.bindings.QtActivity.
       Aborted
       Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qsignalspy.
       Error: Could not access the Package Manager.  Is the system running?
       qt-testrunner.py     INFO: Test process exited with code: 1
       qt-testrunner.py    ERROR: XML log file not found: /home/qt/work/testresults/tst_qsignalspy.xml
       qt-testrunner.py    ERROR: Uncontrolled test CRASH! Details:
       
       484: 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.xml,xml -o output.junitxml,junitxml -o output.txt,txt'\" -n org.qtproject.example.tst_qsignalspy/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_qsignalspy.
       Failure [DELETE_FAILED_INTERNAL_ERROR]
       
       486: 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_qsignalspy.
       Failure [DELETE_FAILED_INTERNAL_ERROR]
       qt-testrunner.py     INFO: Test process exited with code: 1
       qt-testrunner.py    ERROR: XML log file not found: /home/qt/work/testresults/tst_qsignalspy.xml
       
       487: 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_qsignalspy.
       Failure [DELETE_FAILED_INTERNAL_ERROR]
       qt-testrunner.py     INFO: Test process exited with code: 1
       qt-testrunner.py    ERROR: XML log file not found: /home/qt/work/testresults/tst_qsignalspy.xml
       qt-testrunner.py    ERROR: Uncontrolled test CRASH! Details:
       
       498: Traceback (most recent call last):
         File "/home/qt/work/install/libexec/qt-testrunner.py", line 320, in main
           failed_functions = parse_log(results_file)
         File "/home/qt/work/install/libexec/qt-testrunner.py", line 194, in parse_log
           tree = ET.parse(results_file)
         File "/usr/lib64/python3.6/xml/etree/ElementTree.py", line 1196, in parse
           tree.parse(source, parser)
         File "/usr/lib64/python3.6/xml/etree/ElementTree.py", line 586, in parse
           source = open(source, "rb")
       FileNotFoundError: [Errno 2] No such file or directory: '/home/qt/work/testresults/tst_qsignalspy.xml'
       qt-testrunner.py    ERROR: Full test run failed repeatedly, aborting!
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tosaario Toni Saario
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes