Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/bcxin-preview The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/bcxin-preview/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bcxin-preview.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bcxin-preview.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/bcxin-preview.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision 20dacf400634c711b57c3f3e33906d579795bd3b (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 20dacf400634c711b57c3f3e33906d579795bd3b # timeout=10 Commit message: "Merge branch 'wps-20240321' into test" > /usr/local/git/bin/git rev-list --no-walk 73e145473722be3f91f18072eb43239f59e50b3d # timeout=10 Parsing POMs Established TCP socket on 38262 [bcxin-preview] $ /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 38262 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.loadClassFromSelf(ClassRealm.java:425) 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 'jdk1.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/local/jdk1.8. ERROR: ================================================================================ Established TCP socket on 44008 [bcxin-preview] $ /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 44008 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 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /data/jenkins/workspace/bcxin-preview/pom.xml clean install -DskipTests=true -Ptest [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.springframework.boot:jodconverter-web:jar:2.2.2.RELEASE [WARNING] 'dependencies.dependency.systemPath' for cn.wps.solution:weboffice-provider-v3:jar should not point at files within the project directory, ${project.basedir}/lib/weboffice-provider-v3-0.0.2.jar will be unresolvable by dependent projects @ line 264, column 25 [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] Reactor Build Order: [INFO] [INFO] jodconverter-core [jar] [INFO] jodconverter-web [jar] [INFO] file-online-preview [pom] [INFO] [INFO] --------------------< com.bcxin:jodconverter-core >--------------------- [INFO] Building jodconverter-core 1.0-SNAPSHOT [1/3] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jodconverter-core --- [INFO] Deleting /data/jenkins/workspace/bcxin-preview/jodconverter-core/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jodconverter-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jodconverter-core --- [INFO] Compiling 41 source files to /data/jenkins/workspace/bcxin-preview/jodconverter-core/target/classes [INFO] [INFO] >>> maven-source-plugin:2.1:jar (default) > generate-sources @ jodconverter-core >>> [WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:2.1:jar (default) < generate-sources @ jodconverter-core <<< [INFO] [INFO] [INFO] --- maven-source-plugin:2.1:jar (default) @ jodconverter-core --- [INFO] Building jar: /data/jenkins/workspace/bcxin-preview/jodconverter-core/target/jodconverter-core-1.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jodconverter-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/jenkins/workspace/bcxin-preview/jodconverter-core/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jodconverter-core --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ jodconverter-core --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ jodconverter-core --- [INFO] Building jar: /data/jenkins/workspace/bcxin-preview/jodconverter-core/target/jodconverter-core-1.0-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ jodconverter-core --- [INFO] Installing /data/jenkins/workspace/bcxin-preview/jodconverter-core/target/jodconverter-core-1.0-SNAPSHOT.jar to /Users/linchunpeng/maven/repository/com/bcxin/jodconverter-core/1.0-SNAPSHOT/jodconverter-core-1.0-SNAPSHOT.jar [INFO] Installing /data/jenkins/workspace/bcxin-preview/jodconverter-core/pom.xml to /Users/linchunpeng/maven/repository/com/bcxin/jodconverter-core/1.0-SNAPSHOT/jodconverter-core-1.0-SNAPSHOT.pom [INFO] Installing /data/jenkins/workspace/bcxin-preview/jodconverter-core/target/jodconverter-core-1.0-SNAPSHOT-sources.jar to /Users/linchunpeng/maven/repository/com/bcxin/jodconverter-core/1.0-SNAPSHOT/jodconverter-core-1.0-SNAPSHOT-sources.jar [INFO] [INFO] -------------< org.springframework.boot:jodconverter-web >-------------- [INFO] Building jodconverter-web 2.2.2.RELEASE [2/3] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ jodconverter-web --- [INFO] Deleting /data/jenkins/workspace/bcxin-preview/jodconverter-web/target [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jodconverter-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 435 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jodconverter-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 96 source files to /data/jenkins/workspace/bcxin-preview/jodconverter-web/target/classes [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[3,15] BASE64Decoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[4,15] BASE64Encoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[3,15] BASE64Decoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[4,15] BASE64Encoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[3,15] BASE64Decoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[4,15] BASE64Encoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[3,15] BASE64Decoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[4,15] BASE64Encoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[25,20] BASE64Decoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[40,20] BASE64Encoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[63,10] BASE64Encoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[63,38] BASE64Encoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[74,10] BASE64Decoder is internal proprietary API and may be removed in a future release [WARNING] /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/main/java/com/bcxin/utils/BASE64Util.java:[74,38] BASE64Decoder is internal proprietary API and may be removed in a future release [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jodconverter-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/jenkins/workspace/bcxin-preview/jodconverter-web/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jodconverter-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /data/jenkins/workspace/bcxin-preview/jodconverter-web/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jodconverter-web --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ jodconverter-web --- [INFO] Building jar: /data/jenkins/workspace/bcxin-preview/jodconverter-web/target/jodconverter-web-2.2.2.RELEASE.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.2.2.RELEASE:repackage (repackage) @ jodconverter-web --- [INFO] Replacing main artifact with repackaged archive [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ jodconverter-web --- [INFO] Installing /data/jenkins/workspace/bcxin-preview/jodconverter-web/target/jodconverter-web-2.2.2.RELEASE.jar to /Users/linchunpeng/maven/repository/org/springframework/boot/jodconverter-web/2.2.2.RELEASE/jodconverter-web-2.2.2.RELEASE.jar [INFO] Installing /data/jenkins/workspace/bcxin-preview/jodconverter-web/pom.xml to /Users/linchunpeng/maven/repository/org/springframework/boot/jodconverter-web/2.2.2.RELEASE/jodconverter-web-2.2.2.RELEASE.pom [INFO] [INFO] -----------------------< com.bcxin:filepreview >------------------------ [INFO] Building file-online-preview 0.0.1-SNAPSHOT [3/3] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ filepreview --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ filepreview --- [INFO] Installing /data/jenkins/workspace/bcxin-preview/pom.xml to /Users/linchunpeng/maven/repository/com/bcxin/filepreview/0.0.1-SNAPSHOT/filepreview-0.0.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] jodconverter-core 1.0-SNAPSHOT ..................... SUCCESS [ 2.442 s] [INFO] jodconverter-web 2.2.2.RELEASE ..................... SUCCESS [ 10.822 s] [INFO] file-online-preview 0.0.1-SNAPSHOT ................. SUCCESS [ 0.132 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.196 s [INFO] Finished at: 2024-04-23T10:29:18+08:00 [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /data/jenkins/workspace/bcxin-preview/jodconverter-web/pom.xml to org.springframework.boot/jodconverter-web/2.2.2.RELEASE/jodconverter-web-2.2.2.RELEASE.pom [JENKINS] Archiving /data/jenkins/workspace/bcxin-preview/jodconverter-web/target/jodconverter-web-2.2.2.RELEASE.jar to org.springframework.boot/jodconverter-web/2.2.2.RELEASE/jodconverter-web-2.2.2.RELEASE.jar [JENKINS] Archiving /data/jenkins/workspace/bcxin-preview/jodconverter-core/pom.xml to com.bcxin/jodconverter-core/1.0-SNAPSHOT/jodconverter-core-1.0-SNAPSHOT.pom [JENKINS] Archiving /data/jenkins/workspace/bcxin-preview/jodconverter-core/target/jodconverter-core-1.0-SNAPSHOT.jar to com.bcxin/jodconverter-core/1.0-SNAPSHOT/jodconverter-core-1.0-SNAPSHOT.jar [JENKINS] Archiving /data/jenkins/workspace/bcxin-preview/jodconverter-core/target/jodconverter-core-1.0-SNAPSHOT-sources.jar to com.bcxin/jodconverter-core/1.0-SNAPSHOT/jodconverter-core-1.0-SNAPSHOT-sources.jar [JENKINS] Archiving /data/jenkins/workspace/bcxin-preview/pom.xml to com.bcxin/filepreview/0.0.1-SNAPSHOT/filepreview-0.0.1-SNAPSHOT.pom [bcxin-preview] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins3524459404269139329.sh channel stopped + scp /data/jenkins/workspace/bcxin-preview/jodconverter-web/target/jodconverter-web-2.2.2.RELEASE.jar 172.20.0.7:/data/workspace/bcxin-preview [SSH] script: PATH="/usr/local/jdk1.8/bin:/usr/local/maven:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/node/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin:/root/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin:/usr/local/maven/bin:/usr/local/git/bin" JAVA_HOME="/usr/local/jdk1.8" JAVA_CLASS="/usr/local/jdk1.8/lib" HOME="/root" #JAVA export JAVA_HOME=/usr/local/java export JAVA_CLASS=$JAVA_HOME/lib export PATH=$JAVA_HOME/bin:$PATH # 杀死进程 pid=$(ps -ef|grep -v grep|grep jodconverter-web-2.2.2.RELEASE.jar | awk '{print $2}') if [ $pid -ne 0 ];then kill -9 $pid fi sleep 10 cd /data/workspace/bcxin-preview nohup java -Xms512m -Xmx512m -jar -Dlog4j2.formatMsgNoLookups=true jodconverter-web-2.2.2.RELEASE.jar > jodconverter-web.log 2>&1 & [SSH] executing... [SSH] completed [SSH] exit-status: 0 Finished: SUCCESS