FailedConsole Output

Started by an SCM change
Running as SYSTEM
Agent migration-agent-gt7dc is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/migration: "true"
  name: "migration-agent-gt7dc"
spec:
  containers:
  - env:
    - name: "MAVEN_OPTS"
      value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.orion.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "migration-agent-gt7dc"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "migration-agent-gt7dc"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.orion.svc.cluster.local/orion/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/migration-fat-agent:3.29@sha256:a341be4b6509400aaa18081d86f66239ceb93897059386120ef6633aa378931f"
    imagePullPolicy: "IfNotPresent"
    name: "jnlp"
    resources:
      limits:
        memory: "4096Mi"
        cpu: "2000m"
      requests:
        memory: "4096Mi"
        cpu: "1000m"
    securityContext:
      privileged: false
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "toolchains-xml"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/opt/tools"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-3"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings-security.xml"
      name: "settings-security-xml"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - name: "settings-security-xml"
    secret:
      items:
      - key: "settings-security.xml"
        path: "settings-security.xml"
      secretName: "m2-secret-dir"
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-orion"
      readOnly: true
  - configMap:
      items:
      - key: "toolchains.xml"
        path: "toolchains.xml"
      name: "m2-dir"
    name: "toolchains-xml"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - name: "settings-xml"
    secret:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-3"

Building remotely on migration-agent-gt7dc (migration) in workspace /home/jenkins/agent/workspace/orion-node
[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-5dNdqRII9PVp/agent.57
SSH_AGENT_PID=59
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/orion-node@tmp/private_key_4187419159453637858.key (/home/jenkins/agent/workspace/orion-node@tmp/private_key_4187419159453637858.key)
[ssh-agent] Using credentials genie.orion (ssh://genie.orion@projects-storage.eclipse.org)
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/orion-node@tmp/private_key_4832951993895354063.key (/home/jenkins/agent/workspace/orion-node@tmp/private_key_4832951993895354063.key)
[ssh-agent] Using credentials admin (ssh://admin@orion.eclipse.org)
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse/orion.client
 > git init /home/jenkins/agent/workspace/orion-node # timeout=10
Fetching upstream changes from https://github.com/eclipse/orion.client
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/eclipse/orion.client +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/eclipse/orion.client # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse/orion.client # timeout=10
Fetching upstream changes from https://github.com/eclipse/orion.client
 > git fetch --tags --progress https://github.com/eclipse/orion.client +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 63236143feb13aae4af97d04d7e3be8d2136c16e (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 63236143feb13aae4af97d04d7e3be8d2136c16e
Commit message: "add a file locker test"
 > git rev-list --no-walk f7619bc2a0b7f57c8bbc5af09eb291430da24baa # timeout=10
[orion-node] $ /bin/sh -xe /tmp/jenkins1710645764844483276.sh
+ uname -a
Linux migration-agent-gt7dc 3.10.0-1062.7.1.el7.x86_64 #1 SMP Wed Nov 13 08:44:42 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
+ export NODE_VERSION=v10.15.2
+ NODE_VERSION=v10.15.2
+ '[' '!' -d node-v10.15.2-linux-x64 ']'
+ echo Download node tar
Download node tar
+ curl -s https://nodejs.org/dist/v10.15.2/node-v10.15.2-linux-x64.tar.gz
+ echo Untar node
Untar node
+ tar -xf ./node-v10.15.2-linux-x64.tar.gz
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/bin
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/bin
+ cd modules/orionode/build
+ export GRUNT_TASK=--skipTest
+ GRUNT_TASK=--skipTest
+ export BUILD_ONLY=1
+ BUILD_ONLY=1
+ ./orionode_build.sh 2318
npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header).  This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.

> fs-ext@1.3.0 install /home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/fs-ext
> node-gyp configure build

make: Entering directory `/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/fs-ext/build'
  CXX(target) Release/obj.target/fs-ext/fs-ext.o
  SOLINK_MODULE(target) Release/obj.target/fs-ext.node
  COPY Release/fs-ext.node
make: Leaving directory `/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/fs-ext/build'

> nodegit@0.23.0 install /home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install

[nodegit] Running pre-install script
[nodegit] Running install script
[nodegit] Pre-built download disabled, building from source.
node-pre-gyp
WARN Using request for node-pre-gyp https download
/bin/sh: curl-config: command not found
gyp: Call to 'curl-config --libs' returned exit status 127 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 (/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp
ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp
ERR! System
Linux 3.10.0-1062.7.1.el7.x86_64
gyp
ERR! command
"/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/bin/node" "/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--build-from-source" "--module=/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit/build/Release" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
gyp ERR!
cwd /home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit
gyp
ERR! node -v
v10.15.2
gyp
ERR! node-gyp -v v3.8.0
gyp ERR!
not ok
node-pre-gyp
ERR! build error
node-pre-gyp
ERR! stack Error: Failed to execute '/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/bin/node /home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --build-from-source --module=/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit/build/Release --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp
ERR! stack     at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR!
stack     at maybeClose (internal/child_process.js:970:16)
node-pre-gyp
ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp
ERR! System Linux 3.10.0-1062.7.1.el7.x86_64
node-pre-gyp ERR!
command "/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/bin/node" "/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/.bin/node-pre-gyp" "install" "--build-from-source"
node-pre-gyp
ERR! cwd /home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit
node-pre-gyp
ERR! node -v v10.15.2
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/bin/node /home/jenkins/agent/workspace/orion-node/node-v10.15.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --build-from-source --module=/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/home/jenkins/agent/workspace/orion-node/modules/orionode/node_modules/nodegit/build/Release --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
[nodegit] ERROR - Could not finish install
[nodegit] ERROR - finished with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodegit@0.23.0 install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nodegit@0.23.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jenkins/.npm/_logs/2020-01-13T11_02_32_829Z-debug.log
Error: Failed to install dependencies, consult the npm log to find out why.
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 59 killed;
[ssh-agent] Stopped.
Sending e-mails to: silenio_quarti@ca.ibm.com
Finished: FAILURE