Started by user Eugen Neufeld Rebuilds build #41 Running as Eugen Neufeld Agent basic-18rgc is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "basic-18rgc" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.ecp.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-18rgc" - 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-18rgc" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.ecp.svc.cluster.local/ecp/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.5" imagePullPolicy: "Always" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false 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: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-ecp" 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-18rgc in workspace /home/jenkins/agent/workspace/update root composite update site [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-XewJeumZPXQD/agent.71 SSH_AGENT_PID=73 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/update root composite update site@tmp/private_key_10857724027610684944.key (/home/jenkins/agent/workspace/update root composite update site@tmp/private_key_10857724027610684944.key) [ssh-agent] Using credentials genie.ecp (ssh://genie.ecp@projects-storage.eclipse.org) [update root composite update site] $ /bin/bash /tmp/jenkins7086669099221385755.sh KUBERNETES_SERVICE_PORT_HTTPS=443 JENKINS_DISCOVERY_PORT_50000_TCP=tcp://10.30.0.11:50000 KUBERNETES_SERVICE_PORT=443 RUN_TESTS_DISPLAY_URL=https://ci.eclipse.org/ecp/job/update%20root%20composite%20update%20site/42/display/redirect?page=tests HOSTNAME=basic-18rgc LANGUAGE=en_US:en JENKINS_SERVER_COOKIE=fc11a63b79756837 NSS_SDB_USE_CACHE=no JENKINS_DISCOVERY_PORT_50000_TCP_ADDR=10.30.0.11 JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest SSH_AUTH_SOCK=/tmp/ssh-XewJeumZPXQD/agent.71 RepoName=EMF Client Platform Release Builds GITLAB_OBJECT_KIND=none JENKINS_TUNNEL=jenkins-discovery.ecp.svc.cluster.local:50000 RUN_CHANGES_DISPLAY_URL=https://ci.eclipse.org/ecp/job/update%20root%20composite%20update%20site/42/display/redirect?page=changes JENKINS_AGENT_NAME=basic-18rgc JENKINS_UI_PORT_80_TCP_PROTO=tcp JENKINS_UI_PORT=tcp://10.30.237.33:80 PWD=/home/jenkins/agent/workspace/update root composite update site HUDSON_HOME=/var/jenkins JENKINS_UI_PORT_80_TCP_ADDR=10.30.237.33 BUILD_URL=https://ci.eclipse.org/ecp/job/update%20root%20composite%20update%20site/42/ JOB_URL=https://ci.eclipse.org/ecp/job/update%20root%20composite%20update%20site/ BUILD_NUMBER=42 USER_NAME=jenkins BUILD_DISPLAY_NAME=#42 HOME=/home/jenkins LANG=en_US.UTF-8 KUBERNETES_PORT_443_TCP=tcp://10.30.0.1:443 JENKINS_DISCOVERY_PORT_50000_TCP_PROTO=tcp JENKINS_NAME=basic-18rgc JENKINS_URL=https://ci.eclipse.org/ecp/ JOB_BASE_NAME=update root composite update site JENKINS_UI_SERVICE_PORT=80 JOB_NAME=update root composite update site RUN_DISPLAY_URL=https://ci.eclipse.org/ecp/job/update%20root%20composite%20update%20site/42/display/redirect JENKINS_UI_SERVICE_PORT_HTTP=80 JENKINS_DISCOVERY_PORT_50000_TCP_PORT=50000 JOB_DISPLAY_URL=https://ci.eclipse.org/ecp/job/update%20root%20composite%20update%20site/display/redirect OPENJ9_JAVA_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle JENKINS_UI_PORT_80_TCP_PORT=80 JENKINS_UI_SERVICE_HOST=10.30.237.33 WORKSPACE=/home/jenkins/agent/workspace/update root composite update site JENKINS_UI_PORT_80_TCP=tcp://10.30.237.33:80 JENKINS_DISCOVERY_PORT=tcp://10.30.0.11:50000 HUDSON_URL=https://ci.eclipse.org/ecp/ JENKINS_REMOTING_JAVA_OPTS=-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true TERM=xterm NODE_NAME=basic-18rgc JENKINS_DISCOVERY_SERVICE_HOST=10.30.0.11 HUDSON_SERVER_COOKIE=fc11a63b79756837 SHLVL=1 BUILD_TAG=jenkins-update root composite update site-42 KUBERNETES_PORT_443_TCP_PROTO=tcp EXECUTOR_NUMBER=0 HUDSON_COOKIE=10f4b61e-1a4f-4416-81d1-96a8832c6fcf JENKINS_SECRET=d23e98fd30140c274c2e0b0e371842bae1ddcb1a1c43449c43dab3b79becdadd JENKINS_HOME=/var/jenkins KUBERNETES_PORT_443_TCP_ADDR=10.30.0.1 JENKINS_AGENT_WORKDIR=/home/jenkins/agent ReleasesToAdd=releases_124,releases_125,releases_126 KUBERNETES_SERVICE_HOST=10.30.0.1 LC_ALL=en_US.UTF-8 KUBERNETES_PORT=tcp://10.30.0.1:443 KUBERNETES_PORT_443_TCP_PORT=443 NODE_LABELS=basic-18rgc WORKSPACE_TMP=/home/jenkins/agent/workspace/update root composite update site@tmp JENKINS_DISCOVERY_SERVICE_PORT_JNLP=50000 PATH=/opt/tools/java/oracle/jdk-8/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN_ARTIFACTS_DISPLAY_URL=https://ci.eclipse.org/ecp/job/update%20root%20composite%20update%20site/42/display/redirect?page=artifacts JENKINS_DISCOVERY_SERVICE_PORT=50000 BUILD_ID=42 JAVA_VERSION=jdk-11.0.10+9_openj9-0.24.0 _=/usr/bin/env env /home/data/httpd/download.eclipse.org/ecp/releases/ EMF Client Platform Release Builds releases_124 releases_125 releases_126 Last login: Wed Mar 17 13:06:39 2021 from 172.30.50.33 build.eclipse.org *** Please be aware that this server must be used for purposes approved by the Eclipse Management Organization (EMO) and/or an Eclipse Project Management Committee (PMC). Using this server to establish outbound connections or to open ports on remote systems is PERMITTED, provided usage is in accordance with the EMO or your project's PMC. Please contact webmaster@eclipse.org for info. *** - To access the downloads area, type: cd downloads - To change your password, please log in to http://portal.eclipse.org/ - Everything you need is in: - /home/data/httpd/download.eclipse.org, archive.eclipse.org - /cvsroot, /svnroot and /gitroot - /shared *** - Do not use your user home directory as a working directory (except local *build accounts) - Use /shared as a working directory, and to temporarily store build artifacts. It is accessible via http://build.eclipse.org/(directory) - Please note: /shared and *build home directories are snapshot, not backed up - Using local filesystems (:local:/cvsroot, etc) for code repository access will be faster and more reliable than user pserver. - http://dev.eclipse.org/cacti/ for build server & Hudson health If your prompt is r$ and you are disconnected after a command, you have a restricted shell. Please login to the portal and request a real shell if you really need one. New Git repos can be created without a shell by using: initrepo /gitroot/path/to/repo.git # Update top composite update site cd /home/data/httpd/download.eclipse.org/ecp/releases/ rm compositeArtifacts.jar rm compositeContent.jar echo "create composite" ## get length of array len=3 ## Use bash for loop for (( i=0; i<3; i++ )); do echo "releases_124" ; done for release in "releases_124 releases_125 releases_126" ; do /shared/rt/rap/scripts/comp-repo.sh . --name "EMF Client Platform Release Builds" --eclipse /shared/rt/rap/build-runtimes/eclipse add done exit 0 [?1034hgenie.ecp@build:~> # Update top composite update site genie.ecp@build:~> cd /home/data/httpd/download.eclipse.org/ecp/releases/ genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> rm composite Artifacts.jar rm: cannot remove `compositeArtifacts.jar': No such file or directory genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> rm composite Content.jar rm: cannot remove `compositeContent.jar': No such file or directory genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> echo "create composite" create composite genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> ## get lengt h of array genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> len=3 genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> ## Use bash for loop genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> for (( i=0; i<3; i++ )); do echo "releases_124" ; done releases_124 releases_124 releases_124 genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> for release in "releases_124 releases_125 releases_126" ; do > /shared/rt/rap/scripts/comp-repo.sh . --name "EMF Client Platform Release Builds" --eclipse /shared/rt/rap/build-runtimes/eclipse add > done Composite Repository Tool Error: Missing parameter for 'add' Usage: comp-repo.sh <repo-dir> [options] operation, operation ... Options: --name <repo name> the repository name --eclipse <eclipse install dir> the eclipse installation to use, can also be provided as $ECLIPSE_DIR Operations: add <child> adds a child repository to the composite repository <child> can be a directory or a URL remove <child> removes a child repository to the composite repository <child> can be a directory or a URL Examples: Create a composite repository with subfolder build-01 as first child: /shared/rt/rap/scripts/comp-repo.sh /path/to/repo --name "My repository" add build-01 Add childs build-05 and build-06, remove build-01: /shared/rt/rap/scripts/comp-repo.sh /path/to/repo add build-05 add build-06 remove build-01 genie.ecp@build:/home/data/httpd/download.eclipse.org/ecp/releases> exit 0 logout Connection to projects-storage.eclipse.org closed. $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 73 killed; [ssh-agent] Stopped. Finished: SUCCESS