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

tests/auto/cmake/empty_qmldir fails with "Task :mergeReleaseNativeLibs FAILED" on Android in CI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.1, 6.8.0 FF
    • 6.6
    • Coin Configuration
    • None
    • Android
    • 39517ef0d (dev), 82382f5c6 (6.7)
    • 2024wk12FOQtforAndroid, 2024wk14FOQtforAndroid, 2024wk16FOQtforAndroid

    Description

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/485997/1#message-a610024c13df88653503ed2d2abc9c3ab59c45b5

      https://testresults.qt.io/logs/qt/qtdeclarative/e2c80054f40bea299f891acb677d3ab359ef2fe4/LinuxRHEL_8_6x86_64AndroidAndroid_ANYx86_64GCCqtci-linux-RHEL-8.6-x86_64-50-ae658dAndroidTestRun_Sccache_UseConfigure/a2974650924e820099074e1c67ba22962003aa51/test_1692319900/log.txt.gz

      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :extractDeepLinksRelease
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :processReleaseMainManifest
      agent:2023/06/20 06:04:57 build.go:402: 3: package="org.qtproject.example.empty_qmldir_test" found in source AndroidManifest.xml: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/AndroidManifest.xml.
      agent:2023/06/20 06:04:57 build.go:402: 3: Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
      agent:2023/06/20 06:04:57 build.go:402: 3: Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
      agent:2023/06/20 06:04:57 build.go:402: 3: This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :mergeReleaseResources
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :processReleaseManifest
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :extractProguardFiles
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :mergeReleaseJniLibFolders
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :processReleaseManifestForPackage
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :mergeReleaseNativeLibs
      agent:2023/06/20 06:04:57 build.go:402: 3: > Task :mergeReleaseNativeLibs FAILED
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402: 3: FAILURE: Build failed with an exception.
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402: 3: * What went wrong:
      agent:2023/06/20 06:04:57 build.go:402: 3: Execution failed for task ':mergeReleaseNativeLibs'.
      agent:2023/06/20 06:04:57 build.go:402: 3: > Could not resolve all files for configuration ':releaseRuntimeClasspath'.
      agent:2023/06/20 06:04:57 build.go:402: 3:    > Failed to transform collection-1.0.0.jar (androidx.collection:collection:1.0.0) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      agent:2023/06/20 06:04:57 build.go:402: 3:       > Could not download collection-1.0.0.jar (androidx.collection:collection:1.0.0)
      agent:2023/06/20 06:04:57 build.go:402: 3:          > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/collection/collection/1.0.0/collection-1.0.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:             > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/collection/collection/1.0.0/collection-1.0.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:                > Read timed out
      agent:2023/06/20 06:04:57 build.go:402: 3:    > Failed to transform concurrent-futures-1.0.0.jar (androidx.concurrent:concurrent-futures:1.0.0) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      agent:2023/06/20 06:04:57 build.go:402: 3:       > Could not download concurrent-futures-1.0.0.jar (androidx.concurrent:concurrent-futures:1.0.0)
      agent:2023/06/20 06:04:57 build.go:402: 3:          > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/concurrent/concurrent-futures/1.0.0/concurrent-futures-1.0.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:             > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/concurrent/concurrent-futures/1.0.0/concurrent-futures-1.0.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:                > Read timed out
      agent:2023/06/20 06:04:57 build.go:402: 3:    > Failed to transform lifecycle-common-2.3.1.jar (androidx.lifecycle:lifecycle-common:2.3.1) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=7, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      agent:2023/06/20 06:04:57 build.go:402: 3:       > Could not download lifecycle-common-2.3.1.jar (androidx.lifecycle:lifecycle-common:2.3.1)
      agent:2023/06/20 06:04:57 build.go:402: 3:          > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:             > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-common/2.3.1/lifecycle-common-2.3.1.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:                > Read timed out
      agent:2023/06/20 06:04:57 build.go:402: 3:    > Failed to transform core-common-2.1.0.jar (androidx.arch.core:core-common:2.1.0) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      agent:2023/06/20 06:04:57 build.go:402: 3:       > Could not download core-common-2.1.0.jar (androidx.arch.core:core-common:2.1.0)
      agent:2023/06/20 06:04:57 build.go:402: 3:          > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/arch/core/core-common/2.1.0/core-common-2.1.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:             > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/arch/core/core-common/2.1.0/core-common-2.1.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:                > Read timed out
      agent:2023/06/20 06:04:57 build.go:402: 3:    > Failed to transform annotation-1.2.0.jar (androidx.annotation:annotation:1.2.0) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=7, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      agent:2023/06/20 06:04:57 build.go:402: 3:       > Could not download annotation-1.2.0.jar (androidx.annotation:annotation:1.2.0)
      agent:2023/06/20 06:04:57 build.go:402: 3:          > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/annotation/annotation/1.2.0/annotation-1.2.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:             > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/annotation/annotation/1.2.0/annotation-1.2.0.jar'.
      agent:2023/06/20 06:04:57 build.go:402: 3:                > Read timed out
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402: 3: * Try:
      agent:2023/06/20 06:04:57 build.go:402: 3: > Run with --stacktrace option to get the stack trace.
      agent:2023/06/20 06:04:57 build.go:402: 3: > Run with --info or --debug option to get more log output.
      agent:2023/06/20 06:04:57 build.go:402: 3: > Run with --scan to get full insights.
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402: 3: * Get more help at https://help.gradle.org
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402: 3: BUILD FAILED in 2m 25s
      agent:2023/06/20 06:04:57 build.go:402: 3: 14 actionable tasks: 14 executed
      agent:2023/06/20 06:04:57 build.go:402: 3: Building the android package failed!
      agent:2023/06/20 06:04:57 build.go:402: 3:   -- For more information, run this command with --verbose.
      agent:2023/06/20 06:04:57 build.go:402: 3: ninja: build stopped: subcommand failed.
      agent:2023/06/20 06:04:57 build.go:402: 3: 
      agent:2023/06/20 06:04:57 build.go:402:  3/95 Test  #3: empty_qmldir ..........................***Failed  151.80 sec
      agent:2023/06/20 06:04:57 build.go:402: 67% tests passed, 1 tests failed out of 3
      agent:2023/06/20 06:04:57 build.go:402: Label Time Summary:
      

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              mitch_curtis Mitch Curtis
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes