Started by user PseudoKnight Running as SYSTEM Building in workspace /var/jenkins_home/workspace/CHGCC The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/CHGCC/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/LadyCailin/CHGCC # timeout=10 Fetching upstream changes from https://github.com/LadyCailin/CHGCC > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress -- https://github.com/LadyCailin/CHGCC +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 6595d21f500c22f9a48479bfb2d6eaaa80768d3e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6595d21f500c22f9a48479bfb2d6eaaa80768d3e # timeout=10 Commit message: "Merge pull request #1 from PseudoKnight/master" > git rev-list --no-walk 6595d21f500c22f9a48479bfb2d6eaaa80768d3e # timeout=10 Parsing POMs Established TCP socket on 34339 [CHGCC] $ /usr/lib/jvm/temurin-8-jdk-amd64/bin/java -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/boot/plexus-classworlds-2.7.0.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/conf/logging jenkins.maven3.agent.Maven35Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6 /var/jenkins_home/war/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 34339 Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at org.codehaus.plexus.classworlds.realm.ClassRealm.findClassInternal(ClassRealm.java:313) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:432) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:136) at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:66) ERROR: ================================================================================ ERROR: Invalid project setup: Connection reset ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK-8' not supported to run Maven projects. ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller. ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK. ERROR: Retrying with agent Java and setting compile/test properties to point to /usr/lib/jvm/temurin-8-jdk-amd64. ERROR: ================================================================================ Established TCP socket on 39121 [CHGCC] $ /opt/java/openjdk/bin/java -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/boot/plexus-classworlds-2.7.0.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/conf/logging jenkins.maven3.agent.Maven35Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6 /var/jenkins_home/war/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 39121 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/jenkins_home/workspace/CHGCC/pom.xml clean package [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.chgcc:chgcc:jar:1.0.3-SNAPSHOT [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter. @ line 210, column 20 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] --------------------------< com.chgcc:chgcc >--------------------------- [INFO] Building CHGCC 1.0.3-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] Could not transfer metadata org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [sk89q-repo (http://maven.sk89q.com/repo, default, releases+snapshots), maven-central (http://repo1.maven.org/maven2/, default, releases+snapshots)] [WARNING] org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT/maven-metadata.xml failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [sk89q-repo (http://maven.sk89q.com/repo, default, releases+snapshots), maven-central (http://repo1.maven.org/maven2/, default, releases+snapshots)] [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ chgcc --- [INFO] Deleting /var/jenkins_home/workspace/CHGCC/target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ chgcc --- [INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/CHGCC/src/main/resources [INFO] [INFO] --- compiler:2.3.2:compile (default-compile) @ chgcc --- [INFO] Compiling 2 source files to /var/jenkins_home/workspace/CHGCC/target/classes [INFO] [INFO] --- processor:2.2.4:process (process) @ chgcc --- [WARNING] diagnostic: warning: Supported source version 'RELEASE_8' from annotation processor 'com.laytonsmith.core.extensions.ExtensionAnnotationProcessor' less than -source '17' [INFO] [INFO] >>> exec:1.2.1:java (cache-annotations) > validate @ chgcc >>> [WARNING] Failed to getClass for org.codehaus.mojo.exec.ExecJavaMojo [INFO] [INFO] <<< exec:1.2.1:java (cache-annotations) < validate @ chgcc <<< [INFO] [INFO] [INFO] --- exec:1.2.1:java (cache-annotations) @ chgcc --- -- Caching annotations -- Scanning for classes in /var/jenkins_home/workspace/CHGCC/target/classes Outputting file to directory /var/jenkins_home/workspace/CHGCC/target/classes Done writing jarInfo.ser, which took 427 ms. -- Checking for custom compile errors -- -- Finished with custom compiler checks -- [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ chgcc --- [INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/CHGCC/src/test/resources [INFO] [INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ chgcc --- [INFO] No sources to compile [INFO] [INFO] --- surefire:2.9:test (default-test) @ chgcc --- [INFO] No tests to run. [INFO] Surefire report directory: /var/jenkins_home/workspace/CHGCC/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- jar:2.3.1:jar (default-jar) @ chgcc --- [INFO] Building jar: /var/jenkins_home/workspace/CHGCC/target/chgcc-1.0.3-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27.213 s [INFO] Finished at: 2024-02-29T03:09:53-07:00 [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/jenkins_home/workspace/CHGCC/pom.xml to com.chgcc/chgcc/1.0.3-SNAPSHOT/chgcc-1.0.3-SNAPSHOT.pom [JENKINS] Archiving /var/jenkins_home/workspace/CHGCC/target/chgcc-1.0.3-SNAPSHOT.jar to com.chgcc/chgcc/1.0.3-SNAPSHOT/chgcc-1.0.3-SNAPSHOT.jar channel stopped Archiving artifacts Finished: SUCCESS