Update to Gradel 8.5.0 #421
Open
ci.jenkins.io / Jenkins
failed
Feb 2, 2024 in 37s
Build: error in 'sh' step
Build / Shell Script
Error in sh
step, with arguments ./gradlew clean javadoc check -x integrationTest --info
.
script returned exit code 1
Build log
[2024-02-02T13:47:38.951Z] + ./gradlew clean javadoc check -x integrationTest --info
[2024-02-02T13:47:38.952Z] Downloading https://services.gradle.org/distributions/gradle-8.5-bin.zip
[2024-02-02T13:47:40.559Z] ..............................................................................................................................
[2024-02-02T13:47:41.462Z] Initialized native services in: /home/jenkins/.gradle/native
[2024-02-02T13:47:41.462Z] Initialized jansi services in: /home/jenkins/.gradle/native
[2024-02-02T13:47:41.563Z]
[2024-02-02T13:47:41.564Z] Welcome to Gradle 8.5!
[2024-02-02T13:47:41.564Z]
[2024-02-02T13:47:41.564Z] Here are the highlights of this release:
[2024-02-02T13:47:41.564Z] - Support for running on Java 21
[2024-02-02T13:47:41.565Z] - Faster first use with Kotlin DSL
[2024-02-02T13:47:41.565Z] - Improved error and warning messages
[2024-02-02T13:47:41.566Z]
[2024-02-02T13:47:41.566Z] For more details see https://docs.gradle.org/8.5/release-notes.html
[2024-02-02T13:47:41.566Z]
[2024-02-02T13:47:41.566Z] Received JVM installation metadata from '/opt/jdk-8': {JAVA_HOME=/opt/jdk-8/jre, JAVA_VERSION=1.8.0_402, JAVA_VENDOR=Temurin, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=1.8.0_402-b06, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=25.402-b06, VM_VENDOR=Temurin, OS_ARCH=amd64}
[2024-02-02T13:47:41.667Z] Removing 0 daemon stop events from registry
[2024-02-02T13:47:41.668Z] Starting a Gradle Daemon (subsequent builds will be faster)
[2024-02-02T13:47:41.668Z] Starting process 'Gradle build daemon'. Working directory: /home/jenkins/.gradle/daemon/8.5 Command: /opt/jdk-8/bin/java -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/jenkins/.gradle/wrapper/dists/gradle-8.5-bin/5t9huq95ubn472n8rpzujfbqh/gradle-8.5/lib/gradle-launcher-8.5.jar -javaagent:/home/jenkins/.gradle/wrapper/dists/gradle-8.5-bin/5t9huq95ubn472n8rpzujfbqh/gradle-8.5/lib/agents/gradle-instrumentation-agent-8.5.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.5
[2024-02-02T13:47:41.668Z] Successfully started process 'Gradle build daemon'
[2024-02-02T13:47:42.371Z] An attempt to start the daemon took 0.676 secs.
[2024-02-02T13:47:42.371Z] The client will now receive all logging from the daemon (pid: 135). The daemon log file: /home/jenkins/.gradle/daemon/8.5/daemon-135.out.log
[2024-02-02T13:47:42.472Z] Starting build in new daemon [memory: 455.5 MiB]
[2024-02-02T13:47:42.473Z] Closing daemon's stdin at end of input.
[2024-02-02T13:47:42.473Z] The daemon will no longer process any standard input.
[2024-02-02T13:47:42.674Z] Using 4 worker leases.
[2024-02-02T13:47:42.876Z] Received JVM installation metadata from '/opt/jdk-8': {JAVA_HOME=/opt/jdk-8/jre, JAVA_VERSION=1.8.0_402, JAVA_VENDOR=Temurin, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=1.8.0_402-b06, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=25.402-b06, VM_VENDOR=Temurin, OS_ARCH=amd64}
[2024-02-02T13:47:43.077Z] Watching the file system is configured to be enabled if available
[2024-02-02T13:47:43.077Z] Not watching /home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-421 since the file system is not supported
[2024-02-02T13:47:43.078Z] File system watching is active
[2024-02-02T13:47:43.580Z] Starting Build
[2024-02-02T13:47:43.580Z] Compiling settings file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-421/settings.gradle' using SubsetScriptTransformer.
[2024-02-02T13:47:43.881Z] Compiling settings file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-421/settings.gradle' using BuildScriptTransformer.
[2024-02-02T13:47:44.183Z] Settings evaluated using settings file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-421/settings.gradle'.
[2024-02-02T13:47:44.183Z] Projects loaded. Root project using build file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-421/build.gradle'.
[2024-02-02T13:47:44.184Z] Included projects: [root project 'mesos']
[2024-02-02T13:47:46.190Z]
[2024-02-02T13:47:46.191Z] > Configure project :
[2024-02-02T13:47:46.191Z] Evaluating root project 'mesos' using build file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-421/build.gradle'.
[2024-02-02T13:47:46.191Z] Compiling build file '/home/jenkins/agent/workspace/Plugins_mesos-plugin_PR-421/build.gradle' using SubsetScriptTransformer.
[2024-02-02T13:47:46.191Z] Downloading https://plugins.gradle.org/m2/com/diffplug/gradle/spotless/com.diffplug.gradle.spotless.gradle.plugin/6.25.0/com.diffplug.gradle.spotless.gradle.plugin-6.25.0.pom to /home/jenkins/.gradle/.tmp/gradle_download6349282733599508360bin
[2024-02-02T13:47:46.192Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/com/diffplug/gradle/spotless/com.diffplug.gradle.spotless.gradle.plugin/6.25.0/com.diffplug.gradle.spotless.gradle.plugin-6.25.0.jar]
[2024-02-02T13:47:46.192Z] Downloading https://plugins.gradle.org/m2/com/github/blueboxware/tocme/com.github.blueboxware.tocme.gradle.plugin/1.1/com.github.blueboxware.tocme.gradle.plugin-1.1.pom to /home/jenkins/.gradle/.tmp/gradle_download6586717820050072107bin
[2024-02-02T13:47:46.192Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/com/github/blueboxware/tocme/com.github.blueboxware.tocme.gradle.plugin/1.1/com.github.blueboxware.tocme.gradle.plugin-1.1.jar]
[2024-02-02T13:47:46.293Z] Downloading https://plugins.gradle.org/m2/com/github/spotbugs/com.github.spotbugs.gradle.plugin/6.0.7/com.github.spotbugs.gradle.plugin-6.0.7.pom to /home/jenkins/.gradle/.tmp/gradle_download7575805506822125506bin
[2024-02-02T13:47:46.393Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/com/github/spotbugs/com.github.spotbugs.gradle.plugin/6.0.7/com.github.spotbugs.gradle.plugin-6.0.7.jar]
[2024-02-02T13:47:46.594Z] Downloading https://plugins.gradle.org/m2/org/jenkins-ci/jpi/org.jenkins-ci.jpi.gradle.plugin/0.50.0/org.jenkins-ci.jpi.gradle.plugin-0.50.0.pom to /home/jenkins/.gradle/.tmp/gradle_download441564717842839965bin
[2024-02-02T13:47:46.795Z] Resource missing. [HTTP HEAD: https://plugins.gradle.org/m2/org/jenkins-ci/jpi/org.jenkins-ci.jpi.gradle.plugin/0.50.0/org.jenkins-ci.jpi.gradle.plugin-0.50.0.jar]
[2024-02-02T13:47:47.497Z] Downloading https://plugins.gradle.org/m2/com/diffplug/spotless/spotless-plugin-gradle/6.25.0/spotless-plugin-gradle-6.25.0.pom to /home/jenkins/.gradle/.tmp/gradle_download7748347518455838238bin
[2024-02-02T13:47:47.698Z] Downloading https://plugins.gradle.org/m2/com/diffplug/spotless/spotless-plugin-gradle/6.25.0/spotless-plugin-gradle-6.25.0.module to /home/jenkins/.gradle/.tmp/gradle_download7991231378505137995bin
[2024-02-02T13:47:48.901Z] Downloading https://plugins.gradle.org/m2/gradle/plugin/com/github/blueboxware/tocme/1.1/tocme-1.1.pom to /home/jenkins/.gradle/.tmp/gradle_download6200471617829206050bin
[2024-02-02T13:47:49.002Z] Downloading https://plugins.gradle.org/m2/com/github/spotbugs/snom/spotbugs-gradle-plugin/6.0.7/spotbugs-gradle-plugin-6.0.7.pom to /home/jenkins/.gradle/.tmp/gradle_download1408007430224531993bin
[2024-02-02T13:47:49.103Z] Downloading https://plugins.gradle.org/m2/com/github/spotbugs/snom/spotbugs-gradle-plugin/6.0.7/spotbugs-gradle-plugin-6.0.7.module to /home/jenkins/.gradle/.tmp/gradle_download768315246109496790bin
[2024-02-02T13:47:49.303Z] Downloading https://plugins.gradle.org/m2/org/jenkins-ci/tools/gradle-jpi-plugin/0.50.0/gradle-jpi-plugin-0.50.0.pom to /home/jenkins/.gradle/.tmp/gradle_download3624902632156696356bin
[2024-02-02T13:47:49.505Z] Downloading https://plugins.gradle.org/m2/org/jenkins-ci/tools/gradle-jpi-plugin/0.50.0/gradle-jpi-plugin-0.50.0.module to /home/jenkins/.gradle/.tmp/gradle_download4328065952251033423bin
[2024-02-02T13:47:49.706Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.2.50/kotlin-stdlib-jdk8-1.2.50.pom to /home/jenkins/.gradle/.tmp/gradle_download3768565864295051222bin
[2024-02-02T13:47:49.706Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-reflect/1.2.50/kotlin-reflect-1.2.50.pom to /home/jenkins/.gradle/.tmp/gradle_download8584340781507020990bin
[2024-02-02T13:47:49.807Z] Downloading https://plugins.gradle.org/m2/com/vladsch/flexmark/flexmark-ext-toc/0.32.22/flexmark-ext-toc-0.32.22.pom to /home/jenkins/.gradle/.tmp/gradle_download520377895181776878bin
[2024-02-02T13:47:49.807Z] Downloading https://plugins.gradle.org/m2/com/vladsch/flexmark/flexmark/0.32.22/flexmark-0.32.22.pom to /home/jenkins/.gradle/.tmp/gradle_download6586562804538704284bin
[2024-02-02T13:47:50.108Z] Downloading https://plugins.gradle.org/m2/com/vladsch/flexmark/flexmark-java/0.32.22/flexmark-java-0.32.22.pom to /home/jenkins/.gradle/.tmp/gradle_download8799505185227743461bin
[2024-02-02T13:47:50.108Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-stdlib/1.9.22/kotlin-stdlib-1.9.22.pom to /home/jenkins/.gradle/.tmp/gradle_download6234298538594193169bin
[2024-02-02T13:47:50.209Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-stdlib/1.9.22/kotlin-stdlib-1.9.22.module to /home/jenkins/.gradle/.tmp/gradle_download7673212445289957550bin
[2024-02-02T13:47:50.309Z] Downloading https://plugins.gradle.org/m2/net/java/sezpoz/sezpoz/1.13/sezpoz-1.13.pom to /home/jenkins/.gradle/.tmp/gradle_download2066011468510085929bin
[2024-02-02T13:47:50.510Z] Downloading https://plugins.gradle.org/m2/net/java/sezpoz/pom/1.13/pom-1.13.pom to /home/jenkins/.gradle/.tmp/gradle_download8753308436079972453bin
[2024-02-02T13:47:50.511Z] Downloading https://plugins.gradle.org/m2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom to /home/jenkins/.gradle/.tmp/gradle_download924369819093234788bin
[2024-02-02T13:47:50.712Z] Downloading https://plugins.gradle.org/m2/com/vladsch/flexmark/flexmark-util/0.32.22/flexmark-util-0.32.22.pom to /home/jenkins/.gradle/.tmp/gradle_download5180120513513522426bin
[2024-02-02T13:47:50.816Z] Downloading https://plugins.gradle.org/m2/com/vladsch/flexmark/flexmark-formatter/0.32.22/flexmark-formatter-0.32.22.pom to /home/jenkins/.gradle/.tmp/gradle_download8373450467536299585bin
[2024-02-02T13:47:50.816Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.2.50/kotlin-stdlib-jdk7-1.2.50.pom to /home/jenkins/.gradle/.tmp/gradle_download4508127583648731347bin
[2024-02-02T13:47:50.817Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.8.0/kotlin-stdlib-jdk7-1.8.0.pom to /home/jenkins/.gradle/.tmp/gradle_download7159165686370206600bin
[2024-02-02T13:47:50.917Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.8.0/kotlin-stdlib-jdk8-1.8.0.pom to /home/jenkins/.gradle/.tmp/gradle_download2047943433746584402bin
[2024-02-02T13:47:50.918Z] Downloading https://plugins.gradle.org/m2/org/jetbrains/annotations/13.0/annotations-13.0.pom to /home/jenkins/.gradle/.tmp/gradle_download644040711671168311bin
[2024-02-02T13:47:50.918Z]
[2024-02-02T13:47:50.918Z] FAILURE: Build failed with an exception.
[2024-02-02T13:47:50.918Z]
[2024-02-02T13:47:50.919Z] * What went wrong:
[2024-02-02T13:47:50.919Z] A problem occurred configuring root project 'mesos'.
[2024-02-02T13:47:50.919Z] > Could not resolve all files for configuration ':classpath'.
[2024-02-02T13:47:50.919Z] > Could not resolve com.diffplug.spotless:spotless-plugin-gradle:6.25.0.
[2024-02-02T13:47:50.920Z] Required by:
[2024-02-02T13:47:50.920Z] project : > com.diffplug.gradle.spotless:com.diffplug.gradle.spotless.gradle.plugin:6.25.0
[2024-02-02T13:47:50.920Z] > No matching variant of com.diffplug.spotless:spotless-plugin-gradle:6.25.0 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.5' but:
[2024-02-02T13:47:50.920Z] - Variant 'apiElements' capability com.diffplug.spotless:spotless-plugin-gradle:6.25.0 declares a library, packaged as a jar, and its dependencies declared externally:
[2024-02-02T13:47:50.920Z] - Incompatible because this component declares a component for use during compile-time, compatible with Java 11 and the consumer needed a component for use during runtime, compatible with Java 8
[2024-02-02T13:47:50.921Z] - Other compatible attribute:
[2024-02-02T13:47:50.921Z] - Doesn't say anything about org.gradle.plugin.api-version (required '8.5')
[2024-02-02T13:47:50.921Z] - Variant 'javadocElements' capability com.diffplug.spotless:spotless-plugin-gradle:6.25.0 declares a component for use during runtime, and its dependencies declared externally:
[2024-02-02T13:47:50.921Z] - Incompatible because this component declares documentation and the consumer needed a library
[2024-02-02T13:47:50.922Z] - Other compatible attributes:
[2024-02-02T13:47:50.922Z] - Doesn't say anything about its target Java version (required compatibility with Java 8)
[2024-02-02T13:47:50.922Z] - Doesn't say anything about its elements (required them packaged as a jar)
[2024-02-02T13:47:50.922Z] - Doesn't say anything about org.gradle.plugin.api-version (required '8.5')
[2024-02-02T13:47:50.922Z] - Variant 'runtimeElements' capability com.diffplug.spotless:spotless-plugin-gradle:6.25.0 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
[2024-02-02T13:47:50.923Z] - Incompatible because this component declares a component, compatible with Java 11 and the consumer needed a component, compatible with Java 8
[2024-02-02T13:47:50.923Z] - Other compatible attribute:
[2024-02-02T13:47:50.923Z] - Doesn't say anything about org.gradle.plugin.api-version (required '8.5')
[2024-02-02T13:47:50.923Z] - Variant 'sourcesElements' capability com.diffplug.spotless:spotless-plugin-gradle:6.25.0 declares a component for use during runtime, and its dependencies declared externally:
[2024-02-02T13:47:50.924Z] - Incompatible because this component declares documentation and the consumer needed a library
[2024-02-02T13:47:50.924Z] - Other compatible attributes:
[2024-02-02T13:47:50.924Z] - Doesn't say anything about its target Java version (required compatibility with Java 8)
[2024-02-02T13:47:50.924Z] - Doesn't say anything about its elements (required them packaged as a jar)
[2024-02-02T13:47:50.924Z] - Doesn't say anything about org.gradle.plugin.api-version (required '8.5')
[2024-02-02T13:47:50.925Z]
[2024-02-02T13:47:50.925Z] * Try:
[2024-02-02T13:47:50.925Z] > Run with --stacktrace option to get the stack trace.
[2024-02-02T13:47:50.925Z] > Run with --debug option to get more log output.
[2024-02-02T13:47:50.925Z] > Run with --scan to get full insights.
[2024-02-02T13:47:50.925Z] > Get more help at https://help.gradle.org.
[2024-02-02T13:47:50.926Z]
[2024-02-02T13:47:50.926Z] BUILD FAILED in 12s
[2024-02-02T13:47:50.926Z] Some of the file system contents retained in the virtual file system are on file systems that Gradle doesn't support watching. The relevant state was discarded to ensure changes to these locations are properly detected. You can override this by explicitly enabling file system watching.
Details
- Build (37 sec)
Error: script returned exit code 1
Loading