See 
<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/700/display/redirect?page=changes>

Changes:

[Vladimir Sitnikov] chore: use Java 17 for building the build scripts


------------------------------------------
Started by GitHub push by vlsi
Started by GitHub push by vlsi
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds57 (tmp-22 ubuntu) in workspace 
<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir 
 > <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/.git> # 
 > timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/jmeter.git # 
 > timeout=10
Fetching upstream changes from https://github.com/apache/jmeter.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- https://github.com/apache/jmeter.git 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 9b4221a23ef1aec2b6415115049ce768385aa69b 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9b4221a23ef1aec2b6415115049ce768385aa69b # timeout=10
Commit message: "chore: use Java 17 for building the build scripts"
 > git rev-list --no-walk b080ca648fe8d99aa3d13f881bff3290c7b03ec2 # timeout=10
Xvfb starting$ /usr/bin/Xvfb :1 -fbdir 
<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/.xvfb-700-..fbdir8912656742104509300>
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SONAR_HOST_URL=https://sonarcloud.io

[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[Gradle] - Launching build.
[JMeter-trunk] $ 
<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/gradlew> 
"-Dorg.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=1g" -Pcoverage=true 
-PignoreSpotBugsFailures=true -Pasf=true -PCI=true -Pspotbugs=true --profile 
--no-daemon publish cleanTest check assemble
To honour the JVM settings for this build a single-use Daemon process will be 
forked. See 
https://docs.gradle.org/8.1.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
Gradle Enterprise plugins resolution: https://plugins.gradle.org/m2
Enforcing Gradle Enterprise: https://ge.apache.org, allowUntrustedServer: false
Using the build cache is enabled, but no build caches are configured or enabled.
Type-safe project accessors is an incubating feature.
> Task :build-logic-commons:gradle-plugin:generateExternalPluginSpecBuilders 
> UP-TO-DATE
> Task :build-logic-commons:gradle-plugin:extractPrecompiledScriptPluginPlugins
> Task :build-logic-commons:gradle-plugin:compilePluginsBlocks
> Task 
> :build-logic-commons:gradle-plugin:generatePrecompiledScriptPluginAccessors
> Task :build-logic-commons:gradle-plugin:generateScriptPluginAdapters
> Task :build-logic-commons:gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :build-logic-commons:gradle-plugin:processResources UP-TO-DATE
> Task :build-logic-commons:gradle-plugin:compileKotlin
> Task :build-logic-commons:gradle-plugin:compileJava NO-SOURCE
> Task :build-logic-commons:gradle-plugin:classes UP-TO-DATE
> Task :build-logic-commons:gradle-plugin:jar
> Task :build-logic-commons:gradle-plugin:inspectClassesForKotlinIC
Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) 
does not contain a java executable

> Configure project :
Invalid Java installation found at 
'/usr/local/asfpackages/java/oraclejdk-j2sdk1.4.2-19' (Maven Toolchains). It 
will be re-checked in the next build. This might have performance impact if it 
keeps failing. Run the 'javaToolchains' task for more details.
checksum-dependency elapsed time: 1343ms, configurations processed: 18 (add 
-PchecksumTimingsPrint to print detailed timings)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'jmeter'.
> Could not determine the dependencies of null.
   > Could not resolve all task dependencies for configuration ':classpath'.
      > Could not resolve project :build-logic:root-build.
        Required by:
            project :
         > No matching variant of project :build-logic:root-build 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.1.1' but:
             - Variant 'apiElements' capability 
org.apache.jmeter:root-build:1.0.0 declares a library, packaged as a jar, and 
its dependencies declared externally:
                 - Incompatible because this component declares a component for 
use during compile-time, compatible with Java 17 and the consumer needed a 
component for use during runtime, compatible with Java 8
                 - Other compatible attribute:
                     - Doesn't say anything about org.gradle.plugin.api-version 
(required '8.1.1')
             - Variant 'mainSourceElements' capability 
org.apache.jmeter:root-build:1.0.0 declares a component, and its dependencies 
declared externally:
                 - Incompatible because this component declares a component of 
category 'verification' and the consumer needed a library
                 - Other compatible attributes:
                     - Doesn't say anything about its target Java version 
(required compatibility with Java 8)
                     - Doesn't say anything about its elements (required them 
packaged as a jar)
                     - Doesn't say anything about org.gradle.plugin.api-version 
(required '8.1.1')
                     - Doesn't say anything about its usage (required runtime)
             - Variant 'runtimeElements' capability 
org.apache.jmeter:root-build:1.0.0 declares a library for use during runtime, 
packaged as a jar, and its dependencies declared externally:
                 - Incompatible because this component declares a component, 
compatible with Java 17 and the consumer needed a component, compatible with 
Java 8
                 - Other compatible attribute:
                     - Doesn't say anything about org.gradle.plugin.api-version 
(required '8.1.1')
             - Variant 'testResultsElementsForTest' capability 
org.apache.jmeter:root-build:1.0.0:
                 - Incompatible because this component declares a component of 
category 'verification' and the consumer needed a library
                 - Other compatible attributes:
                     - Doesn't say anything about how its dependencies are 
found (required its dependencies declared externally)
                     - Doesn't say anything about its target Java version 
(required compatibility with Java 8)
                     - Doesn't say anything about its elements (required them 
packaged as a jar)
                     - Doesn't say anything about org.gradle.plugin.api-version 
(required '8.1.1')
                     - Doesn't say anything about its usage (required runtime)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 44s
10 actionable tasks: 7 executed, 3 up-to-date

Publishing build scan...
https://ge.apache.org/s/kmxobgylsfdve


See the profiling report at: 
file://<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/build-logic/build/reports/profile/profile-2023-11-24-10-17-46.html>
A fine-grained performance profile is available: use the --scan option.
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Xvfb stopping
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.

Reply via email to