nodejs / nodejs/reliability

CI Reliability 2024-08-07

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

Nobody has claimed this yet.

Dominant language
Shell
Stars
57
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Failures in node-test-pull-request/60817 to node-test-pull-request/60914 that failed 2 or more 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
2024-08-07 00:08 2 9 31 2 56 9.38%
Jenkins Failure
Reason Build timed out (after 30 minutes). Marking the build as failed.
Type JENKINS_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/54137/, https://github.com/nodejs/node/pull/54093/)
Appeared test-azure_msft-win11_vs2022-arm64-1
First CI https://ci.nodejs.org/job/node-test-pull-request/60828/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60861/
Example
Build timed out (after 30 minutes). Marking the build as failed.

Git Failure
Build Failure
Reason Error: getWindowSize EINVAL
Type BUILD_FAILURE
Failed PR 6 (https://github.com/nodejs/node/pull/54137/, https://github.com/nodejs/node/pull/54146/, https://github.com/nodejs/node/pull/54199/, https://github.com/nodejs/node/pull/54153/, https://github.com/nodejs/node/pull/54211/, https://github.com/nodejs/node/pull/54120/)
Appeared test-equinix_mnx-smartos20-x64-3, test-equinix_mnx-smartos20-x64-4
First CI https://ci.nodejs.org/job/node-test-pull-request/60850/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60882/
Example
Error: getWindowSize EINVAL
outline =     at WriteStream._refreshSize (node:tty:137:24)
outline =     at process.refreshStderrOnSigWinch (node:internal/bootstrap/switches/is_main_thread:142:10)
outline =     at process.emit (node:events:532:35)
outline = Emitted 'error' event on WriteStream instance at:
outline =     at WriteStream._refreshSize (node:tty:137:10)

Reason fatal: No rebase in progress?
Type BUILD_FAILURE
Failed PR 4 (https://github.com/nodejs/node/pull/54137/, https://github.com/nodejs/node/pull/53464/, https://github.com/nodejs/node/pull/54028/, https://github.com/nodejs/node/pull/54153/)
Appeared test-mnx-ubuntu2204-x64-1, test-orka-macos11-x64-2, test-ibm-ubuntu2204_sharedlibs_container-x64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/60844/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60914/
Example
fatal: No rebase in progress?

JSTest Failure
Reason parallel/test-net-write-fully-async-buffer
Type JS_TEST_FAILURE
Failed PR 7 (https://github.com/nodejs/node/pull/54088/, https://github.com/nodejs/node/pull/54199/, https://github.com/nodejs/node/pull/54208/, https://github.com/nodejs/node/pull/54109/, https://github.com/nodejs/node/pull/54028/, https://github.com/nodejs/node/pull/54014/, https://github.com/nodejs/node/pull/54153/)
Appeared test-equinix-rhel8_container-arm64-1, test-equinix-ubuntu2004_container-arm64-2, test-azure_msft-win11_vs2022-arm64-3, test-ibm-ubuntu2204_sharedlibs_container-x64-2, test-equinix-ubuntu2004_container-armv7l-1, test-digitalocean-debian12-x64-1
First CI https://ci.nodejs.org/job/node-test-pull-request/60845/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60914/
Example
not ok 3994 parallel/test-net-write-fully-async-buffer
  ---
  duration_ms: 360114.39400
  severity: fail
  exitcode: -15
  stack: |-
    timeout
  ...


Reason addons/load-long-path/test
Type JS_TEST_FAILURE
Failed PR 5 (https://github.com/nodejs/node/pull/54151/, https://github.com/nodejs/node/pull/54142/, https://github.com/nodejs/node/pull/54104/, https://github.com/nodejs/node/pull/54137/, https://github.com/nodejs/node/pull/54093/)
Appeared test-azure_msft-win11_vs2022-arm64-1, test-azure_msft-win11_vs2022-arm64-2, test-azure_msft-win11_vs2022-arm64-6
First CI https://ci.nodejs.org/job/node-test-pull-request/60825/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60859/
Example
not ok 31 addons/load-long-path/test
  ---
  duration_ms: 897.29400
  severity: fail
  exitcode: 1
  stack: |-
    Can't clean tmpdir: d:\workspace\node-test-binary-windows-native-suites\node\test\.tmp.30
    Files blocking: [ 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' ]
    
    d:\workspace\node-test-binary-windows-native-suites\node\test\common\tmpdir.js:69
        throw e;
        ^
    
    Error: EPERM, Permission denied: \\?\d:\workspace\node-test-binary-windows-native-suites\node\test\.tmp.30 '\\?\d:\workspace\node-test-binary-windows-native-suites\node\test\.tmp.30'
        at Object.rmSync (node:fs:1246:18)
        at rmSync (d:\workspace\node-test-binary-windows-native-suites\node\test\common\tmpdir.js:20:8)
        at onexit (d:\workspace\node-test-binary-windows-native-suites\node\test\common\tmpdir.js:54:5)
        at process.<anonymous> (d:\workspace\node-test-binary-windows-native-suites\node\test\common\tmpdir.js:43:14)
        at process.emit (node:events:532:35) {
      errno: 1,
      code: 'EPERM',...

Reason node-api/test_general/test
Type JS_TEST_FAILURE
Failed PR 5 (https://github.com/nodejs/node/pull/54151/, https://github.com/nodejs/node/pull/54142/, https://github.com/nodejs/node/pull/54104/, https://github.com/nodejs/node/pull/54137/, https://github.com/nodejs/node/pull/54093/)
Appeared test-azure_msft-win11_vs2022-arm64-1, test-azure_msft-win11_vs2022-arm64-2, test-azure_msft-win11_vs2022-arm64-6
First CI https://ci.nodejs.org/job/node-test-pull-request/60825/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60859/
Example
not ok 142 node-api/test_general/test
  ---
  duration_ms: 887.15600
  severity: fail
  exitcode: 1
  stack: |-
    Can't clean tmpdir: d:\workspace\node-test-binary-windows-native-suites\node\test\.tmp.141
    Files blocking: [ 'foo%#bar' ]
    
    node:fs:1246
      return binding.rmSync(getValidatedPath(path), opts.maxRetries, opts.recursive, opts.retryDelay);
                     ^
    
    Error: EPERM, Permission denied: \\?\d:\workspace\node-test-binary-windows-native-suites\node\test\.tmp.141\foo%#bar '\\?\d:\workspace\node-test-binary-windows-native-suites\node\test\.tmp.141\foo%#bar'
        at Object.rmSync (node:fs:1246:18)
        at Object.<anonymous> (d:\workspace\node-test-binary-windows-native-suites\node\test\node-api\test_general\test.js:34:6)
        at Module._compile (node:internal/modules/cjs/loader:1546:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
        at Module.load (node:internal/modules/cjs/loader:1317:32)
        at Module._load (node:interna...

Reason async-hooks/test-writewrap
Type JS_TEST_FAILURE
Failed PR 4 (https://github.com/nodejs/node/pull/54088/, https://github.com/nodejs/node/pull/54142/, https://github.com/nodejs/node/pull/54151/, https://github.com/nodejs/node/pull/54014/)
Appeared test-ibm-ubuntu2204_sharedlibs_container-x64-4, test-digitalocean-ubuntu2204_sharedlibs_container-x64-4
First CI https://ci.nodejs.org/job/node-test-pull-request/60842/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60908/
Example
not ok 513 async-hooks/test-writewrap
  ---
  duration_ms: 120062.09400
  severity: fail
  exitcode: -15
  stack: |-
    timeout
  ...


Reason sequential/test-http-server-request-timeouts-mixed
Type JS_TEST_FAILURE
Failed PR 4 (https://github.com/nodejs/node/pull/53846/, https://github.com/nodejs/node/pull/54088/, https://github.com/nodejs/node/pull/54142/, https://github.com/nodejs/node/pull/54208/)
Appeared test-orka-macos11-x64-2
First CI https://ci.nodejs.org/job/node-test-pull-request/60843/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60872/
Example
not ok 4156 sequential/test-http-server-request-timeouts-mixed
  ---
  duration_ms: 3316.38100
  severity: fail
  exitcode: 1
  stack: |-
    node:assert:408
        throw err;
        ^
    
    AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
    
      assert(request2.completed)
    
        at Timeout._onTimeout (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx11-x64/test/sequential/test-http-server-request-timeouts-mixed.js:108:5)
        at listOnTimeout (node:internal/timers:614:17)
        at process.processTimers (node:internal/timers:549:7) {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: false,
      expected: true,
      operator: '=='
    }
    
    Node.js v23.0.0-pre
  ...


Reason parallel/test-child-process-fork-exec-path
Type JS_TEST_FAILURE
Failed PR 3 (https://github.com/nodejs/node/pull/54164/, https://github.com/nodejs/node/pull/54142/, https://github.com/nodejs/node/pull/54156/)
Appeared test-azure_msft-win11_vs2022-arm64-2, test-azure_msft-win11_vs2022-arm64-3, test-azure_msft-win11_vs2022-arm64-1
First CI https://ci.nodejs.org/job/node-test-pull-request/60817/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60826/
Example
not ok 128 parallel/test-child-process-fork-exec-path
  ---
  duration_ms: 5991.19100
  severity: fail
  exitcode: 1
  stack: |-
    Can't clean tmpdir: d:\workspace\node-test-binary-windows-js-suites\node\test\.tmp.106
    Files blocking: [ 'node-copy.exe' ]
    
    d:\workspace\node-test-binary-windows-js-suites\node\test\common\tmpdir.js:69
        throw e;
        ^
    
    Error: EPERM: operation not permitted, unlink 'd:\workspace\node-test-binary-windows-js-suites\node\test\.tmp.106\node-copy.exe'
        at unlinkSync (node:fs:1884:11)
        at _unlinkSync (node:internal/fs/rimraf:214:14)
        at fixWinEPERMSync (node:internal/fs/rimraf:306:5)
        at rimrafSync (node:internal/fs/rimraf:200:14)
        at node:internal/fs/rimraf:253:9
        at Array.forEach (<anonymous>)
        at _rmdirSync (node:internal/fs/rimraf:250:7)
        at fixWinEPERMSync (node:internal/fs/rimraf:304:5)
        at rimrafSync (node:internal/fs/rimraf:200:14)
        at Object.rmSync (node:fs:1264:10) {
      err...

Reason parallel/test-dns
Type JS_TEST_FAILURE
Failed PR 3 (https://github.com/nodejs/node/pull/54137/, https://github.com/nodejs/node/pull/54028/, https://github.com/nodejs/node/pull/54116/)
Appeared test-orka-macos11-x64-1, test-rackspace-win2022_vs2022-x64-5, test-ibm-rhel8-x64-1
First CI https://ci.nodejs.org/job/node-test-pull-request/60844/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60887/
Example
not ok 636 parallel/test-dns
  ---
  duration_ms: 341.11600
  severity: fail
  exitcode: 1
  stack: |-
    (node:41328) [DEP0118] DeprecationWarning: The provided hostname "" is not a valid hostname, and is supported in the dns module solely for compatibility.
    (Use `node --trace-deprecation ...` to show where the warning was created)
    node:assert:126
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
    + actual - expected ... Lines skipped
    
      [
        {
          address: '1.2.3.4',
    +     ttl: 3333333332,
    -     ttl: 3333333333,
          type: 'A'
        },
        {
          address: '::42',
    +     ttl: 3333333332,
    -     ttl: 3333333333,
          type: 'AAAA'
    ...


Reason parallel/test-buffer-tostring-rangeerror
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/54117/, https://github.com/nodejs/node/pull/54137/)
Appeared test-ibm-ubuntu2204_sharedlibs_container-x64-5, test-ibm-ubuntu2204_sharedlibs_container-x64-4
First CI https://ci.nodejs.org/job/node-test-pull-request/60830/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60854/
Example
not ok 1476 parallel/test-buffer-tostring-rangeerror
  ---
  duration_ms: 120090.55500
  severity: fail
  exitcode: -15
  stack: |-
    timeout
    (node:4160306) [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)
  ...


Reason parallel/test-performance-function
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/54109/, https://github.com/nodejs/node/pull/54088/)
Appeared test-ibm-rhel8-x64-1, test-ibm-ubuntu2204_sharedlibs_container-x64-3
First CI https://ci.nodejs.org/job/node-test-pull-request/60833/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60845/
Example
not ok 2408 parallel/test-performance-function
  ---
  duration_ms: 310.67800
  severity: fail
  exitcode: 1
  stack: |-
    node:internal/histogram:291
        validateInteger(val, 'val', 1);
        ^
    
    RangeError [ERR_OUT_OF_RANGE]: The value of "val" is out of range. It must be >= 1 && <= 9007199254740991. Received 0
        at RecordableHistogram.record (node:internal/histogram:291:5)
        at processComplete (node:internal/perf/timerify:40:15)
        at timerified m (node:internal/perf/timerify:87:5)
        at /home/iojs/build/workspace/node-test-commit-linux/test/parallel/test-performance-function.js:103:5
        at runNextTicks (node:internal/process/task_queues:65:5)
        at listOnTimeout (node:internal/timers:575:9)
        at process.processTimers (node:internal/timers:549:7) {
      code: 'ERR_OUT_OF_RANGE'
    }
    
    Node.js v23.0.0-pre
  ...


Reason wpt/test-compression
Type JS_TEST_FAILURE
Failed PR 2 (https://github.com/nodejs/node/pull/54146/, https://github.com/nodejs/node/pull/53533/)
Appeared test-ibm-rhel8-s390x-1
First CI https://ci.nodejs.org/job/node-test-pull-request/60824/
Last CI https://ci.nodejs.org/job/node-test-pull-request/60907/
Example
not ok 4234 wpt/test-compression
  ---
  duration_ms: 1962.47800
  severity: crashed
  exitcode: -4
  stack: |-
    [SKIPPED] compression-bad-chunks.tentative.any.js: Execution "hangs", ArrayBuffer and TypedArray is not accepted and throws, instead of rejects during writer.write
    [SKIPPED] decompression-bad-chunks.tentative.any.js: Execution "hangs", ArrayBuffer and TypedArray is not accepted and throws, instead of rejects during writer.write
    [SKIPPED] decompression-buffersource.tentative.any.js: ArrayBuffer and TypedArray is not accepted and throws, instead of rejects during writer.write
    [SKIPPED] idlharness-shadowrealm.window.js: ShadowRealm support is not enabled
    [SKIPPED] third_party/pako/pako_inflate.min.js: This is not a test file.
    [PASS] "a" should cause the constructor to throw
    [PASS] no input should cause the constructor to throw
    [PASS] non-string input should cause the constructor to throw
    [PASS] the result of compressing [,Hello,Hello] with deflate should be 'HelloHel...

Progress
  • Build timed out (after 30 minutes). Marking the build as failed. (2)
  • Error: getWindowSize EINVAL (6)
  • fatal: No rebase in progress? (4)
  • parallel/test-net-write-fully-async-buffer (7)
  • addons/load-long-path/test (5)
  • node-api/test_general/test (5)
  • async-hooks/test-writewrap (4)
  • sequential/test-http-server-request-timeouts-mixed (4)
  • parallel/test-child-process-fork-exec-path (3)
  • parallel/test-dns (3)
  • parallel/test-buffer-tostring-rangeerror (2)
  • parallel/test-performance-function (2)
  • wpt/test-compression (2)

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.

Research direction

Start with the linked Jenkins console logs for the reported build failures, then compare the affected entries: node:tty getWindowSize, test/common/tmpdir.js cleanup, addons/load-long-path/test, node-api/test_general/test, and parallel/test-net-write-fully-async-buffer. Trace each failure to a reproducible cause in the relevant CI job or test. Done means the recurring failures are addressed and the affected CI jobs no longer fail for these reasons.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, node.js, shell
Domain
ci-cd, devops, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.