Push event to branch development
Started by user Tomas Cech
Rebuilds build #22
Running as Tomas Cech
08:20:26 Connecting to https://api.github.com using eclipse-che4z-bot/****** (GitHub bot)
Obtained Jenkinsfile from 84ba1bb115f2980ebd5ccc38648bcb4ddbf63a64
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘explorer-for-zos-pod_development_23’ are offline
Agent explorer-for-zos-pod-development-23-4xsj1-dcm73 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
buildUrl: "http://jenkins-ui.che4z.svc.cluster.local/che4z/job/che-che4z-explorer-for-zos/job/development/23/"
labels:
jenkins: "slave"
jenkins/explorer-for-zos-pod_development_23: "true"
name: "explorer-for-zos-pod-development-23-4xsj1-dcm73"
spec:
containers:
- image: "node:12.10.0-alpine"
name: "node"
resources:
limits:
memory: "4Gi"
cpu: "2"
requests:
memory: "4Gi"
cpu: "2"
tty: true
volumeMounts:
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.che4z.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "explorer-for-zos-pod-development-23-4xsj1-dcm73"
- name: "JENKINS_NAME"
value: "explorer-for-zos-pod-development-23-4xsj1-dcm73"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.che4z.svc.cluster.local/che4z/"
- name: "HOME"
value: "/home/jenkins"
image: "eclipsecbijenkins/jenkins-agent:3.29@sha256:d7df679b5f7337f1bf77922400a148b80e3c483ccba72933a18f0c87be98f8b1"
name: "jnlp"
volumeMounts:
- mountPath: "/home/jenkins/.ssh"
name: "volume-known-hosts"
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
nodeSelector: {}
restartPolicy: "Never"
volumes:
- emptyDir: {}
name: "workspace-volume"
- configMap:
name: "known-hosts"
name: "volume-known-hosts"
Running on explorer-for-zos-pod-development-23-4xsj1-dcm73 in /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential d2420725-a9c8-4baa-b65f-2e6c0c84e22d
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/eclipse/che-che4z-zos-resource-explorer.git
> git init /home/jenkins/agent/workspace/e4z-explorer-for-zos_development # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/eclipse/che-che4z-zos-resource-explorer.git
> git --version # timeout=10
using GIT_ASKPASS to set credentials GitHub bot
> git fetch --no-tags --force --progress -- https://github.com/eclipse/che-che4z-zos-resource-explorer.git +refs/heads/development:refs/remotes/origin/development
> git config remote.origin.url https://github.com/eclipse/che-che4z-zos-resource-explorer.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/development:refs/remotes/origin/development # timeout=10
> git config remote.origin.url https://github.com/eclipse/che-che4z-zos-resource-explorer.git # timeout=10
Fetching upstream changes from https://github.com/eclipse/che-che4z-zos-resource-explorer.git
using GIT_ASKPASS to set credentials GitHub bot
> git fetch --no-tags --force --progress -- https://github.com/eclipse/che-che4z-zos-resource-explorer.git +refs/heads/development:refs/remotes/origin/development
Checking out Revision 84ba1bb115f2980ebd5ccc38648bcb4ddbf63a64 (development)
> git config core.sparsecheckout # timeout=10
> git checkout -f 84ba1bb115f2980ebd5ccc38648bcb4ddbf63a64
Commit message: "Cicd improvements (#122)"
> git rev-list --no-walk 84ba1bb115f2980ebd5ccc38648bcb4ddbf63a64 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
08:34:19 [2019-10-07T12:34:19.074Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Install & Test)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ npm ci
> fsevents@1.2.9 install /home/jenkins/agent/workspace/e4z-explorer-for-zos_development/node_modules/fsevents
> node install
> zosexplorer@0.8.0 postinstall /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
> node ./node_modules/vscode/bin/install
Detected VS Code engine version: ^1.32.0
Found minimal version that qualifies engine range: 1.32.0
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/507312a3e3b34b084b467dfd983263bc7c9d87e0/src/vs/vscode.d.ts
vscode.d.ts successfully installed!
added 788 packages in 11.985s
[Pipeline] sh
+ npm test
> zosexplorer@0.8.0 test /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
> jest -w 1
PASS src/__tests__/DatasetDataProvider.test.ts (6.558s)
PASS src/__tests__/utils.test.ts
PASS src/__tests__/datasetEditManager.test.ts
PASS src/__tests__/DatasetCache.test.ts
PASS src/__tests__/AllocateLikeCmd.test.ts
PASS src/__tests__/DeleteMember.test.ts
PASS src/__tests__/PasteMember.test.ts
PASS src/__tests__/DatasetService.test.ts
PASS src/__tests__/SettingsFacade.test.ts
PASS src/__tests__/BrowseMember.test.ts
PASS src/__tests__/CopyPasteService.test.ts
PASS src/__tests__/EditConnection.test.ts
PASS src/__tests__/createMember.test.ts
PASS src/__tests__/EditFilter.test.ts
PASS src/__tests__/CopyMember.test.ts
PASS src/__tests__/CreateConnection.test.ts
PASS src/__tests__/DeleteFilterCmd.test.ts
PASS src/__tests__/extension.test.ts
PASS src/__tests__/DeleteConnection.test.ts
PASS src/__tests__/RefreshConnection.test.ts
PASS src/__tests__/CreateFilter.test.ts
-------------------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-------------------------|----------|----------|----------|----------|-------------------|
All files | 78.78 | 62.03 | 64.68 | 78.53 | |
src | 78.06 | 76.81 | 27.27 | 77.95 | |
constants.ts | 100 | 100 | 100 | 100 | |
extension.ts | 62.5 | 0 | 6.25 | 62.5 |... 57,158,162,163 |
utils.ts | 88.18 | 79.1 | 83.33 | 88.07 |... 26,228,229,230 |
src/commands | 90.09 | 74.6 | 77.14 | 90.09 | |
AllocateLikeDataset.ts | 84.38 | 87.5 | 85.71 | 84.38 | 56,64,65,91,112 |
BrowseMember.ts | 100 | 100 | 100 | 100 | |
CopyMember.ts | 100 | 100 | 100 | 100 | |
CreateConnection.ts | 76.19 | 50 | 33.33 | 76.19 | 23,24,26,28,35 |
CreateFilter.ts | 88.89 | 50 | 50 | 88.89 | 26 |
CreateMember.ts | 84 | 50 | 80 | 84 | 32,37,38,77 |
DeleteConnection.ts | 87.5 | 50 | 100 | 87.5 | 20 |
DeleteFilter.ts | 100 | 75 | 100 | 100 | 23 |
DeleteMember.ts | 95.45 | 83.33 | 100 | 95.45 | 40 |
EditConnection.ts | 94.74 | 62.5 | 50 | 94.74 | 24 |
EditFilter.ts | 92.31 | 100 | 50 | 92.31 | 33 |
PasteMember.ts | 90.91 | 83.33 | 66.67 | 90.91 | 37,59 |
RefreshConnection.ts | 100 | 100 | 100 | 100 | |
src/model | 100 | 100 | 100 | 100 | |
DSEntities.ts | 100 | 100 | 100 | 100 | |
src/service | 68.93 | 47.47 | 70.33 | 68.6 | |
CopyPasteService.ts | 95 | 100 | 85.71 | 94.74 | 63 |
CredentialsService.ts | 50 | 100 | 0 | 50 | 29,33,36 |
DatasetCache.ts | 72.97 | 52.83 | 81.25 | 72.97 |... 46,147,148,171 |
DatasetEditManager.ts | 71.88 | 46.38 | 78.26 | 71.88 |... 04,305,307,372 |
DatasetService.ts | 95.24 | 50 | 100 | 95 | 72 |
SettingsFacade.ts | 93.51 | 65.79 | 100 | 93.33 |69,114,134,155,169 |
ZoweRestClient.ts | 7.02 | 0 | 6.25 | 7.02 |... 78,192,193,195 |
src/ui/tree | 85.58 | 76.06 | 86.67 | 85.07 | |
DatasetDataProvider.ts | 80.39 | 75.36 | 76.47 | 80.39 |... 10,317,318,319 |
DatasetTreeModel.ts | 100 | 100 | 100 | 100 | |
-------------------------|----------|----------|----------|----------|-------------------|
Test Suites: 21 passed, 21 total
Tests: 122 passed, 122 total
Snapshots: 0 total
Time: 16.438s
Ran all test suites.
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Package)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ npm run webpack-production
> zosexplorer@0.8.0 webpack-production /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
> webpack --mode production
Hash: ddaae7f48af63b69a0a8
Version: webpack 4.39.2
Time: 18875ms
Built at: 10/07/2019 12:35:14 PM
Asset Size Chunks Chunk Names
extension.js 737 KiB 0 [emitted] main
extension.js.map 1.62 MiB 0 [emitted] main
Entrypoint main = extension.js extension.js.map
[4] external "vscode" 42 bytes {0} [built]
[9] ./src/service/SettingsFacade.ts 6.16 KiB {0} [built]
[52] ./src/service/DatasetEditManager.ts 10.6 KiB {0} [built]
[53] ./src/service/DatasetCache.ts 5.92 KiB {0} [built]
[89] ./src/extension.ts 7.06 KiB {0} [built]
[90] ./src/commands/AllocateLikeDataset.ts 4.25 KiB {0} [built]
[92] ./src/commands/BrowseMember.ts 2.49 KiB {0} [built]
[93] ./src/commands/CopyMember.ts 1.97 KiB {0} [built]
[94] ./src/commands/CreateConnection.ts 2.52 KiB {0} [built]
[95] ./src/commands/CreateFilter.ts 1.83 KiB {0} [built]
[96] ./src/commands/CreateMember.ts 3.09 KiB {0} [built]
[97] ./src/commands/DeleteConnection.ts 1.6 KiB {0} [built]
[98] ./src/commands/DeleteFilter.ts 1.76 KiB {0} [built]
[99] ./src/commands/DeleteMember.ts 2.58 KiB {0} [built]
[100] ./src/commands/EditConnection.ts 2.48 KiB {0} [built]
+ 206 hidden modules
[Pipeline] sh
+ npx vsce package
npx: installed 66 in 4.643s
DONE Packaged: /home/jenkins/agent/workspace/e4z-explorer-for-zos_development/zosexplorer-0.8.0.vsix (76 files, 252.77KB)
+ mv zosexplorer-0.8.0.vsix zosexplorer_latest.vsix
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] script
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials genie.che4z (ssh://genie.che4z@projects-storage.eclipse.org)
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
Executing shell script inside container [jnlp] of pod [explorer-for-zos-pod-development-23-4xsj1-dcm73]
Executing command: "ssh-agent"
exit
SSH_AUTH_SOCK=/tmp/ssh-XnMeRPneef1O/agent.271; export SSH_AUTH_SOCK;
SSH_AGENT_PID=272; export SSH_AGENT_PID;
echo Agent pid 272;
SSH_AUTH_SOCK=/tmp/ssh-XnMeRPneef1O/agent.271
SSH_AGENT_PID=272
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/e4z-explorer-for-zos_development@tmp/private_key_3028772932788050729.key (/home/jenkins/agent/workspace/e4z-explorer-for-zos_development@tmp/private_key_3028772932788050729.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ ssh genie.che4z@projects-storage.eclipse.org rm -rf /home/data/httpd/download.eclipse.org/che4z/snapshots/zos-resource-explorer/development
+ ssh genie.che4z@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/che4z/snapshots/zos-resource-explorer/development
+ scp -r /home/jenkins/agent/workspace/e4z-explorer-for-zos_development/zosexplorer_latest.vsix genie.che4z@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/che4z/snapshots/zos-resource-explorer/development
[Pipeline] echo
Deployed to https://download.eclipse.org/che4z/snapshots/zos-resource-explorer/development
[Pipeline] }
Executing shell script inside container [jnlp] of pod [explorer-for-zos-pod-development-23-4xsj1-dcm73]
Executing command: "ssh-agent" "-k"
exit
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 272 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
[withMaven] WARNING abort infinite build trigger loop. Please consider opening a Jira issue: Infinite loop of job triggers
Finished: SUCCESS