Console Output

Started by upstream project "sprotty-theia/master" build number 24
originally caused by:
 Branch indexing
Running in Durability level: PERFORMANCE_OPTIMIZED
[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
Created Pod: kubernetes sprotty/sprotty-agent-pod-wkr20-crz7x
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][Scheduled] Successfully assigned sprotty/sprotty-agent-pod-wkr20-crz7x to okdnode-27
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][AddedInterface] Add eth0 []
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][Pulled] Container image "node:12.14.1" already present on machine
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][Created] Created container node
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][Started] Started container node
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][Pulled] Container image "" already present on machine
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][Created] Created container jnlp
[Normal][sprotty/sprotty-agent-pod-wkr20-crz7x][Started] Started container jnlp
Still waiting to schedule task
‘sprotty-agent-pod-wkr20-crz7x’ is offline
Agent sprotty-agent-pod-wkr20-crz7x is provisioned from template sprotty-agent-pod-wkr20
apiVersion: "v1"
kind: "Pod"
    buildUrl: "http://jenkins-ui.sprotty.svc.cluster.local/sprotty/job/deploy-sprotty-theia/13/"
    runUrl: "job/deploy-sprotty-theia/13/"
    jenkins: "slave"
    jenkins/label-digest: "94c9ac7d111dbbd882706642673985e1e8e78a4d"
    jenkins/label: "sprotty-agent-pod"
  name: "sprotty-agent-pod-wkr20-crz7x"
  - command:
    - "cat"
    image: "node:12.14.1"
    name: "node"
        memory: "2Gi"
        cpu: "1"
        memory: "2Gi"
        cpu: "1"
    tty: true
    - 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-wkr20-crz7x"
    - name: "JENKINS_NAME"
      value: "sprotty-agent-pod-wkr20-crz7x"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.sprotty.svc.cluster.local/sprotty/"
    image: ""
    name: "jnlp"
      limits: {}
        memory: "256Mi"
        cpu: "100m"
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector: "linux"
  restartPolicy: "Never"
  - emptyDir: {}
    name: "yarn-global"
  - emptyDir: {}
    name: "jenkins-home"
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on sprotty-agent-pod-wkr20-crz7x in /home/jenkins/agent/workspace/deploy-sprotty-theia
[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
Cloning repository
 > git init /home/jenkins/agent/workspace/deploy-sprotty-theia # timeout=10
Fetching upstream changes from
 > git --version # timeout=10
Avoid second fetch
Checking out Revision fb0f9eb07dc7c2d5b1b251c24fe60c787bc95601 (refs/remotes/origin/master)
 > git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials GitHub bot (username/token)
 > git fetch --tags --force --progress -- +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url # 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 fb0f9eb07dc7c2d5b1b251c24fe60c787bc95601 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master fb0f9eb07dc7c2d5b1b251c24fe60c787bc95601 # timeout=10
Commit message: "#83 Update to Theia 1.18.0 and support Codicons (#85)"
 > git rev-list --no-walk 877f1aec58a0f3ac85947338d20b447b88177eb2 # 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 //****

[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ git config
[Pipeline] sh
+ git config eclipse-sprotty-bot
[Pipeline] sh
+ yarn install
yarn install v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /home/jenkins/agent/workspace/deploy-sprotty-theia/node_modules/keytar: Command failed.
Exit code: 1
Command: prebuild-install || npm run build
Directory: /home/jenkins/agent/workspace/deploy-sprotty-theia/node_modules/keytar
prebuild-install WARN install EACCES: permission denied, mkdir '/.npm'
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1634565178706-0.3007510438894381/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> keytar@7.7.0 build /home/jenkins/agent/workspace/deploy-sprotty-theia/node_modules/keytar
> node-gyp rebuild

gyp WARN EACCES current user ("1002920000") does not have permission to access the dev dir "/.cache/node-gyp/12.14.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
Package libsecret-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsecret-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsecret-1' found
gyp: Call to 'pkg-config --libs-only-l libsecret-1' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:223:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.12.7-300.fc34.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jenkins/agent/workspace/deploy-sprotty-theia/node_modules/keytar
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm ERR! errno 1
npm ERR! keytar@7.7.0 build: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the keytar@7.7.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
info Visit for documentation about this command.
[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