Started by upstream project "UstadMobile-release" build number 72
originally caused by:
Started by GitHub push by mikedawson
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /home/jenkins/.jenkins/workspace/Release-Nayestane
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /home/jenkins/.jenkins/workspace/Release-Nayestane/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/UstadMobile/UstadMobile.git # timeout=10
Fetching upstream changes from https://github.com/UstadMobile/UstadMobile.git
> git --version # timeout=10
> git --version # 'git version 2.34.1'
> git fetch --tags --force --progress -- https://github.com/UstadMobile/UstadMobile.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/release-nayestane^{commit} # timeout=10
Checking out Revision 6bd79b88617154ad502cb549801b5a50f094dbc6 (refs/remotes/origin/release-nayestane)
> git config core.sparsecheckout # timeout=10
> git checkout -f 6bd79b88617154ad502cb549801b5a50f094dbc6 # timeout=10
Commit message: "Merge release into release-nayestane"
> git rev-list --no-walk 6bd79b88617154ad502cb549801b5a50f094dbc6 # timeout=10
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content
CONVEYOR_SITE_URL=https://devserver3.ustadmobile.com/conveyor/Release-Nayestane
CONVEYOR_APP_FS_NAME=nayestane
CONVEYOR_APP_DISPLAY_NAME=Nayestane
ACRA_HTTP_URI=https://devserver3.ustadmobile.com/acra/report
ANDROID_SDK_ROOT=/var/lib/jenkins/Android/Sdk
KEYSTORE=/var/lib/jenkins/javakey/nayestane.properties
ANDROID_HOME=/var/lib/jenkins/Android/Sdk
ACRA_BASIC_LOGIN=PU989Mu7sV9vdTlC
ACRA_BASIC_PASS=Ch3VNqvBBBpKmSTc
[EnvInject] - Variables injected successfully.
[Gradle] - Launching build.
[Release-Nayestane] $ /home/jenkins/.jenkins/workspace/Release-Nayestane/gradlew -Pktorbundleproductionjs=true clean build app-android:bundle
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :app-android
WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.
The current default is 'false'.
It will be removed in version 9.0 of the Android Gradle plugin.
You can resolve this warning in Android Studio via `Refactor` > `Migrate BuildConfig to Gradle Build Files`
> Configure project :app-react
MR file generation for iOS is not supported on your system!
w: The Default Kotlin Hierarchy Template was not applied to 'project ':app-react'':
Explicit .dependsOn() edges were configured for the following source sets:
[jsMain]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
> Configure project :core
w: Please use `androidTarget` function instead of `android` to configure android target inside `kotlin { }` block.
See the details here: https://kotl.in/android-target-dsl
MR file generation for iOS is not supported on your system!
w: The Default Kotlin Hierarchy Template was not applied to 'project ':core'':
Explicit .dependsOn() edges were configured for the following source sets:
[androidMain, commonJvmMain, jsMain, jvmMain]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
> Configure project :lib-cache
w: The Default Kotlin Hierarchy Template was not applied to 'project ':lib-cache'':
Explicit .dependsOn() edges were configured for the following source sets:
[androidMain, commonJvmMain, jvmMain, jvmTest]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
> Configure project :lib-database
w: The Default Kotlin Hierarchy Template was not applied to 'project ':lib-database'':
Explicit .dependsOn() edges were configured for the following source sets:
[androidMain, commonJvmMain, jvmMain]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
w: The Kotlin source set androidTest was configured but not added to any Kotlin compilation.
You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotl.in/connecting-source-sets
> Configure project :lib-test-common
w: Please use `androidTarget` function instead of `android` to configure android target inside `kotlin { }` block.
See the details here: https://kotl.in/android-target-dsl
w: The Default Kotlin Hierarchy Template was not applied to 'project ':lib-test-common'':
Explicit .dependsOn() edges were configured for the following source sets:
[androidMain, jvmMain]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
> Configure project :lib-ui-compose
MR file generation for iOS is not supported on your system!
w: The Default Kotlin Hierarchy Template was not applied to 'project ':lib-ui-compose'':
Explicit .dependsOn() edges were configured for the following source sets:
[androidMain, desktopMain]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
> Configure project :lib-util
w: The Default Kotlin Hierarchy Template was not applied to 'project ':lib-util'':
Explicit .dependsOn() edges were configured for the following source sets:
[androidMain, jvmMain]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
> Configure project :sharedse
w: Please use `androidTarget` function instead of `android` to configure android target inside `kotlin { }` block.
See the details here: https://kotl.in/android-target-dsl
w: The Default Kotlin Hierarchy Template was not applied to 'project ':sharedse'':
Explicit .dependsOn() edges were configured for the following source sets:
[androidMain, jvmMain]
Consider removing dependsOn-calls or disabling the default template by adding
'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties
Learn more about hierarchy templates: https://kotl.in/hierarchy-template
Path for java installation '/usr/lib/jvm/openjdk-14' (Common Linux Locations) does not contain a java executable
Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) does not contain a java executable
Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable
Configuration 'jsNpmAggregated' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.
Configuration 'jsTestNpmAggregated' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.
Configuration 'jsNpmAggregated' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.
Configuration 'jsTestNpmAggregated' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.
Configuration 'jsNpmAggregated' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.
Configuration 'jsTestNpmAggregated' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.
> Task :clean
> Task :app-android:clean
> Task :app-android-baselineprofile:clean
> Task :app-desktop:cleanWebBundle
> Task :app-desktop:clean
> Task :app-ktor-server:clean
> Task :app-react:cleanJsBrowserTest
> Task :app-react:cleanAllTests
> Task :app-react:clean
> Task :core:cleanJsBrowserTest
> Task :core:cleanJvmTest
> Task :core:cleanAllTests
> Task :core:clean
> Task :lib-cache:cleanJvmTest
> Task :lib-cache:cleanAllTests
> Task :lib-cache:clean
> Task :lib-database:cleanJsBrowserTest UP-TO-DATE
> Task :lib-database:cleanJvmTest UP-TO-DATE
> Task :lib-database:cleanAllTests UP-TO-DATE
> Task :lib-database:clean
> Task :lib-test-common:cleanJvmTest UP-TO-DATE
> Task :lib-test-common:cleanAllTests UP-TO-DATE
> Task :lib-test-common:clean
> Task :lib-ui-compose:cleanDesktopTest UP-TO-DATE
> Task :lib-ui-compose:cleanAllTests UP-TO-DATE
> Task :lib-ui-compose:clean
> Task :lib-ui-compose-videoplayer:cleanDesktopTest UP-TO-DATE
> Task :lib-ui-compose-videoplayer:cleanAllTests UP-TO-DATE
> Task :lib-ui-compose-videoplayer:clean
> Task :lib-util:cleanJsBrowserTest UP-TO-DATE
> Task :lib-util:cleanJvmTest
> Task :lib-util:cleanAllTests
> Task :lib-util:clean
> Task :sharedse:cleanJvmTest
> Task :sharedse:cleanAllTests
> Task :sharedse:clean
> Task :testserver-controller:clean
> Task :assemble UP-TO-DATE
> Task :check UP-TO-DATE
> Task :build UP-TO-DATE
> Task :app-android:preBuild UP-TO-DATE
> Task :app-android:preBenchmarkReleaseBuild UP-TO-DATE
> Task :app-android:mergeBenchmarkReleaseJniLibFolders
> Task :core:generateMRcommonMain
> Task :core:generateMRandroidMain
> Task :core:preBuild UP-TO-DATE
> Task :core:preReleaseBuild UP-TO-DATE
> Task :core:mergeReleaseJniLibFolders
> Task :core:mergeReleaseNativeLibs NO-SOURCE
> Task :lib-cache:preBuild UP-TO-DATE
> Task :lib-cache:preReleaseBuild UP-TO-DATE
> Task :core:copyReleaseJniLibsProjectOnly
> Task :lib-cache:mergeReleaseJniLibFolders
> Task :lib-cache:mergeReleaseNativeLibs NO-SOURCE
> Task :lib-database:preBuild UP-TO-DATE
> Task :lib-cache:copyReleaseJniLibsProjectOnly
> Task :lib-database:preReleaseBuild UP-TO-DATE
> Task :lib-database:mergeReleaseJniLibFolders
> Task :lib-database:mergeReleaseNativeLibs NO-SOURCE
> Task :lib-database:copyReleaseJniLibsProjectOnly
> Task :lib-ui-compose:generateMRcommonMain
> Task :lib-ui-compose:generateMRandroidMain
> Task :lib-ui-compose:preBuild UP-TO-DATE
> Task :lib-ui-compose:preReleaseBuild UP-TO-DATE
> Task :lib-ui-compose:mergeReleaseJniLibFolders
> Task :lib-ui-compose:mergeReleaseNativeLibs NO-SOURCE
> Task :lib-util:preBuild UP-TO-DATE
> Task :lib-util:preReleaseBuild UP-TO-DATE
> Task :lib-ui-compose:copyReleaseJniLibsProjectOnly
> Task :lib-util:mergeReleaseJniLibFolders
> Task :lib-util:mergeReleaseNativeLibs NO-SOURCE
> Task :sharedse:preBuild UP-TO-DATE
> Task :sharedse:preReleaseBuild UP-TO-DATE
> Task :lib-util:copyReleaseJniLibsProjectOnly
> Task :sharedse:mergeReleaseJniLibFolders
> Task :sharedse:mergeReleaseNativeLibs NO-SOURCE
> Task :sharedse:copyReleaseJniLibsProjectOnly
> Task :core:checkKotlinGradlePluginConfigurationErrors
> Task :app-android:mergeBenchmarkReleaseNativeLibs FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app-android:mergeBenchmarkReleaseNativeLibs'.
> Could not resolve all files for configuration ':app-android:benchmarkReleaseRuntimeClasspath'.
> Could not find com.github.afreakyelf:Pdf-Viewer:2.0.5.
Required by:
project :app-android > project :lib-ui-compose
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 28s
47 actionable tasks: 41 executed, 6 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Finished: FAILURE