Skip to content

use dev.dirs to calculate terasology directories

Terasology Jenkins.io / Jenkins failed Dec 16, 2024 in 16m 27s

Analytics: error in 'discoverGitReferenceBuild' step

Analytics / Shell Script

Error in sh step, with arguments ./gradlew --console=plain check -x test.

null
Build log
+ ./gradlew --console=plain check -x test
Processing facade facades:PC, including it as a sub-project
> 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

> Configure project :engine
Scanning for version in module.txt for engine
Version for project ':engine'.name loaded as 5.4.0-SNAPSHOT for group org.terasology.engine

> Configure project :engine-tests
Scanning for version in module.txt for engine-tests
Version for project ':engine-tests'.name loaded as 5.4.0-SNAPSHOT for group org.terasology.engine
Cleaned root - don't forget to re-extract stuff! 'gradlew extractNatives extractConfig' will do so

> Task :check UP-TO-DATE
> Task :extractConfig UP-TO-DATE
> Task :engine:copyResourcesToClasses NO-SOURCE
> Task :engine:createVersionInfoFile
> Task :subsystems:TypeHandlerLibrary:processResources NO-SOURCE
> Task :engine:extractIncludeProto UP-TO-DATE
> Task :engine:extractProto UP-TO-DATE
> Task :engine:generateProto UP-TO-DATE
> Task :subsystems:TypeHandlerLibrary:compileJava UP-TO-DATE
> Task :engine:compileJava UP-TO-DATE
> Task :engine:processResources UP-TO-DATE
> Task :engine:classes UP-TO-DATE
> Task :engine:extractIncludeJmhProto
> Task :engine:extractJmhProto
> Task :engine:generateJmhProto NO-SOURCE
> Task :subsystems:TypeHandlerLibrary:classes UP-TO-DATE
> Task :subsystems:TypeHandlerLibrary:jar UP-TO-DATE

> Task :engine:compileJmhJava
Note: /home/jenkins/agent/workspace/Terasology_engine_PR-5284/engine/src/jmh/java/org/terasology/benchmark/chunks/arrays/TeraArrayBenchmark.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :engine:processJmhResources NO-SOURCE
> Task :engine:jmhClasses
> Task :engine:extractIncludeTestProto
> Task :engine:extractTestProto
> Task :engine:generateTestProto NO-SOURCE
> Task :engine:compileTestJava NO-SOURCE
> Task :engine:processTestResources NO-SOURCE
> Task :engine:testClasses UP-TO-DATE
> Task :engine:checkstyleTest NO-SOURCE
> Task :engine:checkstyleJmh
> Task :engine:checkstyleMain
> Task :engine:pmdJmh
> Task :engine:pmdTest NO-SOURCE
> Task :engine:pmdMain
> Task :engine:spotbugsJmh
> Task :engine:spotbugsMain

> Task :engine:spotbugsJmh
M B PA: Primitive field org.terasology.benchmark.reflectFactory.GetterSetterComponent.value is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility.  At GetterSetterComponent.java:[line 11]
The following classes needed for analysis were missing:
  org.terasology.gestalt.entitysystem.component.Component
  org.terasology.engine.world.chunks.blockdata.TeraArray
  org.terasology.engine.world.chunks.blockdata.TeraArray$SerializationHandler
  org.terasology.engine.entitySystem.entity.internal.PojoEntityManager
  org.terasology.engine.entitySystem.entity.EntityRef
  org.terasology.engine.logic.location.LocationComponent
  com.google.common.collect.Lists
  org.terasology.engine.utilities.random.FastRandom
  org.terasology.engine.rendering.logic.MeshComponent
  org.terasology.engine.world.block.BlockComponent
  org.terasology.engine.world.chunks.blockdata.TeraSparseArray8Bit
  org.terasology.engine.world.chunks.blockdata.TeraSparseArray4Bit
  org.terasology.engine.world.chunks.blockdata.TeraDenseArray16Bit
  org.terasology.engine.world.chunks.blockdata.TeraDenseArray8Bit
  org.terasology.engine.world.chunks.blockdata.TeraDenseArray4Bit
  org.terasology.engine.world.chunks.blockdata.TeraDenseArray4Bit$SerializationHandler
  org.terasology.engine.world.chunks.blockdata.TeraDenseArray8Bit$SerializationHandler
  org.terasology.engine.world.chunks.blockdata.TeraDenseArray16Bit$SerializationHandler
  org.terasology.engine.world.chunks.blockdata.TeraSparseArray4Bit$SerializationHandler
  org.terasology.engine.world.chunks.blockdata.TeraSparseArray8Bit$SerializationHandler
  org.joml.Vector3fc
SpotBugs ended with exit code 3

> Task :engine:spotbugsTest NO-SOURCE
> Task :engine-tests:copyResourcesToClasses NO-SOURCE
> Task :engine-tests:compileJava UP-TO-DATE
> Task :engine-tests:processResources UP-TO-DATE
> Task :engine-tests:classes UP-TO-DATE
> Task :engine-tests:checkstyleMain
> Task :engine-tests:compileTestJava UP-TO-DATE
> Task :engine-tests:processTestResources UP-TO-DATE
> Task :engine-tests:testClasses UP-TO-DATE
> Task :engine-tests:checkstyleTest
> Task :engine:jar

> Task :engine-tests:pmdMain
7 PMD rule violations were found. See the report at: file:///home/jenkins/agent/workspace/Terasology_engine_PR-5284/engine-tests/build/reports/pmd/main.html

> Task :engine-tests:pmdTest
37 PMD rule violations were found. See the report at: file:///home/jenkins/agent/workspace/Terasology_engine_PR-5284/engine-tests/build/reports/pmd/test.html

> Task :engine:pmdMain
123 PMD rule violations were found. See the report at: file:///home/jenkins/agent/workspace/Terasology_engine_PR-5284/engine/build/reports/pmd/main.html

> Task :modules:check UP-TO-DATE
> Task :subsystems:DiscordRPC:compileJava UP-TO-DATE
> Task :facades:PC:compileJava UP-TO-DATE
> Task :facades:PC:processResources UP-TO-DATE
> Task :facades:PC:classes UP-TO-DATE
> Task :engine-tests:spotbugsMain
> Task :engine-tests:spotbugsTest
> Task :facades:PC:checkstyleMain
> Task :facades:PC:compileTestJava UP-TO-DATE
> Task :facades:PC:processTestResources NO-SOURCE
> Task :facades:PC:testClasses UP-TO-DATE
> Task :facades:PC:checkstyleTest
> Task :subsystems:DiscordRPC:processResources NO-SOURCE
> Task :subsystems:DiscordRPC:classes UP-TO-DATE
> Task :subsystems:DiscordRPC:jar UP-TO-DATE

> Task :facades:PC:pmdMain
1 PMD rule violations were found. See the report at: file:///home/jenkins/agent/workspace/Terasology_engine_PR-5284/facades/PC/build/reports/pmd/main.html
Cannot contact kaniko-precached-jdk17-engine-pn20g: hudson.remoting.RequestAbortedException: java.nio.channels.ClosedChannelException
Could not connect to kaniko-precached-jdk17-engine-pn20g to send interrupt signal to process

Analytics / Discover Git reference build

Error in discoverGitReferenceBuild step, with arguments develop.

Unable to create live FilePath for kaniko-precached-jdk17-engine-pn20g; kaniko-precached-jdk17-engine-pn20g was marked offline: Pod failed because container terminated (Reason: ContainerError, Container: [builder])

Details

  • Declarative: Checkout SCM (30 sec)
    • Setup (7.8 sec)
    • Build (7 min 6 sec)
    • Unit Tests (1 min 52 sec)
    • Publish (1 sec)
    • Analytics (6 min 43 sec)
      Error: null
      Error: Unable to create live FilePath for kaniko-precached-jdk17-engine-pn20g; kaniko-precached-jdk17-engine-pn20g was marked offline: Pod failed because container terminated (Reason: ContainerError, Container: [builder])
    • Documentation (1.5 sec)
    • Integration Tests (without flaky tests) (1.1 sec)
    • Integration Tests (flaky tests only) (1.1 sec)