Started by user Bongjae Chang
Running as Bongjae Chang
Agent basic-7nlr1 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-7nlr1"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.grizzly.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-7nlr1"
- 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-7nlr1"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.grizzly.svc.cluster.local/grizzly/"
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-grizzly"
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"
[EnvInject] - Loading node environment variables.
Building remotely on basic-7nlr1 (basic) in workspace /home/jenkins/agent/workspace/Grizzly-nexus-repository-commands
[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-rhwjvdaQCJ7v/agent.87
SSH_AGENT_PID=89
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/Grizzly-nexus-repository-commands@tmp/private_key_14862009035640802087.key (/home/jenkins/agent/workspace/Grizzly-nexus-repository-commands@tmp/private_key_14862009035640802087.key)
[ssh-agent] Using credentials eclipse-grizzly-bot (GitHub bot SSH)
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/grizzly-thrift.git
> git init /home/jenkins/agent/workspace/Grizzly-nexus-repository-commands # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/grizzly-thrift.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/Grizzly-nexus-repository-commands@tmp/jenkins-gitclient-ssh15785033431530704293.key
> git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/grizzly-thrift.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@github.com:eclipse-ee4j/grizzly-thrift.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/master^{commit} # timeout=10
Checking out Revision 4aace4d8c624a375cdebfaaad8dc330d7709446b (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4aace4d8c624a375cdebfaaad8dc330d7709446b # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master 4aace4d8c624a375cdebfaaad8dc330d7709446b # timeout=10
Commit message: "Merge pull request #24 from carryel/master"
> git rev-list --no-walk 4aace4d8c624a375cdebfaaad8dc330d7709446b # timeout=10
[Grizzly-nexus-repository-commands] $ /bin/bash -ex /tmp/jenkins1534364152946193535.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-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
+ [[ LIST_STAGING_REPOSITORIES = \L\I\S\T\_\P\R\O\F\I\L\E\S ]]
+ [[ LIST_STAGING_REPOSITORIES = \L\I\S\T\_\S\T\A\G\I\N\G\_\R\E\P\O\S\I\T\O\R\I\E\S ]]
+ mvnq nexus-staging:rc-list
+ mvn -s /home/jenkins/.m2/settings.xml -B nexus-staging:rc-list -Pstaging
+ grep -v '^\[INFO\] Download'
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< org.glassfish.grizzly:grizzly-thrift >----------------
[INFO] Building grizzly-thrift 1.3.16-SNAPSHOT
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- nexus-staging-maven-plugin:1.6.8:rc-list (default-cli) @ grizzly-thrift ---
[INFO] + Using server credentials "ossrh" from Maven settings.
[INFO] * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.14.21-02 and edition "Professional"
[INFO] Getting list of available staging repositories...
[INFO]
[INFO] ID State Description
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.181 s
[INFO] Finished at: 2022-02-24T09:33:50Z
[INFO] ------------------------------------------------------------------------
+ exit 0
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 89 killed;
[ssh-agent] Stopped.
Finished: SUCCESS