`wpt/test-wasm-jsapi` sometimes crashes on AIX
オープン
まだ誰も着手していません。
aix
flaky-test
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.3k
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 283
説明
Test
wpt/test-wasm-jsapi
Platform
AIX
Console output
21:53:20 ok 5280 wpt/test-user-timing # TODO : Fix flaky test
21:53:20 ---
21:53:20 duration_ms: 917.03200
21:53:20 ...
21:53:21 not ok 5281 wpt/test-wasm-jsapi
21:53:21 ---
21:53:21 duration_ms: 1557.51600
21:53:21 severity: crashed
21:53:21 exitcode: -5
21:53:21 stack: |-
21:53:21 [SKIPPED] esm-integration/global-exports-live-bindings.tentative.any.js: Live bindings unsupported pending V8 WebAssemblyModuleRecord
...
21:53:22 [PASS] basic 4
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22 (node:29032854) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
21:53:22 (Use `node --trace-warnings ...` to show where the warning was created)
21:53:22 (node:29032854) ExperimentalWarning: Importing WebAssembly module instances is an experimental feature and might change at any time
21:53:22
21:53:22
21:53:22 #
21:53:22 # Fatal error in , line 0
21:53:22 # Check failed: ptr == address.
21:53:22 #
21:53:22 #
21:53:22 #
21:53:22 #FailureMessage Object: 1135e9ad0
21:53:22 ----- Native stack trace -----
21:53:22
21:53:22 ...
...
21:53:52 Failed tests:
21:53:52 out/Release/node --experimental-wasm-modules /home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-power9/test/wpt/test-wasm-jsapi.mjs
21:53:52 gmake[1]: *** [Makefile:619: test-ci] Error 1
Build links
- https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix72-power9/61914/console
- https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix72-power9/61967/console
- https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix72-power9/61997/console
Additional information
We suspect it is the same check/comment https://github.com/nodejs/node/blob/5b6091ce31068e1c86f863273cdd397ecb47e3b7/deps/v8/src/base/platform/platform-aix.cc#L194-L199 as referenced in https://github.com/nodejs/node/pull/62470.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず AIX で out/Release/node --experimental-wasm-modules .../test/wpt/test-wasm-jsapi.mjs を実行し、deps/v8/src/base/platform/platform-aix.cc の 194-199 行付近を調査します。失敗時のコンソール出力とリンクされた CI 実行を比較して、ptr == address のチェックが断続的に失敗する理由を特定します。影響を受ける AIX ジョブでテストがクラッシュしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, nodejs, wasm
- 領域
- operating-systems, testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100