Started by user Frederic Gurr
Running as Frederic Gurr
Agent basic-0dzmw is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-0dzmw"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.cbi.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-0dzmw"
- 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-0dzmw"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10"
imagePullPolicy: "Always"
name: "jnlp"
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1000m"
memory: "4096Mi"
tty: true
volumeMounts:
- mountPath: "/home/jenkins/.gradle/daemon"
name: "volume-6"
readOnly: false
- mountPath: "/home/jenkins/.gradle/caches"
name: "volume-5"
readOnly: false
- mountPath: "/home/jenkins/.mavenrc"
name: "m2-dir"
readOnly: true
subPath: ".mavenrc"
- 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/.gradle/gradle.properties"
name: "gradle-secret-dir"
readOnly: true
subPath: "gradle.properties"
- mountPath: "/home/jenkins/.gradle/workers"
name: "volume-8"
readOnly: false
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "m2-dir"
readOnly: true
subPath: "toolchains.xml"
- mountPath: "/opt/tools"
name: "volume-0"
readOnly: false
- mountPath: "/home/jenkins"
name: "volume-2"
readOnly: false
- mountPath: "/home/jenkins/.gradle/native"
name: "volume-7"
readOnly: false
- 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
- mountPath: "/home/jenkins/.gradle/wrapper"
name: "volume-9"
readOnly: false
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
workingDir: "/home/jenkins/agent"
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- name: "m2-secret-dir"
secret:
secretName: "m2-secret-dir"
- emptyDir:
medium: ""
name: "volume-8"
- emptyDir:
medium: ""
name: "volume-7"
- emptyDir:
medium: ""
name: "volume-9"
- emptyDir:
medium: ""
name: "workspace-volume"
- emptyDir:
medium: ""
name: "volume-4"
- emptyDir:
medium: ""
name: "volume-3"
- emptyDir:
medium: ""
name: "volume-6"
- emptyDir:
medium: ""
name: "volume-5"
- name: "volume-0"
persistentVolumeClaim:
claimName: "tools-claim-jiro-cbi"
readOnly: true
- emptyDir:
medium: ""
name: "volume-2"
- configMap:
name: "m2-dir"
name: "m2-dir"
- configMap:
name: "known-hosts"
name: "volume-1"
- name: "gradle-secret-dir"
secret:
secretName: "gradle-secret-dir"
Building remotely on basic-0dzmw (basic) in workspace /home/jenkins/agent/workspace/cbi-eclipse-license
[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-iLHpTxZ8Mm9a/agent.71
SSH_AGENT_PID=73
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/cbi-eclipse-license@tmp/private_key_2892001265924503667.key (/home/jenkins/agent/workspace/cbi-eclipse-license@tmp/private_key_2892001265924503667.key)
[ssh-agent] Using credentials genie.cbi (genie.cbi (for centslave1 and mac-tests2))
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-cbi/epl-license-feature.git
> git init /home/jenkins/agent/workspace/cbi-eclipse-license # timeout=10
Fetching upstream changes from https://github.com/eclipse-cbi/epl-license-feature.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
> git fetch --tags --force --progress -- https://github.com/eclipse-cbi/epl-license-feature.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/eclipse-cbi/epl-license-feature.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse origin/main^{commit} # timeout=10
Checking out Revision 332ad2480125bb5ac6855af12b5be0f3eb2818d1 (origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 332ad2480125bb5ac6855af12b5be0f3eb2818d1 # timeout=10
Commit message: "Add CONTRIBUTING.md, LICENSE and NOTICE.md"
> git rev-list --no-walk 332ad2480125bb5ac6855af12b5be0f3eb2818d1 # timeout=10
[cbi-eclipse-license] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -Dmaven.repo.local=/home/jenkins/agent/workspace/cbi-eclipse-license/.repository deploy -B
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/tools/apache-maven/latest
Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: /opt/tools/java/oracle/jdk-8/1.8.0_202/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.12.7-300.fc34.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: org.eclipse.license:org.eclipse.license:2.0.2-SNAPSHOT @ /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.license:org.eclipse.license:2.0.2-SNAPSHOT @ /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/pom.xml
[INFO] Resolving class path of MavenProject: org.eclipse.license:org.eclipse.license:2.0.2-SNAPSHOT @ /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/pom.xml
[INFO] Computing target platform for MavenProject: org.eclipse.license:org.eclipse.license.repo:2.0.2-SNAPSHOT @ /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.license:org.eclipse.license.repo:2.0.2-SNAPSHOT @ /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/pom.xml
[INFO] Resolving class path of MavenProject: org.eclipse.license:org.eclipse.license.repo:2.0.2-SNAPSHOT @ /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/pom.xml
[WARNING] The project org.eclipse.license:eclipse-license-parent:pom:2.0.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] eclipse-license-parent [pom]
[INFO] org.eclipse.license [eclipse-feature]
[INFO] org.eclipse.license.repo [eclipse-repository]
[INFO]
[INFO] -------------< org.eclipse.license:eclipse-license-parent >-------------
[INFO] Building eclipse-license-parent 2.0.2-SNAPSHOT [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ eclipse-license-parent ---
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/pom.xml to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/eclipse-license-parent/2.0.2-SNAPSHOT/eclipse-license-parent-2.0.2-SNAPSHOT.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ eclipse-license-parent ---
[INFO]
[INFO] --------------< org.eclipse.license:org.eclipse.license >---------------
[INFO] Building org.eclipse.license 2.0.2-SNAPSHOT [2/3]
[INFO] --------------------------[ eclipse-feature ]---------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ org.eclipse.license ---
[INFO] The project's OSGi version is 2.0.2.v20181016-2210
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-id (default-validate-id) @ org.eclipse.license ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-version (default-validate-version) @ org.eclipse.license ---
[INFO]
[INFO] --- target-platform-configuration:1.0.0:target-platform (default-target-platform) @ org.eclipse.license ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:package-feature (default-package-feature) @ org.eclipse.license ---
[INFO] Building jar: /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/target/org.eclipse.license-2.0.2-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.license ---
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:feature-p2-metadata (default-feature-p2-metadata) @ org.eclipse.license ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ org.eclipse.license ---
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/target/org.eclipse.license-2.0.2-SNAPSHOT.jar to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license/2.0.2-SNAPSHOT/org.eclipse.license-2.0.2-SNAPSHOT.jar
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/pom.xml to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license/2.0.2-SNAPSHOT/org.eclipse.license-2.0.2-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/target/p2content.xml to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license/2.0.2-SNAPSHOT/org.eclipse.license-2.0.2-SNAPSHOT-p2metadata.xml
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license/target/p2artifacts.xml to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license/2.0.2-SNAPSHOT/org.eclipse.license-2.0.2-SNAPSHOT-p2artifacts.xml
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:update-local-index (default-update-local-index) @ org.eclipse.license ---
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ org.eclipse.license ---
[INFO]
[INFO] ------------< org.eclipse.license:org.eclipse.license.repo >------------
[INFO] Building org.eclipse.license.repo 2.0.2-SNAPSHOT [3/3]
[INFO] -------------------------[ eclipse-repository ]-------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ org.eclipse.license.repo ---
[INFO] The project's OSGi version is 2.0.2.v20181016-2210
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @ org.eclipse.license.repo ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.license.repo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- target-platform-configuration:1.0.0:target-platform (default-target-platform) @ org.eclipse.license.repo ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:1.0.0:publish-products (default-publish-products) @ org.eclipse.license.repo ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:1.0.0:publish-categories (default-publish-categories) @ org.eclipse.license.repo ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:1.0.0:attach-artifacts (default-attach-artifacts) @ org.eclipse.license.repo ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:1.0.0:assemble-repository (default-assemble-repository) @ org.eclipse.license.repo ---
[INFO] Copying resources from /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/target/classes to /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/target/repository
[INFO]
[INFO] --- tycho-p2-repository-plugin:1.0.0:archive-repository (default-archive-repository) @ org.eclipse.license.repo ---
[INFO] Building zip: /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/target/org.eclipse.license.repo-2.0.2-SNAPSHOT.zip
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ org.eclipse.license.repo ---
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/target/org.eclipse.license.repo-2.0.2-SNAPSHOT.zip to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license.repo/2.0.2-SNAPSHOT/org.eclipse.license.repo-2.0.2-SNAPSHOT.zip
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/pom.xml to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license.repo/2.0.2-SNAPSHOT/org.eclipse.license.repo-2.0.2-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/target/p2content.xml to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license.repo/2.0.2-SNAPSHOT/org.eclipse.license.repo-2.0.2-SNAPSHOT-p2metadata.xml
[INFO] Installing /home/jenkins/agent/workspace/cbi-eclipse-license/org.eclipse.license.repo/target/p2artifacts.xml to /home/jenkins/agent/workspace/cbi-eclipse-license/.repository/org/eclipse/license/org.eclipse.license.repo/2.0.2-SNAPSHOT/org.eclipse.license.repo-2.0.2-SNAPSHOT-p2artifacts.xml
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:update-local-index (default-update-local-index) @ org.eclipse.license.repo ---
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ org.eclipse.license.repo ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for eclipse-license-parent 2.0.2-SNAPSHOT:
[INFO]
[INFO] eclipse-license-parent ............................. SUCCESS [ 1.737 s]
[INFO] org.eclipse.license ................................ SUCCESS [ 1.894 s]
[INFO] org.eclipse.license.repo ........................... SUCCESS [ 2.564 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.167 s
[INFO] Finished at: 2021-08-30T18:09:28Z
[INFO] ------------------------------------------------------------------------
[cbi-eclipse-license] $ /bin/sh -xe /tmp/jenkins2202589995079636192.sh
++ grep -m 1 '<version>' pom.xml
+ var=' <version>2.0.2-SNAPSHOT</version>'
+ VERSION=' <version>2.0.2-SNAPSHOT'
+ VERSION=2.0.2-SNAPSHOT
+ echo 'Version == 2.0.2-SNAPSHOT'
Version == 2.0.2-SNAPSHOT
+ '[' '!' -z 2.0.2-SNAPSHOT ']'
+ DL_PATH=/home/data/httpd/download.eclipse.org/cbi/updates/license/2.0.2-SNAPSHOT
+ ssh genie.cbi@projects-storage.eclipse.org rm -rf /home/data/httpd/download.eclipse.org/cbi/updates/license/2.0.2-SNAPSHOT
+ ssh genie.cbi@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/cbi/updates/license/2.0.2-SNAPSHOT
+ scp -r org.eclipse.license.repo/target/repository/artifacts.jar org.eclipse.license.repo/target/repository/artifacts.xml.xz org.eclipse.license.repo/target/repository/content.jar org.eclipse.license.repo/target/repository/content.xml.xz org.eclipse.license.repo/target/repository/features org.eclipse.license.repo/target/repository/index.html org.eclipse.license.repo/target/repository/p2.index genie.cbi@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/cbi/updates/license/2.0.2-SNAPSHOT
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 73 killed;
[ssh-agent] Stopped.
Sending e-mails to: mikael.barbero@eclipse-foundation.org
Finished: SUCCESS