Various AIX tests pass on Node 22, fail on later supported versions
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.3k
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 283
説明
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:
- Stress#654 on main: 18/400 failures
- Stress#655 on v25.x: 15/400 failures
- Stress#656 on v24.x: 13/400 failures
- Stress#657 on v25.x: No failures
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされたストレステストの結果を比較対象として使用し、AIX 上で Node 22 およびそれ以降のサポート対象バージョンに対して、記載された RUN_TESTS ケースを繰り返し実行します。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