Open
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