parallel/test-inspector-network-fetch is flaky on Windows
未关闭
还没有人认领这个 Issue。
flaky-test
never-stale
- 主要语言
- JavaScript
- 星标
- 122k
- 派生
- 37.4k
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 272
描述
Test
test-inspector-network-fetch
Platform
Windows x64
Console output
---
duration_ms: 475.009
exitcode: 1
severity: fail
stack: |-
Debugger listening on ws://127.0.0.1:57940/8163745a-9438-419c-9a4c-df0723ddd71e
For help, see: https://nodejs.org/en/docs/inspector
node:internal/process/promises:332
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
400 !== 200
at verifyResponseReceived (C:\workspace\node-test-binary-windows-js-suites\node\test\parallel\test-inspector-network-fetch.js:112:10)
at C:\workspace\node-test-binary-windows-js-suites\node\test\parallel\test-inspector-network-fetch.js:148:24
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 400,
expected: 200,
operator: 'strictEqual'
}
Node.js v25.0.0-pre
...
Build links
- Latest: https://ci.nodejs.org/job/node-test-binary-windows-js-suites/35411/RUN_SUBSET=3,nodes=win2022-COMPILED_BY-vs2022_clang/testReport/junit/(root)/parallel/test_inspector_network_fetch/
- This also has been failing in other forms, see https://github.com/nodejs/reliability/blob/main/reports/2025-07-16.md
Additional information
After the security embargo this has failed most Windows CIs.
The first failure happened in https://github.com/nodejs/node/pull/58077 which seems to be related to the flake itself.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 test/parallel/test-inspector-network-fetch.js 开始,重点检查第 112 行的 verifyResponseReceived 及其在第 148 行的调用方。使用链接的 Windows CI 报告重现失败,然后比较可靠性报告和 PR #58077 中的相关失败。当测试在 Windows CI 上能够稳定通过,且不再出现所报告的 400 响应时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, nodejs
- 领域
- operating-systems, testing
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100