Started by upstream project "sprotty-layout/master" build number 12
originally caused by:
Branch indexing
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
WARNING: Unable to create pod: kubernetes sprotty/sprotty-agent-pod-f235x-q0lwc because kubernetes resource quota exceeded.
Failure executing: POST at: https://10.30.0.1/api/v1/namespaces/sprotty/pods. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. pods "sprotty-agent-pod-f235x-q0lwc" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1,requests.cpu=1100m, used: pods=3,requests.cpu=2450m, limited: pods=3,requests.cpu=2650m.
Retrying...
Still waiting to schedule task
Waiting for next available executor
WARNING: Unable to create pod: kubernetes sprotty/sprotty-agent-pod-f235x-sq7vc because kubernetes resource quota exceeded.
Failure executing: POST at: https://10.30.0.1/api/v1/namespaces/sprotty/pods. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. pods "sprotty-agent-pod-f235x-sq7vc" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1,requests.cpu=1100m, used: pods=3,requests.cpu=2450m, limited: pods=3,requests.cpu=2650m.
Retrying...
Created Pod: kubernetes sprotty/sprotty-agent-pod-f235x-rzmcw
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][Scheduled] Successfully assigned sprotty/sprotty-agent-pod-f235x-rzmcw to okdnode-22
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][AddedInterface] Add eth0 [10.40.46.255/23]
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][Pulled] Container image "node:12.14.1" already present on machine
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][Created] Created container node
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][Started] Started container node
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][Pulled] Container image "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10" already present on machine
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][Created] Created container jnlp
[Normal][sprotty/sprotty-agent-pod-f235x-rzmcw][Started] Started container jnlp
Agent sprotty-agent-pod-f235x-rzmcw is provisioned from template sprotty-agent-pod-f235x
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
buildUrl: "http://jenkins-ui.sprotty.svc.cluster.local/sprotty/job/deploy-sprotty-layout/6/"
runUrl: "job/deploy-sprotty-layout/6/"
labels:
jenkins: "slave"
jenkins/label-digest: "94c9ac7d111dbbd882706642673985e1e8e78a4d"
jenkins/label: "sprotty-agent-pod"
name: "sprotty-agent-pod-f235x-rzmcw"
spec:
containers:
- command:
- "cat"
image: "node:12.14.1"
name: "node"
resources:
limits:
memory: "2Gi"
cpu: "1"
requests:
memory: "2Gi"
cpu: "1"
tty: true
volumeMounts:
- mountPath: "/home/jenkins"
name: "jenkins-home"
readOnly: false
- mountPath: "/.yarn"
name: "yarn-global"
readOnly: false
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.sprotty.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "sprotty-agent-pod-f235x-rzmcw"
- name: "JENKINS_NAME"
value: "sprotty-agent-pod-f235x-rzmcw"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.sprotty.svc.cluster.local/sprotty/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10"
name: "jnlp"
resources:
limits: {}
requests:
memory: "256Mi"
cpu: "100m"
volumeMounts:
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- emptyDir: {}
name: "yarn-global"
- emptyDir: {}
name: "jenkins-home"
- emptyDir:
medium: ""
name: "workspace-volume"
Running on sprotty-agent-pod-f235x-rzmcw in /home/jenkins/agent/workspace/deploy-sprotty-layout
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout master)
[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential github-bot
Cloning the remote Git repository
Avoid second fetch
Checking out Revision b1994cf18794b2015fee972886b760f5aaa4f2ba (refs/remotes/origin/master)
Cloning repository https://github.com/eclipse/sprotty-layout.git
> git init /home/jenkins/agent/workspace/deploy-sprotty-layout # timeout=10
Fetching upstream changes from https://github.com/eclipse/sprotty-layout.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials GitHub bot (username/token)
> git fetch --tags --force --progress -- https://github.com/eclipse/sprotty-layout.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/eclipse/sprotty-layout.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f b1994cf18794b2015fee972886b760f5aaa4f2ba # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master b1994cf18794b2015fee972886b760f5aaa4f2ba # timeout=10
Commit message: "v0.10.0"
> git rev-list --no-walk 6ad207a44458d021cffe2934efa453a429323773 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build & Deploy)
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $NPM_AUTH_TOKEN
[Pipeline] {
[Pipeline] sh
+ printf //registry.npmjs.org/:_authToken=****
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ git config user.email eclipse-sprotty-bot@eclipse.org
[Pipeline] sh
+ git config user.name eclipse-sprotty-bot
[Pipeline] dir
Running in /home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk
[Pipeline] {
[Pipeline] sh
+ yarn install
yarn install v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ yarn run clean && yarn run build
yarn run v1.21.1
$ rimraf lib artifacts
Done in 0.10s.
yarn run v1.21.1
$ tsc -p ./lib.tsconfig.json && yarn run lint
$ tslint -c ./configs/tslint.json --project ./lib.tsconfig.json
Done in 6.63s.
Done in 14.56s.
[Pipeline] sh
+ yarn publish:next
yarn run v1.21.1
$ yarn publish --new-version "$(semver $npm_package_version -i minor)-next.$(git rev-parse --short HEAD)" --tag next
[1/4] Bumping version...
info Current version: 0.10.0
info New version: 0.11.0-next.b1994cf
[2/4] Logging in...
[3/4] Publishing...
$ yarn run clean && yarn run build
$ rimraf lib artifacts
$ tsc -p ./lib.tsconfig.json && yarn run lint
$ tslint -c ./configs/tslint.json --project ./lib.tsconfig.json
$ yarn run test
$ jenkins-mocha --opts ./configs/mocha.opts "./src/**/*.spec.?(ts|tsx)"
/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/@vscode/codicons/dist/codicon.css:6
@font-face {
^
SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:891:18)
at Module.replacementCompile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:58:13)
at Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/sprotty/src/features/command-palette/di.config.ts:16:1)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Module.replacementCompile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:58:13)
at Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/sprotty/src/index.ts:162:1)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Module.replacementCompile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:58:13)
at Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/src/di.config.ts:15:1900)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Module.replacementCompile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:58:13)
at Module.m._compile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/ts-node/src/index.ts:493:23)
at module.exports (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/default-require-extensions/js.js:7:9)
at /home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4
at require.extensions.<computed> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/ts-node/src/index.ts:496:12)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/src/elk-layout.spec.ts:24:1)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Module.replacementCompile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:58:13)
at Module.m._compile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/ts-node/src/index.ts:493:23)
at module.exports (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/default-require-extensions/js.js:7:9)
at /home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4
at require.extensions.<computed> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/ts-node/src/index.ts:496:12)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at /home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/lib/mocha.js:334:36
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/lib/mocha.js:331:14)
at Mocha.run (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/lib/mocha.js:811:10)
at Object.exports.singleRun (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/lib/cli/run-helpers.js:108:16)
at exports.runMocha (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/lib/cli/run-helpers.js:142:13)
at Object.exports.handler (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/lib/cli/run.js:292:3)
at Object.runCommand (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/yargs/lib/command.js:242:26)
at Object.parseArgs [as _parseArgs] (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/yargs/yargs.js:1087:28)
at Object.parse (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/yargs/yargs.js:566:25)
at Object.exports.main (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/lib/cli/cli.js:68:6)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/mocha/bin/_mocha:10:23)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Module.replacementCompile (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:58:13)
at Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
at runMain (/home/jenkins/agent/workspace/deploy-sprotty-layout/.node-spawn-wrap-303-dae271cc1dab/node:68:10)
at Function.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/.node-spawn-wrap-303-dae271cc1dab/node:171:5)
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/sprotty-elk/node_modules/nyc/bin/wrap.js:27:4)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
at /home/jenkins/agent/workspace/deploy-sprotty-layout/.node-spawn-wrap-303-dae271cc1dab/node:178:8
at Object.<anonymous> (/home/jenkins/agent/workspace/deploy-sprotty-layout/.node-spawn-wrap-303-dae271cc1dab/node:181:3)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
at internal/main/run_main_module.js:17:11
Handlebars: Access has been denied to resolve the property "statements" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
Handlebars: Access has been denied to resolve the property "branches" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
Handlebars: Access has been denied to resolve the property "functions" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
Handlebars: Access has been denied to resolve the property "lines" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
=============================== Coverage summary ===============================
Statements : 16.52% ( 37/224 )
Branches : 0% ( 0/135 )
Functions : 7.32% ( 3/41 )
Lines : 15.35% ( 31/202 )
================================================================================
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE