Started by GitHub push by fullwall Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/CitizensAPI/workspace No JDK named ‘OpenJDK 17’ found The recommended git tool is: NONE No credentials specified Wiping out workspace first. No JDK named ‘OpenJDK 17’ found Cloning the remote Git repository Cloning repository https://github.com/CitizensDev/CitizensAPI.git > git init /var/lib/jenkins/jobs/CitizensAPI/workspace # timeout=10 Fetching upstream changes from https://github.com/CitizensDev/CitizensAPI.git > git --version # timeout=10 > git --version # 'git version 2.39.3' > git fetch --tags --force --progress -- https://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://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 No JDK named ‘OpenJDK 17’ found Checking out Revision f14c48c67ead038f648d6620a79794c92950b0b1 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f14c48c67ead038f648d6620a79794c92950b0b1 # timeout=10 Commit message: "Add new persisters, command parsing, and locationlookup APIs. Fix a bug in EntityTargetNPCEvent not forwarding cancellation calls" > git rev-list --no-walk 024faeaa8f416153f56302d87e020fd4e4563524 # timeout=10 > git tag -a -f -m Jenkins Build #1131 jenkins-CitizensAPI-1131 # timeout=10 No JDK named ‘OpenJDK 17’ found false No JDK named ‘OpenJDK 17’ found Parsing POMs Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT/maven-metadata.xml in sonatype-oss-snapshots1 (https://s01.oss.sonatype.org/content/repositories/snapshots/) Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Failed to transfer Could not find metadata com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT/maven-metadata.xml in sonatype-oss-snapshots1 (https://s01.oss.sonatype.org/content/repositories/snapshots/) Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-bukkit/7.2.0-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata com.sk89q.worldedit:worldedit-core:7.2.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata com.sk89q.worldedit:worldedit-core:7.2.0-SNAPSHOT/maven-metadata.xml in sonatype-oss-snapshots1 (https://s01.oss.sonatype.org/content/repositories/snapshots/) Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-core/7.2.0-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata com.sk89q.worldedit.worldedit-libs:core:7.2.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata com.sk89q.worldedit.worldedit-libs:core:7.2.0-SNAPSHOT/maven-metadata.xml in sonatype-oss-snapshots1 (https://s01.oss.sonatype.org/content/repositories/snapshots/) Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-libs/core/7.2.0-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.kyori:adventure-platform-bukkit:4.3.3-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.kyori:adventure-platform-bukkit:4.3.3-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Downloaded artifact https://s01.oss.sonatype.org/content/repositories/snapshots/net/kyori/adventure-platform-bukkit/4.3.3-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.kyori:adventure-platform-api:4.3.3-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.kyori:adventure-platform-api:4.3.3-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Downloaded artifact https://s01.oss.sonatype.org/content/repositories/snapshots/net/kyori/adventure-platform-api/4.3.3-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.kyori:adventure-text-serializer-bungeecord:4.3.3-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.kyori:adventure-text-serializer-bungeecord:4.3.3-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Downloaded artifact https://s01.oss.sonatype.org/content/repositories/snapshots/net/kyori/adventure-text-serializer-bungeecord/4.3.3-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.kyori:adventure-platform-facet:4.3.3-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.kyori:adventure-platform-facet:4.3.3-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Downloaded artifact https://s01.oss.sonatype.org/content/repositories/snapshots/net/kyori/adventure-platform-facet/4.3.3-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.kyori:adventure-platform-viaversion:4.3.3-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.kyori:adventure-platform-viaversion:4.3.3-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Downloaded artifact https://s01.oss.sonatype.org/content/repositories/snapshots/net/kyori/adventure-platform-viaversion/4.3.3-SNAPSHOT/maven-metadata.xml Established TCP socket on 46421 [workspace] $ java -Djava.awt.headless=true -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0 /var/cache/jenkins/war/WEB-INF/lib/remoting-3206.vb_15dcf73f6a_9.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 46421 <===[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.34-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 244 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:[42,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:[42,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:[42,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:[64,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:[234,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:[243,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:[243,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:[424,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 [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.673 s - in net.citizensnpcs.api.persistence.PersistenceLoaderTest [INFO] Running net.citizensnpcs.api.ai.SimpleGoalControllerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 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.011 s - in net.citizensnpcs.api.ai.BehaviorTreeTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0 [INFO] [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.34-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.34-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.34-SNAPSHOT/citizensapi-2.0.34-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.34-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-SNAPSHOT.jar [INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.34-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-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: 40.380 s [INFO] Finished at: 2024-06-06T04:56:47Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to net.citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.34-SNAPSHOT.jar to net.citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-SNAPSHOT.jar [JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.34-SNAPSHOT-sources.jar to net.citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-SNAPSHOT-sources.jar Copying /var/lib/jenkins/jobs/CitizensAPI/workspace@tmp/maven-reporters/project to /var/lib/jenkins/jobs/CitizensAPI/modules/net.citizensnpcs$citizensapi channel stopped No JDK named ‘OpenJDK 17’ found Archiving artifacts Maven RedeployPublisher use remote maven settings from : /var/lib/jenkins/.m2/settings.xml [INFO] Deployment in https://maven.citizensnpcs.co/repo (id=citizens-repo,uniqueVersion=true) Deploying the main artifact citizensapi-2.0.34-SNAPSHOT.jar Downloading from citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/maven-metadata.xml Downloaded from citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/maven-metadata.xml (995 B at 28 kB/s) Uploading to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-20240606.045649-9.jar Uploaded to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-20240606.045649-9.jar (455 kB at 4.5 MB/s) Uploading to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-20240606.045649-9.pom Uploaded to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-20240606.045649-9.pom (5.8 kB at 130 kB/s) Downloading from citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/maven-metadata.xml Downloaded from citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/maven-metadata.xml (862 B at 30 kB/s) Uploading to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/maven-metadata.xml Uploaded to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/maven-metadata.xml (995 B at 12 kB/s) Uploading to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/maven-metadata.xml Uploaded to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/maven-metadata.xml (862 B at 15 kB/s) Deploying the main artifact citizensapi-2.0.34-SNAPSHOT-sources.jar Uploading to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-20240606.045649-9-sources.jar Uploaded to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/citizensapi-2.0.34-20240606.045649-9-sources.jar (226 kB at 3.1 MB/s) Uploading to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/maven-metadata.xml Uploaded to citizens-repo: https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.34-SNAPSHOT/maven-metadata.xml (995 B at 20 kB/s) [INFO] Deployment done in 0.61 sec No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found No JDK named ‘OpenJDK 17’ found [Set GitHub commit status (universal)] SUCCESS on repos [GHRepository@ca1760d[archived=false,commits={},compareUsePaginatedCommits=false,description=API for Citizens,disabled=false,fork=false,homepage=https://citizensnpcs.co,isTemplate=false,language=Java,milestones={},name=CitizensAPI,nodeId=MDEwOlJlcG9zaXRvcnkzMzQzMTkw,parent=,size=11816,source=,visibility=public,createdAt=2012-02-03T09:29:38Z,id=3343190,nodeId=,updatedAt=2024-06-06T04:55:51Z,url=https://api.github.com/repos/CitizensDev/CitizensAPI]] (sha:f14c48c) with context:ci/jenkins/build-status Setting commit status on GitHub for https://github.com/CitizensDev/CitizensAPI/commit/f14c48c67ead038f648d6620a79794c92950b0b1 No JDK named ‘OpenJDK 17’ found Sending notification to Discord. Triggering a new build of Citizens2 Triggering a new build of Citizens2 Finished: SUCCESS