SuccessConsole Output

Started by user Alwin Joseph
Agent default-agent-w33vr is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (null): 
* [jnlp] eclipsecbijenkins/jenkins-agent:latest@sha256:34d007cfdbf90099588d4548e029299f4de926cffb47a02097fd2daa1254570d(resourceRequestCpu: 1250m, resourceRequestMemory: 2560Mi, resourceLimitCpu: 2375m, resourceLimitMemory: 2560Mi)
yaml:
apiVersion: v1
kind: Pod
spec:
  containers:
  - name: jnlp
    volumeMounts:
    - name: settings-xml
      mountPath: /home/jenkins/.m2/settings.xml
      subPath: settings.xml
      readOnly: true
    - name: toolchains-xml
      mountPath: /home/jenkins/.m2/toolchains.xml
      subPath: toolchains.xml
      readOnly: true
  volumes:
  - name: settings-xml
    configMap:
      name: m2-dir
      items:
      - key: settings.xml
        path: settings.xml
  - name: toolchains-xml
    configMap:
      name: m2-dir
      items:
      - key: toolchains.xml
        path: toolchains.xml


[EnvInject] - Loading node environment variables.
Building remotely on default-agent-w33vr in workspace /home/jenkins/workspace/publish-glassfish-bundle
[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-CJ2UWfbJSEEG/agent.69
SSH_AGENT_PID=71
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/publish-glassfish-bundle@tmp/private_key_240074572544282536.key (/home/jenkins/workspace/publish-glassfish-bundle@tmp/private_key_240074572544282536.key)
[ssh-agent] Using credentials genie.jakartaee-tck (ssh://genie.jakartaee-tck@projects-storage.eclipse.org)
[publish-glassfish-bundle] $ /bin/bash -xe /tmp/jenkins8288590304290565604.sh
+ wget --progress=bar:force https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O jq
--2019-07-08 05:06:18--  https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
Resolving github.com... 140.82.113.4
Connecting to github.com|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/5101141/6387d980-de1f-11e8-8d3e-4455415aa408?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190708%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190708T050619Z&X-Amz-Expires=300&X-Amz-Signature=99ba00e9c8a00294cff0feb0c7bf69622c82d5e4db76c64ce826a27f9728743e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Djq-linux64&response-content-type=application%2Foctet-stream [following]
--2019-07-08 05:06:19--  https://github-production-release-asset-2e65be.s3.amazonaws.com/5101141/6387d980-de1f-11e8-8d3e-4455415aa408?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190708%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190708T050619Z&X-Amz-Expires=300&X-Amz-Signature=99ba00e9c8a00294cff0feb0c7bf69622c82d5e4db76c64ce826a27f9728743e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Djq-linux64&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com... 52.216.128.179
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com|52.216.128.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3953824 (3.8M) [application/octet-stream]
Saving to: 'jq'


jq                    0%[                    ]       0  --.-KB/s               
jq                   19%[==>                 ] 738.58K  3.54MB/s               
jq                  100%[===================>]   3.77M  9.58MB/s    in 0.4s    

2019-07-08 05:06:19 (9.58 MB/s) - 'jq' saved [3953824/3953824]

+ chmod +x jq
+ wget --no-cache --no-check-certificate --progress=bar:force https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/glassfish.zip -O glassfish.zip
--2019-07-08 05:06:19--  https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/glassfish.zip
Resolving jenkins.eclipse.org... 198.41.30.195
Connecting to jenkins.eclipse.org|198.41.30.195|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 117381099 (112M) [application/zip]
Saving to: 'glassfish.zip'


glassfish.zip         0%[                    ]       0  --.-KB/s               
glassfish.zip         6%[>                   ]   7.51M  21.4MB/s               
glassfish.zip         8%[>                   ]   9.76M  16.1MB/s               
glassfish.zip        10%[=>                  ]  11.23M  13.6MB/s               
glassfish.zip        12%[=>                  ]  13.60M  10.9MB/s               
glassfish.zip        13%[=>                  ]  15.37M  10.3MB/s               
glassfish.zip        14%[=>                  ]  16.24M  9.35MB/s               
glassfish.zip        14%[=>                  ]  16.68M  8.52MB/s               
glassfish.zip        15%[==>                 ]  17.12M  7.79MB/s               
glassfish.zip        15%[==>                 ]  17.55M  7.31MB/s               
glassfish.zip        16%[==>                 ]  18.21M  6.87MB/s               
glassfish.zip        16%[==>                 ]  18.96M  6.56MB/s               
glassfish.zip        17%[==>                 ]  19.63M  6.29MB/s    eta 15s    
glassfish.zip        17%[==>                 ]  20.13M  6.00MB/s    eta 15s    
glassfish.zip        19%[==>                 ]  21.38M  5.93MB/s    eta 15s    
glassfish.zip        19%[==>                 ]  22.13M  5.76MB/s    eta 15s    
glassfish.zip        20%[===>                ]  22.79M  5.62MB/s    eta 15s    
glassfish.zip        20%[===>                ]  23.51M  5.46MB/s    eta 16s    
glassfish.zip        24%[===>                ]  27.41M  5.98MB/s    eta 16s    
glassfish.zip        25%[====>               ]  28.35M  5.87MB/s    eta 16s    
glassfish.zip        26%[====>               ]  29.65M  5.86MB/s    eta 16s    
glassfish.zip        29%[====>               ]  32.96M  5.12MB/s    eta 13s    
glassfish.zip        29%[====>               ]  33.49M  4.79MB/s    eta 13s    
glassfish.zip        32%[=====>              ]  36.66M  5.11MB/s    eta 13s    
glassfish.zip        33%[=====>              ]  37.83M  5.06MB/s    eta 13s    
glassfish.zip        35%[======>             ]  39.27M  5.01MB/s    eta 13s    
glassfish.zip        35%[======>             ]  39.98M  4.98MB/s    eta 12s    
glassfish.zip        37%[======>             ]  42.51M  5.39MB/s    eta 12s    
glassfish.zip        38%[======>             ]  43.38M  5.49MB/s    eta 12s    
glassfish.zip        40%[=======>            ]  45.35M  5.76MB/s    eta 12s    
glassfish.zip        41%[=======>            ]  45.96M  5.80MB/s    eta 12s    
glassfish.zip        42%[=======>            ]  47.04M  5.88MB/s    eta 11s    
glassfish.zip        48%[========>           ]  53.94M  7.01MB/s    eta 11s    
glassfish.zip        49%[========>           ]  55.77M  7.28MB/s    eta 11s    
glassfish.zip        52%[=========>          ]  58.85M  7.53MB/s    eta 11s    
glassfish.zip        54%[=========>          ]  61.27M  7.85MB/s    eta 7s     
glassfish.zip        55%[==========>         ]  61.93M  7.83MB/s    eta 7s     
glassfish.zip        55%[==========>         ]  62.46M  7.83MB/s    eta 7s     
glassfish.zip        56%[==========>         ]  63.76M  7.38MB/s    eta 7s     
glassfish.zip        58%[==========>         ]  65.07M  7.47MB/s    eta 7s     
glassfish.zip        61%[===========>        ]  68.96M  7.94MB/s    eta 6s     
glassfish.zip        62%[===========>        ]  69.94M  7.51MB/s    eta 6s     
glassfish.zip        65%[============>       ]  73.66M  8.12MB/s    eta 6s     
glassfish.zip        67%[============>       ]  75.63M  7.88MB/s    eta 6s     
glassfish.zip        70%[=============>      ]  78.63M  8.26MB/s    eta 6s     
glassfish.zip        79%[==============>     ]  88.49M  9.75MB/s    eta 3s     
glassfish.zip        79%[==============>     ]  89.35M  9.79MB/s    eta 3s     
glassfish.zip        84%[===============>    ]  94.29M  10.2MB/s    eta 3s     
glassfish.zip        87%[================>   ]  97.73M  10.6MB/s    eta 3s     
glassfish.zip        88%[================>   ]  99.05M  10.5MB/s    eta 2s     
glassfish.zip        89%[================>   ]  99.65M  10.5MB/s    eta 2s     
glassfish.zip        89%[================>   ] 100.27M  10.4MB/s    eta 2s     
glassfish.zip        89%[================>   ] 100.51M  9.35MB/s    eta 2s     
glassfish.zip        91%[=================>  ] 101.98M  9.25MB/s    eta 2s     
glassfish.zip        93%[=================>  ] 104.73M  9.36MB/s    eta 1s     
glassfish.zip        96%[==================> ] 108.48M  9.61MB/s    eta 1s     
glassfish.zip        97%[==================> ] 109.02M  9.58MB/s    eta 1s     
glassfish.zip        98%[==================> ] 110.62M  9.79MB/s    eta 1s     
glassfish.zip        98%[==================> ] 110.66M  9.58MB/s    eta 1s     
glassfish.zip        99%[==================> ] 111.65M  9.56MB/s    eta 0s     
glassfish.zip       100%[===================>] 111.94M  9.62MB/s    in 15s     

2019-07-08 05:06:34 (7.66 MB/s) - 'glassfish.zip' saved [117381099/117381099]

+ wget --no-cache --no-check-certificate --progress=bar:force https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/web.zip -O web.zip
--2019-07-08 05:06:34--  https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/web.zip
Resolving jenkins.eclipse.org... 198.41.30.195
Connecting to jenkins.eclipse.org|198.41.30.195|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67356907 (64M) [application/zip]
Saving to: 'web.zip'


web.zip               0%[                    ]       0  --.-KB/s               
web.zip              12%[=>                  ]   8.02M  40.1MB/s               
web.zip              12%[=>                  ]   8.32M  19.3MB/s               
web.zip              15%[==>                 ]   9.73M  14.2MB/s               
web.zip              22%[===>                ]  14.76M  15.2MB/s               
web.zip              23%[===>                ]  15.21M  12.8MB/s               
web.zip              29%[====>               ]  18.79M  12.7MB/s               
web.zip              33%[=====>              ]  21.29M  12.3MB/s               
web.zip              35%[======>             ]  23.10M  11.7MB/s               
web.zip              36%[======>             ]  23.24M  10.7MB/s               
web.zip              36%[======>             ]  23.40M  9.83MB/s               
web.zip              37%[======>             ]  23.94M  9.17MB/s               
web.zip              40%[=======>            ]  25.74M  9.00MB/s               
web.zip              40%[=======>            ]  26.23M  8.48MB/s    eta 4s     
web.zip              46%[========>           ]  29.83M  8.89MB/s    eta 4s     
web.zip              50%[=========>          ]  32.38M  8.98MB/s    eta 4s     
web.zip              53%[=========>          ]  34.33M  8.92MB/s    eta 4s     
web.zip              57%[==========>         ]  37.16M  9.03MB/s    eta 3s     
web.zip              58%[==========>         ]  37.79M  8.71MB/s    eta 3s     
web.zip              60%[===========>        ]  38.58M  8.44MB/s    eta 3s     
web.zip              61%[===========>        ]  39.77M  8.27MB/s    eta 3s     
web.zip              63%[===========>        ]  40.68M  7.05MB/s    eta 3s     
web.zip              67%[============>       ]  43.10M  7.17MB/s    eta 3s     
web.zip              68%[============>       ]  43.69M  7.04MB/s    eta 3s     
web.zip              69%[============>       ]  44.33M  6.21MB/s    eta 3s     
web.zip              72%[=============>      ]  46.60M  6.54MB/s    eta 3s     
web.zip              79%[==============>     ]  51.26M  6.73MB/s    eta 2s     
web.zip              83%[===============>    ]  53.69M  6.72MB/s    eta 2s     
web.zip              85%[================>   ]  55.01M  6.65MB/s    eta 2s     
web.zip              87%[================>   ]  56.41M  6.89MB/s    eta 2s     
web.zip             100%[===================>]  64.24M  8.37MB/s    in 7.1s    

2019-07-08 05:06:41 (9.08 MB/s) - 'web.zip' saved [67356907/67356907]

++ echo https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/glassfish.zip
++ sed 's/artifact\/bundles\/glassfish\.zip/api\/json\/actions\//g'
+ json_base_url=https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/api/json/actions/
+ wget --no-cache --no-check-certificate --progress=bar:force https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/api/json/actions/ -O output.json
--2019-07-08 05:06:41--  https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/api/json/actions/
Resolving jenkins.eclipse.org... 198.41.30.195
Connecting to jenkins.eclipse.org|198.41.30.195|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5245 (5.1K) [application/json]
Saving to: 'output.json'


output.json           0%[                    ]       0  --.-KB/s               
output.json         100%[===================>]   5.12K  --.-KB/s    in 0s      

2019-07-08 05:06:47 (663 MB/s) - 'output.json' saved [5245/5245]

++ /home/jenkins/workspace/publish-glassfish-bundle/jq -r .url output.json
+ build_url=https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/32/
++ /home/jenkins/workspace/publish-glassfish-bundle/jq -r '.actions | .[] | .lastBuiltRevision | .branch[0].name' output.json
++ tr 'null\n' ' '
++ sed 's/ //g'
+ branch_name=master
++ /home/jenkins/workspace/publish-glassfish-bundle/jq -r '.actions | .[] | .lastBuiltRevision | .branch[0].SHA1' output.json
++ tr 'null\n' ' '
++ sed 's/ //g'
+ commit_id=22cd66391e24d822bceb8c15c6bdf50e81723c47
++ /home/jenkins/workspace/publish-glassfish-bundle/jq -r .timestamp output.json
+ timestamp=1562535019153
+ '[' -z 1562535019153 ']'
++ echo 1562535019
+ timestamp_seconds=1562535019
++ date -ud @1562535019
+ build_date='Sun Jul  7 21:30:19 UTC 2019'
+ cksum glassfish.zip
+ cksum web.zip
+ rm -f glassfish.version
+ touch glassfish.version
+ echo 'Build URL: https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/32/'
+ echo 'Git Revision: 22cd66391e24d822bceb8c15c6bdf50e81723c47'
+ echo 'Git Branch: master'
+ echo 'Build Date: Sun Jul  7 21:30:19 UTC 2019'
+ scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null glassfish.zip genie.jakartaee-tck@build.eclipse.org:/home/data/httpd/download.eclipse.org/ee4j/jakartaee-tck/jakartaee8/nightly
Warning: Permanently added 'build.eclipse.org,198.41.30.203' (ECDSA) to the list of known hosts.
+ scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null web.zip genie.jakartaee-tck@build.eclipse.org:/home/data/httpd/download.eclipse.org/ee4j/jakartaee-tck/jakartaee8/nightly
Warning: Permanently added 'build.eclipse.org,198.41.30.203' (ECDSA) to the list of known hosts.
+ scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null glassfish.version genie.jakartaee-tck@build.eclipse.org:/home/data/httpd/download.eclipse.org/ee4j/jakartaee-tck/jakartaee8/nightly
Warning: Permanently added 'build.eclipse.org,198.41.30.203' (ECDSA) to the list of known hosts.
+ scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null glassfish.cksum web.cksum genie.jakartaee-tck@build.eclipse.org:/home/data/httpd/download.eclipse.org/ee4j/jakartaee-tck/jakartaee8/nightly
Warning: Permanently added 'build.eclipse.org,198.41.30.203' (ECDSA) to the list of known hosts.
+ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null genie.jakartaee-tck@build.eclipse.org ls -l /home/data/httpd/download.eclipse.org/ee4j/jakartaee-tck/jakartaee8/nightly
Warning: Permanently added 'build.eclipse.org,198.41.30.203' (ECDSA) to the list of known hosts.
total 327436
-rw-r--r-- 1 genie.jakartaee-tck ee4j.jakartaee-tck        35 Jul  8 01:06 glassfish.cksum
-rw-r--r-- 1 genie.jakartaee-tck ee4j.jakartaee-tck       193 Jul  8 01:06 glassfish.version
-rw-r--r-- 1 genie.jakartaee-tck ee4j.jakartaee-tck 117381099 Jul  8 01:06 glassfish.zip
-rw-r--r-- 1 genie.jakartaee-tck ee4j.jakartaee-tck        28 Jul  8 01:06 web.cksum
-rw-r--r-- 1 genie.jakartaee-tck ee4j.jakartaee-tck  67356907 Jul  8 01:06 web.zip
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 71 killed;
[ssh-agent] Stopped.
Archiving artifacts
Finished: SUCCESS