nodejs / nodejs/node

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

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

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

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ả

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:

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 lặp lại các trường hợp RUN_TESTS được liệt kê trên AIX với Node 22 và các phiên bản được hỗ trợ sau đó, sử dụng kết quả stress-test được liên kết làm đối chiếu. Kiểm tra sequential/test-watch-mode-restart-esm-loading-error, wpt/test-streams, async-hooks/test-emit-after-on-destroyed, node-api/test_threadsafe_function và parallel/test-repl-preview. Hoàn thành nghĩa là xác định liệu mỗi khác biệt xuất phát từ các thay đổi trong test hay các thay đổi về chức năng trong Node, đồng thời tách riêng các lỗi không ổn định AIX đã biết.

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, node.js
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
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
38/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.