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 52 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.
@kxxt
Copy link
Contributor Author

kxxt commented Nov 10, 2025

Hi, is there still anything I need to do to get this PR merged? Thanks.

@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 10, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 10, 2025
@nodejs-github-bot
Copy link
Collaborator

@kxxt
Copy link
Contributor Author

kxxt commented Nov 11, 2025

Looks like all CI failures are unrelated. Should I rebase this PR?

@nodejs-github-bot
Copy link
Collaborator

@richardlau
Copy link
Member

Looks like all CI failures are unrelated. Should I rebase this PR?

No, let's try the CI again.

@nodejs-github-bot
Copy link
Collaborator

@kxxt
Copy link
Contributor Author

kxxt commented Nov 11, 2025

Looks like all CI failures are unrelated. Should I rebase this PR?

No, let's try the CI again.

Thanks! The CI is green now.

@richardlau richardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 11, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 11, 2025
@nodejs-github-bot nodejs-github-bot merged commit 22a3eb0 into nodejs:main Nov 11, 2025
66 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 22a3eb0

@kxxt kxxt deleted the test-strace-openat-openssl-riscv branch November 11, 2025 13:42
felixonmars pushed a commit to felixonmars/archriscv-packages that referenced this pull request Nov 12, 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.
targos pushed a commit that referenced this pull request Nov 27, 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 test failure.

PR-URL: #60588
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
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.

5 participants