Skip to content

Feature to Change component after adding element to testplan #2748

Feature to Change component after adding element to testplan

Feature to Change component after adding element to testplan #2748

Triggered via pull request April 17, 2024 15:08
Status Failure
Total duration 10m 32s
Artifacts

main.yml

on: pull_request
Matrix Preparation
7s
Matrix Preparation
Error Prone (JDK 17)
5m 48s
Error Prone (JDK 17)
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 5 warnings
21, microsoft, macos, UTC, tr_TR: task ':src:components:autostyleJavaCheck'#L1
Execution failed for task ':src:components:autostyleJavaCheck': See 'What went wrong' below
21, microsoft, macos, UTC, tr_TR
Execution failed for task ':src:components:autostyleJavaCheck'. > The following files have format violations: src/main/java/org/apache/jmeter/control/gui/IncludeControllerGui.java @@ -17,14 +17,12 @@ package org.apache.jmeter.control.gui; -import javax.swing.JPopupMenu; import org.apache.jmeter.control.IncludeController; import org.apache.jmeter.control.IncludeControllerSchema; import org.apache.jmeter.gui.FilePanelEntryBinding; import org.apache.jmeter.gui.TestElementMetadata; import org.apache.jmeter.gui.util.FilePanel; -import org.apache.jmeter.gui.util.MenuFactory; import org.apache.jmeter.testelement.TestElement; import org.apache.jmeter.util.JMeterUtils; import org.apache.jorphan.gui.layout.VerticalLayout; src/main/java/org/apache/jmeter/control/gui/ModuleControllerGui.java @@ -31,7 +31,6 @@ import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; -import javax.swing.JPopupMenu; import javax.swing.JTree; import javax.swing.SwingConstants; import javax.swing.tree.DefaultMutableTreeNode; @@ -49,7 +48,6 @@ import org.apache.jmeter.gui.GuiPackage; import org.apache.jmeter.gui.TestElementMetadata; import org.apache.jmeter.gui.tree.JMeterTreeNode; -import org.apache.jmeter.gui.util.MenuFactory; import org.apache.jmeter.gui.util.MenuInfo; import org.apache.jmeter.testelement.TestElement; import org.apache.jmeter.testelement.TestPlan; You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
21, oracle, macos, Pacific/Chatham, fr_FR: task ':src:components:autostyleJavaCheck'#L1
Execution failed for task ':src:components:autostyleJavaCheck': See 'What went wrong' below
21, oracle, macos, Pacific/Chatham, fr_FR
Execution failed for task ':src:components:autostyleJavaCheck'. > The following files have format violations: src/main/java/org/apache/jmeter/control/gui/IncludeControllerGui.java @@ -17,14 +17,12 @@ package org.apache.jmeter.control.gui; -import javax.swing.JPopupMenu; import org.apache.jmeter.control.IncludeController; import org.apache.jmeter.control.IncludeControllerSchema; import org.apache.jmeter.gui.FilePanelEntryBinding; import org.apache.jmeter.gui.TestElementMetadata; import org.apache.jmeter.gui.util.FilePanel; -import org.apache.jmeter.gui.util.MenuFactory; import org.apache.jmeter.testelement.TestElement; import org.apache.jmeter.util.JMeterUtils; import org.apache.jorphan.gui.layout.VerticalLayout; src/main/java/org/apache/jmeter/control/gui/ModuleControllerGui.java @@ -31,7 +31,6 @@ import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; -import javax.swing.JPopupMenu; import javax.swing.JTree; import javax.swing.SwingConstants; import javax.swing.tree.DefaultMutableTreeNode; @@ -49,7 +48,6 @@ import org.apache.jmeter.gui.GuiPackage; import org.apache.jmeter.gui.TestElementMetadata; import org.apache.jmeter.gui.tree.JMeterTreeNode; -import org.apache.jmeter.gui.util.MenuFactory; import org.apache.jmeter.gui.util.MenuInfo; import org.apache.jmeter.testelement.TestElement; import org.apache.jmeter.testelement.TestPlan; You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
17, oracle, same hashcode, windows, America/New_York, tr_TR: src\components\src\main\java\org\apache\jmeter\control\gui\IncludeControllerGui.java#L1
Replace 73 lines 1..75 with /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.jmeter.control.gui; ...53 more lines
17, oracle, same hashcode, windows, America/New_York, tr_TR: task ':src:components:autostyleJavaCheck'#L1
Execution failed for task ':src:components:autostyleJavaCheck': See 'What went wrong' below
17, oracle, same hashcode, windows, America/New_York, tr_TR
Execution failed for task ':src:components:autostyleJavaCheck'. > The following files have format violations: src\main\java\org\apache\jmeter\control\gui\IncludeControllerGui.java @@ -1,75 +1,73 @@ -/*\r\n - * Licensed to the Apache Software Foundation (ASF) under one or more\r\n - * contributor license agreements. See the NOTICE file distributed with\r\n - * this work for additional information regarding copyright ownership.\r\n - * The ASF licenses this file to you under the Apache License, Version 2.0\r\n - * (the "License"); you may not use this file except in compliance with\r\n - * the License. You may obtain a copy of the License at\r\n - *\r\n - * http://www.apache.org/licenses/LICENSE-2.0\r\n - *\r\n - * Unless required by applicable law or agreed to in writing, software\r\n - * distributed under the License is distributed on an "AS IS" BASIS,\r\n - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n - * See the License for the specific language governing permissions and\r\n - * limitations under the License.\r\n - */\r\n -\r\n -package org.apache.jmeter.control.gui;\r\n -\r\n -import javax.swing.JPopupMenu;\r\n -\r\n -import org.apache.jmeter.control.IncludeController;\r\n -import org.apache.jmeter.control.IncludeControllerSchema;\r\n -import org.apache.jmeter.gui.FilePanelEntryBinding;\r\n -import org.apache.jmeter.gui.TestElementMetadata;\r\n -import org.apache.jmeter.gui.util.FilePanel;\r\n -import org.apache.jmeter.gui.util.MenuFactory;\r\n -import org.apache.jmeter.testelement.TestElement;\r\n -import org.apache.jmeter.util.JMeterUtils;\r\n -import org.apache.jorphan.gui.layout.VerticalLayout;\r\n -\r\n -@TestElementMetadata(labelResource = "include_controller")\r\n -public class IncludeControllerGui extends AbstractControllerGui\r\n -{\r\n -\r\n - private static final long serialVersionUID = 240L;\r\n -\r\n - private final FilePanel includePanel =\r\n - new FilePanel(JMeterUtils.getResString("include_path"), ".jmx"); //$NON-NLS-1$ //$NON-NLS-2$\r\n -\r\n - /**\r\n - * Initializes the gui panel for the ModuleController instance.\r\n - */\r\n - public IncludeControllerGui() {\r\n - init();\r\n - bindingGroup.add(new FilePanelEntryBinding(includePanel, IncludeControllerSchema.INSTANCE.getIncludePath()));\r\n - }\r\n -\r\n ... (100 more lines that didn't fit) Violations also present in: src\main\java\org\apache\jmeter\control\gui\ModuleControllerGui.java You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
17, liberica, macos, UTC, fr_FR, stress JIT: task ':src:components:autostyleJavaCheck'#L1
Execution failed for task ':src:components:autostyleJavaCheck': See 'What went wrong' below
17, liberica, macos, UTC, fr_FR, stress JIT
Execution failed for task ':src:components:autostyleJavaCheck'. > The following files have format violations: src/main/java/org/apache/jmeter/control/gui/IncludeControllerGui.java @@ -17,14 +17,12 @@ package org.apache.jmeter.control.gui; -import javax.swing.JPopupMenu; import org.apache.jmeter.control.IncludeController; import org.apache.jmeter.control.IncludeControllerSchema; import org.apache.jmeter.gui.FilePanelEntryBinding; import org.apache.jmeter.gui.TestElementMetadata; import org.apache.jmeter.gui.util.FilePanel; -import org.apache.jmeter.gui.util.MenuFactory; import org.apache.jmeter.testelement.TestElement; import org.apache.jmeter.util.JMeterUtils; import org.apache.jorphan.gui.layout.VerticalLayout; src/main/java/org/apache/jmeter/control/gui/ModuleControllerGui.java @@ -31,7 +31,6 @@ import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; -import javax.swing.JPopupMenu; import javax.swing.JTree; import javax.swing.SwingConstants; import javax.swing.tree.DefaultMutableTreeNode; @@ -49,7 +48,6 @@ import org.apache.jmeter.gui.GuiPackage; import org.apache.jmeter.gui.TestElementMetadata; import org.apache.jmeter.gui.tree.JMeterTreeNode; -import org.apache.jmeter.gui.util.MenuFactory; import org.apache.jmeter.gui.util.MenuInfo; import org.apache.jmeter.testelement.TestElement; import org.apache.jmeter.testelement.TestPlan; You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
Error Prone (JDK 17)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
21, microsoft, macos, UTC, tr_TR
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
21, oracle, macos, Pacific/Chatham, fr_FR
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
17, oracle, same hashcode, windows, America/New_York, tr_TR
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
17, liberica, macos, UTC, fr_FR, stress JIT
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: burrunan/gradle-cache-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.