Skip to content

sequential/test-fs-watch and a few fs/watch related tests being flaky #57475

Open
@jakecastelli

Description

@jakecastelli

Test

sequential/test-fs-watch

Platform

AIX

Console output

---
duration_ms: 180.704
exitcode: 1
severity: fail
stack: |-
  node:internal/fs/watchers:255
      throw error;
      ^

  Error: ENOSPC: System limit for number of file watchers reached, watch '/home/iojs/build/.tmp.4357/watch.txt'
      at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
      at Object.watch (node:fs:2549:36)
      at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-ppc64/test/sequential/test-fs-watch.js:61:22)
      at Module._compile (node:internal/modules/cjs/loader:1734:14)
      at Object..js (node:internal/modules/cjs/loader:1899:10)
      at Module.load (node:internal/modules/cjs/loader:1469:32)
      at Function._load (node:internal/modules/cjs/loader:1286:12)
      at TracingChannel.traceSync (node:diagnostics_channel:322:14)
      at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5) {
    errno: -28,
    syscall: 'watch',
    code: 'ENOSPC',
    path: '/home/iojs/build/.tmp.4357/watch.txt',
    filename: '/home/iojs/build/.tmp.4357/watch.txt'
  }

  Node.js v24.0.0-pre
...

Build links

Additional information

I've observed a pattern that on the AIX platform three of those tests related to fs / watch mode often fail together

parallel.test-fs-watch-recursive-delete
sequential.test-fs-watch
sequential.test-watch-mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    aixIssues and PRs related to the AIX platform.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