Skip to content
Unstable

Console Output

Established TCP socket on 34275
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml clean install javadoc:javadoc
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< net.citizensnpcs:citizensapi >--------------------
[INFO] Building CitizensAPI 2.0.35-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ citizensapi ---
[INFO] 
[INFO] --- resources:3.3.0:resources (default-resources) @ citizensapi ---
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/resources
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ citizensapi ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 245 source files with javac [debug release 8] to target/classes
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[43,25] org.bukkit.potion.PotionData in org.bukkit.potion has been deprecated and marked for removal
[WARNING] Supported source version 'RELEASE_7' from annotation processor 'net.java.truecommons.annotations.processing.ServiceImplementationProcessor' less than -source '8'
[WARNING] Supported source version 'RELEASE_7' from annotation processor 'net.java.truecommons.annotations.processing.ServiceSpecificationProcessor' less than -source '8'
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[43,25] org.bukkit.potion.PotionData in org.bukkit.potion has been deprecated and marked for removal
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[43,25] org.bukkit.potion.PotionData in org.bukkit.potion has been deprecated and marked for removal
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[65,36] getByIdentifier(java.lang.String) in org.bukkit.block.banner.PatternType has been deprecated and marked for removal
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[235,40] getByIdentifier(java.lang.String) in org.bukkit.block.banner.PatternType has been deprecated and marked for removal
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[244,17] org.bukkit.potion.PotionData in org.bukkit.potion has been deprecated and marked for removal
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[244,39] org.bukkit.potion.PotionData in org.bukkit.potion has been deprecated and marked for removal
[WARNING] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[425,80] org.bukkit.potion.PotionData in org.bukkit.potion has been deprecated and marked for removal
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java: Some input files use or override a deprecated API.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java: Recompile with -Xlint:deprecation for details.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/command/Arg.java: Some input files use unchecked or unsafe operations.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/command/Arg.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- resources:3.3.0:testResources (default-testResources) @ citizensapi ---
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/test/resources
[INFO] 
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ citizensapi ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 3 source files with javac [debug release 8] to target/test-classes
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
[WARNING] Supported source version 'RELEASE_7' from annotation processor 'net.java.truecommons.annotations.processing.ServiceImplementationProcessor' less than -source '8'
[WARNING] Supported source version 'RELEASE_7' from annotation processor 'net.java.truecommons.annotations.processing.ServiceSpecificationProcessor' less than -source '8'
[INFO] 
[INFO] --- surefire:3.0.0-M8:test (default-test) @ citizensapi ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running net.citizensnpcs.api.persistence.PersistenceLoaderTest
{basr=test}
[ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.797 s <<< FAILURE! - in net.citizensnpcs.api.persistence.PersistenceLoaderTest
[ERROR] net.citizensnpcs.api.persistence.PersistenceLoaderTest.getRelativeEmpty  Time elapsed: 0.027 s  <<< FAILURE!
java.lang.AssertionError: 

Expected: is "test"
     got: "PLAYER"

	at org.junit.Assert.assertThat(Assert.java:780)
	at org.junit.Assert.assertThat(Assert.java:738)
	at net.citizensnpcs.api.persistence.PersistenceLoaderTest.getRelativeEmpty(PersistenceLoaderTest.java:53)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

[INFO] Running net.citizensnpcs.api.ai.SimpleGoalControllerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in net.citizensnpcs.api.ai.SimpleGoalControllerTest
[INFO] Running net.citizensnpcs.api.ai.BehaviorTreeTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in net.citizensnpcs.api.ai.BehaviorTreeTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   PersistenceLoaderTest.getRelativeEmpty:53 
Expected: is "test"
     got: "PLAYER"

[INFO] 
[ERROR] Tests run: 28, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[ERROR] There are test failures.

Please refer to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[JENKINS] Recording test results
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ citizensapi ---
[INFO] Building jar: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.35-SNAPSHOT.jar
[INFO] 
[INFO] --- source:3.2.1:jar-no-fork (bundle-sources) @ citizensapi ---
[INFO] Building jar: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.35-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- install:3.1.0:install (default-install) @ citizensapi ---
[INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.35-SNAPSHOT/citizensapi-2.0.35-SNAPSHOT.pom
[INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.35-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.35-SNAPSHOT/citizensapi-2.0.35-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.35-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.35-SNAPSHOT/citizensapi-2.0.35-SNAPSHOT-sources.jar
[INFO] 
[INFO] >>> javadoc:3.5.0:javadoc (default-cli) > generate-sources @ citizensapi >>>
[WARNING] Failed to getClass for org.apache.maven.plugins.javadoc.JavadocReport
[INFO] 
[INFO] <<< javadoc:3.5.0:javadoc (default-cli) < generate-sources @ citizensapi <<<
[INFO] 
[INFO] 
[INFO] --- javadoc:3.5.0:javadoc (default-cli) @ citizensapi ---
[INFO] No previous run data found, generating javadoc.
[JENKINS] Archiving  javadoc
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  51.315 s
[INFO] Finished at: 2024-07-08T19:14:40Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data