Skip to content

flaky: async-hooks.test-emit-after-on-destroyed #58199

Description

@mhdawson

Test

async-hooks.test-emit-after-on-destroyed

Platform

Linux x64

Console output

---
duration_ms: 429.149
exitcode: 1
severity: fail
stack: |-
  node:assert:95
    throw new AssertionError(obj);
    ^

  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

  null !== 1

      at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/async-hooks/test-emit-after-on-destroyed.js:56:12)
      at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:437:15)
      at ChildProcess.emit (node:events:507:28)
      at maybeClose (node:internal/child_process:1101:16)
      at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: null,
    expected: 1,
    operator: 'strictEqual'
  }

  Node.js v25.0.0-pre
...

Build links

https://ci.nodejs.org/job/node-test-commit-linux-containered/50505/nodes=ubuntu2204_sharedlibs_openssl32_x64/testReport/junit/(root)/async-hooks/test_emit_after_on_destroyed/

Additional information

No response

Activity

  1. added
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on May 6, 2025
  2. added
    linuxIssues and PRs related to the Linux platform.
    on May 6, 2025
  3. RaisinTen commented on May 27, 2025

    @RaisinTen
    Member

    cc @nodejs/async_hooks

  4. RaisinTen commented on Jun 3, 2025

    @RaisinTen
    Member

    I can confirm that #58478 has fixed this issue.

    This flake was appearing in the reliability report 2-5 times daily from 2025-05-20 - nodejs/reliability#1206 till 2025-05-28 nodejs/reliability#1214. The PR landed on 2025-05-29 and then the flake went away in all recent reliability reports.

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