CI Reliability 2022-05-29
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, node.js, shell
- 领域
- ci-cd, devops, testing-qa
调研方向
从生成的 ncu-ci walk 报告开始,在 test/parallel/test-worker-http2-stream-terminate.js、test/parallel/test-http-server-request-timeouts-mixed.js、test/node-api/test_buffer/test_finalizer.js 以及其他列出的测试中重现所列出的失败。跨平台比较链接的 CI 示例,以确定哪些失败仍然可以重现。该 issue 未定义具体的修复方案或验收标准;要完成此 issue,需要处理报告的 CI 失败,并确保它们不再复现。
由索引模型根据 Issue 内容生成。
描述
Failures in node-test-pull-request/44111 to node-test-pull-request/44208 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-05-29 00:16 | 1 | 10 | 21 | 0 | 68 | 10.10% |
JSTest Failure
Example
not ok 795 parallel/test-worker-http2-stream-terminate
---
duration_ms: 15.169
severity: crashed
exitcode: 3221225477
stack: |-
Error: async hook stack has become corrupted (actual: 11, expected: 11732)
...
Example
not ok 1172 parallel/test-http-server-request-timeouts-mixed
---
duration_ms: 3.474
severity: fail
exitcode: 1
stack: |-
node:assert:399
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/parallel/test-http-server-request-timeouts-mixed.js:106:5)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v19.0.0-pre
...
| Reason | node-api/test_buffer/test_finalizer |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 6 (https://github.com/nodejs/node/pull/43206/, https://github.com/nodejs/node/pull/43164/, https://github.com/nodejs/node/pull/43211/, https://github.com/nodejs/node/pull/43218/, https://github.com/nodejs/node/pull/43227/, https://github.com/nodejs/node/pull/43216/) |
| Appeared | test-osuosl-aix72-ppc64_be-2, test-osuosl-aix72-ppc64_be-3 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44196/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44208/ |
Example
not ok 3462 node-api/test_buffer/test_finalizer
---
duration_ms: 0.260
severity: fail
exitcode: 1
stack: |-
Mismatched <anonymous> function calls. Expected exactly 1, actual 0.
at Proxy.mustCall (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-ppc64/test/common/index.js:396:10)
at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-ppc64/test/node-api/test_buffer/test_finalizer.js:9:40)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
Mismatched <anonymous> function calls. Expected exactly 1, actual 0.
at Proxy.mustCall (/home/iojs/build/workspace/node-test-com...
| Reason | parallel/test-worker-heap-snapshot |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 5 (https://github.com/nodejs/node/pull/43164/, https://github.com/nodejs/node/pull/43178/, https://github.com/nodejs/node/pull/43124/, https://github.com/nodejs/node/pull/43200/, https://github.com/nodejs/node/pull/43214/) |
| Appeared | test-rackspace-win2012r2_vs2019-x64-5, test-rackspace-win2012r2_vs2013-x64-1, test-rackspace-win2012r2_vs2019-x64-4 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44114/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44174/ |
Example
not ok 782 parallel/test-worker-heap-snapshot
---
duration_ms: 1.261
severity: fail
exitcode: 134
stack: |-
FATAL ERROR: HandleScope::HandleScope Entering the V8 API without proper locking in place
...
| Reason | parallel/test-inspector-multisession-ws |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 4 (https://github.com/nodejs/node/pull/42776/, https://github.com/nodejs/node/pull/43112/, https://github.com/nodejs/node/pull/42858/, https://github.com/nodejs/node/pull/43077/) |
| Appeared | test-nearform-macos10.15-x64-3, test-ibm-rhel8-s390x-4, test-nearform-macos10.15-x64-1 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44116/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44180/ |
Example
not ok 1583 parallel/test-inspector-multisession-ws
---
duration_ms: 15.697
severity: fail
exitcode: 1
stack: |-
[test] Connecting to a child Node process
[test] Testing /json/list
[test] Connecting to a child Node process
[test] Testing /json/list
[err] Debugger listening on ws://127.0.0.1:64003/df1c746d-1e38-424e-9e4e-06464462aadd
[err] For help, see: https://nodejs.org/en/docs/inspector
[err]
[err] Debugger attached.
[err] Debugger attached.
[err]
[test] Breaking in code and verifying events are fired
Timed out waiting for matching notification (Initial pause)
1
...
| Reason | parallel/test-net-connect-memleak |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 4 (https://github.com/nodejs/node/pull/42675/, https://github.com/nodejs/node/pull/43214/, https://github.com/nodejs/node/pull/43210/, https://github.com/nodejs/node/pull/43206/) |
| Appeared | test-rackspace-win2012r2_vs2013-x64-1, test-rackspace-win2012r2_vs2019-x64-5 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44131/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44196/ |
Example
not ok 472 parallel/test-net-connect-memleak
---
duration_ms: 0.312
severity: fail
exitcode: 1
stack: |-
Mismatched noop function calls. Expected exactly 1, actual 0.
at Proxy.mustCall (C:\workspace\node-test-binary-windows-js-suites\node\test\common\index.js:396:10)
at Object.<anonymous> (C:\workspace\node-test-binary-windows-js-suites\node\test\parallel\test-net-connect-memleak.js:33:40)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
...
| Reason | parallel/test-https-server-close-idle |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 3 (https://github.com/nodejs/node/pull/43077/, https://github.com/nodejs/node/pull/43151/, https://github.com/nodejs/node/pull/43216/) |
| Appeared | test-nearform-macos10.15-x64-3, test-orka-macos11-x64-2, test-nearform-macos11.0-arm64-1, test-rackspace-win2012r2_vs2017-x64-4, test-ibm-rhel8-x64-1, test-digitalocean-ubuntu1804_sharedlibs_container-x64-10 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44150/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44208/ |
Example
not ok 1508 parallel/test-https-server-close-idle
---
duration_ms: 0.250
severity: fail
exitcode: 1
stack: |-
node:assert:123
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
0 !== 1
at TLSSocket.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/parallel/test-https-server-close-idle.js:43:12)
at TLSSocket.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/common/index.js:438:15)
at TLSSocket.emit (node:events:539:35)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1215:10) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 0,
expected: 1,
operator: 'strictEqual'
}
Node.js v19.0.0-pre
...
| Reason | es-module/test-esm-resolve-type |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/42910/, https://github.com/nodejs/node/pull/43178/) |
| Appeared | undefined, test-azure_msft-win10_vs2019-x64-1 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44127/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44132/ |
Example
not ok 280 es-module/test-esm-resolve-type
---
duration_ms: 0.745
severity: crashed
exitcode: -5
stack: |-
1..0 # Skipped: test-esm-resolve-type.mjs: process.chdir is not available in Workers
#
# Fatal error in , line 0
# Check failed: (location_) != nullptr.
#
#
#
#FailureMessage Object: 0x7fe066ff7cd0
1: 0x557bb28937a1 [out/Release/node]
2: 0x557bb3b964ce V8_Fatal(char const*, ...) [out/Release/node]
3: 0x557bb2ed9db5 v8::internal::SourceTextModule::ExecuteAsyncModule(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) [out/Release/node]
4: 0x557bb2eda770 v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule> >*, unsigned int*) [out/Release/node]
5: 0x557bb2eda869 v8::internal::SourceTextModule::Evaluate(v8::internal::Isolate*, v8::internal::Handle...
| Reason | parallel/test-http-server-close-all |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/43173/, https://github.com/nodejs/node/pull/42838/) |
| Appeared | test-softlayer-ubuntu1804_sharedlibs_container-x64-1, test-rackspace-win2012r2_vs2019-x64-5 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44111/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44149/ |
Example
not ok 1384 parallel/test-http-server-close-all
---
duration_ms: 0.421
severity: fail
exitcode: 1
stack: |-
node:assert:123
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 2
at Socket.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/parallel/test-http-server-close-all.js:44:14)
at Socket.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:438:15)
at Socket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 1,
expected: 2,
operator: 'strictEqual'
}
Node.js v19.0.0-pre
......
| Reason | parallel/test-runner-cli |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/43202/, https://github.com/nodejs/node/pull/43214/) |
| Appeared | test-nearform-macos10.15-x64-1, test-nearform-macos10.15-x64-3 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44164/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44171/ |
Example
not ok 2046 parallel/test-runner-cli
---
duration_ms: 0.768
severity: fail
exitcode: 1
stack: |-
node:assert:1026
throw err;
^
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /not ok 1 - this should fail/. Input:
'TAP version 13\n' +
'not ok 1 - /Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/fixtures/test-runner/index.js\n' +
' ---\n' +
' duration_ms: 0.072193973\n' +
" failureType: 'subtestsFailed'\n" +
' exitCode: 1\n' +
" stdout: ''\n" +
' stderr: |-\n' +
' /Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/fixtures/test-runner/index.js:2\n' +
" throw new Error('thrown from index.js');\n" +
' ^\n' +
' \n' +
' Error: thrown from index.js\n' +
' at Object.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/fixtures/test-runner/index.js:2:7)\n' +
' ...
| Reason | parallel/test-trace-events-fs-sync |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/43069/, https://github.com/nodejs/node/pull/43214/) |
| Appeared | test-azure_msft-win10_vs2019-x64-2, test-azure_msft-win10_vs2019-x64-4 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44129/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44177/ |
Example
not ok 704 parallel/test-trace-events-fs-sync
---
duration_ms: 2.6
severity: fail
exitcode: 1
stack: |-
C:\workspace\node-test-binary-windows-js-suites\node\test\parallel\test-trace-events-fs-sync.js:133
throw new Error(`${tr}:\n${util.inspect(proc)}`);
^
Error: fs.sync.fstat:
{
status: 1,
signal: null,
output: [
null,
'',
'node:internal/fs/utils:345\r\n' +
' throw err;\r\n' +
' ^\r\n' +
'\r\n' +
"Error: EPERM: operation not permitted, open 'fs.txt'\r\n" +
' at Object.openSync (node:fs:591:3)\r\n' +
' at Object.writeFileSync (node:fs:2212:35)\r\n' +
' at [eval]:1:4\r\n' +
' at Script.runInThisContext (node:vm:129:12)\r\n' +
' at Object.runInThisContext (node:vm:305:38)\r\n' +
' at node:internal/process/execution:76:19\r\n' +
' at [eval]-wrapper:6:22\r\n' +
' at evalScript (node:...
| Reason | wpt/test-streams |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/43195/, https://github.com/nodejs/node/pull/43210/) |
| Appeared | test-joyent-smartos20-x64-3, test-equinix-ubuntu1804_sharedlibs_container-arm64-1 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44144/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44182/ |
Example
not ok 3681 wpt/test-streams
---
duration_ms: 3.745
severity: crashed
exitcode: -11
stack: |-
---- queuing-strategies-size-function-per-global.window.js ----
[SKIPPED] Browser-specific test
---- transferable/deserialize-error.window.js ----
[SKIPPED] Browser-specific test
...
| Reason | wpt/test-webcrypto |
|---|---|
| Type | JS_TEST_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/43124/, https://github.com/nodejs/node/pull/43195/) |
| Appeared | test-equinix-ubuntu1804_sharedlibs_container-arm64-1, test-rackspace-win2012r2_vs2017-x64-4 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44143/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44144/ |
Example
not ok 3525 wpt/test-webcrypto
---
duration_ms: 5.827
severity: crashed
exitcode: -5
stack: |-
[EXPECTED_FAILURE][UNCAUGHT] evaluation in WPTRunner.runJsTests()
location is not defined
location is not defined
/home/iojs/build/workspace/node-test-commit-arm-debug/test/fixtures/wpt/common/subset-tests.js:5
if (location.search) {
^
ReferenceError: location is not defined
at /home/iojs/build/workspace/node-test-commit-arm-debug/test/fixtures/wpt/common/subset-tests.js:5:3
at /home/iojs/build/workspace/node-test-commit-arm-debug/test/fixtures/wpt/common/subset-tests.js:60:3
at Script.runInThisContext (node:vm:129:12)
at runInThisContext (node:vm:305:38)
at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-arm-debug/test/common/wpt/worker.js:52:3)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (...
Jenkins Failure
Build Failure
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: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? |
|---|---|
| Type | BUILD_FAILURE |
| Failed PR | 3 (https://github.com/nodejs/node/pull/42910/, https://github.com/nodejs/node/pull/43200/, https://github.com/nodejs/node/pull/43218/) |
| Appeared | test-equinix-debian10_container-armv7l-2, test-equinix-ubuntu2004_container-armv7l-1, test-equinix-debian10_container-armv7l-1, test-equinix-ubuntu2004_container-armv7l-2, test-equinix-rhel8_container-arm64-1, test-equinix-ubuntu1804_container-arm64-2, test-equinix-ubuntu1804_sharedlibs_container-arm64-1 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44123/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44199/ |
Example
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
[PostBuildScript] - [INFO] Executing post build scripts.
[node-test-binary-armv7l] $ /bin/bash -ex /tmp/jenkins8583600057286054986.sh
+ '[' -d .git ']'
+ git clean -fdx
| Reason | ERROR: Step ‘Publish JUnit test result report’ failed: no workspace for ... |
|---|---|
| Type | BUILD_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/43112/, https://github.com/nodejs/node/pull/43218/) |
| Appeared | test-digitalocean-freebsd12-x64-2 |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44136/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44201/ |
Example
ERROR: Step ‘Publish JUnit test result report’ failed: no workspace for node-test-commit-freebsd/nodes=freebsd12-x64 #44203
Collecting metadata...
Metadata collection done.
Notifying upstream projects of job completion
Finished: FAILURE
| Reason | fatal: sent error to the client: git upload-archive: archiver died with error |
|---|---|
| Type | BUILD_FAILURE |
| Failed PR | 2 (https://github.com/nodejs/node/pull/43211/, https://github.com/nodejs/node/pull/43218/) |
| Appeared | undefined |
| First CI | https://ci.nodejs.org/job/node-test-pull-request/44179/ |
| Last CI | https://ci.nodejs.org/job/node-test-pull-request/44199/ |
Example
fatal: sent error to the client: git upload-archive: archiver died with error
fatal: no such ref: jenkins-node-test-commit-windows-fanned-d88c028b2554380a318e0fbd86fd6edd00c8c584
undefined
Example
Unknown
Progress
-
parallel/test-worker-http2-stream-terminate(18) -
parallel/test-http-server-request-timeouts-mixed(16) -
node-api/test_buffer/test_finalizer(6) -
parallel/test-worker-heap-snapshot(5) -
parallel/test-inspector-multisession-ws(4) -
parallel/test-net-connect-memleak(4) -
parallel/test-https-server-close-idle(3) -
es-module/test-esm-resolve-type(2) -
parallel/test-http-server-close-all(2) -
parallel/test-runner-cli(2) -
parallel/test-trace-events-fs-sync(2) -
wpt/test-streams(2) -
wpt/test-webcrypto(2) -
error: remote GitHub already exists.(9) -
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?(3) -
ERROR: Step ‘Publish JUnit test result report’ failed: no workspace for ...(2) -
fatal: sent error to the client: git upload-archive: archiver died with error(2) -
Unknown(20)
- 主要语言
- Shell
- 星标
- 57
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/reliability 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
nodejs/reliability#1666 ·
-
难度 4/5 3-5 天 新手友好度 25/100
nodejs/reliability#1665 ·
-
难度 5/5 一周以上 新手友好度 25/100
nodejs/reliability#1664 ·
-
难度 4/5 3-5 天 新手友好度 35/100
nodejs/reliability#1663 ·
-
难度 4/5 3-5 天 新手友好度 35/100
nodejs/reliability#1662 ·
查看 nodejs/reliability 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
community-scripts/ProxmoxVE#17396 · 1 条评论 ·
-
package-update
难度 2/5 1-3 小时 新手友好度 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
help wanted new command
难度 2/5 1-3 小时 新手友好度 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE 未关闭package request
难度 2/5 1-3 小时 新手友好度 68/100
pacstall/pacstall-programs#9402 ·