nodejs / nodejs/node

Various flaky tests when running on test-osuosl-aix72-ppc64_be-3

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

还没有人认领这个 Issue。

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

描述

There are a few tests which are showing high levels of inconsistency when run on the test-osuosl-aix72-ppc64_be-3 machine. While there are occasional (<1%) failures showing on some of the tests elsewhere they are showing enough problems on this machine that it should be investigated as it is causing problems showing up on the node reliability reports (and also from some of my own job runs!)

The ones I've noticed - which I'm currently running additional stress tests on are as follows, although this may not be an exhaustive list:

  • parallel/test-repl-preview (Low failure rate - ~10% maybe)
  • node-api/test_threadsafe_function (~90% failure rate on osuosl_be-3)
  • async-hooks/test-emit-after-on-destroyed (~9% failure rate on osuosl_be-3)

1000 iterations of these on OSUOSL machines be-3 and be-4 are occurring in https://ci.nodejs.org/job/node-stress-single-test/638/console. (Note: I have modified that job to allow me to select the OSUOSL AIX machines specifically instead of just by the generic aix72-ppc64 label to allow explicit comparisons. I've also noted that the async-hooks test did fail once in a 100-iteration run on osuosl-be-4 (AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: / 'SIGILL' !== null) and with a similar frequency on that machine on a 1000-iteration run.

Noting that the intermittent stringbytes-external-max was marked flaky last month and it potentially also primarily a problem on this machine (to be confirmed)

I had also raised https://github.com/nodejs/node/issues/61439 on the threadsafe failure but I will close that as this seems to be primarily an issue with the machine setup/configuration as opposed to a general problem with that test.

贡献指南

打开贡献指南

从这里开始

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

调研方向

从 1000 次迭代的 node-stress-single-test 作业 638 开始,并比较 test-osuosl-aix72-ppc64_be-3 与 be-4。复现 parallel/test-repl-preview、node-api/test_threadsafe_function 和 async-hooks/test-emit-after-on-destroyed,然后检查报告的失败以及机器之间的差异。完成的标准是确定 AIX 节点配置是否导致不稳定,并记录或处理由此产生的修复。

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

评估

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

把新 issue 发到你的邮箱

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