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

tst_qmltc_examples (Failed)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.7.0 FF
    • None
    • 2023wk48FOQtforAndroid

    Description

      ********* Start testing of tst_qmltc_examples *********
      Config: Using QtTest library 6.7.0, Qt 6.7.0 (i386-little_endian-ilp32 shared (dynamic) release build; by Android (8490178, based on r450784d) Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)), android 6.0
      PASS   : tst_qmltc_examples::initTestCase()
      Failed to get the test output from the target. Either the output is empty or androidtestrunner failed to retrieve it.
      Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qmltc_examples.
      Success
      qt-testrunner.py     INFO: Test process exited with code: 1
      qt-testrunner.py    ERROR: XML log file not found: /home/qt/work/testresults/tst_qmltc_examples-1697826619057.xml
      qt-testrunner.py    ERROR: exception:FileNotFoundError [Errno 2] No such file or directory: '/home/qt/work/testresults/tst_qmltc_examples-1697826619057.xml'
      qt-testrunner.py    ERROR: The test executable probably crashed, see above for details
      qt-testrunner.py     INFO: Will re-run the full test executable
      qt-testrunner.py    DEBUG: Running test command line: ['/home/qt/work/install/bin/androidtestrunner', '--path', '/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build', '--adb', '/opt/android/sdk/platform-tools/adb', '--skip-install-root', '--make', '/opt/cmake-3.24.2/bin/cmake --build /home/qt/work/qt/qtdeclarative_standalone_tests --target tst_qmltc_examples_make_apk', '--apk', '/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build/tst_qmltc_examples.apk', '--timeout', '-1', '--verbose', '--', '-o', '/home/qt/work/testresults/tst_qmltc_examples-1697826646373.xml,xml', '-o', '/home/qt/work/testresults/tst_qmltc_examples-1697826646373.junit.xml,junitxml', '-o', '/home/qt/work/testresults/tst_qmltc_examples-1697826646373.txt,txt', '-o', '-,txt']
      Execute /opt/cmake-3.24.2/bin/cmake --build /home/qt/work/qt/qtdeclarative_standalone_tests --target tst_qmltc_examples_make_apk.
      [1/2] Copying tst_qmltc_examples binary to apk folder
      [2/2] Creating APK for tst_qmltc_examples
      Generating Android Package
        Input file: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-tst_qmltc_examples-deployment-settings.json
        Output directory: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build/
        Application binary: tst_qmltc_examples
        Android build platform: android-34
        Install to device: No
      WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 34
      
      This Android Gradle plugin (7.4.1) was tested up to compileSdk = 33
      
      This warning can be suppressed by adding
          android.suppressUnsupportedCompileSdk=34
      to this project's gradle.properties
      
      The build will continue, but you are strongly encouraged to update your project to
      use a newer Android Gradle Plugin that has been tested with compileSdk = 34
      > Task :preBuild UP-TO-DATE
      > Task :preDebugBuild UP-TO-DATE
      > Task :mergeDebugNativeDebugMetadata NO-SOURCE
      > Task :compileDebugAidl NO-SOURCE
      > Task :compileDebugRenderscript NO-SOURCE
      > Task :generateDebugBuildConfig UP-TO-DATE
      > Task :javaPreCompileDebug UP-TO-DATE
      > Task :checkDebugAarMetadata UP-TO-DATE
      > Task :generateDebugResValues UP-TO-DATE
      > Task :mapDebugSourceSetPaths UP-TO-DATE
      > Task :generateDebugResources UP-TO-DATE
      > Task :mergeDebugResources UP-TO-DATE
      > Task :createDebugCompatibleScreenManifests UP-TO-DATE
      > Task :extractDeepLinksDebug UP-TO-DATE
      > Task :processDebugMainManifest UP-TO-DATE
      > Task :processDebugManifest UP-TO-DATE
      > Task :processDebugManifestForPackage UP-TO-DATE
      > Task :processDebugResources UP-TO-DATE
      > Task :compileDebugJavaWithJavac UP-TO-DATE
      > Task :mergeDebugShaders UP-TO-DATE
      > Task :compileDebugShaders NO-SOURCE
      > Task :generateDebugAssets UP-TO-DATE
      > Task :mergeDebugAssets
      > Task :processDebugJavaRes NO-SOURCE
      > Task :compressDebugAssets
      > Task :mergeDebugJavaResource UP-TO-DATE
      > Task :checkDebugDuplicateClasses UP-TO-DATE
      > Task :desugarDebugFileDependencies UP-TO-DATE
      > Task :mergeExtDexDebug UP-TO-DATE
      > Task :mergeLibDexDebug UP-TO-DATE
      > Task :dexBuilderDebug UP-TO-DATE
      > Task :mergeProjectDexDebug UP-TO-DATE
      > Task :mergeDebugJniLibFolders UP-TO-DATE
      > Task :mergeDebugNativeLibs UP-TO-DATE
      > Task :stripDebugDebugSymbols UP-TO-DATE
      > Task :validateSigningDebug UP-TO-DATE
      > Task :writeDebugAppMetadata UP-TO-DATE
      > Task :writeDebugSigningConfigVersions UP-TO-DATE
      > Task :packageDebug
      > Task :createDebugApkListingFileRedirect UP-TO-DATE
      > Task :assembleDebug
      
      BUILD SUCCESSFUL in 1s
      31 actionable tasks: 3 executed, 28 up-to-date
      Android package built successfully in 1.927 ms.
        -- File: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build//build/outputs/apk/debug/android-build-debug.apk
      Execute /opt/android/sdk/platform-tools/adb shell getprop ro.build.version.sdk.
      23
      Execute /opt/android/sdk/platform-tools/adb install -r -g /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build/tst_qmltc_examples.apk.
      Performing Push Install
      /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build/tst_qmltc_examples.apk: 1 file pushed, 0 skipped. 76.7 MB/s (18711749 bytes in 0.233s)
      	pkg: /data/local/tmp/tst_qmltc_examples.apk
      Success
      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_qmltc_examples/org.qtproject.qt.android.bindings.QtActivity.
      Starting: Intent { cmp=org.qtproject.example.tst_qmltc_examples/org.qtproject.qt.android.bindings.QtActivity (has extras) }
      Failed to get the test output from the target. Either the output is empty or androidtestrunner failed to retrieve it.
      Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qmltc_examples.
      Success
      qt-testrunner.py     INFO: Test process exited with code: 1
      qt-testrunner.py    ERROR: Failed to parse the XML log file: /home/qt/work/testresults/tst_qmltc_examples-1697826646373.xml
      qt-testrunner.py    ERROR:     File Contents:
      <?xml version="1.0" encoding="UTF-8"?>
      <TestCase name="tst_qmltc_examples">
        <Environment>
          <QtVersion>6.7.0</QtVersion>
          <QtBuild>Qt 6.7.0 (i386&#x002D;little_endian&#x002D;ilp32 shared (dynamic) release build; by Android (8490178, based on r450784d) Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm&#x002D;project 4c603efb0cca074e9238af8b4106c30add4418f6))</QtBuild>
          <QTestVersion>6.7.0</QTestVersion>
        </Environment>
        <TestFunction name="initTestCase">
          <Incident type="pass" file="" line="0" />
          <Duration msecs="1.18873"/>
        </TestFunction>
        <TestFunction name="app">
      
      
      
      qt-testrunner.py    ERROR: exception:ParseError no element found: line 13, column 0
      qt-testrunner.py    ERROR: The test executable probably crashed, see above for details
      qt-testrunner.py    ERROR: Full test run failed repeatedly, aborting!
      CMake Error at tst_qmltc_examplesWrapperRelWithDebInfo.cmake:18 (message):
        /home/qt/work/install/libexec/qt-testrunner.py --
        /home/qt/work/install/bin/androidtestrunner --path
        /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build
        --adb /opt/android/sdk/platform-tools/adb --skip-install-root --make
        /opt/cmake-3.24.2/bin/cmake --build
        /home/qt/work/qt/qtdeclarative_standalone_tests --target
        tst_qmltc_examples_make_apk --apk
        /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qml/qmltc/snippets/android-build/tst_qmltc_examples.apk
        --timeout -1 --verbose execution failed with exit code 3.
      
      
      38/102 Test  #38: tst_qmltc_examples ....................***Failed   46.01 sec
      97% tests passed, 1 tests failed out of 38
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/6ff20e71cc01cdf31a011260fe0dd9fb4933a106/LinuxRHEL_8_8x86_64AndroidAndroid_ANYx86GCCqtci-linux-RHEL-8.8-x86_64-50-8cd55aAndroidTestRun_Sccache_UseConfigure_WarningsAreErrors/94ff53dca270a84177f7324500e50cd51b0b9153/test_1702565284/log.txt.gz

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

      Tested changes (refs/builds/qtci/dev/1697825196):
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/513271/2 Update dependencies on 'dev' in qt/qtdeclarative

      Attachments

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

        Activity

          People

            assam Assam Boudjelthia
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes