See <https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/779/display/redirect?page=changes>
Changes: [Vladimir Sitnikov] Removed several collections which are updated, but seem to be never accessed. ------------------------------------------ [...truncated 133.77 KB...] > Task :src:testkit:autostyleConfigsProcess NO-SOURCE > Task :src:testkit:autostyleConfigsCheck NO-SOURCE > Task :compileKotlin NO-SOURCE > Task :compileJava NO-SOURCE > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE > Task :src:protocol:bolt:autostyleConfigsProcess > Task :src:protocol:bolt:autostyleConfigsCheck NO-SOURCE > Task :src:examples:autostyleConfigsProcess > Task :src:examples:autostyleConfigsCheck NO-SOURCE > Task :src:functions:autostyleConfigsProcess > Task :src:functions:autostyleConfigsCheck NO-SOURCE > Task :src:protocol:java:autostyleConfigsProcess > Task :src:protocol:java:autostyleConfigsCheck NO-SOURCE > Task :jar > Task :src:protocol:http:autostyleConfigsProcess > Task :src:protocol:http:autostyleConfigsCheck NO-SOURCE > Task :compileTestKotlin NO-SOURCE > Task :compileTestJava NO-SOURCE > Task :processTestResources NO-SOURCE > Task :testClasses UP-TO-DATE > Task :test NO-SOURCE > Task :src:protocol:jdbc:autostyleConfigsProcess > Task :src:protocol:jdbc:autostyleConfigsCheck NO-SOURCE > Task :src:protocol:mail:autostyleConfigsProcess NO-SOURCE > Task :src:protocol:mail:autostyleConfigsCheck NO-SOURCE > Task :src:bshclient:compileJava > Task :src:bshclient:processResources NO-SOURCE > Task :src:bshclient:classes > Task :src:bshclient:jar > Task :src:bshclient:autostyleConfigsProcess NO-SOURCE > Task :src:bshclient:autostyleConfigsCheck NO-SOURCE > Task :src:core:autostyleConfigsProcess > Task :src:core:autostyleConfigsCheck NO-SOURCE > Task :src:components:autostyleConfigsProcess > Task :src:components:autostyleConfigsCheck NO-SOURCE > Task :src:testkit-wiremock:compileJava > Task :src:testkit-wiremock:compileTestFixturesJava NO-SOURCE > Task :src:testkit-wiremock:processResources NO-SOURCE > Task :src:testkit-wiremock:classes > Task :src:testkit-wiremock:jar > Task :src:testkit-wiremock:processTestFixturesResources NO-SOURCE > Task :src:testkit-wiremock:testFixturesClasses UP-TO-DATE > Task :src:testkit-wiremock:testFixturesJar > Task :src:testkit-wiremock:autostyleConfigsProcess NO-SOURCE > Task :src:testkit-wiremock:autostyleConfigsCheck NO-SOURCE > Task :src:testkit:autostyleJavaProcess > Task :src:testkit:autostyleJavaCheck NO-SOURCE > Task :src:examples:autostyleJavaProcess > Task :src:examples:autostyleJavaCheck NO-SOURCE > Task :src:bshclient:autostyleJavaProcess > Task :src:bshclient:autostyleJavaCheck NO-SOURCE > Task :src:launcher:autostyleJavaProcess > Task :src:launcher:autostyleJavaCheck NO-SOURCE > Task :src:generator:autostyleJavaProcess > Task :src:generator:autostyleJavaCheck NO-SOURCE > Task :src:protocol:ftp:autostyleJavaProcess > Task :src:protocol:ftp:autostyleJavaCheck NO-SOURCE > Task :src:protocol:bolt:autostyleJavaProcess > Task :src:protocol:junit:autostyleJavaProcess > Task :src:protocol:junit:autostyleJavaCheck NO-SOURCE > Task :src:protocol:junit-sample:autostyleJavaProcess > Task :src:protocol:junit-sample:autostyleJavaCheck NO-SOURCE > Task :src:protocol:bolt:autostyleJavaCheck NO-SOURCE > Task :src:testkit-wiremock:autostyleJavaProcess > Task :src:testkit-wiremock:autostyleJavaCheck NO-SOURCE > Task :src:protocol:jdbc:autostyleJavaProcess > Task :src:protocol:jdbc:autostyleJavaCheck NO-SOURCE > Task :src:protocol:mail:autostyleJavaProcess > Task :src:protocol:mail:autostyleJavaCheck NO-SOURCE > Task :src:dist-check:autostyleJavaProcess > Task :src:dist-check:autostyleJavaCheck NO-SOURCE > Task :src:protocol:java:autostyleJavaProcess > Task :src:protocol:java:autostyleJavaCheck NO-SOURCE > Task :src:protocol:ldap:autostyleJavaProcess > Task :src:protocol:ldap:autostyleJavaCheck NO-SOURCE > Task :src:protocol:jms:autostyleJavaProcess > Task :src:protocol:jms:autostyleJavaCheck NO-SOURCE > Task :src:functions:autostyleJavaProcess > Task :src:functions:autostyleJavaCheck NO-SOURCE > Task :src:jorphan:autostyleJavaProcess > Task :src:jorphan:autostyleJavaCheck NO-SOURCE > Task :src:protocol:http:autostyleJavaProcess > Task :src:protocol:http:autostyleJavaCheck NO-SOURCE > Task :src:components:autostyleJavaProcess > Task :src:components:autostyleJavaCheck NO-SOURCE > Task :src:config:autostyleKotlinGradleProcess > Task :src:config:autostyleKotlinGradleCheck NO-SOURCE > Task :src:config:autostyleMarkdownProcess NO-SOURCE > Task :src:config:autostyleMarkdownCheck NO-SOURCE > Task :src:config:autostyleCheck UP-TO-DATE > Task :src:config:checkstyleMain NO-SOURCE > Task :src:config:checkstyleTest NO-SOURCE > Task :src:config:spotbugsMain NO-SOURCE > Task :src:config:compileTestJava NO-SOURCE > Task :src:config:processTestResources NO-SOURCE > Task :src:config:testClasses UP-TO-DATE > Task :src:config:spotbugsTest NO-SOURCE > Task :src:config:test NO-SOURCE > Task :src:config:check UP-TO-DATE > Task :src:protocol:mongodb:autostyleConfigsProcess > Task :src:protocol:mongodb:autostyleConfigsCheck NO-SOURCE > Task :src:test-services:autostyleKotlinProcess > Task :src:test-services:autostyleKotlinCheck NO-SOURCE > Task :src:protocol:mongodb:autostyleJavaProcess > Task :src:protocol:mongodb:autostyleJavaCheck NO-SOURCE > Task :src:testkit:autostyleKotlinGradleProcess > Task :src:testkit:autostyleKotlinGradleCheck NO-SOURCE > Task :src:testkit:autostyleMarkdownProcess NO-SOURCE > Task :src:testkit:autostyleMarkdownCheck NO-SOURCE > Task :src:testkit:autostyleCheck UP-TO-DATE > Task :src:dist:autostyleKotlinGradleProcess > Task :src:dist:populateLibs > Task :src:test-services:autostyleKotlinGradleProcess > Task :src:dist:copyBinLibs > Task :src:test-services:autostyleKotlinGradleCheck NO-SOURCE > Task :src:test-services:autostyleMarkdownProcess NO-SOURCE > Task :src:test-services:autostyleMarkdownCheck NO-SOURCE > Task :src:test-services:autostyleCheck UP-TO-DATE > Task :src:test-services:checkstyleMain NO-SOURCE > Task :src:test-services:checkstyleTest NO-SOURCE > Task :src:protocol:mongodb:autostyleKotlinGradleProcess > Task :src:protocol:mongodb:autostyleKotlinGradleCheck NO-SOURCE > Task :src:protocol:mongodb:autostyleMarkdownProcess NO-SOURCE > Task :src:protocol:mongodb:autostyleMarkdownCheck NO-SOURCE > Task :src:test-services:processResources NO-SOURCE > Task :src:test-services:processTestResources NO-SOURCE > Task :src:protocol:mongodb:autostyleCheck UP-TO-DATE > Task :src:examples:autostyleKotlinGradleProcess > Task :src:examples:autostyleKotlinGradleCheck NO-SOURCE > Task :src:examples:autostyleMarkdownProcess NO-SOURCE > Task :src:examples:autostyleMarkdownCheck NO-SOURCE > Task :src:examples:autostyleCheck UP-TO-DATE > Task :src:protocol:http:autostyleKotlinProcess > Task :src:protocol:http:autostyleKotlinCheck NO-SOURCE > Task :src:components:autostyleKotlinProcess > Task :src:components:autostyleKotlinCheck NO-SOURCE > Task :src:core:autostyleJavaProcess > Task :src:protocol:http:autostyleKotlinGradleProcess > Task :src:core:autostyleJavaCheck FAILED > Task :src:examples:checkstyleTest NO-SOURCE > Task :src:bshclient:autostyleKotlinGradleProcess > Task :src:bshclient:autostyleKotlinGradleCheck NO-SOURCE > Task :src:bshclient:autostyleMarkdownProcess NO-SOURCE > Task :src:bshclient:autostyleMarkdownCheck NO-SOURCE > Task :src:bshclient:autostyleCheck UP-TO-DATE > Task :src:dist:copyLibs > Task :src:components:autostyleKotlinGradleProcess > Task :src:test-services:kaptGenerateStubsKotlin w: API version 1.5 is deprecated and its support will be removed in a future version of Kotlin > Task :src:examples:compileJava > Task :src:launcher:autostyleKotlinGradleProcess > Task :src:generator:autostyleKotlinGradleProcess > Task :src:protocol:ftp:autostyleKotlinGradleProcess > Task :src:protocol:junit-sample:autostyleKotlinGradleProcess > Task :src:protocol:bolt:autostyleKotlinProcess > Task :src:testkit-wiremock:autostyleKotlinGradleProcess > Task :src:protocol:junit:autostyleKotlinGradleProcess > Task :src:protocol:mail:autostyleKotlinGradleProcess > Task :src:protocol:jdbc:autostyleKotlinProcess > Task :src:dist-check:autostyleKotlinProcess > Task :src:protocol:java:autostyleKotlinProcess > Task :src:testkit:checkstyleMain > Task :src:protocol:ldap:autostyleKotlinGradleProcess > Task :src:examples:checkstyleMain > Task :src:bshclient:checkstyleMain > Task :src:protocol:mongodb:checkstyleMain > Task :src:protocol:jms:autostyleKotlinGradleProcess > Task :src:functions:autostyleKotlinProcess > Task :src:jorphan:autostyleKotlinProcess checksum-dependency elapsed time: 26691ms, configurations processed: 69 SHA-512 computation time: 15ms (goes in parallel, it might exceed wall-clock time), files processed: 8, processed: 1MiB, skipped: 1535MiB PGP signature resolution time: 17955ms (wall-clock), resolution requests: 39, signatures resolved: 113 PGP key resolution time: 4740ms (wall-clock), resolution requests: 39, download time: 0ms (goes in parallel, it might exceed wall-clock time), keys downloaded: 0 PGP signature verification time: 4688ms (goes in parallel, it might exceed wall-clock time), files processed: 113, processed: 200MiB, skipped: 1329MiB checksum-dependency elapsed time: 374947ms, configurations processed: 685 SHA-512 computation time: 761ms (goes in parallel, it might exceed wall-clock time), files processed: 18, processed: 4MiB, skipped: 11161MiB PGP signature resolution time: 60223ms (wall-clock), resolution requests: 412, signatures resolved: 383 PGP key resolution time: 284225ms (wall-clock), resolution requests: 412, download time: 0ms (goes in parallel, it might exceed wall-clock time), keys downloaded: 0 PGP signature verification time: 46911ms (goes in parallel, it might exceed wall-clock time), files processed: 903, processed: 1448MiB, skipped: 9664MiB FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':src:core:autostyleJavaCheck'. > The following files have format violations: src/main/java/org/apache/jmeter/gui/HtmlReportUI.java @@ -25,9 +25,7 @@ import java.awt.event.ActionListener; import java.io.File; import java.util.Arrays; -import java.util.HashSet; import java.util.List; -import java.util.Set; import java.util.concurrent.ExecutionException; import javax.swing.ImageIcon; @@ -40,7 +38,6 @@ import javax.swing.SwingUtilities; import javax.swing.SwingWorker; -import org.apache.jmeter.gui.action.ActionNames; import org.apache.jmeter.gui.action.HtmlReportGenerator; import org.apache.jmeter.gui.util.EscapeDialog; import org.apache.jmeter.gui.util.JMeterToolBar; src/main/java/org/apache/jmeter/testelement/TestPlan.java @@ -20,8 +20,6 @@ import java.io.IOException; import java.io.Serializable; import java.net.MalformedURLException; -import java.util.ArrayList; -import java.util.List; import java.util.Map; import org.apache.jmeter.NewDriver; You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations. * 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. 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.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 14m 31s 431 actionable tasks: 381 executed, 50 up-to-date Publishing build scan... https://ge.apache.org/s/n5msq3uhxbokq See the profiling report at: file://<https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/ws/build/reports/profile/profile-2024-08-06-09-13-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 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?