nodejs / nodejs/node

Various AIX tests pass on Node 22, fail on later supported versions

未关闭
#61,657 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
122k
派生
37.4k
平均合并
4 天 3 小时
30 天内合并 PR
272

描述

A sibling issue to https://github.com/nodejs/node/issues/61441
After clearing up some of the flakiness and machine-specific problems that were occurring on AIX it became noticable that there were some failures that were NOT failing when run against Node 22.

This issue is to continue the analysis and determine if the failures are from changes in the test cases or functional changes in the Node that caused the intermittent failures in later releases.

The RUN_TESTS parameter of the stress test that I was using to experiment with is sequential/test-watch-mode-restart-esm-loading-error wpt/test-streams async-hooks/test-emit-after-on-destroyed node-api/test_threadsafe_function parallel/test-repl-preview - The test-emit-after-destroyed one is a reasonably common flake on AIX and has been marked as such. wpt/test-streams is the other one that shows a slightly lower failure rate (around 1%) on the later versions.

Sample runs showing the differences - each of these ran 100 times on each of four AIX machines:

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在 AIX 上针对 Node 22 及之后受支持的版本,反复运行列出的 RUN_TESTS 用例,并使用链接的 stress-test 结果进行对比。检查 sequential/test-watch-mode-restart-esm-loading-error、wpt/test-streams、async-hooks/test-emit-after-on-destroyed、node-api/test_threadsafe_function 和 parallel/test-repl-preview。完成的标准是确定每个差异来自测试变更还是 Node 中的功能变更,同时将已知的 AIX flaky 问题区分开来。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, node.js
领域
operating-systems, testing-qa
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。