CI Reliability 2022-10-26

Open
#411 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
node.js, shell

Research direction

Start with the linked CI jobs and the generated failure report, then inspect the listed test paths such as test/pummel/test-fs-largefile.js, test/parallel/test-watch-mode-files_watcher.js, and test/parallel/test-corepack-yarn-install.js. Reproduce the reported failures on the named CI environments and investigate each failure separately. Done means the reported recurring failures are resolved and the affected CI jobs return green.

Written by the indexing model from the issue text.

Description

Failures in node-test-pull-request/47388 to node-test-pull-request/47484 that failed more than 2 PRs
(Generated with ncu-ci walk pr --stats=true --markdown /home/runner/work/reliability/reliability/results.md)

UTC Time RUNNING SUCCESS UNSTABLE ABORTED FAILURE Green Rate
2022-10-26 00:17 1 7 28 3 61 7.29%
JSTest Failure
Reason pummel/test-fs-readfile-tostring-fail
Type JS_TEST_FAILURE
Failed PR 10 (https://github.com/nodejs/node/pull/45127/, https://github.com/nodejs/node/pull/43525/, https://github.com/nodejs/node/pull/45129/, https://github.com/nodejs/node/pull/45092/, https://github.com/nodejs/node/pull/44713/, https://github.com/nodejs/node/pull/45098/, https://github.com/nodejs/node/pull/45135/, https://github.com/nodejs/node/pull/45132/, https://github.com/nodejs/node/pull/45133/, https://github.com/nodejs/node/pull/45043/)
Appeared test-orka-macos11-x64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/47399/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47439/
Example
not ok 3409 pummel/test-fs-readfile-tostring-fail
  ---
  duration_ms: 0.344
  severity: fail
  exitcode: 7
  stack: |-
    /Users/iojs/build/workspace/node-test-commit-osx/nodes/osx11-x64/test/pummel/test-fs-readfile-tostring-fail.js:73
      throw err;
      ^
    
    AssertionError [ERR_ASSERTION]: ifError got unwanted exception: ENOSPC: no space left on device, write
        at Object.callback (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx11-x64/test/pummel/test-fs-readfile-tostring-fail.js:31:37)
        at callback (node:internal/streams/writable:555:21)
        at onwriteError (node:internal/streams/writable:418:3)
        at onwrite (node:internal/streams/writable:460:7)
        at node:internal/fs/streams:439:14
        at FSReqCallback.wrapper [as oncomplete] (node:fs:946:5) {
      generatedMessage: false,
      code: 'ERR_ASSERTION',
      actual: [Error: ENOSPC: no space left on device, write] {
        errno: -28,
        code: 'ENOSPC',
        syscall: 'write'
      },
      expe...

Reason pummel/test-fs-largefile
Type JS_TEST_FAILURE
Failed PR 5 (https://github.com/nodejs/node/pull/44713/, https://github.com/nodejs/node/pull/45043/, https://github.com/nodejs/node/pull/45135/, https://github.com/nodejs/node/pull/44935/, https://github.com/nodejs/node/pull/45068/)
Appeared test-nearform-macos10.15-x64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/47393/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47456/
Example
not ok 3408 pummel/test-fs-largefile
  ---
  duration_ms: 0.95
  severity: fail
  exitcode: 1
  stack: |-
    node:internal/fs/utils:347
        throw err;
        ^
    
    Error: ENOSPC: no space left on device, ftruncate
        at Object.ftruncateSync (node:fs:1131:3)
        at Object.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/pummel/test-fs-largefile.js:37:4)
        at Module._compile (node:internal/modules/cjs/loader:1175:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1229:10)
        at Module.load (node:internal/modules/cjs/loader:1038:32)
        at Module._load (node:internal/modules/cjs/loader:879:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:82:12)
        at node:internal/main/run_main_module:23:47 {
      errno: -28,
      syscall: 'ftruncate',
      code: 'ENOSPC'
    }
    
    Node.js v20.0.0-pre
  ...


Reason parallel/test-watch-mode-files_watcher
Type JS_TEST_FAILURE
Failed PR 3 (https://github.com/nodejs/node/pull/45095/, https://github.com/nodejs/node/pull/45153/, https://github.com/nodejs/node/pull/45165/)
Appeared test-orka-macos11-x64-2, test-equinix-debian10_container-armv7l-1, test-softlayer-ubi81_container-x64-1
First CI https://ci.nodejs.org/job/node-test-pull-request/47414/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47479/
Example
not ok 3404 parallel/test-watch-mode-files_watcher
  ---
  duration_ms: 120.17
  severity: fail
  exitcode: -15
  stack: |-
    timeout
    TAP version 13
    # Subtest: watch mode file watcher
        # Subtest: should watch changed files
        ok 1 - should watch changed files
          ---
          duration_ms: 146.024574
          ...


Reason addons/request-interrupt/test
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/45098/, https://github.com/nodejs/node/pull/45127/)
Appeared test-joyent-smartos20-x64-3
First CI https://ci.nodejs.org/job/node-test-pull-request/47420/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47475/
Example
not ok 3506 addons/request-interrupt/test
  ---
  duration_ms: 300.155
  severity: fail
  exitcode: -15
  stack: |-
    timeout
  ...


Reason node-api/test_fatal/test2
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/45132/, https://github.com/nodejs/node/pull/44412/)
Appeared test-joyent-smartos20-x64-3
First CI https://ci.nodejs.org/job/node-test-pull-request/47422/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47482/
Example
not ok 3606 node-api/test_fatal/test2
  ---
  duration_ms: 300.88
  severity: fail
  exitcode: -15
  stack: |-
    timeout
  ...


Reason parallel/test-corepack-yarn-install
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/45095/, https://github.com/nodejs/node/pull/44412/)
Appeared test-digitalocean-ubuntu1804_sharedlibs_container-x64-4
First CI https://ci.nodejs.org/job/node-test-pull-request/47404/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47440/
Example
not ok 591 parallel/test-corepack-yarn-install
  ---
  duration_ms: 2.520
  severity: fail
  exitcode: 1
  stack: |-
    (node:23604) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    (Use `node --trace-deprecation ...` to show where the warning was created)
    Segmentation fault (core dumped)
    assert.js:118
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: yarn install got error code 139
        at handleExit (/home/iojs/build/workspace/node-test-commit-linux-containered/test/parallel/test-corepack-yarn-install.js:60:10)
        at handleExit (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:380:15)
        at ChildProcess.exithandler (child_process.js:390:5)
        at ChildProcess.emit (events.js:400:28)
        at maybeClose (internal/child_process.js:1088:16)
        at Process.ChildProcess._handle.one...

Reason parallel/test-heapsnapshot-near-heap-limit-by-api-in-worker
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/45153/, https://github.com/nodejs/node/pull/45157/)
Appeared test-osuosl-rhel8-ppc64_le-1, test-equinix-ubuntu2004_container-arm64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/47459/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47470/
Example
not ok 1198 parallel/test-heapsnapshot-near-heap-limit-by-api-in-worker
  ---
  duration_ms: 2.586
  severity: fail
  exitcode: 1
  stack: |-
    
    Invoked NearHeapLimitCallback, processing=false, current_limit=52428800, initial_limit=52428800
    max_young_gen_size=50331648, young_gen_size=0, old_gen_size=51371528, total_size=51371528
    Estimated available memory=9223372036742447104, estimated overhead=50331648
    Start generating Heap.20221025.113252.2579039.1.001.heapsnapshot...
    Invoked NearHeapLimitCallback, processing=true, current_limit=52428800, initial_limit=52428800
    max_young_gen_size=50331648, young_gen_size=0, old_gen_size=51371528, total_size=51371528
    Estimated available memory=9223372036742447104, estimated overhead=50331648
    Not generating snapshots in nested callback. new_limit=102760448
    1/1 snapshots taken.
    Removing the near heap limit callbackWrote snapshot to /home/iojs/node-tmp/.tmp.1193/Heap.20221025.113252.2579039.1.001.heapsnapshot
    
    <--- Last few GCs ...

Reason parallel/test-http2-misbehaving-multiplex
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/44713/, https://github.com/nodejs/node/pull/45153/)
Appeared test-nearform-macos10.15-x64-2, test-osuosl-rhel8-ppc64_le-3
First CI https://ci.nodejs.org/job/node-test-pull-request/47393/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47481/
Example
not ok 1404 parallel/test-http2-misbehaving-multiplex
  ---
  duration_ms: 0.107
  severity: fail
  exitcode: 1
  stack: |-
    node:assert:124
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to: 5
        at Http2Server.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/parallel/test-http2-misbehaving-multiplex.js:45:10)
        at Http2Server.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/common/index.js:448:15)
        at Http2Server.emit (node:events:519:28)
        at ServerHttp2Session.sessionOnStream (node:internal/http2/core:3000:19)
        at ServerHttp2Session.emit (node:events:519:28)
        at emit (node:internal/http2/core:330:3)
        at process.processTicksAndRejections (node:internal/process/task_queues:85:22) {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: 5,
      expected: 5,
      operator: 'notStrictEqual'
    }
    
...

Reason parallel/test-runner-inspect
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/43525/, https://github.com/nodejs/node/pull/44412/)
Appeared test-ibm-rhel8-s390x-4, test-azure_msft-win10_vs2019-x64-4, test-azure_msft-win10_vs2019-x64-2, test-rackspace-win2012r2_vs2017-x64-4
First CI https://ci.nodejs.org/job/node-test-pull-request/47423/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47440/
Example
not ok 3355 parallel/test-runner-inspect
  ---
  duration_ms: 120.41
  severity: fail
  exitcode: -15
  stack: |-
    timeout
    [test] Connecting to a child Node process
    [test] Testing /json/list
    [err] (node:4128394) Warning: Using the inspector with --test forces running at a concurrency of 1. Use the inspectPort option to run with concurrency
    [err] (Use `node --trace-warnings ...` to show where the warning was created)
    [err] 
    [out] TAP version 13
    [out] 
    [err] Debugger listening on ws://127.0.0.1:46757/1075ad56-be7b-4084-9c58-15c36a17f4a7
    [err] 
    [err] Debugger attached.
    [err] 
  ...


Reason parallel/test-tls-ticket-cluster
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/43525/, https://github.com/nodejs/node/pull/45115/)
Appeared test-ibm-rhel8-x64-3, test-nearform-macos10.15-x64-1
First CI https://ci.nodejs.org/job/node-test-pull-request/47407/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47461/
Example
not ok 2705 parallel/test-tls-ticket-cluster
  ---
  duration_ms: 0.757
  severity: fail
  exitcode: 1
  stack: |-
    [primary] got "listening"
    [primary] connecting 41903 session? false
    [worker] connection reused? false
    [primary] got "not-reused"
    [primary] connecting 41903 session? true
    [worker] connection reused? true
    [primary] got "reused"
    [primary] connecting 41903 session? true
    [worker] connection reused? true
    [primary] got "reused"
    [primary] connecting 41903 session? true
    [worker] connection reused? true
    [primary] got "reused"
    [primary] connecting 41903 session? true
    [worker] connection reused? true
    [primary] got "reused"
    [primary] connecting 41903 session? true
    [worker] connection reused? true
    [primary] got "reused"
    [primary] connecting 41903 session? true
    [worker] connection reused? true
    [primary] got "reused"
    [primary] connecting 41903 session? true
    [worker] connection reused? true
    [primary] got "reused"
 ...

Jenkins Failure
Reason Failed to create a temp file on /Users/iojs/build/workspace/node-test-commit-osx/nodes/osx11-x64
Type JENKINS_FAILURE
Failed PR 8 (https://github.com/nodejs/node/pull/45119/, https://github.com/nodejs/node/pull/45092/, https://github.com/nodejs/node/pull/45124/, https://github.com/nodejs/node/pull/44713/, https://github.com/nodejs/node/pull/44935/, https://github.com/nodejs/node/pull/45068/, https://github.com/nodejs/node/pull/43525/, https://github.com/nodejs/node/pull/45043/)
Appeared test-orka-macos11-x64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/47389/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47441/
Example
java.io.IOException: Failed to create a temp file on /Users/iojs/build/workspace/node-test-commit-osx/nodes/osx11-x64
	at hudson.FilePath.createTextTempFile(FilePath.java:1626)
	at hudson.tasks.CommandInterpreter.createScriptFile(CommandInterpreter.java:202)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:120)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)

Reason Backing channel 'JNLP4-connect connection from ... is disconnected.
Type JENKINS_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/45092/, https://github.com/nodejs/node/pull/45157/)
Appeared test-digitalocean-freebsd12-x64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/47416/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47453/
Example
java.io.IOException: Backing channel 'JNLP4-connect connection from 107.170.28.213/107.170.28.213:33357' is disconnected.
	at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:215)
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:285)
	at jdk.proxy2/jdk.proxy2.$Proxy87.isAlive(Unknown Source)
	at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1215)
	at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1207)

Build Failure
Reason error: remote GitHub already exists.
Type BUILD_FAILURE
Failed PR 4 (https://github.com/nodejs/node/pull/43525/, https://github.com/nodejs/node/pull/45124/, https://github.com/nodejs/node/pull/45153/, https://github.com/nodejs/node/pull/45117/)
Appeared test-rackspace-win2012r2_vs2019-x64-6, test-rackspace-win2012r2_vs2017-x64-1, test-rackspace-win2012r2_vs2019-x64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/47391/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47469/
Example
error: remote GitHub already exists.

> git fetch --prune --no-tags GitHub 

> git fetch --prune --no-tags https://github.com/nodejs/build.git +refs/heads/main:refs/remotes/jenkins_tmp

Reason Error: invalid syntax
Type BUILD_FAILURE
Failed PR 3 (https://github.com/nodejs/node/pull/45126/, https://github.com/nodejs/node/pull/43525/, https://github.com/nodejs/node/pull/45098/)
Appeared test-rackspace-centos7-x64-1, test-softlayer-debian9-x64-1, test-rackspace-ubuntu1604-x64-2, test-osuosl-centos7-ppc64_le-1, test-equinix-centos7_container-arm64-1, test-ibm-rhel7-s390x-3, test-ibm-aix71-ppc64_be-3, test-digitalocean-ubuntu1804_sharedlibs_container-x64-2, test-orka-macos10.14-x64-2, test-orka-macos10.15-x64-1, test-digitalocean-alpine311_container-x64-1, test-rackspace-debian10-x64-1, test-digitalocean-fedora32-x64-1, test-ibm-rhel8-x64-2, test-ibm-ubuntu1804-x64-2, test-digitalocean-ubuntu1804_sharedlibs_container-x64-1, test-softlayer-ubuntu1804_sharedlibs_container-x64-3, test-digitalocean-ubuntu1804_sharedlibs_container-x64-10, test-digitalocean-ubuntu1804_sharedlibs_container-x64-7, test-softlayer-ubuntu1804_sharedlibs_container-x64-5, test-digitalocean-ubuntu1804_sharedlibs_container-x64-5, test-equinix-ubuntu1804_sharedlibs_container-arm64-5, test-ibm-rhel8-s390x-1, test-osuosl-rhel8-ppc64_le-1, undefined
First CI https://ci.nodejs.org/job/node-test-pull-request/47405/
Last CI https://ci.nodejs.org/job/node-test-pull-request/47408/
Example
Error: invalid syntax
make[1]: *** [Makefile:511: test-ci] Error 1
make: *** [Makefile:540: run-ci] Error 2
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True

Progress
  • pummel/test-fs-readfile-tostring-fail (10)
  • pummel/test-fs-largefile (5)
  • parallel/test-watch-mode-files_watcher (3)
  • addons/request-interrupt/test (2)
  • node-api/test_fatal/test2 (2)
  • parallel/test-corepack-yarn-install (2)
  • parallel/test-heapsnapshot-near-heap-limit-by-api-in-worker (2)
  • parallel/test-http2-misbehaving-multiplex (2)
  • parallel/test-runner-inspect (2)
  • parallel/test-tls-ticket-cluster (2)
  • Failed to create a temp file on /Users/iojs/build/workspace/node-test-commit-osx/nodes/osx11-x64 (8)
  • Backing channel 'JNLP4-connect connection from ... is disconnected. (2)
  • error: remote GitHub already exists. (4)
  • Error: invalid syntax (3)
Dominant language
Shell
Stars
57
Forks
20
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodejs/reliability

All issues in nodejs/reliability

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.