See <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/828/display/redirect?page=changes>
Changes: [github] Move to Java 17 (migrate source code from Java 8) (#6462) [Vladimir Sitnikov] chore(deps): update gradle/wrapper-validation-action action to v3 [Vladimir Sitnikov] chore(deps): update burrunan/gradle-cache-action action to v3 [Vladimir Sitnikov] fix: replace checksum-dependency-plugin with Gradle dependency verification [Vladimir Sitnikov] chore: run Errorprone verifications by default [Vladimir Sitnikov] chore(deps): update dependency gradle to v8.14.3 [Vladimir Sitnikov] chore: trust -javadoc, -sources, and gradle:gradle artifacts [Vladimir Sitnikov] fix: replace deprecated dependencyProject.path with .path [Vladimir Sitnikov] chore(deps): update plugin com.github.autostyle to v4 [Vladimir Sitnikov] chore: remove removeUnusedImports() rule [Vladimir Sitnikov] chore: Oracle JDK supports only 21 or later [Vladimir Sitnikov] chore: fix release-drafter so it uses the version from gradle.properties [Vladimir Sitnikov] chore: remove stale release-drafter configuration [Vladimir Sitnikov] chore(deps): update oracle-actions/setup-java action to v1.4.2 [Vladimir Sitnikov] chore: add auto-download-jdk to build-logic and build-logic-commons modules [Vladimir Sitnikov] fix(deps): update dependency checkstyle to v10.26.1 [Vladimir Sitnikov] chore: use group-level trust for pgp keys in Gradle dependency verification [Vladimir Sitnikov] chore: add key for ktlint ------------------------------------------ [...truncated 202.46 KiB...] > Task :src:config:initializeNexusStagingRepository SKIPPED > Task :src:protocol:jms:autostyleKotlinGradleProcess > Task :src:launcher:initializeNexusStagingRepository SKIPPED > Task :src:protocol:java:initializeNexusStagingRepository SKIPPED > Task :src:protocol:junit:autostyleKotlinGradleProcess > Task :src:protocol:jms:initializeNexusStagingRepository SKIPPED > Task :src:protocol:http:autostyleKotlinGradleProcess UP-TO-DATE > Task :src:protocol:http:initializeNexusStagingRepository SKIPPED > Task :src:protocol:jdbc:autostyleKotlinProcess > Task :src:protocol:jdbc:initializeNexusStagingRepository SKIPPED > Task :src:protocol:bolt:kaptTestKotlin UP-TO-DATE > Task :src:protocol:bolt:initializeNexusStagingRepository SKIPPED > Task :src:jorphan:kaptTestKotlin UP-TO-DATE > Task :src:jorphan:initializeNexusStagingRepository SKIPPED > Task :src:core:kaptTestKotlin UP-TO-DATE > Task :src:core:initializeNexusStagingRepository SKIPPED > Task :src:functions:kaptTestKotlin UP-TO-DATE > Task :src:functions:initializeNexusStagingRepository SKIPPED > Task :src:bom-testing:publishMavenJavaPlatformPublicationToNexusRepository > Task :src:bom-testing:publish > Task :src:protocol:junit:initializeNexusStagingRepository SKIPPED > Task :src:bom:publishMavenJavaPlatformPublicationToNexusRepository > Task :src:bom:publish > Task :src:protocol:junit-sample:initializeNexusStagingRepository SKIPPED > Task :src:bom-thirdparty:publishMavenJavaPlatformPublicationToNexusRepository > Task :src:bom-thirdparty:publish > Task :src:protocol:ldap:initializeNexusStagingRepository SKIPPED > Task :src:protocol:ftp:test > Task :src:protocol:ftp:initializeNexusStagingRepository SKIPPED > Task :src:launcher:publishMavenJavaPublicationToNexusRepository > Task :src:launcher:publish > Task :src:protocol:mail:initializeNexusStagingRepository SKIPPED > Task :src:protocol:jdbc:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:jdbc:publish > Task :src:protocol:mongodb:initializeNexusStagingRepository SKIPPED > Task :src:protocol:jms:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:jms:publish > Task :src:protocol:native:initializeNexusStagingRepository SKIPPED > Task :src:protocol:java:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:java:publish > Task :src:protocol:tcp:initializeNexusStagingRepository SKIPPED > Task :src:protocol:bolt:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:bolt:publish > Task :check UP-TO-DATE > Task :src:dist-check:batchBug54685 UP-TO-DATE > Task :src:dist-check:batchBug55375 UP-TO-DATE > Task :src:config:publishMavenJavaPublicationToNexusRepository > Task :src:config:publish > Task :src:test-services:compileJava NO-SOURCE > Task :src:test-services:processResources NO-SOURCE > Task :src:test-services:classes UP-TO-DATE > Task :src:test-services:spotbugsMain UP-TO-DATE > Task :src:functions:publishMavenJavaPublicationToNexusRepository > Task :src:functions:publish > Task :src:test-services:kaptGenerateStubsTestKotlin UP-TO-DATE > Task :src:functions:compileTestKotlin UP-TO-DATE > Task :src:test-services:kaptTestKotlin UP-TO-DATE > Task :src:functions:compileTestJava UP-TO-DATE > Task :src:test-services:compileTestKotlin UP-TO-DATE > Task :src:test-services:compileTestJava NO-SOURCE > Task :src:test-services:processTestResources NO-SOURCE > Task :src:test-services:testClasses UP-TO-DATE > Task :src:functions:processTestResources UP-TO-DATE > Task :src:functions:testClasses UP-TO-DATE > Task :src:test-services:spotbugsTest UP-TO-DATE > Task :src:functions:spotbugsTest UP-TO-DATE > Task :src:protocol:http:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:http:publish > Task :src:test-services:jar UP-TO-DATE > Task :src:test-services:javadoc NO-SOURCE > Task :src:components:publishMavenJavaPublicationToNexusRepository > Task :src:components:publish > Task :src:test-services:javadocJar UP-TO-DATE > Task :src:protocol:bolt:compileTestKotlin UP-TO-DATE > Task :src:protocol:bolt:compileTestJava UP-TO-DATE > Task :src:protocol:bolt:processTestResources NO-SOURCE > Task :src:protocol:bolt:testClasses UP-TO-DATE > Task :src:protocol:bolt:spotbugsTest UP-TO-DATE > Task :src:protocol:java:checkstyleMain > Task :src:protocol:http:autostyleKotlinGradleCheck NO-SOURCE > Task :src:protocol:http:autostyleMarkdownProcess NO-SOURCE > Task :src:protocol:http:autostyleMarkdownCheck NO-SOURCE > Task :src:protocol:http:autostyleCheck UP-TO-DATE > Task :src:jorphan:publishMavenJavaPublicationToNexusRepository > Task :src:jorphan:publish > Task :src:protocol:http:checkstyleMain UP-TO-DATE > Task :src:components:kaptGenerateStubsTestKotlin UP-TO-DATE > Task :src:jorphan:compileTestKotlin UP-TO-DATE > Task :src:jorphan:compileTestJava UP-TO-DATE > Task :src:jorphan:processTestResources NO-SOURCE > Task :src:jorphan:testClasses UP-TO-DATE > Task :src:jorphan:spotbugsTest UP-TO-DATE > Task :src:jorphan:spotbugsTestFixtures UP-TO-DATE > Task :src:jorphan:javadoc UP-TO-DATE > Task :src:jorphan:javadocJar UP-TO-DATE > Task :src:components:kaptTestKotlin UP-TO-DATE > Task :src:components:compileTestKotlin UP-TO-DATE > Task :src:core:publishMavenJavaPublicationToNexusRepository > Task :src:core:publish > Task :src:components:compileTestJava UP-TO-DATE > Task :src:components:processTestResources UP-TO-DATE > Task :src:components:testClasses UP-TO-DATE > Task :src:core:compileTestKotlin UP-TO-DATE > Task :src:core:compileTestJava UP-TO-DATE > Task :src:core:processTestResources UP-TO-DATE > Task :src:core:testClasses UP-TO-DATE > Task :src:protocol:junit:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:junit:publish > Task :src:protocol:http:checkstyleTestFixtures NO-SOURCE > Task :src:protocol:http:spotbugsMain UP-TO-DATE > Task :src:protocol:junit-sample:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:junit-sample:publish > Task :src:protocol:http:checkstyleTest FAILED [ant:checkstyle] [ERROR] <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/proxy/TestHttpRequestHdr.java>:170: Line is longer than 160 characters (found 184). [LineLength] [ant:checkstyle] [ERROR] <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/proxy/TestHttpRequestHdr.java>:174: Line is longer than 160 characters (found 206). [LineLength] > Task :src:protocol:ldap:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:http:kaptGenerateStubsTestKotlin UP-TO-DATE > Task :src:protocol:java:checkstyleTest > Task :src:protocol:ftp:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:mongodb:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:tcp:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:native:publishMavenJavaPublicationToNexusRepository > Task :src:protocol:mail:publishMavenJavaPublicationToNexusRepository > Task :src:test-services:test [0;1m 2.6sec[0m, [0;1mServiceLoaderTest[0m > [0;1mservice[0m without public constructor() [0;1m 2.8sec[0m, 5 completed, 0 failed, 0 skipped, ServiceLoaderTest [0;1m 5.2sec[0m, 5 completed, 0 failed, 0 skipped, Gradle Test Run :src:test-services:test > Task :src:dist-check:batchBug56243 WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended > Task :src:functions:test CSVReadFunctionTest STANDARD_OUT WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release Setting JMeterHome: <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/src/functions/../../.> Initializing Properties: ../.././bin/jmeter.properties JMeterVersion=6.0.0-SNAPSHOT 91ed127 java.version=17.0.12 java.vm.name=OpenJDK 64-Bit Server VM java.vendor=Eclipse Adoptium java.home=/usr/local/asfpackages/java/adoptium-jdk-17.0.12+7 file.encoding=UTF-8 default encoding=UTF-8 user.home=/home/jenkins user.dir=<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/src/functions> user.language=en user.region=null user.country=US user.variant= Locale=en_US java.class.version=61.0 java.awt.headless=null os.name=Linux os.version=5.15.0-143-generic os.arch=amd64 [0;1m 2.9sec[0m, 6 completed, 0 failed, 0 skipped, org.apache.jmeter.functions.CSVReadFunctionTest [0;1m 1.3sec[0m, org.apache.jmeter.functions.[0;1mPackageTest[0m > [0;1mXPathtestColumns()[0m > Task :src:dist-check:batchBug56243 Creating summariser <summary> Created the tree successfully using <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/bin/testfiles/Bug56243.jmx> Starting standalone test @ 2025 Aug 21 19:20:16 UTC (1755804016881) Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445 summary = 9 in 00:00:00 = 23.6/s Avg: 4 Min: 0 Max: 26 Err: 0 (0.00%) Tidying up ... @ 2025 Aug 21 19:20:17 UTC (1755804017748) ... end of run No errors present in the logfile <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/bin/Bug56243.log> (the file is empty) > Task :src:protocol:bolt:test BoltSamplerTest > should ignore invalid timeout values() STANDARD_OUT WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release [0;1m 9.1sec[0m, org.apache.jmeter.protocol.bolt.sampler.[0;1mBoltSamplerTest[0m > [0;1mshould[0m ignore invalid timeout values() [0;1m 1.0sec[0m, org.apache.jmeter.protocol.bolt.sampler.[0;1mBoltSamplerTest[0m > [0;1mshould[0m display results if asked() [0;1m 11.2sec[0m, 7 completed, 0 failed, 0 skipped, org.apache.jmeter.protocol.bolt.sampler.BoltSamplerTest [0;1m 15.4sec[0m, 8 completed, 0 failed, 0 skipped, Gradle Test Run :src:protocol:bolt:test > Task :src:functions:test [0;1m 2.5sec[0m, 10 completed, 0 failed, 0 skipped, org.apache.jmeter.functions.PackageTest [0;1m 3.2sec[0m, org.apache.jmeter.functions.[0;1mTestGroovyFunction[0m > [0;1mtestSum()[0m [0;1m 4.3sec[0m, 7 completed, 0 failed, 0 skipped, org.apache.jmeter.functions.TestGroovyFunction [0;1m 1.2sec[0m, org.apache.jmeter.functions.[0;1mTestJavascriptFunction[0m > [0;1mtestSum()[0m > Task :src:core:kaptGenerateStubsJmhKotlin w: API version 1.5 is deprecated and its support will be removed in a future version of Kotlin > Task :src:jorphan:test PackageTest STANDARD_ERROR SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. > Task :src:functions:test [0;34;1mWARNING[0m [0;1m 21.1sec[0m, 268 completed, 0 failed, [0;34;1m 5[0m skipped, [0;34;1mGradle Test Run :src:functions:test[0m > Task :src:jorphan:test [0;1m 6.2sec[0m, org.apache.jorphan.exec.[0;1mTestKeyToolUtils[0m > [0;1mtestDNSNameBasedCert()[0m [0;1m 4.7sec[0m, org.apache.jorphan.exec.[0;1mTestKeyToolUtils[0m > [0;1mtestIPBasedCert()[0m [0;1m 22.7sec[0m, 3 completed, 0 failed, 0 skipped, org.apache.jorphan.exec.TestKeyToolUtils [0;34;1mWARNING[0m [0;1m 29.8sec[0m, 279 completed, 0 failed, [0;34;1m 2[0m skipped, [0;34;1mGradle Test Run :src:jorphan:test[0m > Task :src:components:spotbugsTest SpotBugs ended with exit code 1 [Incubating] Problems report is available at: file://<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/build/reports/problems/problems-report.html> FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':src:protocol:http:checkstyleTest'. > A failure occurred while executing > org.gradle.api.plugins.quality.internal.CheckstyleAction > Checkstyle rule violations were found. See the report at: file://<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/src/protocol/http/build/reports/checkstyle/test.html> Checkstyle files with violations: 1 Checkstyle violations by severity: [error:2] 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.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 3m 26s 536 actionable tasks: 154 executed, 382 up-to-date See the profiling report at: file://<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/build/reports/profile/profile-2025-08-21-19-17-36.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.