Skip to content

Console Output

Started by user Camille Letavernier
Running as Camille Letavernier
Agent basic-zbn70 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-zbn70"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.papyrus.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-zbn70"
    - 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-zbn70"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.papyrus.svc.cluster.local/papyrus/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.7"
    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
    - 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-papyrus"
      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-zbn70 (basic) in workspace /home/jenkins/agent/workspace/Papyrus-Compare-Publish
[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-ZCGAoo4UxxDX/agent.59
SSH_AGENT_PID=61
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/Papyrus-Compare-Publish@tmp/private_key_6888789801872977575.key (/home/jenkins/agent/workspace/Papyrus-Compare-Publish@tmp/private_key_6888789801872977575.key)
[ssh-agent] Using credentials genie.papyrus (ssh://genie.papyrus@projects-storage.eclipse.org)
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://git.eclipse.org/r/papyrus/org.eclipse.papyrus-collaborativemodeling.git
 > git init /home/jenkins/agent/workspace/Papyrus-Compare-Publish # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/papyrus/org.eclipse.papyrus-collaborativemodeling.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/papyrus/org.eclipse.papyrus-collaborativemodeling.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.eclipse.org/r/papyrus/org.eclipse.papyrus-collaborativemodeling.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/compare-releng^{commit} # timeout=10
Checking out Revision d15f2afc32042343b37d5d63b84ef3a7378231dc (refs/remotes/origin/compare-releng)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d15f2afc32042343b37d5d63b84ef3a7378231dc # timeout=10
Commit message: "[Releng] Update publish scripts"
 > git rev-list --no-walk 882a489db63413e7db0b87aff2376f172e7797de # timeout=10
[Papyrus-Compare-Publish] $ /bin/sh -xe /tmp/jenkins16193854552079908471.sh
+ set -eu
+ /bin/sh compare/releng/scripts/publish-nightly.sh --version 0.7.0 -r lastSuccessfulBuild/artifact/ -b integration -i 2021-10-01_08-51-52 -j Papyrus-Compare-Integration -z org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip
++ dirname compare/releng/scripts/publish-nightly.sh
+ source compare/releng/scripts/common.sh
++ sshGenie=genie.papyrus
++ sshRemote=projects-storage.eclipse.org
++ SSH=ssh
++ SCP=scp
++ set -ux
++ export P2_ADMIN_PATH=/shared/modeling/emf/compare/p2-admin
++ P2_ADMIN_PATH=/shared/modeling/emf/compare/p2-admin
++ export PAPYRUS_COMPARE_UPDATES_ROOT=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ PAPYRUS_COMPARE_UPDATES_ROOT=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ export PAPYRUS_COMPARE_UPDATES_BASE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ PAPYRUS_COMPARE_UPDATES_BASE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates
++ NIGHTLY=nightly
++ NIGHTLY_PREFIX=N
++ INTEGRATION=integration
++ INTEGRATION_PREFIX=I
++ RELEASE=release
++ RELEASE_PREFIX=R
++ PREFIXES=NIR
++ VERSION_PATTERN='([0-9]+)\.([0-9]+)\.([0-9]+)-?([NIR])?([0-9]{8}-[0-9]{6})?'
++ [[ linux-gnu == \l\i\n\u\x* ]]
++ alias 'sed-regex=sed -r'
++ alias find-regex=findGnuRegex
++ ssh genie.papyrus@projects-storage.eclipse.org chmod u+x /shared/modeling/emf/compare/p2-admin
chmod: changing permissions of '/shared/modeling/emf/compare/p2-admin': Operation not permitted
++ alias 'p2-admin=/opt/tools/java/oracle/jdk-8/latest/bin/java -jar /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_*.jar'
++ alias 'composite-repository=p2-admin -application org.eclipselabs.equinox.p2.composite.repository -compressed'
+ BUILD_TYPE=nightly
++ basename compare/releng/scripts/publish-nightly.sh
+ PROG=publish-nightly.sh
+ REPOSITORY_PATH=lastSuccessfulBuild/artifact
+ HELP=false
+ SHORT_OPT_STRING=h:j:i:r:z:b:v
+ getopt -T
+ '[' 4 -eq 4 ']'
++ getopt --name publish-nightly.sh --long help,zip-name:,build-type:,build-id:,version:,repository:,job --options h:j:i:r:z:b:v -- --version 0.7.0 -r lastSuccessfulBuild/artifact/ -b integration -i 2021-10-01_08-51-52 -j Papyrus-Compare-Integration -z org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip
+ ARGS=' --version '\''0.7.0'\'' -r '\''lastSuccessfulBuild/artifact/'\'' -b '\''integration'\'' -i '\''2021-10-01_08-51-52'\'' -j '\''Papyrus-Compare-Integration'\'' -z '\''org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip'\'' --'
+ '[' 0 -ne 0 ']'
+ eval set -- --version ''\''0.7.0'\''' -r ''\''lastSuccessfulBuild/artifact/'\''' -b ''\''integration'\''' -i ''\''2021-10-01_08-51-52'\''' -j ''\''Papyrus-Compare-Integration'\''' -z ''\''org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip'\''' --
++ set -- --version 0.7.0 -r lastSuccessfulBuild/artifact/ -b integration -i 2021-10-01_08-51-52 -j Papyrus-Compare-Integration -z org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip --
+ '[' 13 -gt 0 ']'
+ case "$1" in
+ VERSION=0.7.0
+ shift
+ shift
+ '[' 11 -gt 0 ']'
+ case "$1" in
+ REPOSITORY_PATH=lastSuccessfulBuild/artifact/
+ shift
+ shift
+ '[' 9 -gt 0 ']'
+ case "$1" in
+ BUILD_TYPE=integration
+ shift
+ shift
+ '[' 7 -gt 0 ']'
+ case "$1" in
+ BUILD_ID=2021-10-01_08-51-52
+ shift
+ shift
+ '[' 5 -gt 0 ']'
+ case "$1" in
+ JOB_NAME=Papyrus-Compare-Integration
+ shift
+ shift
+ '[' 3 -gt 0 ']'
+ case "$1" in
+ ZIP_NAME=org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip
+ shift
+ shift
+ '[' 1 -gt 0 ']'
+ case "$1" in
+ shift
+ break
+ '[' false = true ']'
+ '[' -z Papyrus-Compare-Integration ']'
+ '[' -z lastSuccessfulBuild/artifact/ ']'
+ '[' -z integration ']'
++ echo integration
++ tr '[:upper:]' '[:lower:]'
+ BUILD_TYPE=integration
+ case "$BUILD_TYPE" in
+ BUILD_PREFIX=I
+ '[' -z 2021-10-01_08-51-52 ']'
+ echo 2021-10-01_08-51-52
+ grep -E '^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{2}-[0-9]{2}-[0-9]{2}$'
+ '[' 0 -ne 0 ']'
+ '[' -z 0.7.0 ']'
+ echo 0.7.0
+ grep -E '^[0-9]+\.[0-9]+\.[0-9]+$'
+ '[' 0 -ne 0 ']'
+ set -e
++ minorStream 0.7.0
++ local version=0.7.0
++ echo 0.7.0
++ sed -r -e 's/^([0-9]+\.[0-9]+\.).*$/\1x/'
+ export MINOR_STREAM=0.7.x
+ MINOR_STREAM=0.7.x
++ majorStream 0.7.0
++ local version=0.7.0
++ echo 0.7.0
++ sed -r -e 's/^([0-9]+\.).*$/\1x/'
+ export MAJOR_STREAM=0.x
+ MAJOR_STREAM=0.x
++ buildTimestamp 2021-10-01_08-51-52
++ local buildId=2021-10-01_08-51-52
++ echo 2021-10-01_08-51-52
++ sed -e s/-//g -e s/_/-/
+ export BUILD_TIMESTAMP=20211001-085152
+ BUILD_TIMESTAMP=20211001-085152
+ export FULL_VERSION=0.7.0-I20211001-085152
+ FULL_VERSION=0.7.0-I20211001-085152
+ export BUILD_PATH=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration
+ BUILD_PATH=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration
+ export UPDATE_SITE_PATH=
+ UPDATE_SITE_PATH=
+ export UPDATE_SITE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152
+ UPDATE_SITE_URL=http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152
+ repoDir=/home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152
+ echo 'Publishing build /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152 to http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152'
Publishing build /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152 to http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152
+ ssh genie.papyrus@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152
+ mkdir tmp
+ cd tmp
+ wget --no-check-certificate https://ci.eclipse.org/papyrus/job/Papyrus-Compare-Integration/lastSuccessfulBuild/artifact//org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip
--2021-10-01 12:52:02--  https://ci.eclipse.org/papyrus/job/Papyrus-Compare-Integration/lastSuccessfulBuild/artifact//org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip
Resolving ci.eclipse.org (ci.eclipse.org)... 198.41.30.195
Connecting to ci.eclipse.org (ci.eclipse.org)|198.41.30.195|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 436722 (426K) [application/zip]
Saving to: ‘org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip’

     0K .......... .......... .......... .......... .......... 11% 9.96M 0s
    50K .......... .......... .......... .......... .......... 23% 54.8M 0s
   100K .......... .......... .......... .......... .......... 35% 5.76M 0s
   150K .......... .......... .......... .......... .......... 46% 36.5M 0s
   200K .......... .......... .......... .......... .......... 58% 61.7M 0s
   250K .......... .......... .......... .......... .......... 70% 30.3M 0s
   300K .......... .......... .......... .......... .......... 82% 37.0M 0s
   350K .......... .......... .......... .......... .......... 93% 4.54M 0s
   400K .......... .......... ......                          100%  114M=0.03s

2021-10-01 12:52:03 (13.7 MB/s) - ‘org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip’ saved [436722/436722]

+ unzip -t org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip
Archive:  org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip
    testing: features/                OK
    testing: plugins/                 OK
    testing: web/                     OK
    testing: content.jar              OK
    testing: features/org.eclipse.papyrus.compare.feature_0.7.0.202110011130.jar   OK
    testing: features/org.eclipse.papyrus.compare.feature.source_0.7.0.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.diagram_2.6.2.202110011130.jar.pack.gz   OK
    testing: plugins/org.eclipse.papyrus.compare.diagram_2.6.2.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.uml2.source_2.5.1.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.uml2_2.5.1.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.uml2_2.5.1.202110011130.jar.pack.gz   OK
    testing: plugins/org.eclipse.papyrus.compare.uml2.edit_1.0.1.202110011130.jar.pack.gz   OK
    testing: plugins/org.eclipse.papyrus.compare.uml2.edit_1.0.1.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.diagram.ide.ui_2.8.1.202110011130.jar.pack.gz   OK
    testing: plugins/org.eclipse.papyrus.compare.diagram.ide.ui_2.8.1.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.egit.ui_1.0.0.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.egit.ui_1.0.0.202110011130.jar.pack.gz   OK
    testing: plugins/org.eclipse.papyrus.compare.diagram.source_2.6.2.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.diagram.ide.ui.source_2.8.1.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.uml2.edit.source_1.0.1.202110011130.jar   OK
    testing: plugins/org.eclipse.papyrus.compare.egit.ui.source_1.0.0.202110011130.jar   OK
    testing: artifacts.jar            OK
    testing: artifacts.xml.xz         OK
    testing: p2.index                 OK
    testing: index.html               OK
    testing: web/site.css             OK
    testing: category.xml             OK
    testing: site.properties          OK
    testing: content.xml.xz           OK
    testing: buildinfo.json           OK
No errors detected in compressed data of org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip.
+ env
+ sort
+ scp -r build_env.txt org.eclipse.papyrus.compare.p2-0.7.0-SNAPSHOT.zip genie.papyrus@projects-storage.eclipse.org://home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152
+ cd ..
+ rm -r tmp
+ echo 'Adding http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152 to composites repositories:'
Adding http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152 to composites repositories:
+ echo '    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0'
    http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0
+ /opt/tools/java/oracle/jdk-8/latest/bin/java -jar '/shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_*.jar' -application org.eclipselabs.equinox.p2.composite.repository -compressed -location /home/data/httpd/download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152 -add http://download.eclipse.org/modeling/mdt/papyrus/components/compare/updates/integration/0.7.0-I20211001-085152 -repositoryName 'Papyrus Compare 0.7.0 integration builds'
Error: Unable to access jarfile /shared/modeling/emf/compare/p2-admin/plugins/org.eclipse.equinox.launcher_*.jar
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 61 killed;
[ssh-agent] Stopped.
Finished: FAILURE