Skip to content

Unable to delete test-sqlite-database-sync tempfiles on win11_vs2022-arm64 runners #63052

Closed

Description

@thisalihassan

Test

2,win11-arm64-COMPILED_BY-vs2022_clang-arm64

test-sqlite-database-sync

Platform

No response

Console output

test-sqlite-database-sync
parallel
6	0.47 sec	
Error Details
fail (1)
Stack Trace

---
duration_ms: 479.999
exitcode: 1
severity: fail
stack: |-
  Can't clean tmpdir: d:\workspace\node-test-binary-windows-js-suites\node\test\.tmp.872
  Files blocking: [
    'database-1.db',  'database-10.db',
    'database-11.db', 'database-12.db',
    'database-13.db', 'database-15.db',
    'database-17.db', 'database-18.db',
    'database-19.db', 'database-2.db',
    'database-21.db', 'database-24.db',
    'database-25.db', 'database-26.db',
    'database-27.db', 'database-3.db',
    'database-4.db',  'database-5.db',
    'database-6.db',  'database-7.db',
    'database-8.db',  'database-9.db'
  ]

  d:\workspace\node-test-binary-windows-js-suites\node\test\common\tmpdir.js:80
      throw e;
      ^

  Error: EPERM, Permission denied: \\?\d:\workspace\node-test-binary-windows-js-suites\node\test\.tmp.872 '\\?\d:\workspace\node-test-binary-windows-js-suites\node\test\.tmp.872'
      at Object.rmSync (node:fs:1206:18)
      at rmSync (d:\workspace\node-test-binary-windows-js-suites\node\test\common\tmpdir.js:31:8)
      at onexit (d:\workspace\node-test-binary-windows-js-suites\node\test\common\tmpdir.js:65:5)
      at process.<anonymous> (d:\workspace\node-test-binary-windows-js-suites\node\test\common\tmpdir.js:54:14)
      at process.emit (node:events:521:24) {
    errno: 1,
    code: 'EPERM',
    path: '\\\\?\\d:\\workspace\\node-test-binary-windows-js-suites\\node\\test\\.tmp.872',
    syscall: 'rm'
  }

  Node.js v26.0.0-pre
...

Build links

Additional information

No response

Activity

  1. added
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on Apr 30, 2026
  2. thisalihassan commented on Apr 30, 2026

    @thisalihassan
    ContributorAuthor

    @aduh95 @Renegade334 this seems to be a Windows ARM64 cleanup flake in test-sqlite-database-sync

    The failure is in test/common/tmpdir.js at exit and it looks like the test is relying on GC/finalization for some file-backed DatabaseSync instances instead of closing/disposing them deterministically

  3. changed the title [-]test-sqlite-database-sync is failing on the CI[/-] [+]Unable to delete test tempfiles on test-azure_msft-win11_vs2022-arm64-1[/+] on Apr 30, 2026
  4. removed
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on Apr 30, 2026
  5. Renegade334 commented on May 1, 2026

    @Renegade334
    Member

    Hmmm, it looked like a persistent issue on a single runner, but now seems to be a) intermittent and b) present on a second node. The only thing I can think is some kind of timing issue, as the current behaviour relies on the database handle being GC'd prior to the process exit hook.

  6. changed the title [-]Unable to delete test tempfiles on test-azure_msft-win11_vs2022-arm64-1[/-] [+]Unable to delete test-sqlite-database-sync tempfiles on win11_vs2022-arm64 runners[/+] on May 1, 2026
  7. added
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on May 1, 2026
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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions