Started by user Lukas Jungmann
Running as Lukas Jungmann
Agent basic-5651v is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-5651v"
namespace: "metro"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.metro.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-5651v"
- 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-5651v"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.metro.svc.cluster.local/metro/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc"
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-metro"
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-5651v (basic) in workspace /home/jenkins/agent/workspace/nexus-staging
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[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-SQGTuzuXAY8s/agent.49
SSH_AGENT_PID=51
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/nexus-staging@tmp/private_key_13909160937290092695.key (/home/jenkins/agent/workspace/nexus-staging@tmp/private_key_13909160937290092695.key)
[ssh-agent] Using credentials eclipse-metro-bot (GitHub bot SSH)
[nexus-staging] $ /bin/bash -ex /tmp/jenkins9546682359040221262.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/oracle
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/oracle/jdk-9/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-9/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'
+ case "${PROJECT}" in
+ '[' list '!=' list ']'
+ GIT_REPO=
+ '[' -n '' ']'
+ echo 'Project: API'
Project: API
+ echo 'Action: list'
Action: list
+ echo 'Repository ID prefix: '
Repository ID prefix:
+ echo 'Artifact: :'
Artifact: :
+ case "${ACTION}" in
+ echo '-[ Profiles List ]--------------------------------------------------------------'
-[ Profiles List ]--------------------------------------------------------------
+ mvn -B -DnexusUrl=https://jakarta.oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list-profiles -Pstaging
[INFO] Scanning for projects...
[WARNING] The requested profile "staging" could not be activated because it does not exist.
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- nexus-staging:1.6.7:rc-list-profiles (default-cli) @ standalone-pom ---
[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] * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.15.1-02 and edition "Professional"
[INFO] Getting list of available staging profiles...
[INFO]
[INFO] ID Mode Name
[INFO] 1c11ae715790b BOTH com.sun.wts
[INFO] 1c11721746c45 BOTH com.sun.xml
[INFO] 3cef8b9afa2e BOTH jakarta.xml
[INFO] 1c08d514f747d BOTH javax.xml
[INFO] 1c0c18a0fc339 BOTH org.glassfish
[INFO] 1c10a82c15897 BOTH org.jvnet.mimepull
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.959 s
[INFO] Finished at: 2024-02-19T09:55:03Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "staging" could not be activated because it does not exist.
+ echo '-[ Staging Repository List ]----------------------------------------------------'
-[ Staging Repository List ]----------------------------------------------------
+ '[' -n '' ']'
+ mvn -B -DnexusUrl=https://jakarta.oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list -Pstaging
[INFO] Scanning for projects...
[WARNING] The requested profile "staging" could not be activated because it does not exist.
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- nexus-staging:1.6.7:rc-list (default-cli) @ standalone-pom ---
[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] * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.15.1-02 and edition "Professional"
[INFO] Getting list of available staging repositories...
[INFO]
[INFO] ID State Description
[INFO] comsunxml-1018 CLOSED Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: &quot;linux&quot;, version: &quot;3.10.0-1062.el7.x86_64&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot; com.sun.xml.messaging.saaj:Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: &quot;linux&quot;, version: &quot;3.10.0-1062.el7.x86_64&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot; metro-saaj:2.0.0
[INFO] comsunxml-1026 CLOSED com.sun.xml.ws:project:3.0.1-b01
[INFO] comsunxml-1027 CLOSED com.sun.xml.ws:project:2.3.4-b01
[INFO] comsunxml-1029 CLOSED com.sun.xml.ws:project:3.0.1-b02
[INFO] comsunxml-1061 CLOSED com.sun.xml.messaging.saaj:metro-saaj:3.0.4
[INFO] orgglassfish-1062 CLOSED jakarta.el:jakarta.el-api:4.0.0
[INFO] orgglassfish-1261 CLOSED org.glassfish.hk2:hk2-parent:3.0.4
[INFO] orgglassfish-1290 CLOSED org.glassfish.docs:docs:7.0.10
[INFO] orgglassfish-1306 CLOSED org.glassfish.hk2:hk2-parent:4.0.0-M1.1
[INFO] orgglassfish-1307 CLOSED org.glassfish:jakarta.enterprise.concurrent:3.1.0-M1
[INFO] orgglassfish-1308 CLOSED org.glassfish.main:glassfish-main-aggregator:8.0.0-M1.1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.403 s
[INFO] Finished at: 2024-02-19T09:55:40Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "staging" could not be activated because it does not exist.
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 51 killed;
[ssh-agent] Stopped.
Finished: SUCCESS