Skip to content

test: skip strace test with shared openssl#61987

Open
richardlau wants to merge 1 commit intonodejs:mainfrom
richardlau:strace
Open

test: skip strace test with shared openssl#61987
richardlau wants to merge 1 commit intonodejs:mainfrom
richardlau:strace

Conversation

@richardlau
Copy link
Member

parallel/test-strace-openat-openssl was added to check explicitly for a list of known files that would be opened for a set workload (require("crypto")). This is not reliable when Node.js is linked to an external/shared OpenSSL library (e.g. it might be configured to load configuration files from a different default location and/or load more than one configuration file) so skip this test when Node.js is built in that way.

Fixes: #61966


Test is failing for v20.x-staging and v22.x-staging (although as of #61921 it has been skipped there) due to strace being installed as part of gcc 10 (only used on those older release lines) cc @nodejs/releasers .

`parallel/test-strace-openat-openssl` was added to check explicitly
for a list of known files that would be opened for a set workload
(`require("crypto")`). This is not reliable when Node.js is linked
to an external/shared OpenSSL library (e.g. it might be configured
to load configuration files from a different default location and/or
load more than one configuration file) so skip this test when Node.js
is built in that way.
@richardlau richardlau added lts-watch-v20.x PRs that may need to be released in v20.x lts-watch-v22.x PRs that may need to be released in v22.x labels Feb 25, 2026
@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 Feb 25, 2026
@nodejs-github-bot
Copy link
Collaborator

@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.75%. Comparing base (488a854) to head (e1133ed).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #61987      +/-   ##
==========================================
- Coverage   89.77%   89.75%   -0.02%     
==========================================
  Files         674      674              
  Lines      205705   205705              
  Branches    39449    39437      -12     
==========================================
- Hits       184670   184629      -41     
- Misses      13280    13330      +50     
+ Partials     7755     7746       -9     

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

@richardlau richardlau added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. lts-watch-v20.x PRs that may need to be released in v20.x lts-watch-v22.x PRs that may need to be released in v22.x 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.

test-strace-openat-openssl failing on v22.x/v20x ubi81_sharedlibs_openssl111fips_x64

4 participants