Critter combined tree #113
Draft
Terasology Jenkins.io / Jenkins
failed
Oct 27, 2024 in 7m 42s
Analytics: error in 'sh' step
Analytics / Shell Script
Error in sh
step, with arguments ./gradlew --console=plain check -x test --continue
.
script returned exit code 1
Build log
+ ./gradlew --console=plain check -x test --continue
> Task :build-logic:checkKotlinGradlePluginConfigurationErrors
> Task :build-logic:generateExternalPluginSpecBuilders UP-TO-DATE
> Task :build-logic:extractPrecompiledScriptPluginPlugins UP-TO-DATE
> Task :build-logic:compilePluginsBlocks UP-TO-DATE
> Task :build-logic:generatePrecompiledScriptPluginAccessors UP-TO-DATE
> Task :build-logic:generateScriptPluginAdapters UP-TO-DATE
> Task :build-logic:compileKotlin UP-TO-DATE
> Task :build-logic:compileJava NO-SOURCE
> Task :build-logic:pluginDescriptors UP-TO-DATE
> Task :build-logic:processResources UP-TO-DATE
> Task :build-logic:classes UP-TO-DATE
> Task :build-logic:jar UP-TO-DATE
> Task :syncAssets UP-TO-DATE
> Task :syncDeltas UP-TO-DATE
> Task :syncModuleInfo UP-TO-DATE
> Task :syncOverrides NO-SOURCE
> Task :processResources NO-SOURCE
> Task :compileJava UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :compileTestJava UP-TO-DATE
> Task :processTestResources UP-TO-DATE
> Task :testClasses UP-TO-DATE
> Task :checkstyleTest
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:271: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:272: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:273: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:274: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:275: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:276: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:277: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:278: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:370: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:371: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:372: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:373: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:374: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:375: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:376: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:377: Line is longer than 150 characters (found 154). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:418: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:419: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:420: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:421: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:422: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:423: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:424: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:425: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:529: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:530: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:531: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:532: Line is longer than 150 characters (found 158). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:533: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:534: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:535: Line is longer than 150 characters (found 155). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/test/java/org/terasology/module/behaviors/MovementTests.java:536: Line is longer than 150 characters (found 154). [LineLength]
Checkstyle rule violations were found. See the report at: file:///home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/build/reports/checkstyle/test.html
Checkstyle files with violations: 1
Checkstyle violations by severity: [warning:32]
> Task :checkstyleMain
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/components/TerritoryComponent.java:6:8: Unused import - org.terasology.engine.registry.In. [UnusedImports]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/systems/TerritorialBehaviourSystem.java:36:5: Static variable definition in wrong order. [DeclarationOrder]
[ant:checkstyle] [ERROR] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/systems/TerritorialBehaviourSystem.java:36:26: Name 'CHECK_INTERVALL' must match pattern '^[a-z][a-zA-Z0-9]*$'. [StaticVariableName]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/systems/TerritorialBehaviourSystem.java:58:9: 'if' is not followed by whitespace. [WhitespaceAfter]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/actions/SetTargetToNearbyBlockNode.java:65: Line is longer than 150 characters (found 160). [LineLength]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/actions/PlayMusicAction.java:17:8: Unused import - org.terasology.module.behaviors.systems.PluginSystem. [UnusedImports]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/actions/FollowPlayerWithinRangeAction.java:19:8: Unused import - org.terasology.module.behaviors.systems.PluginSystem. [UnusedImports]
[ant:checkstyle] [WARN] /home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/src/main/java/org/terasology/module/behaviors/actions/SetTargetToNearbyPlayer.java:15:8: Unused import - org.terasology.module.behaviors.systems.PluginSystem. [UnusedImports]
> Task :checkstyleMain FAILED
> Task :pmdMain
16 PMD rule violations were found. See the report at: file:///home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/build/reports/pmd/main.html
> Task :pmdTest
2 PMD rule violations were found. See the report at: file:///home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/build/reports/pmd/test.html
> Task :spotbugsMain
> Task :spotbugsTest
M D DLS: Dead store to $L4 in org.terasology.module.behaviors.BehaviorTests.prefabTest(ResourceUrn) At BehaviorTests.java:[line 69]
SpotBugs ended with exit code 1
> Task :spotbugsMain
SpotBugs ended with exit code 1
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkstyleMain'.
> A failure occurred while executing org.gradle.api.plugins.quality.internal.CheckstyleAction
> Checkstyle rule violations were found. See the report at: file:///home/jenkins/agent/workspace/ology_Modules_B_Behaviors_PR-113/build/reports/checkstyle/main.html
Checkstyle files with violations: 6
Checkstyle violations by severity: [warning:7, error:1]
* Try:
> Run with --scan to get full insights.
BUILD FAILED in 1m 30s
22 actionable tasks: 7 executed, 15 up-to-date
Details
- Declarative: Checkout SCM (17 sec)
- Setup (19 sec)
- configure workspace (1.2 sec)
- Build (5 min 4 sec)
- determining dependencies (4 min 34 sec)
- Unit Tests (24 sec)
- Publish (0.97 sec)
- Analytics (1 min 32 sec)
Error: script returned exit code 1 - Documentation (1.2 sec)
- Integration Tests (1 sec)
- Setup (19 sec)
Loading