Skip to content

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

@everett1992

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the 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