GeezerVison is showing github.com — test: fix on zfs build host by MarcelCoding · Pull Request #67517 · nodejs/node
Conversation
Sucessfuly build using the nix environment on a ZFS build host using:
From 7a826a8d7ad1a478c55afa7286d3fc894ee14fed Mon Sep 17 00:00:00 2001
From: Marcel <[email protected]>
Date: Sun, 15 Nov 2026 21:41:03 +0100
Subject: [PATCH] nodejs: fix build on zfs
---
pkgs/development/web/nodejs/nodejs.nix | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix
index 8d682600afd0..b08f285b6b1e 100644
--- a/pkgs/development/web/nodejs/nodejs.nix
+++ b/pkgs/development/web/nodejs/nodejs.nix
@@ -354,7 +354,13 @@ let
pos = builtins.unsafeGetAttrPos "version" args;
- inherit patches;
+ patches = patches ++ [
+ (fetchpatch2 {
+ name = "test-fix-on-zfs-build-host.patch";
+ url = "https://github.com/MarcelCoding/node/commit/bb96340faddd5e9441848f7634b36452407becb3.patch?full_index=1";
+ hash = "sha256-FH6rSroKAxLqqJNkJYgyp3NgAwTnm5cXDa4cq6pH9d0=";
+ })
+ ];
postPatch = ''
substituteInPlace tools/install.py \
Here the original failtures:
not ok 1822 parallel/test-fs-readdir-ucs2
---
duration_ms: 137.37100
severity: fail
exitcode: 1
stack: |-
/build/node-v24.22.2/test/parallel/test-fs-readdir-ucs2.js:23
throw e;
^
Error: EILSEQ: illegal byte sequence, open '/build/node-v24.22.2/test/.tmp.1843/=�^D�'
at Object.openSync (node:fs:621:18)
at Object.<anonymous> (/build/node-v24.22.2/test/parallel/test-fs-readdir-ucs2.js:19:19)
at Module._compile (node:internal/modules/cjs/loader:1929:14)
at Object..js (node:internal/modules/cjs/loader:2060:10)
at Module.load (node:internal/modules/cjs/loader:1651:32)
at Module._load (node:internal/modules/cjs/loader:1443:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
errno: -84,
code: 'EILSEQ',
syscall: 'open',
path: '/build/node-v24.22.2/test/.tmp.1843/=�\x04�'
}
Node.js v24.22.2
not ok 1610 parallel/test-fileurltopathbuffer
---
duration_ms: 296.28200
severity: fail
exitcode: 1
stack: |-
node:fs:2482
return binding.writeFileUtf8(
^
Error: EILSEQ: illegal byte sequence, open '/build/node-v24.22.2/test/.tmp.1622/������'
at writeFileSync (node:fs:2482:20)
at Object.<anonymous> (/build/node-v24.22.2/test/parallel/test-fileurltopathbuffer.js:58:1)
at Module._compile (node:internal/modules/cjs/loader:1929:14)
at Object..js (node:internal/modules/cjs/loader:2060:10)
at Module.load (node:internal/modules/cjs/loader:1651:32)
at Module._load (node:internal/modules/cjs/loader:1443:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
errno: -84,
code: 'EILSEQ',
syscall: 'open',
path: '/build/node-v24.22.2/test/.tmp.1622/������'
}
Node.js v24.22.2
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Welcome to Node.js, and thank you for your first contribution!
Before review, please take a moment to read:
Please make sure every commit is signed off. For a first pull request, GitHub Actions require collaborator approval and Jenkins CI must be started by a collaborator or triager, so an initial wait is normal.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Is this ready for reviews? Did you confirm you were able to build nodejs-slim on ZFS with that patch?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Yes, the build finished in the meantime. But I still have to check the contribution guides etc.
|
aduh95 reacted with rocket emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
aduh95
added
author ready
PRs with CI started, the required approvals, and no outstanding review comments.
request-ci
Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review.
labels
Nov 16, 2026
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
codecov
Bot
commented
Nov 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.68%. Comparing base (924250d) to head (bb96340).
⚠️ Report is 10 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #67517 +/- ##
=======================================
Coverage 90.68% 90.68%
=======================================
Files 799 799
Lines 280253 280252 -1
Branches 54119 54128 +9
=======================================
+ Hits 254148 254154 +6
- Misses 16228 16232 +4
+ Partials 9877 9866 -11
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MarcelCoding reacted with hooray emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 20, 2026
Reviewers
lpinca
lpinca approved these changes
aduh95
aduh95 approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
author ready
PRs with CI started, the required approvals, and no outstanding review comments.
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 Node.js core tests and test infrastructure.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|