Skip to content
Unstable

Console Output

Established TCP socket on 46531
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /home/tomcat/.jenkins/workspace/ChestShop/pom.xml clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------< com.acrobot.chestshop:chestshop >-------------------
[INFO] Building chestshop 3.9.0-brokko-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from spigotmc-repo: https://hub.spigotmc.org/nexus/content/groups/public/de/iani/cubeside/LWC/5.0.16-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from authme-repo: https://repo.codemc.org/repository/maven-public/de/iani/cubeside/LWC/5.0.16-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from sk89q-repo: https://maven.enginehub.org/repo/de/iani/cubeside/LWC/5.0.16-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from jitpack.io: https://jitpack.io/de/iani/cubeside/LWC/5.0.16-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from brokkonaut-repo: https://www.iani.de/nexus/content/groups/public/de/iani/cubeside/LWC/5.0.16-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from brokkonaut-repo: https://www.iani.de/nexus/content/groups/public/de/iani/cubeside/LWC/5.0.16-SNAPSHOT/maven-metadata.xml (778 B at 20 kB/s)
[INFO] Downloading from spigotmc-repo: https://hub.spigotmc.org/nexus/content/groups/public/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from authme-repo: https://repo.codemc.org/repository/maven-public/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from jitpack.io: https://jitpack.io/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from sk89q-repo: https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from brokkonaut-repo: https://www.iani.de/nexus/content/groups/public/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from sk89q-repo: https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-core/7.1.0-SNAPSHOT/maven-metadata.xml (1.4 kB at 4.3 kB/s)
[INFO] Downloading from sk89q-repo: https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from jitpack.io: https://jitpack.io/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from spigotmc-repo: https://hub.spigotmc.org/nexus/content/groups/public/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from authme-repo: https://repo.codemc.org/repository/maven-public/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from brokkonaut-repo: https://www.iani.de/nexus/content/groups/public/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from sk89q-repo: https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-libs/core/7.1.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 2.0 kB/s)
[INFO] Downloading from spigotmc-repo: https://hub.spigotmc.org/nexus/content/groups/public/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from sk89q-repo: https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from jitpack.io: https://jitpack.io/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from authme-repo: https://repo.codemc.org/repository/maven-public/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from brokkonaut-repo: https://www.iani.de/nexus/content/groups/public/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from sk89q-repo: https://maven.enginehub.org/repo/com/sk89q/worldguard/worldguard-bukkit/7.1.0-SNAPSHOT/maven-metadata.xml (1.4 kB at 3.5 kB/s)
[INFO] Downloading from jitpack.io: https://jitpack.io/org/spigotmc/spigot-api/1.20-R0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from spigotmc-repo: https://hub.spigotmc.org/nexus/content/groups/public/org/spigotmc/spigot-api/1.20-R0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from sk89q-repo: https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.20-R0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from authme-repo: https://repo.codemc.org/repository/maven-public/org/spigotmc/spigot-api/1.20-R0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from brokkonaut-repo: https://www.iani.de/nexus/content/groups/public/org/spigotmc/spigot-api/1.20-R0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from spigotmc-repo: https://hub.spigotmc.org/nexus/content/groups/public/org/spigotmc/spigot-api/1.20-R0.1-SNAPSHOT/maven-metadata.xml (1.4 kB at 6.1 kB/s)
[INFO] Downloaded from sk89q-repo: https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.20-R0.1-SNAPSHOT/maven-metadata.xml (1.4 kB at 5.4 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ chestshop ---
[INFO] Deleting /home/tomcat/.jenkins/workspace/ChestShop/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ chestshop ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ chestshop ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 129 source files to /home/tomcat/.jenkins/workspace/ChestShop/target/classes
[INFO] /home/tomcat/.jenkins/workspace/ChestShop/src/main/java/com/Acrobot/ChestShop/Signs/ChestShopSign.java: Some input files use or override a deprecated API.
[INFO] /home/tomcat/.jenkins/workspace/ChestShop/src/main/java/com/Acrobot/ChestShop/Signs/ChestShopSign.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/tomcat/.jenkins/workspace/ChestShop/src/main/java/com/Acrobot/ChestShop/Listeners/ItemInfoListener.java: /home/tomcat/.jenkins/workspace/ChestShop/src/main/java/com/Acrobot/ChestShop/Listeners/ItemInfoListener.java uses unchecked or unsafe operations.
[INFO] /home/tomcat/.jenkins/workspace/ChestShop/src/main/java/com/Acrobot/ChestShop/Listeners/ItemInfoListener.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ chestshop ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/tomcat/.jenkins/workspace/ChestShop/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ chestshop ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/tomcat/.jenkins/workspace/ChestShop/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ chestshop ---
[INFO] Surefire report directory: /home/tomcat/.jenkins/workspace/ChestShop/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Running com.Acrobot.ChestShop.Tests.PriceCheckerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running com.Acrobot.ChestShop.Tests.MaterialTest
Material WAXED_WEATHERED_CHISELED_COPPER becomes WAXED_WEATHERED_COPPER
Material WEATHERED_COPPER_DOOR becomes WEATHERED_COPPER
Material WAXED_EXPOSED_COPPER_DOOR becomes WAXED_EXPOSED_COPPER
Material WAXED_WEATHERED_COPPER_DOOR becomes WAXED_WEATHERED_COPPER
Material WAXED_OXIDIZED_COPPER_DOOR becomes WAXED_OXIDIZED_COPPER
Material WEATHERED_COPPER_TRAPDOOR becomes WEATHERED_COPPER
Material WAXED_EXPOSED_COPPER_TRAPDOOR becomes WAXED_EXPOSED_COPPER
Material WAXED_WEATHERED_COPPER_TRAPDOOR becomes WAXED_WEATHERED_COPPER
Material WAXED_OXIDIZED_COPPER_TRAPDOOR becomes WAXED_OXIDIZED_COPPER
Material WEATHERED_COPPER_GRATE becomes WEATHERED_COPPER
Material WAXED_EXPOSED_COPPER_GRATE becomes WAXED_EXPOSED_COPPER
Material WAXED_WEATHERED_COPPER_GRATE becomes WAXED_WEATHERED_COPPER
Material WAXED_OXIDIZED_COPPER_GRATE becomes WAXED_OXIDIZED_COPPER
Material WEATHERED_COPPER_BULB becomes WEATHERED_COPPER
Material WAXED_EXPOSED_COPPER_BULB becomes WAXED_EXPOSED_COPPER
Material WAXED_WEATHERED_COPPER_BULB becomes WAXED_WEATHERED_COPPER
Material WAXED_OXIDIZED_COPPER_BULB becomes WAXED_OXIDIZED_COPPER
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.28 sec <<< FAILURE!
testNameCollisions(com.Acrobot.ChestShop.Tests.MaterialTest)  Time elapsed: 0.28 sec  <<< FAILURE!
java.lang.AssertionError
	at com.Acrobot.ChestShop.Tests.MaterialTest.testNameCollisions(MaterialTest.java:42)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)


Results :

Failed tests:   testNameCollisions(com.Acrobot.ChestShop.Tests.MaterialTest)

Tests run: 8, Failures: 1, Errors: 0, Skipped: 0

[ERROR] There are test failures.

Please refer to /home/tomcat/.jenkins/workspace/ChestShop/target/surefire-reports for the individual test results.
[JENKINS] Zeichne Testergebnisse auf
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ chestshop ---
[INFO] Building jar: /home/tomcat/.jenkins/workspace/ChestShop/target/ChestShop.jar
[INFO] 
[INFO] --- maven-shade-plugin:3.3.0:shade (default) @ chestshop ---
[INFO] Including com.j256.ormlite:ormlite-jdbc:jar:5.1 in the shaded jar.
[INFO] Including com.j256.ormlite:ormlite-core:jar:5.1 in the shaded jar.
[INFO] Including javax.persistence:persistence-api:jar:1.0 in the shaded jar.
[INFO] Including com.googlecode.json-simple:json-simple:jar:1.1.1 in the shaded jar.
[INFO] Excluding org.apache.logging.log4j:log4j-core:jar:2.11.0 from the shaded jar.
[INFO] Excluding org.apache.logging.log4j:log4j-api:jar:2.11.0 from the shaded jar.
[INFO] Dependency-reduced POM written at: /home/tomcat/.jenkins/workspace/ChestShop/dependency-reduced-pom.xml
[WARNING] ChestShop.jar, json-simple-1.1.1.jar, ormlite-core-5.1.jar, ormlite-jdbc-5.1.jar, persistence-api-1.0.jar define 1 overlapping resource: 
[WARNING]   - META-INF/MANIFEST.MF
[WARNING] maven-shade-plugin has detected that some class files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the class is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /home/tomcat/.jenkins/workspace/ChestShop/target/ChestShop.jar with /home/tomcat/.jenkins/workspace/ChestShop/target/chestshop-3.9.0-brokko-SNAPSHOT-shaded.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ chestshop ---
[INFO] Installing /home/tomcat/.jenkins/workspace/ChestShop/target/ChestShop.jar to /home/tomcat/.m2/repository/com/acrobot/chestshop/chestshop/3.9.0-brokko-SNAPSHOT/chestshop-3.9.0-brokko-SNAPSHOT.jar
[INFO] Installing /home/tomcat/.jenkins/workspace/ChestShop/dependency-reduced-pom.xml to /home/tomcat/.m2/repository/com/acrobot/chestshop/chestshop/3.9.0-brokko-SNAPSHOT/chestshop-3.9.0-brokko-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.543 s
[INFO] Finished at: 2024-01-04T23:46:45+01:00
[INFO] ------------------------------------------------------------------------
Warte bis Jenkins die Datensammlung abgeschlossen hat