Skip to content
Failed

Console Output

Push event to branch dependabot/npm_and_yarn/acorn-5.7.4
07:52:37 Connecting to https://api.github.com using eclipse-che4z-bot/****** (GitHub bot)
Obtained Jenkinsfile from 944cf1c48e71dc1266293ee298544d4df9674f35
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor
Agent zos-resource-explorer-pod-1-dependabotnpm-and-yarnacorn-5-5r8rh 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/dependabot%252Fnpm_and_yarn%252Facorn-5.7.4/1/"
  labels:
    jenkins: "slave"
    jenkins/zos-resource-explorer_pod_1_dependabotnpm_and_yarnacorn-5.7.4: "true"
  name: "zos-resource-explorer-pod-1-dependabotnpm-and-yarnacorn-5-5r8rh"
spec:
  containers:
  - image: "node:12.10.0-alpine"
    name: "node"
    resources:
      limits:
        memory: "2Gi"
        cpu: "1"
      requests:
        memory: "2Gi"
        cpu: "1"
    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: "zos-resource-explorer-pod-1-dependabotnpm-and-yarnacorn-5-5r8rh"
    - name: "JENKINS_NAME"
      value: "zos-resource-explorer-pod-1-dependabotnpm-and-yarnacorn-5-5r8rh"
    - 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.35@sha256:5d06ebec6e9dffc44fb41009a51d085a83944a23f651416531b960143d186340"
    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 zos-resource-explorer-pod-1-dependabotnpm-and-yarnacorn-5-5r8rh in /home/jenkins/agent/workspace/endabot_npm_and_yarn_acorn-5.7.4
[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/endabot_npm_and_yarn_acorn-5.7.4 # 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/dependabot/npm_and_yarn/acorn-5.7.4:refs/remotes/origin/dependabot/npm_and_yarn/acorn-5.7.4
 > 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/dependabot/npm_and_yarn/acorn-5.7.4:refs/remotes/origin/dependabot/npm_and_yarn/acorn-5.7.4 # 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/dependabot/npm_and_yarn/acorn-5.7.4:refs/remotes/origin/dependabot/npm_and_yarn/acorn-5.7.4
Checking out Revision 944cf1c48e71dc1266293ee298544d4df9674f35 (dependabot/npm_and_yarn/acorn-5.7.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 944cf1c48e71dc1266293ee298544d4df9674f35
Commit message: "Bump acorn from 5.7.3 to 5.7.4"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
07:55:52 [2020-03-16T11:55:52.090Z] 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.11 install /home/jenkins/agent/workspace/endabot_npm_and_yarn_acorn-5.7.4/node_modules/fsevents
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using node-gyp@5.0.3
gyp info using node@12.10.0 | linux | x64
gyp ERR! find Python 
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python 
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python 2.7.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
gyp ERR! find Python   (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python 
gyp ERR! configure error 
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack     at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:303:47)
gyp ERR! stack     at PythonFinder.runChecks (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:132:21)
gyp ERR! stack     at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:175:16)
gyp ERR! stack     at PythonFinder.execFileCallback (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:267:16)
gyp ERR! stack     at exithandler (child_process.js:302:5)
gyp ERR! stack     at ChildProcess.errorhandler (child_process.js:314:5)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
gyp ERR! stack     at onErrorNT (internal/child_process.js:456:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Linux 3.10.0-1062.12.1.el7.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/endabot_npm_and_yarn_acorn-5.7.4/node_modules/fsevents
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok 

> zosexplorer@0.8.0 postinstall /home/jenkins/agent/workspace/endabot_npm_and_yarn_acorn-5.7.4
> 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 638 packages in 20.752s
[Pipeline] sh
+ npm test

> zosexplorer@0.8.0 test /home/jenkins/agent/workspace/endabot_npm_and_yarn_acorn-5.7.4
> jest -w 1

PASS src/__tests__/DatasetDataProvider.test.ts (18.2s)
PASS src/__tests__/utils.test.ts
FAIL src/__tests__/datasetEditManager.test.ts
  ● Test suite failed to run

    TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
    src/__mocks__/fs.ts:33:1 - error TS2571: Object is of type 'unknown'.

    33 fs["readFileSync"] = readFileSync;
       ~~
    src/__mocks__/fs.ts:35:1 - error TS2571: Object is of type 'unknown'.

    35 fs["existsSync"] = existsSync;
       ~~

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                |    71.12 |    53.85 |    56.72 |    70.77 |                   |
 src                     |    78.06 |    75.36 |    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 |    77.61 |    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             |    48.83 |    31.31 |    52.75 |    48.28 |                   |
  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  |    11.72 |        0 |      8.7 |    11.72 |... 85,386,390,391 |
  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 |                   |
-------------------------|----------|----------|----------|----------|-------------------|

Summary of all failing tests
FAIL src/__tests__/datasetEditManager.test.ts
  ● Test suite failed to run

    TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
    src/__mocks__/fs.ts:33:1 - error TS2571: Object is of type 'unknown'.

    33 fs["readFileSync"] = readFileSync;
       ~~
    src/__mocks__/fs.ts:35:1 - error TS2571: Object is of type 'unknown'.

    35 fs["existsSync"] = existsSync;
       ~~


Test Suites: 1 failed, 20 passed, 21 total
Tests:       113 passed, 113 total
Snapshots:   0 total
Time:        35.169s
Ran all test suites.
npm ERR! Test failed.  See above for more details.
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Package)
Stage "Package" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
Stage "Deploy" skipped due to earlier failure(s)
[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

ERROR: script returned exit code 1
Finished: FAILURE