Skip to content

parallel/test-config-file address already in use #59152

Closed

Description

@everett1992

Test

parallel/test-config-file

v22.17.1

Platform

Linux x64

Console output

not ok 934 parallel/test-config-file
  ---
  duration_ms: 8774.08300
  severity: fail
  exitcode: 1
  stack: |-
    Test failure: '--inspect=true should be parsed correctly'
    Location: test/parallel/test-config-file.js:237:1
    AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^Debugger listening on (ws:\/\/[^\s]+)/. Input:
   
    'Starting inspector on 127.0.0.1:9229 failed: address already in use\n'
   
        at TestContext.<anonymous> (/tmp/nodejs.f6r/test/parallel/test-config-file.js:244:3)
        at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
        at async Test.run (node:internal/test_runner/test:1054:7)
        at async Test.processPendingSubtests (node:internal/test_runner/test:744:7) {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: 'Starting inspector on 127.0.0.1:9229 failed: address already in use\n',
      expected: /^Debugger listening on (ws:\/\/[^\s]+)/,
      operator: 'match'
    }

Build links

Private CI

Additional information

Retries eventually succeed so I'm pretty sure this is a race condition with another test that opens the inspector

Activity

  1. added
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on Jul 21, 2025
  2. richardlau commented on Jul 21, 2025

    @richardlau
    Member

    This should be fixed by #58799. It's on the v22.x-staging branch, pending the next Node.js 22 release.

  3. marco-ippolito commented on Aug 1, 2025

    @marco-ippolito
    Member

    The fix has been released in v22.18.0 so I guess we can close it

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs involving tests that fail intermittently in CI.linuxIssues and PRs related to the Linux platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions