Skip to content

Treat opendir failures as empty directories #337

Treat opendir failures as empty directories

Treat opendir failures as empty directories #337

Triggered via pull request July 16, 2025 18:55
Status Failure
Total duration 40m 8s
Artifacts

check.yml

on: pull_request
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 13 notices
Unit tests (windows-latest)
Process completed with exit code 1.
returns empty when directory cannot be read due to permissions: packages\host\packages\host\src\node\path-utils.test.ts#L34
[Error [ERR_TEST_FAILURE]: can not set attributes to remove read permissions] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: Error: can not set attributes to remove read permissions at removeReadPermissions (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\path-utils.test.ts:34:11) at TestContext.<anonymous> (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\path-utils.test.ts:376:5) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1047:25) at Suite.processPendingSubtests (node:internal/test_runner/test:744:18) at Test.postRun (node:internal/test_runner/test:1173:19) at Test.run (node:internal/test_runner/test:1101:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) }
Unit tests (ubuntu-latest)
Total Tests: 20 Suites 📂: 8 Passed ✅: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 647.996ms
Unit tests (ubuntu-latest)
Total Tests: 0 Suites 📂: 0 Passed ✅: 0 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 112.645ms
Unit tests (ubuntu-latest)
Total Tests: 38 Suites 📂: 13 Passed ✅: 38 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 861.936ms
Unit tests (windows-latest)
Total Tests: 20 Suites 📂: 8 Passed ✅: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 907.044ms
Unit tests (windows-latest)
Total Tests: 0 Suites 📂: 0 Passed ✅: 0 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 165.583ms
Unit tests (windows-latest)
Total Tests: 38 Suites 📂: 13 Passed ✅: 36 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 1 Todo 📝: 0 Duration 🕐: 1232.342ms
Unit tests (macos-latest)
Total Tests: 20 Suites 📂: 8 Passed ✅: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 724.681ms
Unit tests (macos-latest)
Total Tests: 0 Suites 📂: 0 Passed ✅: 0 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 125.164ms
Unit tests (macos-latest)
Total Tests: 38 Suites 📂: 13 Passed ✅: 38 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2583.432ms
Unit tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Unit tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Test app (iOS)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Test app (iOS)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520