Skip to content

test: deflake child-process closed channel test - #65770

Open
christianaurichzm wants to merge 1 commit into
nodejs:mainfrom
christianaurichzm:deflake-fork-closed-channel-segfault
Open

test: deflake child-process closed channel test#65770
christianaurichzm wants to merge 1 commit into
nodejs:mainfrom
christianaurichzm:deflake-fork-closed-channel-segfault

Conversation

@christianaurichzm

Copy link
Copy Markdown
Contributor

EPIPE is another expected outcome of the existing race when sending the second handle. The handle can be queued until the previous one is acknowledged, and the worker may exit before the queued write is flushed.

Allow EPIPE alongside the other expected errors so the test does not fail spuriously.

Refs: nodejs/reliability#1650

The second handle is only sent once the first one is acknowledged, by
which time the worker may already have exited, so the write can fail
with EPIPE. Observed on AIX in the CI reliability report of 2026-09-04.

Signed-off-by: Christian Aurich <[email protected]>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Sep 4, 2026
@panva panva 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. flaky-test Issues and PRs involving tests that fail intermittently in CI. labels Sep 4, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 4, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.07%. Comparing base (d99d2ab) to head (5f55f36).
⚠️ Report is 87 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65770      +/-   ##
==========================================
+ Coverage   90.05%   90.07%   +0.01%     
==========================================
  Files         754      769      +15     
  Lines      256378   261316    +4938     
  Branches    48486    49624    +1138     
==========================================
+ Hits       230886   235371    +4485     
- Misses      16619    16990     +371     
- Partials     8873     8955      +82     

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

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. flaky-test Issues and PRs involving tests that fail intermittently in CI. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants