See <https://builds.apache.org/job/JMeter%20Windows/1477/display/redirect?page=changes>
Changes: [pmouawad] Suite [pmouawad] Correct cleanup [pmouawad] JOrphanUtils: add random alphanumeric password generator [pmouawad] Bug 63355 - View Results Tree: Browser view option is not Available with [sitnikov.vladimir] Bump checksum-dependency-plugin to 1.29.0 for parallel PGP key [pmouawad] Use Parameterized test Fix some bugs [pmouawad] Improvements: [pmouawad] Modify 2 tests to test custom port setting [pmouawad] Fix checkstyle error on line length [pmouawad] Full rework More tests Improve docs [pmouawad] Fix unparsed --request Fix unhandled --url [pmouawad] fix space [pmouawad] Fix performance issue related to ObjectMapper instanciation (thanks [pmouawad] Replace boolean by enum for better readability as per Vladimir [pmouawad] Fix SaveService hash Improve failure messages [pmouawad] Mention implementor in release notes [sitnikov.vladimir] Upgrade to Gradle 5.6.1 [sitnikov.vladimir] Build javadoc on Travis [sitnikov.vladimir] Fix javadoc errors [sitnikov.vladimir] Move to JUnit5 for JUnit test execution [sitnikov.vladimir] Rework ResponseDecompression test to use WireMock for gzip/nocompression [sitnikov.vladimir] Add "./gradlew checkstyle" task to simplify manual execution [sitnikov.vladimir] Rework Bug52310 to WireMock [pmouawad] Add JMESPath Tester to View Results Tree (#500) [sitnikov.vladimir] Move "DNS with unavailable resolver" test to JUnit [sitnikov.vladimir] Reduce timeouts in batch tests [sitnikov.vladimir] Enable concurrent execution of certain tests [sitnikov.vladimir] Remove cp1252-encoded files from Git control [sitnikov.vladimir] Add Spotless for import order verification and formatting of the code [sitnikov.vladimir] Add ./gradlew style task for quick code format and verification [sitnikov.vladimir] StringBuilder() to + and some formatting [sitnikov.vladimir] Use Lambda for EntityResolver [sitnikov.vladimir] Cleaned up Template#equals and added more tests. [sitnikov.vladimir] Remove hashcode inequality tests because hashcodes might collide by [sitnikov.vladimir] Used concat instead of String.format and removed extra space. [sitnikov.vladimir] Verify Template#equals/hashCode with EqualsVerifier [sitnikov.vladimir] Refactor HttpMetricsSenderTest to WireMock [sitnikov.vladimir] TestKeyToolUtils modifies keystore, so test methods must not be executed [sitnikov.vladimir] Update jackson dependency to 2.9.10 (#508) [sitnikov.vladimir] Add test with fr_FR locale in Travis [felix.schumacher] Align assert methods with rest of the code [felix.schumacher] Guard debug log messages [felix.schumacher] Javadoc: add description for param tag [felix.schumacher] Synchronize access to variable on read [felix.schumacher] Rename type to comply with naming conventions [felix.schumacher] Extract common code to simplify method [felix.schumacher] Remove unused arguments from private method [felix.schumacher] Simplify method by extracting parts of code [felix.schumacher] Log errors at error level [felix.schumacher] Revert to correct logic for detecting lists [felix.schumacher] Simplify process method by extracting code into private methods [felix.schumacher] If no JSON Response can be found assume an empty string [sitnikov.vladimir] Add a default timeout of 2 minutes per test [sitnikov.vladimir] Update Hamcrest to 2.1 [sitnikov.vladimir] Increase "batch server" startup timeout to 15sec [felix.schumacher] Update gradle to 5.6.2 [sitnikov.vladimir] Remove new SecureRandom().generateSeed(128) as it exhausts entropy [sitnikov.vladimir] Use lazy initialization for JOrphanUtils#SECURE_RANDOM ------------------------------------------ [...truncated 4.63 KB...] > Task :buildSrc:jar :jar: No valid plugin descriptors were found in META-INF/gradle-plugins > Task :buildSrc:assemble > Task :buildSrc:compileTestKotlin NO-SOURCE > Task :buildSrc:compileTestJava NO-SOURCE > Task :buildSrc:compileTestGroovy NO-SOURCE > Task :buildSrc:processTestResources NO-SOURCE > Task :buildSrc:testClasses UP-TO-DATE > Task :buildSrc:validateTaskProperties > Task :buildSrc:batchtest:pluginDescriptors > Task :buildSrc:batchtest:processResources > Task :buildSrc:batchtest:processTestResources NO-SOURCE > Task :buildSrc:batchtest:compileKotlin > Task :buildSrc:batchtest:compileJava NO-SOURCE > Task :buildSrc:batchtest:classes > Task :buildSrc:batchtest:inspectClassesForKotlinIC > Task :buildSrc:batchtest:jar > Task :buildSrc:batchtest:assemble > Task :buildSrc:batchtest:compileTestKotlin NO-SOURCE > Task :buildSrc:pluginUnderTestMetadata > Task :buildSrc:test NO-SOURCE > Task :buildSrc:check > Task :buildSrc:build > Task :buildSrc:batchtest:pluginUnderTestMetadata > Task :buildSrc:batchtest:compileTestJava NO-SOURCE > Task :buildSrc:batchtest:testClasses UP-TO-DATE > Task :buildSrc:batchtest:test NO-SOURCE > Task :buildSrc:batchtest:validateTaskProperties > Task :buildSrc:batchtest:check > Task :buildSrc:batchtest:build checksum-dependency elapsed time: 20719ms, configurations processed: 30 SHA-512 computation time: 2ms (goes in parallel, it might exceed wall-clock time), files processed: 1, processed: 0MiB, skipped: 164MiB PGP key resolution time: 1455ms (wall-clock), resolution requests: 9, download time: 1518ms (goes in parallel, it might exceed wall-clock time), keys downloaded: 5 PGP signature verification time: 5608ms (goes in parallel, it might exceed wall-clock time), files processed: 39, processed: 55MiB, skipped: 109MiB > Configure project : Building JMeter 5.2.0-SNAPSHOT > Task :src:bom:check UP-TO-DATE > Task :compileJava NO-SOURCE > Task :src:core:versionClass > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE > Task :checkstyleMain NO-SOURCE > Task :compileTestJava NO-SOURCE > Task :processTestResources NO-SOURCE > Task :testClasses UP-TO-DATE > Task :checkstyleTest NO-SOURCE > Task :gitProps > Task :src:bshclient:compileJava > Task :src:bshclient:processResources NO-SOURCE > Task :src:bshclient:classes > Task :src:launcher:compileJava > Task :src:testkit:compileJava > Task :src:testkit:processResources NO-SOURCE > Task :src:testkit:classes > Task :src:launcher:processResources > Task :src:launcher:classes > Task :src:components:processResources > Task :src:components:processTestResources > Task :src:core:processResources > Task :src:components:spotlessGroovy > Task :src:components:spotlessGroovyCheck > Task :src:core:processTestResources > Task :src:config:compileJava NO-SOURCE > Task :src:config:processResources NO-SOURCE > Task :src:config:classes UP-TO-DATE > Task :src:config:checkstyleMain NO-SOURCE > Task :src:config:compileTestJava NO-SOURCE > Task :src:config:processTestResources NO-SOURCE > Task :src:config:testClasses UP-TO-DATE > Task :src:jorphan:compileJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :src:jorphan:compileGroovy NO-SOURCE > Task :src:jorphan:processResources > Task :src:jorphan:classes > Task :src:config:checkstyleTest NO-SOURCE > Task :src:config:spotbugsMain SKIPPED > Task :src:config:spotbugsTest SKIPPED > Task :src:testkit:jar > Task :src:testkit:compileTestFixturesJava NO-SOURCE > Task :src:testkit:processTestFixturesResources NO-SOURCE > Task :src:testkit:testFixturesClasses UP-TO-DATE > Task :src:launcher:jar > Task :src:testkit:testFixturesJar > Task :src:core:spotlessGroovy FAILED > Task :src:dist:processResources NO-SOURCE > Task :src:jorphan:jar > Task :src:bshclient:checkstyleMain > Task :src:testkit-wiremock:compileJava > Task :rat Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' Warning: org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. Warning: org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' > Task :src:config:spotlessJava > Task :src:components:spotlessJava FAILED checksum-dependency elapsed time: 41861ms, configurations processed: 77 SHA-512 computation time: 3676ms (goes in parallel, it might exceed wall-clock time), files processed: 15, processed: 4MiB, skipped: 67MiB PGP key resolution time: 4165ms (wall-clock), resolution requests: 18, download time: 1461ms (goes in parallel, it might exceed wall-clock time), keys downloaded: 8 PGP signature verification time: 14211ms (goes in parallel, it might exceed wall-clock time), files processed: 107, processed: 59MiB, skipped: 8MiB FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':src:core:spotlessGroovy'. > The following files had format violations: src\core\src\test\groovy\org\apache\jmeter\gui\HtmlReportGUISpec.groovy @@ -1,48 +1,48 @@ -/*\n - * Licensed to the Apache Software Foundation (ASF) under one or more\n - * contributor license agreements. See the NOTICE file distributed with\n - * this work for additional information regarding copyright ownership.\n - * The ASF licenses this file to You under the Apache License, Version 2.0\n - * (the "License"); you may not use this file except in compliance with\n - * the License. You may obtain a copy of the License at\n - *\n - * http://www.apache.org/licenses/LICENSE-2.0\n - *\n - * Unless required by applicable law or agreed to in writing, software\n - * distributed under the License is distributed on an "AS IS" BASIS,\n - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n - * See the License for the specific language governing permissions and\n - * limitations under the License.\n - *\n - */\n -\n -package org.apache.jmeter.gui;\n -\n -import org.apache.jmeter.gui.tree.JMeterTreeListener\n -import org.apache.jmeter.gui.tree.JMeterTreeModel\n -import org.apache.jmeter.junit.spock.JMeterSpec\n -\n -import spock.lang.IgnoreIf\n -\n -@IgnoreIf({ JMeterSpec.isHeadless() })\n -class HtmlReportGUISpec extends JMeterSpec{\n -\n - def "test HtmlReportUI initialization"(){\n - given:\n - def HtmlReportUI htmlReportPanel = new HtmlReportUI();\n - def JMeterTreeModel treeModel = new JMeterTreeModel();\n - def JMeterTreeListener treeListener = new JMeterTreeListener(treeModel);\n - GuiPackage.initInstance(treeListener, treeModel);\n - GuiPackage.getInstance().setMainFrame(new MainFrame(treeModel, treeListener));\n - when:\n - htmlReportPanel.showInputDialog(GuiPackage.getInstance().getMainFrame())\n - Thread.sleep(50) // https://bugs.openjdk.java.net/browse/JDK-5109571\n - htmlReportPanel.messageDialog.setVisible(false)\n - then:\n - "" == htmlReportPanel.csvFilePathTextField.getText()\n - "" == htmlReportPanel.userPropertiesFilePathTextField.getText()\n - "" == htmlReportPanel.outputDirectoryPathTextField.getText()\n - "" == htmlReportPanel.reportArea.getText()\n - 1 == htmlReportPanel.messageDialog.getComponents().length;\n - }\n -}\n ... (48 more lines that didn't fit) Run 'gradlew spotlessApply' to fix these violations. * 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. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':src:components:spotlessJava'. > The following files had format violations: src\components\src\main\java\org\apache\jmeter\assertions\CompareAssertionBeanInfo.java @@ -1,56 +1,56 @@ -/*\n - * Licensed to the Apache Software Foundation (ASF) under one or more\n - * contributor license agreements. See the NOTICE file distributed with\n - * this work for additional information regarding copyright ownership.\n - * The ASF licenses this file to You under the Apache License, Version 2.0\n - * (the "License"); you may not use this file except in compliance with\n - * the License. You may obtain a copy of the License at\n - *\n - * http://www.apache.org/licenses/LICENSE-2.0\n - *\n - * Unless required by applicable law or agreed to in writing, software\n - * distributed under the License is distributed on an "AS IS" BASIS,\n - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n - * See the License for the specific language governing permissions and\n - * limitations under the License.\n - *\n - */\n -\n -package org.apache.jmeter.assertions;\n -\n -import java.beans.PropertyDescriptor;\n -import java.util.ArrayList;\n -\n -import org.apache.jmeter.testbeans.BeanInfoSupport;\n -import org.apache.jmeter.testbeans.gui.TableEditor;\n -import org.apache.jmeter.util.JMeterUtils;\n -\n -public class CompareAssertionBeanInfo extends BeanInfoSupport {\n -\n - public CompareAssertionBeanInfo() {\n - super(CompareAssertion.class);\n - createPropertyGroup("compareChoices", new String[] { "compareContent", "compareTime" }); //$NON-NLS-1$ $NON-NLS-2$ $NON-NLS-3$\n - createPropertyGroup("comparison_filters", new String[]{"stringsToSkip"}); //$NON-NLS-1$ $NON-NLS-2$\n - PropertyDescriptor p = property("compareContent"); //$NON-NLS-1$\n - p.setValue(NOT_UNDEFINED, Boolean.TRUE);\n - p.setValue(DEFAULT, Boolean.TRUE);\n - p.setValue(NOT_EXPRESSION, Boolean.TRUE);\n - p = property("compareTime"); //$NON-NLS-1$\n - p.setValue(NOT_UNDEFINED, Boolean.TRUE);\n - p.setValue(DEFAULT, Long.valueOf(-1));\n - p.setValue(NOT_EXPRESSION, Boolean.FALSE);\n - p = property("stringsToSkip"); //$NON-NLS-1$\n - p.setPropertyEditorClass(TableEditor.class);\n - p.setValue(TableEditor.CLASSNAME,SubstitutionElement.class.getName());\n - p.setValue(TableEditor.HEADERS,new String[]{\n - JMeterUtils.getResString("comparison_regex_string"), //$NON-NLS-1$\n - JMeterUtils.getResString("comparison_regex_substitution")}); //$NON-NLS-1$\n - p.setValue(TableEditor.OBJECT_PROPERTIES, // These are the names of the get/set methods\n ... (64 more lines that didn't fit) Violations also present in 123 other files. Run 'gradlew spotlessApply' to fix these violations. * 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 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 9m 11s 23 actionable tasks: 23 executed Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure