Skip to content

Console Output

Started by timer
[Pipeline] Start of Pipeline
[Pipeline] library
Loading library capella-pipeline-library@master
Attempting to resolve master from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git ls-remote -- https://github.com/eclipse/capella-pipeline-library.git # timeout=10
Found match: refs/heads/master revision fa5439fa28b59bf449f1d9e00822dd2902cea503
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins/workspace/prefetch-java@libs/e266536f6ed2bff7dbadeb1b1070470f74c013857401b8405230d4f473c4ab42/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/eclipse/capella-pipeline-library.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/eclipse/capella-pipeline-library.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --no-tags --force --progress -- https://github.com/eclipse/capella-pipeline-library.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision fa5439fa28b59bf449f1d9e00822dd2902cea503 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fa5439fa28b59bf449f1d9e00822dd2902cea503 # timeout=10
Commit message: "Add capability to get aarch64 JDK for macOS and Linux"
 > git rev-list --no-walk fa5439fa28b59bf449f1d9e00822dd2902cea503 # timeout=10
[Pipeline] node
Agent centos-7-v94vk is provisioned from template centos-7
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "55a177a28a71a1957f582df488f25d8c2f70df30"
    jenkins/label: "migration_jipp-migration_centos-7"
  name: "centos-7-v94vk"
  namespace: "capella"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.capella.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "centos-7-v94vk"
    - 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: "centos-7-v94vk"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.capella.svc.cluster.local/capella/"
    image: "docker.io/eclipsecbi/jiro-agent-centos-7:remoting-4.13.3"
    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-capella"
      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"

Running on centos-7-v94vk in /home/jenkins/agent/workspace/prefetch-java
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Download JDK)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ curl -X GET 'https://api.adoptium.net/v3/info/release_names?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&page=0&page_size=1&project=jdk&release_type=ga&sort_method=DEFAULT&sort_order=DESC&vendor=eclipse&version=%5B17.0%2C18.0%29' -H 'accept: application/json'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    52  100    52    0     0    245      0 --:--:-- --:--:-- --:--:--   246
[Pipeline] sh
+ curl -L -k -o jdk17-win.zip 'https://api.adoptium.net/v3/binary/latest/17/ga/windows/x64/jdk/hotspot/normal/eclipse?project=jdk'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

 44  180M   44 79.3M    0     0  66.1M      0  0:00:02  0:00:01  0:00:01 66.1M
 99  180M   99  178M    0     0  81.2M      0  0:00:02  0:00:02 --:--:-- 99.2M
100  180M  100  180M    0     0  81.1M      0  0:00:02  0:00:02 --:--:-- 98.8M
[Pipeline] sh
+ ls -la jdk17-win.zip
-rw-r--r--. 1 jenkins 1001800000 188796762 Apr 15 18:24 jdk17-win.zip
[Pipeline] sh
+ curl -L -k -o jdk17-linux.tar.gz 'https://api.adoptium.net/v3/binary/latest/17/ga/linux/x64/jdk/hotspot/normal/eclipse?project=jdk'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0  182M    0  206k    0     0   500k      0  0:06:13 --:--:--  0:06:13  500k
 51  182M   51 94.8M    0     0  67.1M      0  0:00:02  0:00:01  0:00:01 94.6M
100  182M  100  182M    0     0  77.1M      0  0:00:02  0:00:02 --:--:-- 93.2M
[Pipeline] sh
+ ls -la jdk17-linux.tar.gz
-rw-r--r--. 1 jenkins 1001800000 191502157 Apr 15 18:24 jdk17-linux.tar.gz
[Pipeline] sh
+ curl -L -k -o jdk17-mac.tar.gz 'https://api.adoptium.net/v3/binary/latest/17/ga/mac/x64/jdk/hotspot/normal/eclipse?project=jdk'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0  178M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 57  178M   57  102M    0     0  69.8M      0  0:00:02  0:00:01  0:00:01  103M
100  178M  100  178M    0     0  80.2M      0  0:00:02  0:00:02 --:--:--  102M
[Pipeline] sh
+ ls -la jdk17-mac.tar.gz
-rw-r--r--. 1 jenkins 1001800000 187219587 Apr 15 18:24 jdk17-mac.tar.gz
[Pipeline] sh
+ curl -L -k -o jdk17-linux-aarch64.tar.gz 'https://api.adoptium.net/v3/binary/latest/17/ga/linux/aarch64/jdk/hotspot/normal/eclipse?project=jdk'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  6  181M    6 11.2M    0     0  19.1M      0  0:00:09 --:--:--  0:00:09 19.1M
 62  181M   62  112M    0     0  70.9M      0  0:00:02  0:00:01  0:00:01  101M
100  181M  100  181M    0     0  78.5M      0  0:00:02  0:00:02 --:--:-- 98.8M
[Pipeline] sh
+ ls -la jdk17-linux-aarch64.tar.gz
-rw-r--r--. 1 jenkins 1001800000 190151132 Apr 15 18:24 jdk17-linux-aarch64.tar.gz
[Pipeline] sh
+ curl -L -k -o jdk17-mac-aarch64.tar.gz 'https://api.adoptium.net/v3/binary/latest/17/ga/mac/aarch64/jdk/hotspot/normal/eclipse?project=jdk'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

 25  169M   25 43.8M    0     0  51.3M      0  0:00:03 --:--:--  0:00:03 51.3M
 84  169M   84  143M    0     0  77.1M      0  0:00:02  0:00:01  0:00:01 99.2M
100  169M  100  169M    0     0  79.6M      0  0:00:02  0:00:02 --:--:-- 98.7M
[Pipeline] sh
+ ls -la jdk17-mac-aarch64.tar.gz
-rw-r--r--. 1 jenkins 1001800000 177369180 Apr 15 18:24 jdk17-mac-aarch64.tar.gz
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS