Skip to content

Conversation

@kxxt
Copy link
Contributor

@kxxt kxxt commented Nov 5, 2025

Recent architectures like RISC-V does not support open syscall, which will cause strace to fail and thus test failure.

AssertionError [ERR_ASSERTION]: strace: invalid system call 'open'

This patch disables tracing open syscall for RISC-V in the test to fix the failure.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Nov 5, 2025
@kxxt kxxt force-pushed the test-strace-openat-openssl-riscv branch 2 times, most recently from 38002d1 to dbc6fa4 Compare November 5, 2025 12:47
Recent architectures like RISC-V does not support open syscall,
which will cause strace to fail and thus test failure.

    AssertionError [ERR_ASSERTION]: strace: invalid system call 'open'

This patch disables tracing open syscall for RISC-V in the test to fix
the test failure.
@kxxt kxxt force-pushed the test-strace-openat-openssl-riscv branch from dbc6fa4 to 35705b1 Compare November 5, 2025 13:13
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.56%. Comparing base (8511902) to head (35705b1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #60588   +/-   ##
=======================================
  Coverage   88.55%   88.56%           
=======================================
  Files         704      704           
  Lines      208077   208077           
  Branches    40076    40083    +7     
=======================================
+ Hits       184271   184277    +6     
+ Misses      15839    15823   -16     
- Partials     7967     7977   +10     

see 29 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

kxxt added a commit to kxxt/archriscv-packages that referenced this pull request Nov 7, 2025
- Fix test-strace-openat-openssl for RISC-V, upstreamed: nodejs/node#60588
- Fix randomly failing WPT tests, upstreamed: nodejs/node#60591
- Drop upstreamed patches
- Temporarily disable test-snapshot-reproducible.js, I am still
  investigating it.
- Now `check()` is supposed to pass, but some tests could hit revyos/revyos#27
  on SG2042 so we might still need nocheck.
kxxt added a commit to kxxt/archriscv-packages that referenced this pull request Nov 7, 2025
- Fix test-strace-openat-openssl for RISC-V, upstreamed: nodejs/node#60588
- Fix randomly failing WPT tests, upstreamed: nodejs/node#60591
- Drop upstreamed patches
- Temporarily disable test-snapshot-reproducible.js, I am still
  investigating it.
- Now `check()` is supposed to pass, but some tests could hit revyos/revyos#27
  on SG2042 so we might still need nocheck.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants