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

androidtestrunner not failing early when the test app is not installed

    XMLWordPrintable

Details

    • Android
    • 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

      Attachments

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

        Activity

          People

            assam Assam Boudjelthia
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes