Started by user mcmonkey4eva Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/dDiscordBot/workspace The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/dDiscordBot/workspace/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/DenizenScript/dDiscordBot.git # timeout=10 Fetching upstream changes from https://github.com/DenizenScript/dDiscordBot.git > git --version # timeout=10 > git --version # 'git version 1.8.3.1' > git fetch --tags --progress https://github.com/DenizenScript/dDiscordBot.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 9b7b60e8e428a7e467918cdaa77a1ba7e19dee0a (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b7b60e8e428a7e467918cdaa77a1ba7e19dee0a # timeout=10 Commit message: "match upstream core changes (event getName, object getObjectType)" > git rev-list --no-walk 9b7b60e8e428a7e467918cdaa77a1ba7e19dee0a # timeout=10 > git tag -a -f -m Jenkins Build #237 jenkins-dDiscordBot-237 # timeout=10 false Parsing POMs Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT/maven-metadata.xml in dv8tion (https://m2.dv8tion.net/releases) Established TCP socket on 43975 [workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/JDK8/bin/java -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/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-3028.va_a_436db_35078.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 43975 <===[JENKINS REMOTING CAPACITY]===>channel started Aug 23, 2022 11:28:02 PM hudson.remoting.UserRequest perform WARNING: LinkageError while performing UserRequest:hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK@75c95e3d java.lang.UnsupportedClassVersionError: Failed to load hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:460) at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:292) at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:269) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:228) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:132) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373) at hudson.remoting.UserRequest.deserialize(UserRequest.java:289) at hudson.remoting.UserRequest.perform(UserRequest.java:189) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:376) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.UnsupportedClassVersionError: Failed to load jenkins.security.MasterToSlaveCallable at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:460) at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:292) at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:269) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:228) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.lang.ClassLoader.defineClass(ClassLoader.java:642) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:458) ... 22 more Caused by: java.lang.UnsupportedClassVersionError: jenkins/security/MasterToSlaveCallable 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:763) at java.lang.ClassLoader.defineClass(ClassLoader.java:642) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:458) ... 31 more ERROR: ================================================================================ ERROR: Invalid project setup: Failed to load hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK8' 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 /var/lib/jenkins/tools/hudson.model.JDK/JDK8. ERROR: ================================================================================ Established TCP socket on 39854 [workspace] $ /usr/lib/jvm/java-11-openjdk-11.0.15.0.9-2.el7_9.x86_64/bin/java -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/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-3028.va_a_436db_35078.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 39854 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/dDiscordBot/workspace/pom.xml clean package install -DBUILD_NUMBER=237 [INFO] Scanning for projects... [INFO] [INFO] -------------------< com.denizenscript:ddiscordbot >-------------------- [INFO] Building dDiscordBot 0.7 [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for com.denizenscript:denizen:jar:1.2.5-SNAPSHOT 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) @ ddiscordbot --- [INFO] Deleting /var/lib/jenkins/jobs/dDiscordBot/workspace/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ ddiscordbot --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 46 source files to /var/lib/jenkins/jobs/dDiscordBot/workspace/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/dDiscordBot/workspace/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ ddiscordbot --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ddiscordbot --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ ddiscordbot --- [INFO] Building jar: /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b237.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:5.0.0-alpha.12 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.36 in the shaded jar. [INFO] Including com.neovisionaries:nv-websocket-client:jar:2.14 in the shaded jar. [INFO] Including com.squareup.okhttp3:okhttp:jar:4.9.3 in the shaded jar. [INFO] Including com.squareup.okio:okio:jar:2.8.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10 in the shaded jar. [INFO] Including club.minnced:opus-java:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-api:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-natives:jar:1.1.1 in the shaded jar. [INFO] Including org.apache.commons:commons-collections4:jar:4.4 in the shaded jar. [INFO] Including net.sf.trove4j:trove4j:jar:3.0.3 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.13.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.13.2.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.13.2 in the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:3.0.2 from the shaded jar. [INFO] Excluding org.jetbrains:annotations:jar:23.0.0 from the shaded jar. [INFO] Excluding net.java.dev.jna:jna:jar:4.4.0 from the shaded jar. [INFO] Minimizing jar com.denizenscript:ddiscordbot:jar:0.7 [WARNING] /var/lib/jenkins/jobs/dDiscordBot/workspace/target/classes (Is a directory) [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] JDA-5.0.0-alpha.12.jar, commons-collections4-4.4.jar, dDiscordBot-0.7-b237.jar, jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar, kotlin-stdlib-common-1.4.0.jar, nv-websocket-client-2.14.jar, okhttp-4.9.3.jar, okio-2.8.0.jar, opus-java-1.1.1.jar, opus-java-api-1.1.1.jar, opus-java-natives-1.1.1.jar, slf4j-api-1.7.36.jar, trove4j-3.0.3.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar define 1 overlapping classes: [WARNING] - META-INF.versions.9.module-info [WARNING] jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/LICENSE [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE [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 http://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 5683 -> 3517 (61%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b237.jar with /var/lib/jenkins/jobs/dDiscordBot/workspace/target/ddiscordbot-0.7-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ ddiscordbot --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/dDiscordBot/workspace/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ ddiscordbot --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ddiscordbot --- [INFO] No tests to run. [INFO] Skipping execution of surefire because it has already been run for this configuration [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ ddiscordbot --- [INFO] Building jar: /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b237.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:5.0.0-alpha.12 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.36 in the shaded jar. [INFO] Including com.neovisionaries:nv-websocket-client:jar:2.14 in the shaded jar. [INFO] Including com.squareup.okhttp3:okhttp:jar:4.9.3 in the shaded jar. [INFO] Including com.squareup.okio:okio:jar:2.8.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10 in the shaded jar. [INFO] Including club.minnced:opus-java:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-api:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-natives:jar:1.1.1 in the shaded jar. [INFO] Including org.apache.commons:commons-collections4:jar:4.4 in the shaded jar. [INFO] Including net.sf.trove4j:trove4j:jar:3.0.3 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.13.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.13.2.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.13.2 in the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:3.0.2 from the shaded jar. [INFO] Excluding org.jetbrains:annotations:jar:23.0.0 from the shaded jar. [INFO] Excluding net.java.dev.jna:jna:jar:4.4.0 from the shaded jar. [INFO] Minimizing jar com.denizenscript:ddiscordbot:jar:0.7 [WARNING] /var/lib/jenkins/jobs/dDiscordBot/workspace/target/classes (Is a directory) [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] JDA-5.0.0-alpha.12.jar, commons-collections4-4.4.jar, dDiscordBot-0.7-b237.jar, jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar, kotlin-stdlib-common-1.4.0.jar, nv-websocket-client-2.14.jar, okhttp-4.9.3.jar, okio-2.8.0.jar, opus-java-1.1.1.jar, opus-java-api-1.1.1.jar, opus-java-natives-1.1.1.jar, slf4j-api-1.7.36.jar, trove4j-3.0.3.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar define 1 overlapping classes: [WARNING] - META-INF.versions.9.module-info [WARNING] jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/LICENSE [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE [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 http://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 5683 -> 3517 (61%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b237.jar with /var/lib/jenkins/jobs/dDiscordBot/workspace/target/ddiscordbot-0.7-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ ddiscordbot --- [INFO] Installing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b237.jar to /var/lib/jenkins/.m2/repository/com/denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.jar [INFO] Installing /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml to /var/lib/jenkins/.m2/repository/com/denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.pom 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 SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25.873 s [INFO] Finished at: 2022-08-23T23:28:33Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml to com.denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.pom [JENKINS] Archiving /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b237.jar to com.denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.jar channel stopped Archiving artifacts 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: SUCCESS