Started by user Dmitry Kornilov
Running as Dmitry Kornilov
Agent basic-j333j is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-j333j"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.jsonb.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-j333j"
- 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-j333j"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.jsonb.svc.cluster.local/jsonb/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.11.2"
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-jsonb"
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-j333j (basic) in workspace /home/jenkins/agent/workspace/nexus-staging
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/jsonb-api.git
> git init /home/jenkins/agent/workspace/nexus-staging # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jsonb-api.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
using GIT_SSH to set credentials GitHub bot SSH
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/nexus-staging@tmp/jenkins-gitclient-ssh7880478300139616128.key
> git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jsonb-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@github.com:eclipse-ee4j/jsonb-api.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/EE4J_8^{commit} # timeout=10
Checking out Revision a9b43c27d32d72c76629d3e059576bcaf0ed5531 (refs/remotes/origin/EE4J_8)
> git config core.sparsecheckout # timeout=10
> git checkout -f a9b43c27d32d72c76629d3e059576bcaf0ed5531 # timeout=10
Commit message: "Copyright is upated to Eclipse Foundation (#173)"
> git rev-list --no-walk a9b43c27d32d72c76629d3e059576bcaf0ed5531 # timeout=10
[nexus-staging] $ /bin/bash -ex /tmp/jenkins1153688476060741578.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/openjdk
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/openjdk/jdk-11/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
+ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0
+ NEXUS_PLUGIN=org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7
+ NEXUS_PLUGIN_PARAMS='-DnexusUrl=https://jakarta.oss.sonatype.org/ -DserverId=ossrh'
+ STAGING_NAME=jakartajson
+ echo '-[ Reading project identifiers ]------------------------------------------------'
-[ Reading project identifiers ]------------------------------------------------
+ cd api
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId
++ grep -Ev '(^\[)'
+ ARTIFACT_ID=jakarta.json.bind-api
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId
++ grep -Ev '(^\[)'
+ GROUP_ID=jakarta.json.bind
+ echo 'Action: drop'
Action: drop
+ echo 'Repository ID prefix: jakartajson'
Repository ID prefix: jakartajson
+ case ${ACTION} in
+ '[' -z jakartajson-1018,jakartajson-1019 ']'
+ echo '-[ Dropping Nexus staging repository ]------------------------------------------'
-[ Dropping Nexus staging repository ]------------------------------------------
+ echo 'Deployment: jakartajson-1018,jakartajson-1019'
Deployment: jakartajson-1018,jakartajson-1019
+ mvn -B -DnexusUrl=https://jakarta.oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-drop -DstagingRepositoryId=jakartajson-1018,jakartajson-1019
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< jakarta.json.bind:jakarta.json.bind-api >---------------
[INFO] Building JSON-B API 1.0.2-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- nexus-staging-maven-plugin:1.6.7:rc-drop (default-cli) @ jakarta.json.bind-api ---
[INFO] + Using server credentials "ossrh" from Maven settings.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.378 s
[INFO] Finished at: 2022-02-16T17:27:28Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-drop (default-cli) on project jakarta.json.bind-api: Nexus connection problem: Nexus connection problem to URL [https://oss.sonatype.org/ ]: 401 - Unauthorized -> [Help 1]
[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/MojoExecutionException
Build step 'Execute shell' marked build as failure
Finished: FAILURE