Skip to content

Console Output

10:05:11 Started by user unknown or anonymous
10:05:11 Running as SYSTEM
10:05:11 Building in workspace /data/jenkins/workspace/test-v5qy-bcxinurilfileutil
10:05:11 The recommended git tool is: NONE
10:05:11 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
10:05:11  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/.git # timeout=10
10:05:11 Fetching changes from the remote Git repository
10:05:11  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bcxinurilfileutil.git # timeout=10
10:05:11 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bcxinurilfileutil.git
10:05:11  > /usr/local/git/bin/git --version # timeout=10
10:05:11  > git --version # 'git version 2.43.0'
10:05:11 using GIT_ASKPASS to set credentials gitlab凭据
10:05:11  > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/bcxinurilfileutil.git +refs/heads/*:refs/remotes/origin/* # timeout=10
10:05:12  > /usr/local/git/bin/git rev-parse refs/remotes/origin/autodownloadupload^{commit} # timeout=10
10:05:12 Checking out Revision 86a3e13b1c99b6c78233c70a441442ac7f3120c2 (refs/remotes/origin/autodownloadupload)
10:05:12  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
10:05:12  > /usr/local/git/bin/git checkout -f 86a3e13b1c99b6c78233c70a441442ac7f3120c2 # timeout=10
10:05:12 Commit message: "针对北京自动摆渡-部署政务网修改"
10:05:12  > /usr/local/git/bin/git rev-list --no-walk 8e6adf230b45446f66a55f2353ed751cc1d84dda # timeout=10
10:05:12 Parsing POMs
10:05:12 Established TCP socket on 42413
10:05:12 [autodownloadupload] $ /usr/local/jdk1.8/bin/java -cp /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/usr/local/maven/boot/plexus-classworlds-2.6.0.jar:/usr/local/maven/conf/logging jenkins.maven3.agent.Maven35Main /usr/local/maven /data/apache-tomcat-jenkins/webapps/jenkins/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 42413
10:05:12 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
10:05:12 	at java.lang.ClassLoader.defineClass1(Native Method)
10:05:12 	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
10:05:12 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
10:05:12 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
10:05:12 	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
10:05:12 	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
10:05:12 	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
10:05:12 	at java.security.AccessController.doPrivileged(Native Method)
10:05:12 	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
10:05:12 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425)
10:05:12 	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
10:05:12 	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
10:05:12 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
10:05:12 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
10:05:12 	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:136)
10:05:12 	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:66)
10:05:12 ERROR: ================================================================================
10:05:12 ERROR: Invalid project setup: Connection reset
10:05:12 ERROR: [JENKINS-18403][JENKINS-28294] JDK 'jdk1.8' not supported to run Maven projects.
10:05:12 ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller.
10:05:12 ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
10:05:12 ERROR: Retrying with agent Java and setting compile/test properties to point to /usr/local/jdk1.8.
10:05:12 ERROR: ================================================================================
10:05:12 Established TCP socket on 44135
10:05:12 [autodownloadupload] $ /usr/local/jdk-17.0.6/bin/java -cp /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/usr/local/maven/boot/plexus-classworlds-2.6.0.jar:/usr/local/maven/conf/logging jenkins.maven3.agent.Maven35Main /usr/local/maven /data/apache-tomcat-jenkins/webapps/jenkins/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 44135
10:05:12 NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
10:05:12 <===[JENKINS REMOTING CAPACITY]===>channel started
10:05:14 Executing Maven:  -B -f /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/pom.xml clean package -DskipTests -Pout-te
10:05:15 [INFO] Scanning for projects...
10:05:15 [INFO] 
10:05:15 [INFO] --------------------< com.bcxin:autodownloadupload >--------------------
10:05:15 [INFO] Building autodownloadupload 1.0.0
10:05:15 [INFO] --------------------------------[ jar ]---------------------------------
10:05:17 [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been relocated to com.mysql:mysql-connector-j:jar:8.0.31
10:05:17 [INFO] 
10:05:17 [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ autodownloadupload ---
10:05:17 [INFO] Deleting /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target
10:05:17 [INFO] 
10:05:17 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ autodownloadupload ---
10:05:17 [INFO] Using 'UTF-8' encoding to copy filtered resources.
10:05:17 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
10:05:17 [INFO] Copying 15 resources
10:05:17 [INFO] Copying 3 resources
10:05:17 [INFO] 
10:05:17 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ autodownloadupload ---
10:05:17 [INFO] Changes detected - recompiling the module!
10:05:17 [INFO] Compiling 49 source files to /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/classes
10:05:22 [INFO] 
10:05:22 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ autodownloadupload ---
10:05:22 [INFO] Using 'UTF-8' encoding to copy filtered resources.
10:05:22 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
10:05:22 [INFO] skip non existing resourceDirectory /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/src/test/resources
10:05:22 [INFO] 
10:05:22 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ autodownloadupload ---
10:05:22 [INFO] Changes detected - recompiling the module!
10:05:22 [INFO] Compiling 1 source file to /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/test-classes
10:05:24 [INFO] 
10:05:24 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ autodownloadupload ---
10:05:24 [INFO] Tests are skipped.
10:05:24 [INFO] 
10:05:24 [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ autodownloadupload ---
10:05:25 [INFO] Building jar: /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/autodownloadupload-1.0.0.jar
10:05:25 [INFO] 
10:05:25 [INFO] --- spring-boot-maven-plugin:2.7.5:repackage (repackage) @ autodownloadupload ---
10:05:26 [INFO] Replacing main artifact with repackaged archive
10:05:27 [INFO] ------------------------------------------------------------------------
10:05:27 [INFO] BUILD SUCCESS
10:05:27 [INFO] ------------------------------------------------------------------------
10:05:27 [INFO] Total time:  12.084 s
10:05:27 [INFO] Finished at: 2024-05-29T10:05:27+08:00
10:05:27 [INFO] ------------------------------------------------------------------------
10:05:27 [WARNING] The requested profile "out-te" could not be activated because it does not exist.
10:05:27 Waiting for Jenkins to finish collecting data
10:05:28 [JENKINS] Archiving /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/pom.xml to com.bcxin/autodownloadupload/1.0.0/autodownloadupload-1.0.0.pom
10:05:28 [JENKINS] Archiving /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/autodownloadupload-1.0.0.jar to com.bcxin/autodownloadupload/1.0.0/autodownloadupload-1.0.0.jar
10:05:28 [test-v5qy-bcxinurilfileutil] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins3754233532136832175.sh
10:05:28 channel stopped
10:05:28 + scp /data/jenkins/workspace/test-v5qy-bcxinurilfileutil/tools/autodownloadupload/target/autodownloadupload-1.0.0.jar 172.20.0.160:/data/workspace/autodownloadupload
10:05:28 Permission denied, please try again.
10:05:28 Permission denied, please try again.
10:05:28 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
10:05:28 lost connection
10:05:28 Build step 'Execute shell' marked build as failure
10:05:28 Finished: FAILURE