Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate flaky test-cluster-concurrent-disconnect #38405

Closed
Trott opened this issue Apr 25, 2021 · 0 comments · Fixed by #40877
Closed

investigate flaky test-cluster-concurrent-disconnect #38405

Trott opened this issue Apr 25, 2021 · 0 comments · Fixed by #40877
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI.

Comments

@Trott
Copy link
Member

Trott commented Apr 25, 2021

  • Test: parallel/test-cluster-concurrent-disconnect
  • Platform: osx11-arm
  • Console Output:
  ...
not ok 243 parallel/test-cluster-concurrent-disconnect
  ---
  duration_ms: 0.106
  severity: fail
  exitcode: 1
  stack: |-
    node:assert:123
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
    + actual - expected
    
    + 'ENOTCONN'
    - 'EPIPE'
        at Worker.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/test/parallel/test-cluster-concurrent-disconnect.js:29:14)
        at Worker.emit (node:events:365:28)
        at ChildProcess.<anonymous> (node:internal/cluster/worker:30:12)
        at ChildProcess.emit (node:events:365:28)
        at node:internal/child_process:853:39
        at processTicksAndRejections (node:internal/process/task_queues:78:11) {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: 'ENOTCONN',
      expected: 'EPIPE',
      operator: 'strictEqual'
    }
    node:events:342
          throw er; // Unhandled 'error' event
          ^
    
    Error: write EPIPE
        at process.target._send (node:internal/child_process:849:20)
        at process.target.send (node:internal/child_process:722:19)
        at sendHelper (node:internal/cluster/utils:27:15)
        at send (node:internal/cluster/child:216:10)
        at checkWaitingCount (node:internal/cluster/child:234:9)
        at Worker._disconnect (node:internal/cluster/child:249:3)
        at Worker.disconnect (node:internal/cluster/child:256:5)
        at process.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/test/parallel/test-cluster-concurrent-disconnect.js:46:26)
        at process.emit (node:events:377:35)
        at emit (node:internal/child_process:920:12)
    Emitted 'error' event on Worker instance at:
        at process.<anonymous> (node:internal/cluster/worker:30:12)
        at process.emit (node:events:365:28)
        at node:internal/child_process:853:39
        at processTicksAndRejections (node:internal/process/task_queues:78:11) {
      errno: -32,
      code: 'EPIPE',
      syscall: 'write'
    }
    node:events:342
          throw er; // Unhandled 'error' event
          ^
    
    Error: write EPIPE
        at process.target._send (node:internal/child_process:849:20)
        at process.target.send (node:internal/child_process:722:19)
        at sendHelper (node:internal/cluster/utils:27:15)
        at send (node:internal/cluster/child:216:10)
        at checkWaitingCount (node:internal/cluster/child:234:9)
        at Worker._disconnect (node:internal/cluster/child:249:3)
        at Worker.disconnect (node:internal/cluster/child:256:5)
        at process.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/test/parallel/test-cluster-concurrent-disconnect.js:46:26)
        at process.emit (node:events:377:35)
        at emit (node:internal/child_process:920:12)
    Emitted 'error' event on Worker instance at:
        at process.<anonymous> (node:internal/cluster/worker:30:12)
        at process.emit (node:events:365:28)
        at node:internal/child_process:853:39
        at processTicksAndRejections (node:internal/process/task_queues:78:11) {
      errno: -32,
      code: 'EPIPE',
      syscall: 'write'
    }
    node:events:342
          throw er; // Unhandled 'error' event
          ^
    
    Error: write EPIPE
        at process.target._send (node:internal/child_process:849:20)
        at process.target.send (node:internal/child_process:722:19)
        at sendHelper (node:internal/cluster/utils:27:15)
        at send (node:internal/cluster/child:216:10)
        at checkWaitingCount (node:internal/cluster/child:234:9)
        at Worker._disconnect (node:internal/cluster/child:249:3)
        at Worker.disconnect (node:internal/cluster/child:256:5)
        at process.<anonymous> (/Users/iojs/build/workspace/node-test-commit-osx-arm/nodes/osx11/test/parallel/test-cluster-concurrent-disconnect.js:46:26)
        at process.emit (node:events:377:35)
        at emit (node:internal/child_process:920:12)
    Emitted 'error' event on Worker instance at:
        at process.<anonymous> (node:internal/cluster/worker:30:12)
        at process.emit (node:events:365:28)
        at node:internal/child_process:853:39
        at processTicksAndRejections (node:internal/process/task_queues:78:11) {
      errno: -32,
      code: 'EPIPE',
      syscall: 'write'
    }
  ...
@Trott Trott added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label Apr 25, 2021
lpinca added a commit to lpinca/node that referenced this issue Nov 19, 2021
Occasionally the error code is `'ENOTCONN'` on macOS. Add it as an
allowed/expected code.

Fixes: nodejs#38405
lpinca added a commit to lpinca/node that referenced this issue Nov 19, 2021
Occasionally the error code is `'ENOTCONN'` on macOS. Add it as an
allowed/expected code.

Fixes: nodejs#38405
nodejs-github-bot pushed a commit that referenced this issue Nov 21, 2021
Occasionally the error code is `'ENOTCONN'` on macOS. Add it as an
allowed/expected code.

Fixes: #38405

PR-URL: #40877
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
targos pushed a commit that referenced this issue Nov 26, 2021
Occasionally the error code is `'ENOTCONN'` on macOS. Add it as an
allowed/expected code.

Fixes: #38405

PR-URL: #40877
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
danielleadams pushed a commit that referenced this issue Jan 30, 2022
Occasionally the error code is `'ENOTCONN'` on macOS. Add it as an
allowed/expected code.

Fixes: #38405

PR-URL: #40877
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
danielleadams pushed a commit that referenced this issue Feb 1, 2022
Occasionally the error code is `'ENOTCONN'` on macOS. Add it as an
allowed/expected code.

Fixes: #38405

PR-URL: #40877
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant