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 [10.40.50.81/23]
[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 "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10" 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"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.sprotty.svc.cluster.local/sprotty/job/deploy-sprotty-theia/13/"
    runUrl: "job/deploy-sprotty-theia/13/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "94c9ac7d111dbbd882706642673985e1e8e78a4d"
    jenkins/label: "sprotty-agent-pod"
  name: "sprotty-agent-pod-wkr20-crz7x"
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-wkr20-crz7x"
    - name: "JENKINS_NAME"
      value: "sprotty-agent-pod-wkr20-crz7x"
    - 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-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 https://github.com/eclipse/sprotty-theia.git
 > git init /home/jenkins/agent/workspace/deploy-sprotty-theia # timeout=10
Fetching upstream changes from https://github.com/eclipse/sprotty-theia.git
 > 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 -- https://github.com/eclipse/sprotty-theia.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse/sprotty-theia.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 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 //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] 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
Arguments: 
Directory: /home/jenkins/agent/workspace/deploy-sprotty-theia/node_modules/keytar
Output:
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! code ELIFECYCLE
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 https://yarnpkg.com/en/docs/cli/install 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