Repository navigation
Flaky test-esm-loader-http-imports #47836
Copy link
Copy link
Closed as not planned
Labels
flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.freebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.loadersIssues and PRs related to ES module loaders.Issues and PRs related to ES module loaders.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
Description
Test
test-esm-loader-http-imports
Platform
FreeBSD, Ubuntu
Console output
not ok 3516 es-module/test-esm-loader-http-imports
---
duration_ms: 35369.84900
severity: fail
exitcode: 1
stack: |-
TAP version 13
# Subtest: ESM: http import via loader
# Subtest: should load using --import flag
ok 1 - should load using --import flag
---
duration_ms: 27722.691074
...
# Subtest: should load using import inside --eval code
not ok 2 - should load using import inside --eval code
---
duration_ms: 32812.699449
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
+ actual - expected
+ '\n' +
+ 'node:internal/process/esm_loader:42\n' +
+ " internalBinding('errors').triggerUncaughtException(\n" +
+ ' ^\n' +
+ 'Error: read ECONNRESET\n' +
+ ' at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {\n' +
+ ' errno: -54,\n' +
+ " code: 'ECONNRESET',\n" +
+ " syscall: 'read'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v21.0.0-pre\n'
- ''
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: ''
actual: |-
node:internal/process/esm_loader:42
internalBinding('errors').triggerUncaughtException(
^
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
}
Node.js v21.0.0-pre
operator: 'strictEqual'
stack: |-
TestContext.<anonymous> (file:///usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd12-x64/test/es-module/test-esm-loader-http-imports.mjs:82:12)
async Test.run (node:internal/test_runner/test:569:9)
async Promise.all (index 1)
async Suite.run (node:internal/test_runner/test:801:7)
async startSubtest (node:internal/test_runner/harness:203:3)
...
1..2
not ok 1 - ESM: http import via loader
---
duration_ms: 32832.042997
type: 'suite'
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
1..1
# tests 2
# suites 1
# pass 1
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 32844.969687
...Build links
- https://ci.nodejs.org/job/node-test-pull-request/51497/
- https://ci.nodejs.org/job/node-test-pull-request/51587/
- https://ci.nodejs.org/job/node-test-pull-request/51610/
- ...
Additional information
cc @nodejs/loaders
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.freebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.loadersIssues and PRs related to ES module loaders.Issues and PRs related to ES module loaders.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
Activity
MrJithil commentedon May 8, 2023
Seems this issue could be closed. @tniessen
tniessen commentedon May 8, 2023
@MrJithil Why? Did a fix land?
test: mark test-esm-loader-http-imports as flaky
test: mark test-esm-loader-http-imports as flaky
test: mark test-esm-loader-http-imports as flaky
test: mark test-esm-loader-http-imports as flaky
test: mark test-esm-loader-http-imports as flaky
avivkeller commentedon Sep 8, 2024
I'm not sure about FreeBSD, but I can't reproduce on x64 Linux:
github-actions commentedon Jun 1, 2026
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
github-actions commentedon Jul 2, 2026
This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 240 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.
test: deflake esm loader http imports
test: deflake esm loader http imports
test: deflake esm loader http imports