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

FAIL! : tst_AndroidAssets during dependency update

    XMLWordPrintable

Details

    • d7068eaad7 (qt/qtbase/dev) d7068eaad7 (qt/tqtc-qtbase/dev) 95956c6633 (qt/qtbase/6.3) 95956c6633 (qt/tqtc-qtbase/6.3) c7958ba015 (qt/qtbase/6.4) c7958ba015 (qt/tqtc-qtbase/6.4)

    Description

      ********* Start testing of tst_AndroidAssets *********
      agent:2022/06/17 05:42:42 build.go:394: 27: Config: Using QtTest library 6.4.0, Qt 6.4.0 (i386-little_endian-ilp32 shared (dynamic) release build; by Android (7714059, based on r416183c1) Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)), android 6.0
      agent:2022/06/17 05:42:42 build.go:394: 27: INFO   : tst_AndroidAssets::initTestCase() entering
      agent:2022/06/17 05:42:42 build.go:394: 27: PASS   : tst_AndroidAssets::initTestCase()
      agent:2022/06/17 05:42:42 build.go:394: 27: INFO   : tst_AndroidAssets::loadsFromAssetsPath() entering
      agent:2022/06/17 05:42:42 build.go:394: 27: QWARN  : tst_AndroidAssets::loadsFromAssetsPath() QQmlApplicationEngine failed to load component
      agent:2022/06/17 05:42:42 build.go:394: 27: QWARN  : tst_AndroidAssets::loadsFromAssetsPath() file:assets:/qml/main.qml:1:1: Expected token `numeric literal'
      agent:2022/06/17 05:42:42 build.go:394: 27: INFO   : tst_AndroidAssets::loadsFromAssetsPath() QVERIFY((engine.rootObjects().length() == 1))
      agent:2022/06/17 05:42:42 build.go:394: 27:    Loc: [/home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlapplicationengine/androidassets/tst_androidassets.cpp(44)]
      agent:2022/06/17 05:42:42 build.go:394: 27: FAIL!  : tst_AndroidAssets::loadsFromAssetsPath() '(engine.rootObjects().length() == 1)' returned FALSE. ()
      agent:2022/06/17 05:42:42 build.go:394: 27:    Loc: [/home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlapplicationengine/androidassets/tst_androidassets.cpp(44)]
      agent:2022/06/17 05:42:42 build.go:394: 27: INFO   : tst_AndroidAssets::cleanupTestCase() entering
      agent:2022/06/17 05:42:42 build.go:394: 27: PASS   : tst_AndroidAssets::cleanupTestCase()
      agent:2022/06/17 05:42:42 build.go:394: 27: Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 16286ms
      agent:2022/06/17 05:42:42 build.go:394: 27: ********* Finished testing of tst_AndroidAssets *********
      agent:2022/06/17 05:42:43 build.go:394: 27: Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_androidassets.
      agent:2022/06/17 05:42:43 build.go:394: 27: Success
      agent:2022/06/17 05:42:43 build.go:394: 27: qt-testrunner.py     INFO: Test process exited with code: 1
      agent:2022/06/17 05:42:43 build.go:394: 27: qt-testrunner.py     INFO: Test has FAILed despite all repetitions! re-runs:5 failures:5
      agent:2022/06/17 05:42:43 build.go:394: 27: CMake Error at tst_androidassetsWrapperRelWithDebInfo.cmake:17 (message):
      agent:2022/06/17 05:42:43 build.go:394: 27:   /home/qt/work/install/libexec/qt-testrunner.py --
      agent:2022/06/17 05:42:43 build.go:394: 27:   /home/qt/work/install/bin/androidtestrunner --path
      agent:2022/06/17 05:42:43 build.go:394: 27:   /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qqmlapplicationengine/androidassets/android-build
      agent:2022/06/17 05:42:43 build.go:394: 27:   --adb /opt/android/sdk/platform-tools/adb --skip-install-root --make
      agent:2022/06/17 05:42:43 build.go:394: 27:   /opt/cmake-3.21.3/bin/cmake --build
      agent:2022/06/17 05:42:43 build.go:394: 27:   /home/qt/work/qt/qtdeclarative_standalone_tests --target
      agent:2022/06/17 05:42:43 build.go:394: 27:   tst_androidassets_make_apk --apk
      agent:2022/06/17 05:42:43 build.go:394: 27:   /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qqmlapplicationengine/androidassets/android-build/tst_androidassets.apk
      agent:2022/06/17 05:42:43 build.go:394: 27:   --verbose execution failed with exit code 2.
      agent:2022/06/17 05:42:43 build.go:394: 27: 
      agent:2022/06/17 05:42:43 build.go:394: 27: 
      agent:2022/06/17 05:42:43 build.go:394: 27/87 Test #27: tst_androidassets .....................***Failed  157.92 sec
      agent:2022/06/17 05:42:43 build.go:394: 96% tests passed, 1 tests failed out of 27
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/81c63c823c888736d1e0cf564c8f4da4f04f44ea/LinuxRHEL_8_4x86_64AndroidAndroid_ANYx86GCCqtci-linux-RHEL-8.4-x86_64-50-4d21ddAndroidTestRun_Sccache_UseConfigure/443ffb8c1ea29e2592757dec064d4faba535166f/test_1655438787/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1655438673

      Tested changes (refs/builds/qtci/6.4/1655438671):
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/416917/1 CMake: Check that android qml import paths are not empty
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/416916/2 Update dependencies on '6.4' in qt/qtdeclarative

      The same issue seems to happen in dev as well:
      https://testresults.qt.io/coin/api/results/qt/qtdeclarative/7dccc10e5888693a1f231bc9eb3c2973f77f85a4/LinuxRHEL_8_4x86_64AndroidAndroid_ANYx86GCCqtci-linux-RHEL-8.4-x86_64-50-f23509AndroidTestRun_Sccache_UseConfigure/551bf8ef9e651da875ec0ad0c3ff2c2bc069eba5/test_1655432646/log.txt.gz

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              janihe Jani Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: