Skip to content
Failed

Console Output

Started by user mcmonkey4eva
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/CitizensAPI/workspace
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository git://github.com/CitizensDev/CitizensAPI.git
 > git init /var/lib/jenkins/jobs/CitizensAPI/workspace # timeout=10
Fetching upstream changes from git://github.com/CitizensDev/CitizensAPI.git
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
 > git fetch --tags --progress git://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git://github.com/CitizensDev/CitizensAPI.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Seen branch in repository origin/compat
Seen branch in repository origin/master
Seen branch in repository origin/simplify
Seen branch in repository origin/speech
Seen 4 remote branches
 > git show-ref --tags -d # timeout=10
Checking out Revision d98050c3dd52cf77c4a49ea1e363b580084e2f91 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d98050c3dd52cf77c4a49ea1e363b580084e2f91 # timeout=10
Commit message: "Add worldguard region support to wandergoal"
 > git rev-list --no-walk d98050c3dd52cf77c4a49ea1e363b580084e2f91 # timeout=10
 > git tag -a -f -m Jenkins Build #727 jenkins-CitizensAPI-727 # timeout=10
false
xasfewrhet
Parsing POMs
Established TCP socket on 45525
[workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/JDK8/bin/java -Djava.awt.headless=true -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3 /var/cache/jenkins/war/WEB-INF/lib/remoting-4.6.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 45525
<===[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.27-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.slf4j:slf4j-api:jar:1.7.26 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ citizensapi ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ citizensapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ citizensapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 247 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/classes
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[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] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ citizensapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ citizensapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/test-classes
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ citizensapi ---
[INFO] Surefire report directory: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.citizensnpcs.api.persistence.PersistenceLoaderTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.337 sec
Running net.citizensnpcs.api.ai.SimpleGoalControllerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running net.citizensnpcs.api.ai.BehaviorTreeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Results :

Tests run: 18, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ citizensapi ---
[INFO] Building jar: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-source-plugin:3.2.0:jar-no-fork (bundle-sources) @ citizensapi ---
[INFO] Building jar: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ citizensapi ---
[INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT.pom
[INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT-sources.jar
[INFO] 
[INFO] >>> maven-javadoc-plugin:3.1.1:javadoc (default-cli) > generate-sources @ citizensapi >>>
[WARNING] Failed to getClass for org.apache.maven.plugins.javadoc.JavadocReport
[INFO] 
[INFO] <<< maven-javadoc-plugin:3.1.1:javadoc (default-cli) < generate-sources @ citizensapi <<<
[INFO] 
[INFO] 
[INFO] --- maven-javadoc-plugin:3.1.1:javadoc (default-cli) @ citizensapi ---
[INFO] 
Loading source files for package net.citizensnpcs.api...
Loading source files for package net.citizensnpcs.api.ai...
Loading source files for package net.citizensnpcs.api.ai.event...
Loading source files for package net.citizensnpcs.api.ai.flocking...
Loading source files for package net.citizensnpcs.api.ai.goals...
Loading source files for package net.citizensnpcs.api.ai.speech...
Loading source files for package net.citizensnpcs.api.ai.speech.event...
Loading source files for package net.citizensnpcs.api.ai.tree...
Loading source files for package net.citizensnpcs.api.astar...
Loading source files for package net.citizensnpcs.api.astar.pathfinder...
Loading source files for package net.citizensnpcs.api.command...
Loading source files for package net.citizensnpcs.api.command.exception...
Loading source files for package net.citizensnpcs.api.event...
Loading source files for package net.citizensnpcs.api.exception...
Loading source files for package net.citizensnpcs.api.gui...
Loading source files for package net.citizensnpcs.api.hpastar...
Loading source files for package net.citizensnpcs.api.jnbt...
Loading source files for package net.citizensnpcs.api.npc...
Loading source files for package net.citizensnpcs.api.persistence...
Loading source files for package net.citizensnpcs.api.scripting...
Loading source files for package net.citizensnpcs.api.trait...
Loading source files for package net.citizensnpcs.api.trait.trait...
Loading source files for package net.citizensnpcs.api.util...
1 error
[JENKINS] Archiving  javadoc
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  25.786 s
[INFO] Finished at: 2020-12-21T13:14:39Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.1:javadoc (default-cli) on project citizensapi: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 1 - error: error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[ERROR] 
[ERROR] Command line was: /var/lib/jenkins/tools/hudson.model.JDK/JDK8/jre/../bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/var/lib/jenkins/jobs/CitizensAPI/workspace/target/site/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to net.citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT.jar to net.citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT.jar
[JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT-sources.jar to net.citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT-sources.jar
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
channel stopped
Archiving artifacts
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@5ad3e4a4[nodeId=MDEwOlJlcG9zaXRvcnkzMzQzMTkw,description=API for Citizens,homepage=https://citizensnpcs.co,name=CitizensAPI,fork=false,archived=false,size=11348,milestones={},language=Java,commits={},source=<null>,parent=<null>,isTemplate=<null>,url=https://api.github.com/repos/CitizensDev/CitizensAPI,id=3343190,nodeId=<null>,createdAt=2012-02-03T09:29:38Z,updatedAt=2020-12-21T09:28:16Z]] (sha:d98050c) with context:ci/jenkins/build-status
Setting commit status on GitHub for https://github.com/CitizensDev/CitizensAPI/commit/d98050c3dd52cf77c4a49ea1e363b580084e2f91
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Sending notification to Discord.
Finished: FAILURE