Started by user Dmitry Kornilov Running as Dmitry Kornilov Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor Agent default-agent-64xqv is provisioned from template Kubernetes Pod Template --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" name: "default-agent-64xqv" spec: containers: - env: - name: "MAVEN_OPTS" value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.jta.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "default-agent-64xqv" - name: "MAVEN_CONFIG" value: "-B -e" - name: "JENKINS_NAME" value: "default-agent-64xqv" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.jta.svc.cluster.local/jta/" - name: "HOME" value: "/home/jenkins" image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:5d06ebec6e9dffc44fb41009a51d085a83944a23f651416531b960143d186340" imagePullPolicy: "IfNotPresent" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "toolchains-xml" readOnly: true subPath: "toolchains.xml" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "settings-security-xml" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/settings.xml" name: "settings-xml" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: {} restartPolicy: "Never" volumes: - name: "settings-security-xml" secret: items: - key: "settings-security.xml" path: "settings-security.xml" secretName: "m2-secret-dir" - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-jta" readOnly: true - configMap: items: - key: "toolchains.xml" path: "toolchains.xml" name: "m2-dir" name: "toolchains-xml" - emptyDir: medium: "" name: "volume-2" - configMap: name: "known-hosts" name: "volume-1" - name: "settings-xml" secret: items: - key: "settings.xml" path: "settings.xml" secretName: "m2-secret-dir" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-3" Running on default-agent-64xqv in /home/jenkins/agent/workspace/TCK_run_pipeline_custom [Pipeline] { [Pipeline] stage [Pipeline] { (Grab GF and ts.jte artifacts) [Pipeline] dir Running in /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download [Pipeline] { [Pipeline] sh + export 'fileid=1x9Agggq2VS1b2FXwaudMq27En-ZloVmA' + export 'filename=glassfish.zip' + wget --save-cookies cookies.txt 'https://docs.google.com/uc?export=download&id=1x9Agggq2VS1b2FXwaudMq27En-ZloVmA' -O- + sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p' --2020-01-16 07:29:21-- https://docs.google.com/uc?export=download&id=1x9Agggq2VS1b2FXwaudMq27En-ZloVmA Resolving docs.google.com... 172.217.13.110, 2607:f8b0:4020:804::200e Connecting to docs.google.com|172.217.13.110|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: 'STDOUT' 0K ... 52.1M=0s 2020-01-16 07:29:24 (52.1 MB/s) - written to stdout [3243] + cat confirm.txt + wget -q --load-cookies cookies.txt -O glassfish.zip 'https://docs.google.com/uc?export=download&id=1x9Agggq2VS1b2FXwaudMq27En-ZloVmA&confirm=GrEb' + rm cookies.txt [Pipeline] sh + export 'fileid=1moYCr6w0vJyzOrB_6YOkBC0rQja9O__3' + export 'filename=openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz' + wget --save-cookies cookies.txt 'https://docs.google.com/uc?export=download&id=1moYCr6w0vJyzOrB_6YOkBC0rQja9O__3' -O- + sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p' --2020-01-16 07:29:30-- https://docs.google.com/uc?export=download&id=1moYCr6w0vJyzOrB_6YOkBC0rQja9O__3 Resolving docs.google.com... 172.217.13.110, 2607:f8b0:4020:804::200e Connecting to docs.google.com|172.217.13.110|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: 'STDOUT' 0K ... 51.0M=0s 2020-01-16 07:29:30 (51.0 MB/s) - written to stdout [3255] + cat confirm.txt + wget -q --load-cookies cookies.txt -O openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz 'https://docs.google.com/uc?export=download&id=1moYCr6w0vJyzOrB_6YOkBC0rQja9O__3&confirm=KgRJ' + rm cookies.txt [Pipeline] copyArtifacts Copied 1 artifact from "TCK_ts_jte" build number 10 [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Grab TCK bundle) [Pipeline] sh + cd /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download + wget -q http://download.eclipse.org/ee4j/jakartaee-tck/jakartaee8-eftl/promoted/eclipse-transactions-tck-1.3.0.zip -O transactionstck.zip [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Unzip TCK and GF) [Pipeline] sh + cd /home/jenkins/agent/workspace/TCK_run_pipeline_custom + tar -xzf /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download/openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz + unzip -q /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download/glassfish.zip + unzip -q /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download/transactionstck.zip [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Grab and unzip ANT) [Pipeline] sh + cd /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download + wget -q https://archive.apache.org/dist/ant/binaries/apache-ant-1.9.14-bin.tar.gz -O ant.tar.gz + tar xfz ant.tar.gz + mkdir -p /home/jenkins/agent/workspace/TCK_run_pipeline_custom/transactions-tck/tools/ant + cp -a /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download/apache-ant-1.9.14/. /home/jenkins/agent/workspace/TCK_run_pipeline_custom/transactions-tck/tools/ant [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Replace ts.jte) [Pipeline] sh + yes + cp -rfv /home/jenkins/agent/workspace/TCK_run_pipeline_custom/download/ts.jte /home/jenkins/agent/workspace/TCK_run_pipeline_custom/transactions-tck/bin/ts.jte '/home/jenkins/agent/workspace/TCK_run_pipeline_custom/download/ts.jte' -> '/home/jenkins/agent/workspace/TCK_run_pipeline_custom/transactions-tck/bin/ts.jte' yes: standard output: Broken pipe [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Configure TCK) [Pipeline] sh + cd /home/jenkins/agent/workspace/TCK_run_pipeline_custom/transactions-tck/bin + ant -Dextension.dir=/home/jenkins/agent/workspace/TCK_run_pipeline_custom/glassfish5/glassfish/domains/domain1/lib/ext -Ds1as.admin=/home/jenkins/agent/workspace/TCK_run_pipeline_custom/glassfish5/glassfish/bin/asadmin config.vi Error: JAVA_HOME is not defined correctly. We cannot execute /home/jenkins/agent/workspace/TCK_run_pipeline_custom/java-se-8u41-ri/bin/java [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE