jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: JMeter Windows #1479
Date Sat, 28 Sep 2019 17:48:08 GMT
See <https://builds.apache.org/job/JMeter%20Windows/1479/display/redirect>

------------------------------------------
[...truncated 38.65 KB...]
          - *\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:bshclient:spotlessJava'.
> The following files had format violations:
      src\bshclient\src\main\java\org\apache\jmeter\util\BeanShellClient.java
          @@ -1,112 +1,112 @@
          -/*\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.util;\n
          -\n
          -import java.io.FileReader;\n
          -import java.io.IOException;\n
          -import java.io.InputStream;\n
          -import java.io.InputStreamReader;\n
          -import java.io.OutputStream;\n
          -import java.net.Socket;\n
          -\n
          -// N.B. Do not call any JMeter methods; the jar is standalone\n
          -\n
          -\n
          -/**\n
          - * Implements a client that can talk to the JMeter BeanShell server.\n
          - */\n
          -public class BeanShellClient {\n
          -\n
          -    private static final int MINARGS = 3;\n
          -\n
          -    public static void main(String [] args) throws Exception{\n
          -        if (args.length < MINARGS){\n
          -            System.out.println("Please provide "+MINARGS+" or more arguments:");\n
          -            System.out.println("serverhost serverport filename [arg1 arg2 ...]");\n
          -            System.out.println("e.g. ");\n
          -            System.out.println("localhost 9000 extras/remote.bsh apple blake 7");\n
          -            return;\n
          -        }\n
          -        String host=args[0];\n
          -        String portString = args[1];\n
          -        String file=args[2];\n
      ... (176 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.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':src:examples:spotlessJava'.
> The following files had format violations:
      src\examples\src\main\java\org\apache\jmeter\examples\sampler\ExampleSampler.java
          @@ -1,127 +1,127 @@
          -/*\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.examples.sampler;\n
          -\n
          -import java.util.concurrent.atomic.AtomicInteger;\n
          -\n
          -import org.apache.jmeter.samplers.AbstractSampler;\n
          -import org.apache.jmeter.samplers.Entry;\n
          -import org.apache.jmeter.samplers.SampleResult;\n
          -import org.slf4j.Logger;\n
          -import org.slf4j.LoggerFactory;\n
          -\n
          -/**\n
          - * Example Sampler (non-Bean version)\n
          - * <p>\n
          - * JMeter creates an instance of a sampler class for every occurrence of the\n
          - * element in every thread. [some additional copies may be created before the\n
          - * test run starts]\n
          - * <p>\n
          - * Thus each sampler is guaranteed to be called by a single thread - there is no\n
          - * need to synchronize access to instance variables.\n
          - * <p>\n
          - * However, access to class fields must be synchronized.\n
          - *\n
          - */\n
          -public class ExampleSampler extends AbstractSampler {\n
          -\n
          -    private static final long serialVersionUID = 240L;\n
          -\n
          -    private static final Logger log = LoggerFactory.getLogger(ExampleSampler.class);\n
          -\n
          -    // The name of the property used to hold our data\n
      ... (206 more lines that didn't fit)
  Violations also present in:
      src\examples\src\main\java\org\apache\jmeter\examples\testbeans\example1\Example1.java
      src\examples\src\main\java\org\apache\jmeter\examples\testbeans\example2\Example2.java
      src\examples\src\main\java\org\apache\jmeter\examples\testbeans\example2\Example2BeanInfo.java
      src\examples\src\main\java\org\apache\jmeter\examples\testbeans\example3\Example3.java
      src\examples\src\main\java\org\apache\jmeter\examples\testbeans\example3\Example3BeanInfo.java
  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.
==============================================================================

4: 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 23s
40 actionable tasks: 17 executed, 23 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

Mime
View raw message