Started by user Jan Supol
Running as Jan Supol
Agent basic-bqql8 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-bqql8"
namespace: "jersey"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.jersey.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-bqql8"
- name: "JENKINS_REMOTING_JAVA_OPTS"
value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\
\ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
- name: "JAVA_TOOL_OPTIONS"
value: ""
- name: "_JAVA_OPTIONS"
value: ""
- name: "OPENJ9_JAVA_OPTIONS"
value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
- name: "JENKINS_NAME"
value: "basic-bqql8"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.jersey.svc.cluster.local/jersey/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3044.vb_940a_a_e4f72e"
imagePullPolicy: "Always"
name: "jnlp"
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1000m"
memory: "4096Mi"
tty: true
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "m2-dir"
readOnly: true
subPath: "toolchains.xml"
- mountPath: "/home/jenkins/.mavenrc"
name: "m2-dir"
readOnly: true
subPath: ".mavenrc"
- 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: "m2-secret-dir"
readOnly: true
subPath: "settings-security.xml"
- mountPath: "/home/jenkins/.m2/wrapper"
name: "volume-4"
readOnly: false
- mountPath: "/home/jenkins/.m2/settings.xml"
name: "m2-secret-dir"
readOnly: true
subPath: "settings.xml"
- mountPath: "/home/jenkins/.ssh"
name: "volume-1"
readOnly: false
subPath: ""
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
workingDir: "/home/jenkins/agent"
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- name: "volume-0"
persistentVolumeClaim:
claimName: "tools-claim-jiro-jersey"
readOnly: true
- name: "m2-secret-dir"
secret:
secretName: "m2-secret-dir"
- emptyDir:
medium: ""
name: "volume-2"
- configMap:
name: "m2-dir"
name: "m2-dir"
- configMap:
name: "known-hosts"
name: "volume-1"
- emptyDir:
medium: ""
name: "workspace-volume"
- emptyDir:
medium: ""
name: "volume-4"
- emptyDir:
medium: ""
name: "volume-3"
Building remotely on basic-bqql8 (basic) in workspace /home/jenkins/agent/workspace/EE10JerseyTCK
The recommended git tool is: git
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-ee4j/jersey
> git init /home/jenkins/agent/workspace/EE10JerseyTCK/jersey # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/jersey
> git --version # timeout=10
> git --version # 'git version 2.20.1'
> git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/jersey +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/eclipse-ee4j/jersey # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/3.1^{commit} # timeout=10
Checking out Revision 65e0c8f3b3dc1c550a2b4661933519795bd9f722 (refs/remotes/origin/3.1)
> git config core.sparsecheckout # timeout=10
> git checkout -f 65e0c8f3b3dc1c550a2b4661933519795bd9f722 # timeout=10
Commit message: "merge of the actual 3.x into 3.1 branch"
> git rev-list --no-walk 65e0c8f3b3dc1c550a2b4661933519795bd9f722 # timeout=10
[EE10JerseyTCK] $ /bin/sh -xe /tmp/jenkins16938835129674739031.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/openjdk
+ JAVA_HOME=/opt/tools/java/openjdk/jdk-11/latest
+ MVN_HOME=/opt/tools/apache-maven/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ mkdir TCK
+ cd TCK
++ basename https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-restful-ws-tck-3.1.1.zip
+ export tckname=jakarta-restful-ws-tck-3.1.1.zip
+ tckname=jakarta-restful-ws-tck-3.1.1.zip
+ echo jakarta-restful-ws-tck-3.1.1.zip
jakarta-restful-ws-tck-3.1.1.zip
+ wget -q https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-restful-ws-tck-3.1.1.zip -O jakarta-restful-ws-tck-3.1.1.zip
+ ls
jakarta-restful-ws-tck-3.1.1.zip
+ jar xvf jakarta-restful-ws-tck-3.1.1.zip
created: docs/
created: docs/html-usersguide/
inflated: docs/html-usersguide/config.html
inflated: docs/html-usersguide/debug.html
inflated: docs/html-usersguide/faq.html
inflated: docs/html-usersguide/install.html
inflated: docs/html-usersguide/intro.html
inflated: docs/html-usersguide/preface.html
inflated: docs/html-usersguide/rebuild.html
inflated: docs/html-usersguide/rules.html
inflated: docs/html-usersguide/title.html
inflated: docs/html-usersguide/toc.html
inflated: docs/html-usersguide/using.html
created: docs/html-usersguide/css/
inflated: docs/html-usersguide/css/style.css
created: docs/html-usersguide/img/
extracted: docs/html-usersguide/img/eclipse_foundation_logo_tiny.png
created: docs/pdf-usersguide/
inflated: docs/pdf-usersguide/Jakarta-RESTful-Web-Services-TCK-Users-Guide.pdf
inflated: docs/index.html
inflated: docs/JAXRSTCK3.1-ReleaseNotes.html
inflated: docs/TCK-Exclude-List.txt
created: docs/assertions/
inflated: docs/assertions/JAXRSJavadocAssertions_3.0.0.html
inflated: docs/assertions/JAXRSJavadocAssertions_3.0.0.xml
inflated: docs/assertions/JAXRSJavadocAssertions_3.1.0.html
inflated: docs/assertions/JAXRSJavadocAssertions_3.1.0.xml
inflated: docs/assertions/JAXRSSpecAssertions_3.0.0.html
inflated: docs/assertions/JAXRSSpecAssertions_3.0.0.xml
inflated: docs/assertions/JAXRSSpecAssertions_3.1.0.html
inflated: docs/assertions/JAXRSSpecAssertions_3.1.0.xml
inflated: jakarta-restful-ws-tck-3.1.1.jar
inflated: jakarta-restful-ws-tck-3.1.1.pom
inflated: jakarta-restful-ws-tck-3.1.1-sources.jar
inflated: LICENSE.md
+ filename=jakarta-restful-ws-tck-3.1.1
+ echo jakarta-restful-ws-tck-3.1.1
jakarta-restful-ws-tck-3.1.1
+ mvn install:install-file -Dfile=jakarta-restful-ws-tck-3.1.1.jar -DgroupId=jakarta.ws.rs -DartifactId=jakarta-restful-ws-tck -Dversion=3.1.0 -Dpackaging=jar -DgeneratePom=true
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/jenkins/agent/workspace/EE10JerseyTCK/TCK/jakarta-restful-ws-tck-3.1.1.jar to /home/jenkins/.m2/repository/jakarta/ws/rs/jakarta-restful-ws-tck/3.1.0/jakarta-restful-ws-tck-3.1.0.jar
[INFO] Installing /tmp/mvninstall312341869827599658.pom to /home/jenkins/.m2/repository/jakarta/ws/rs/jakarta-restful-ws-tck/3.1.0/jakarta-restful-ws-tck-3.1.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.123 s
[INFO] Finished at: 2023-01-31T10:32:35Z
[INFO] ------------------------------------------------------------------------
+ cd ..
+ cd jersey
+ git checkout 3.1
Switched to a new branch '3.1'
Branch '3.1' set up to track remote branch '3.1' from 'origin'.
+ git branch --list
* 3.1
+ cd tests/jersey-tck
+ sed -i 's#3.1.0-M3#3.1.0-M8#p' pom.xml
+ sed -i 's#6.2.5#7.0.0-M8#p' pom.xml
+ sed -i 's#${project.build.directory}/glassfish6#${project.build.directory}/glassfish7#p' pom.xml
+ sed -i 's#${project.build.directory}/glassfish6/glassfish/bin/asadmin#${project.build.directory}/glassfish7/glassfish/bin/asadmin#p' pom.xml
+ sed -i 's#3.1.0-SNAPSHOT#3.1.99-SNAPSHOT#p' pom.xml
+ cat pom.xml
4.0.0
org.glassfish.jersey.core
jersey-tck
3.1.0
jar
Jakarta RESTful WS Compliance for Jersey
This test verifies the compliance of Eclipse Jersey with Jakarta REST
11
11
3.1.0-M8
3.1.0-M8
7.0.0-M8
7.0.0-M8
${project.build.directory}/glassfish7
${project.build.directory}/glassfish7
10.0.0-RC1
5.7.2
3.1.0
jakarta-restful-ws-tck
org.junit
junit-bom
${junit.jupiter.version}
pom
import
org.glassfish.jersey
jersey-bom
${jersey.version}
pom
import
jakarta-snapshots
https://jakarta.oss.sonatype.org/content/repositories/staging/
org.junit.jupiter
junit-jupiter
${junit.jupiter.version}
org.glassfish.hk2
hk2-locator
3.0.0
com.sun.xml.bind
jaxb-impl
3.0.0
runtime
org.jboss.arquillian.container
arquillian-glassfish-managed-6
1.0.0.Alpha1
jakarta.ws.rs
${tck.artifactId}
${project.version}
test
jakarta.ws.rs
jakarta.ws.rs-api
${project.version}
test
org.hamcrest
hamcrest
2.2
test
org.glassfish.main.common
simple-glassfish-api
${glassfish.container.version}
org.jboss.arquillian.junit5
arquillian-junit5-container
1.7.0.Alpha10
jakarta.platform
jakarta.jakartaee-api
${jakarta.platform.version}
provided
commons-httpclient
commons-httpclient
3.1
org.glassfish.jersey.core
jersey-server
${jersey.version}
test
org.glassfish.jersey.containers
jersey-container-grizzly2-http
${jersey.version}
test
org.netbeans.tools
sigtest-maven-plugin
1.4
org.glassfish.jersey.media
jersey-media-json-binding
${jersey.version}
test
org.glassfish.jersey.media
jersey-media-jaxb
${jersey.version}
test
org.glassfish.jersey.media
jersey-media-sse
${jersey.version}
test
org.apache.maven.plugins
maven-dependency-plugin
3.2.0
unpack
pre-integration-test
unpack
org.glassfish.main.distributions
glassfish
${glassfish.container.version}
zip
false
${project.build.directory}
copy
pre-integration-test
copy
org.glassfish.jersey.core
jersey-client
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-client.jar
org.glassfish.jersey.core
jersey-server
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-server.jar
org.glassfish.jersey.core
jersey-common
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-common.jar
org.glassfish.jersey.containers
jersey-container-grizzly2-http
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-container-grizzly2-http.jar
org.glassfish.jersey.containers
jersey-container-servlet-core
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-container-servlet-core.jar
org.glassfish.jersey.containers
jersey-container-servlet
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-container-servlet.jar
org.glassfish.jersey.media
jersey-media-sse
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-media-sse.jar
org.glassfish.jersey.media
jersey-media-json-binding
${jersey.version}
jar
true
${glassfish.home}/glassfish/modules
jersey-media-json-binding.jar
jakarta.ws.rs
jakarta.ws.rs-api
${jakarta.rest.version}
jar
true
${glassfish.home}/glassfish/modules
jakarta.ws.rs-api.jar
exec-maven-plugin
org.codehaus.mojo
StopDomain1
pre-integration-test
exec
${asadmin.home}
${asadmin}
stop-domain
StartDomain1
pre-integration-test
exec
${asadmin.home}
${asadmin}
start-domain
Enable Trace requests
pre-integration-test
exec
${asadmin.home}
${asadmin}
set
server-config.network-config.protocols.protocol.http-listener-1.http.trace-enabled=true
Delete User j2ee
pre-integration-test
exec
${asadmin.home}
${asadmin}
--passwordfile
${project.basedir}/j2ee.pass
delete-file-user
j2ee
0
1
Add User j2ee
pre-integration-test
exec
${asadmin.home}
${asadmin}
--passwordfile
${project.basedir}/j2ee.pass
create-file-user
--groups
staff:mgr
j2ee
Delete User javajoe
pre-integration-test
exec
${asadmin.home}
${asadmin}
--passwordfile
${project.basedir}/javajoe.pass
delete-file-user
javajoe
0
1
Add User javajoe
pre-integration-test
exec
${asadmin.home}
${asadmin}
--passwordfile
${project.basedir}/javajoe.pass
create-file-user
--groups
guest
javajoe
list users
pre-integration-test
exec
${asadmin.home}
${asadmin}
list-file-users
StopDomain
pre-integration-test
exec
${asadmin.home}
${asadmin}
stop-domain
maven-failsafe-plugin
3.0.0-M5
gf-tests
integration-test
verify
**/SeBootstrapIT.java
false
jakarta.ws.rs:${tck.artifactId}
${glassfish.home}
org.glassfish.jersey.servlet.ServletContainer
localhost
8080
true
j2ee
j2ee
javajoe
javajoe
ee.jakarta.tck.ws.rs.lib.implementation.sun.common.SunRIURL
${project.build.directory}/jdk11-bundle
jakarta.xml.bind
${glassfish.home}/glassfish/modules/jakarta.ws.rs-api.jar:${glassfish.home}/glassfish/modules/jakarta.xml.bind-api.jar:${project.build.directory}/jdk11-bundle/java.base:${project.build.directory}/jdk11-bundle/java.rmi:${project.build.directory}/jdk11-bundle/java.sql:${project.build.directory}/jdk11-bundle/java.naming
${glassfish.home}
se-tests
integration-test
verify
false
**/SeBootstrapIT.java
jakarta.ws.rs:${tck.artifactId}
onLinux
unix
${basedir}
${project.build.directory}/glassfish7/glassfish/bin/asadmin
${project.build.directory}/glassfish7/glassfish/bin/asadmin
onWindows
Windows
${glassfish.home}/glassfish/bin
asadmin
jersey-tck
3.1.99-SNAPSHOT
3.1.99-SNAPSHOT
+ cd ../..
+ mvn clean install -DskipTests -Pstaging -Pjersey-tck
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /home/jenkins/agent/workspace/EE10JerseyTCK/jersey/tests/jersey-tck/pom.xml: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...3.1.99-SNAPSHOT... @544:64) @ line 544, column 64
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project (/home/jenkins/agent/workspace/EE10JerseyTCK/jersey/tests/jersey-tck/pom.xml) has 1 error
[ERROR] Non-parseable POM /home/jenkins/agent/workspace/EE10JerseyTCK/jersey/tests/jersey-tck/pom.xml: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...3.1.99-SNAPSHOT... @544:64) @ line 544, column 64 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
Build step 'Execute shell' marked build as failure
Finished: FAILURE