Skip to content

Investigate flaky test - parallel/test-common-expect-warning #42029

@richardlau

Description

@richardlau

Test

parallel/test-common-expect-warning

Platform

Linux

Console output

not ok 325 parallel/test-common-expect-warning
  ---
  duration_ms: 0.782
  severity: fail
  exitcode: 1
  stack: |-
    node:assert:1026
        throw err;
        ^
    
    AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Unexpected extra warning received/. Input:
    
    ''
    
        at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-arm/test/parallel/test-common-expect-warning.js:41:14)
        at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-arm/test/common/index.js:416:15)
        at ChildProcess.emit (node:events:527:28)
        at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: '',
      expected: /Unexpected extra warning received/,
      operator: 'match'
    }
    
    Node.js v18.0.0-pre
  ...

Build links

Additional information

According to https://github.com/nodejs/reliability/issues?page=2&q=is%3Aissue+is%3Aopen+%22parallel%2Ftest-common-expect-warning%22 this first showed up on 2022-01-04 -- the test was added on 2021-12-30 by 0465373 so this may have been inherently flaky from the start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions