Skip to content

Flaky test-esm-loader-http-imports #47836

Open
@tniessen

Description

@tniessen

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

Additional information

cc @nodejs/loaders

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.freebsdIssues and PRs related to the FreeBSD platform.linuxIssues and PRs related to the Linux platform.loadersIssues and PRs related to ES module loaders

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions