Skip to content

Investigate flaky test-fs-stat-bigint on macos M1 #45612

Description

@ruyadorno

Test

test-fs-stat-bigint

Platform

macOS ARM64

Console output

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

AssertionError [ERR_ASSERTION]: Number version atimeMs = 1669309618654.8481, BigInt version atimeMs = 1669309618653n, Allowable delta = 1
    at verifyStats (/Users/ruyadorno/Documents/ruyadorno/node/test/parallel/test-fs-stat-bigint.js:71:7)
    at /Users/ruyadorno/Documents/ruyadorno/node/test/parallel/test-fs-stat-bigint.js:213:3 {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}

Build links

  • Seen locally, reproduced during tests in preparation for a v19.x release, will update with a build link in case it happens during CI builds

Additional information

Failing consistently when running about 50 times in parallel execution, e.g:

hyperfine -m 50 "out/Release/node test/parallel/test-fs-stat-bigint.js"

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs involving tests that fail intermittently in CI.fsIssues and PRs related to file-system APIs and the fs module.macosIssues and PRs related to the macOS platform.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions