FailedConsole Output

Started by user Dmitry Kornilov
Running as Dmitry Kornilov
Agent default-agent-jl164 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-jl164"
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.jakartaee-stable.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-jl164"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-jl164"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jakartaee-stable.svc.cluster.local/jakartaee-stable/"
    - 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-jakartaee-stable"
      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"

[EnvInject] - Loading node environment variables.
Building remotely on default-agent-jl164 in workspace /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-LuEvJwPdreXI/agent.62
SSH_AGENT_PID=64
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom@tmp/private_key_7839321508762756299.key (/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom@tmp/private_key_7839321508762756299.key)
[ssh-agent] Using credentials jakartaee-stable-bot (GitHub bot SSH)
Copied 1 artifact from "TCK_JAXRPC_ts_jte_alter" build number 6
[TCK_JAXRPC_run_custom] $ /bin/sh -xe /tmp/jenkins4473998042254769740.sh
+ export 'TCK_HOME=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom'
+ export 'TS_HOME=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck'
+ export 'deliverabledir=jaxrpc'
+ export 'javaee_home=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5'
+ ANT_VERSION=1.9.14
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/oracle
+ MVN_HOME=/opt/tools/apache-maven/latest
+ export 'JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest'
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ ANT_HOME=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/tools/ant
+ PATH=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/tools/ant/bin:/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export 'ANT_OPTS=-Djavax.xml.accessExternalSchema=all'
+ cd /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/download
+ wget -q http://mirror.koddos.net/apache/ant/binaries/apache-ant-1.9.14-bin.tar.gz -O ant.tar.gz
+ tar xfz ant.tar.gz
+ wget -q http://download.eclipse.org/ee4j/jakartaee-tck/jakartaee8-eftl/promoted/eclipse-xml-rpc-tck-1.1.0.zip -O jaxrpctck-2.2_latest.zip
+ export 'fileid=11-J4D5Bt_dCuFwnJunTf8WwdF9cd8SYv'
+ export 'filename=glassfish.zip'
+ wget --save-cookies cookies.txt 'https://docs.google.com/uc?export=download&id=11-J4D5Bt_dCuFwnJunTf8WwdF9cd8SYv' -O-
+ sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p'
--2020-01-14 14:26:33--  https://docs.google.com/uc?export=download&id=11-J4D5Bt_dCuFwnJunTf8WwdF9cd8SYv
Resolving docs.google.com... 172.217.164.238, 2607:f8b0:400b:800::200e
Connecting to docs.google.com|172.217.164.238|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

     0K ...                                                    29.3M=0s

2020-01-14 14:26:35 (29.3 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=11-J4D5Bt_dCuFwnJunTf8WwdF9cd8SYv&confirm=_3Dz'
+ rm cookies.txt
+ export 'fileid=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG'
+ 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=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG' -O-
+ sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p'
--2020-01-14 14:26:41--  https://docs.google.com/uc?export=download&id=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG
Resolving docs.google.com... 172.217.164.238, 2607:f8b0:400b:800::200e
Connecting to docs.google.com|172.217.164.238|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

     0K ...                                                    37.3M=0s

2020-01-14 14:26:41 (37.3 MB/s) - written to stdout [3275]

+ 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=1gD58FJqVe37MvmqYe0Kw17D6W9RuvbSG&confirm=ZBoq'
+ rm cookies.txt
+ ls -alh
total 304M
drwxr-sr-x 3 default 1001490000 4.0K Jan 14 14:26 .
drwxr-sr-x 3 default 1001490000 4.0K Jan 14 14:26 ..
-rw-r--r-- 1 default 1001490000 5.6M Mar 17  2019 ant.tar.gz
drwxr-sr-x 6 default 1001490000 4.0K Jan 14 14:26 apache-ant-1.9.14
-rw-r--r-- 1 default 1001490000    4 Jan 14 14:26 confirm.txt
-rw-r--r-- 1 default 1001490000 112M Jan 14 14:26 glassfish.zip
-rw-r--r-- 1 default 1001490000  20M Aug 26 11:43 jaxrpctck-2.2_latest.zip
-rw-r--r-- 1 default 1001490000 167M Jan 14 14:26 openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz
-rw-r--r-- 1 default 1001490000  10K Nov 29 08:44 ts.jte
+ JAVA_HOME=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/java-se-8u41-ri
+ PATH=/opt/tools/apache-maven/latest/bin:/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/tools/ant/bin:/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/java-se-8u41-ri/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ JAVA_TOOL_OPTIONS='-XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions '
+ cd /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom
+ unzip -q /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/download/glassfish.zip
+ unzip -q /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/download/jaxrpctck-2.2_latest.zip
+ tar -xzf /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/download/openjdk-8u41-b04-linux-x64-08_jan_2020.tar.gz
+ ls -alh /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom
total 24K
drwxr-sr-x  6 default 1001490000 4.0K Jan 14 14:26 .
drwxr-sr-x  4 default 1001490000 4.0K Jan 14 14:26 ..
drwxr-sr-x  3 default 1001490000 4.0K Jan 14 14:26 download
drwxr-sr-x  7 default 1001490000 4.0K Jan  9 14:09 glassfish5
drwxr-sr-x  9 default 1001490000 4.0K Jan 14 14:26 java-se-8u41-ri
drwxr-sr-x 10 default 1001490000 4.0K Aug 26 10:56 xml-rpc-tck
+ mkdir -p /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/tools/ant
+ cp -a /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/download/apache-ant-1.9.14/. /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/tools/ant
+ yes
+ cp -fa /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/download/ts.jte /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin
yes: standard output: Broken pipe
+ JAVA_OPTIONS='-Djavax.net.ssl.keyStore=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/domains/domain1/config/keystore.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/domains/domain1/config/cacerts.jks -Djava.naming.factory.url=iiop://localhost:3700 -Djava.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory'
+ cd /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin
+ sed -i 's#${ts.home}#/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck#g' build.properties
+ sed -i 's#${ant.home}#/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/tools/ant#g' build.properties
+ sed -i 's#webserver.home=.*#webserver.home=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish#g' build.properties
+ sed -i 's#webserver.host=.*#webserver.host=localhost#g' build.properties
+ sed -i 's#webserver.port=.*#webserver.port=8080#g' build.properties
+ sed -i 's#webapp.dir=.*#webapp.dir=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/domains/domain1/autodeploy#g' build.properties
+ sed -i 's#jaxrpc\.home=.*#jaxrpc.home=\$\{webserver.home\}#g' build.properties
+ sed -i 's#j2ee\.home\.ri=.*#j2ee.home.ri=\$\{webserver.home\}#g' build.properties
+ sed -i 's#jaxrpc\.tool=.*#jaxrpc.tool=\$\{jaxrpc.home\}/bin/wscompile#g' build.properties
+ sed -i 's#jaxrpc.deploy.tool=.*#jaxrpc.deploy.tool=\$\{jaxrpc.home\}/bin/wsdeploy#g' build.properties
+ sed -i 's#\${class.dir}#/ts/jaxrpctck/classes#g' build.properties
+ sed -i 's#local.classes=.*#local.classes=\$\{webserver.home\}/modules/webservices-osgi.jar:\$\{webserver.home\}/modules/jakarta.xml.rpc-api.jar:\${webserver.home\}/modules/jakarta.servlet-api.jar:\$\{webserver.home\}/modules/jakarta.mail.jar:\$\{webserver.home\}/modules/jaxb-osgi.jar:\$\{webserver.home\}/modules/jakarta.ejb-api.jar:\$\{webserver.home\}/modules/glassfish-naming.jar:\$\{webserver.home\}/modules/bean-validator.jar#g' build.properties
+ echo 'webServerHost.1=localhost'
+ echo 'webHost1=localhost'
+ echo 'webServerPort.1=8080'
+ echo 'ts.home=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck'
+ mkdir -p /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/jaxrpctckreport/jaxrpctck
+ mkdir -p /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/jaxrpctckwork/jaxrpctck
+ cp /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/lib/tsharness.jar /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/lib
+ cd /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/bin
+ ./asadmin start-domain
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions 
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Waiting for domain1 to start ..........
Successfully started the domain : domain1
domain  Location: /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/domains/domain1
Log File: /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
+ echo 'AS_ADMIN_MASTERPASSWORD=changeit'
+ echo 'AS_ADMIN_PASSWORD='
+ echo 'AS_ADMIN_USERPASSWORD=j2ee'
+ ./asadmin create-file-user --user admin --passwordfile /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/password.txt --groups Administrator:Employee j2ee
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions 
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Deprecated syntax, instead use:
asadmin --user admin --passwordfile /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/password.txt create-file-user [options] ...
Command create-file-user executed successfully.
+ sed -i 's/AS_ADMIN_USERPASSWORD=.*/AS_ADMIN_USERPASSWORD=javajoe/g' /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/password.txt
+ sed -i 's/javax\.xml\.namespace=1\.1//g' /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/sig-test.map
+ sed -i 's/javax\.xml\.namespace//g' /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/sig-test-pkg-list.txt
+ ./asadmin create-file-user --user admin --passwordfile /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/password.txt --groups Manager:Employee:Guest javajoe
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions 
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Deprecated syntax, instead use:
asadmin --user admin --passwordfile /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/password.txt create-file-user [options] ...
Command create-file-user executed successfully.
+ ./asadmin stop-domain
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions 
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Waiting for the domain to stop ...........................................................
Timed out (60 seconds) waiting for the domain to stop.
Command stop-domain failed.
+ true
+ ./asadmin start-domain
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions 
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Waiting for domain1 to start ..........
Successfully started the domain : domain1
domain  Location: /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/domains/domain1
Log File: /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/glassfish5/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
+ cd /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/src/com/sun/ts/tests/
+ ant -propertyfile /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/build.properties '-Dreport.dir=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/jaxrpctckreport/jaxrpctck' '-Dwork.dir=/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/jaxrpctckwork/jaxrpctck' deploy.all
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions 
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Buildfile: /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/src/com/sun/ts/tests/build.xml
     [echo] ts.home = /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck
    [mkdir] Created dir: /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/weblib
     [echo] In a bundle
     [echo] The deliverable currently in use is /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin.
Trying to override old definition of datatype string

deploy.all:
     [echo] ts.home = /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck
     [echo] In a bundle
     [echo] The deliverable currently in use is /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin.

setup.archive.set:

deploy.all:
     [echo] keywords=${keywords}
     [echo] keywords.direction.forward=true
     [echo] keywords.direction.reverse=true
     [echo] ts.home = /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck
     [echo] In a bundle
     [echo] The deliverable currently in use is /home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin.

-deploy.all:

BUILD FAILED
/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/xml/ts.import.xml:123: The following error occurred while executing this line:
/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/xml/ts.top.import.xml:288: The following error occurred while executing this line:
/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/xml/impl/glassfish/deploy.xml:60: The following error occurred while executing this line:
/home/jenkins/agent/workspace/TCK_JAXRPC_run_custom/xml-rpc-tck/bin/xml/impl/glassfish/deploy.xml:251: /home/jenkins/agent/workspace/TCK_JAXRPC_run/glassfish5/glassfish/domains/domain1/autodeploy does not exist.

Total time: 3 seconds
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 64 killed;
[ssh-agent] Stopped.
Skipped archiving because build is not successful
Finished: FAILURE