nodejs / nodejs/node

`wpt/test-wasm-jsapi` sometimes crashes on AIX

Đang mở
#62,647 12 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

aix flaky-test
Ngôn ngữ chính
JavaScript
Star
122k
Fork
37.4k
Merge trung bình
4 ngày 3 giờ
Pull request đã merge (30 ngày)
272

Mô tả

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
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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách chạy out/Release/node --experimental-wasm-modules .../test/wpt/test-wasm-jsapi.mjs trên AIX và kiểm tra deps/v8/src/base/platform/platform-aix.cc quanh các dòng 194-199. So sánh đầu ra console khi lỗi và các lần chạy CI được liên kết để xác định tại sao kiểm tra ptr == address thỉnh thoảng lại thất bại. Hoàn thành khi test không còn bị crash trên các job AIX bị ảnh hưởng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, nodejs, wasm
Lĩnh vực
operating-systems, testing-qa
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.