See <https://builds.apache.org/job/JMeter%20Windows/1478/display/redirect>
------------------------------------------
[...truncated 2.81 KB...]
> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:pluginDescriptors UP-TO-DATE
> Task :buildSrc:processResources NO-SOURCE
> Task :buildSrc:classes UP-TO-DATE
> Task :buildSrc:inspectClassesForKotlinIC UP-TO-DATE
> Task :buildSrc:jar UP-TO-DATE
> Task :buildSrc:assemble UP-TO-DATE
> 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 UP-TO-DATE
> Task :buildSrc:batchtest:compileKotlin UP-TO-DATE
> Task :buildSrc:batchtest:compileJava NO-SOURCE
> Task :buildSrc:batchtest:pluginDescriptors UP-TO-DATE
> Task :buildSrc:batchtest:processResources UP-TO-DATE
> Task :buildSrc:batchtest:classes UP-TO-DATE
> Task :buildSrc:batchtest:inspectClassesForKotlinIC UP-TO-DATE
> Task :buildSrc:batchtest:jar UP-TO-DATE
> Task :buildSrc:batchtest:assemble UP-TO-DATE
> Task :buildSrc:batchtest:compileTestKotlin NO-SOURCE
> Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build UP-TO-DATE
> Task :buildSrc:batchtest:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:batchtest:compileTestJava NO-SOURCE
> Task :buildSrc:batchtest:processTestResources NO-SOURCE
> Task :buildSrc:batchtest:testClasses UP-TO-DATE
> Task :buildSrc:batchtest:test NO-SOURCE
> Task :buildSrc:batchtest:validateTaskProperties UP-TO-DATE
> Task :buildSrc:batchtest:check UP-TO-DATE
> Task :buildSrc:batchtest:build UP-TO-DATE
checksum-dependency elapsed time: 1029ms, configurations processed: 30 (add
-PchecksumTimingsPrint to print detailed timings)
> Configure project :
Building JMeter 5.2.0-SNAPSHOT
> Task :src:bom:check UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :src:core:versionClass UP-TO-DATE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :src:bshclient:compileJava UP-TO-DATE
> Task :src:bshclient:processResources NO-SOURCE
> Task :src:bshclient:classes UP-TO-DATE
> Task :src:launcher:compileJava 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 :src:testkit:compileJava UP-TO-DATE
> Task :src:launcher:processResources UP-TO-DATE
> Task :src:launcher:classes UP-TO-DATE
> Task :src:testkit:processResources NO-SOURCE
> Task :src:testkit:classes UP-TO-DATE
> Task :src:components:processResources UP-TO-DATE
> Task :src:launcher:jar UP-TO-DATE
> Task :src:testkit:jar UP-TO-DATE
> Task :src:components:processTestResources UP-TO-DATE
> Task :src:jorphan:compileJava UP-TO-DATE
> Task :src:config:compileJava NO-SOURCE
> Task :src:testkit:compileTestFixturesJava NO-SOURCE
> Task :src:jorphan:compileGroovy NO-SOURCE
> Task :src:config:processResources NO-SOURCE
> Task :src:config:classes UP-TO-DATE
> Task :src:testkit:processTestFixturesResources NO-SOURCE
> Task :src:testkit:testFixturesClasses 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:config:checkstyleTest NO-SOURCE
> Task :src:config:spotbugsMain SKIPPED
> Task :src:config:spotbugsTest SKIPPED
> Task :src:testkit:testFixturesJar UP-TO-DATE
> Task :src:core:processResources UP-TO-DATE
> Task :src:dist:processResources NO-SOURCE
> Task :src:jorphan:processResources UP-TO-DATE
> Task :src:core:processTestResources UP-TO-DATE
> Task :src:jorphan:classes UP-TO-DATE
> Task :src:jorphan:jar UP-TO-DATE
> Task :src:components:spotlessGroovy
> Task :src:components:spotlessGroovyCheck
> Task :src:config:spotlessJava
> Task :src:config:spotlessJavaCheck
> Task :src:config:spotlessCheck
> Task :src:config:test NO-SOURCE
> Task :src:config:check
> Task :src:functions:processResources
> Task :src:protocol:ftp:processResources NO-SOURCE
> Task :src:protocol:ftp:processTestResources NO-SOURCE
> Task :src:testkit-wiremock:compileJava UP-TO-DATE
> Task :src:bshclient:checkstyleMain UP-TO-DATE
> Task :src:testkit-wiremock:processResources NO-SOURCE
> Task :src:testkit-wiremock:classes UP-TO-DATE
> Task :src:bshclient:compileTestJava NO-SOURCE
> Task :gitProps
> Task :src:bshclient:processTestResources NO-SOURCE
> Task :src:bshclient:testClasses UP-TO-DATE
> Task :src:core:spotlessGroovy FAILED
> Task :src:bshclient:checkstyleTest NO-SOURCE
> Task :src:functions:processTestResources
> Task :src:testkit-wiremock:jar
> Task :rat UP-TO-DATE
> Task :src:protocol:http:processResources
> Task :src:components:spotlessJava FAILED
> Task :src:jorphan:compileTestJava
checksum-dependency elapsed time: 2497ms, configurations processed: 78 (add
-PchecksumTimingsPrint to print detailed timings)
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 26s
28 actionable tasks: 10 executed, 18 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure