Skip to content

Use CMake file API to read shared library target paths #648

Use CMake file API to read shared library target paths

Use CMake file API to read shared library target paths #648

Triggered via pull request September 26, 2025 23:43
Status Cancelled
Total duration 10m 53s
Artifacts 1

check.yml

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

Annotations

12 errors and 10 notices
Lint
Process completed with exit code 1.
Lint: packages/cmake-file-api/src/reply.test.ts#L20
'CmakeFilesV1_1' is defined but never used
Lint: packages/cmake-file-api/src/reply.test.ts#L20
'CmakeFilesV1_0' is defined but never used
Unit tests (macos-latest)
Process completed with exit code 1.
should error when RCT_USE_PREBUILT_RNCORE is set: packages/host/packages/host/src/node/podspec.test.ts#L18
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /React Native Node-API cannot reliably patch JSI when React Native Core is prebuilt/. Input: '\n' + 'Cloning spec repo `trunk` from `https://cdn.cocoapods.org/`\n' + '[!] Unable to add a source with url `https://cdn.cocoapods.org/` named `trunk`.\n' + 'You can try adding it manually in `/Users/runner/.cocoapods/repos` or via `pod repo add`.\n' at TestContext.<anonymous> (/Users/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/podspec.test.ts:18:14) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1047:25) at Test.start (node:internal/test_runner/test:944:17) at node:internal/test_runner/test:1440:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '\nCloning spec repo `trunk` from `https://cdn.cocoapods.org/`\n[!] Unable to add a source with url `https://cdn.cocoapods.org/` named `trunk`.\nYou can try adding it manually in `/Users/runner/.cocoapods/repos` or via `pod repo add`.\n', expected: /React Native Node-API cannot reliably patch JSI when React Native Core is prebuilt/, operator: 'match', diff: 'simple' }
should call the CLI to autolink: packages/host/packages/host/src/node/gradle.test.ts#L64
AssertionError [ERR_ASSERTION]: Expected success: Downloading https://services.gradle.org/distributions/gradle-8.14.3-bin.zip Exception in thread "main" java.net.UnknownHostException: services.gradle.org at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638) at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266) at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1258) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1144) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1703) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at org.gradle.wrapper.Install.forceFetch(SourceFile:2) at org.gradle.wrapper.Install$1.call(SourceFile:8) at org.gradle.wrapper.GradleWrapperMain.main(SourceFile:67) 1 !== 0 at TestContext.<anonymous> (/Users/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:64:16) 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 Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1442:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1442:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 1, expected: 0, operator: 'strictEqual', diff: 'simple' }
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set: packages/host/packages/host/src/node/gradle.test.ts#L31
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /React Native Node-API needs a custom version of Hermes with Node-API enabled/. Input: 'Exception in thread "main" java.net.UnknownHostException: services.gradle.org\n' + '\tat java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572)\n' + '\tat java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)\n' + '\tat java.base/java.net.Socket.connect(Socket.java:633)\n' + '\tat java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)\n' + '\tat java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)\n' + '\tat java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533)\n' + '\tat java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638)\n' + '\tat java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)\n' + '\tat java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)\n' + '\tat java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)\n' + '\tat java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1258)\n' + '\tat java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1144)\n' + '\tat java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)\n' + '\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1703)\n' + '\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)\n' + '\tat java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)\n' + '\tat org.gradle.wrapper.Install.forceFetch(SourceFile:2)\n' + '\tat org.gradle.wrapper.Install$1.call(SourceFile:8)\n' + '\tat org.gradle.wrapper.GradleWrapperMain.main(SourceFile:67)\n' at TestContext.<anonymous> (/Users/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:31:16) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1047:25) at Test.start (node:internal/test_runner/test:944:17) at node:internal/test_runner/test:1440:71 at node:internal/per_context/primordials:483:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:451:29) at node:internal/per_context/primordials:483:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Exception in thread "main" java.net.UnknownHostException: services.gradle.org\n\tat java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572)\n\tat java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)\n\tat java.base/java.net.Socket.connect(Socket.java:633)\n\tat java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)\n\tat java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178)\n\tat java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533)\n\tat java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638)\n\tat java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)\n\tat java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380)\n\tat java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1258)\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1144)\n\tat java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)\n\tat java.base/sun.net.www.protocol.http.HttpURLConnection.getInput
Test app (Android)
The operation was canceled.
Test app (Android)
Canceling since a higher priority waiting request for Check-refs/pull/254/merge exists
Check
Canceling since a higher priority waiting request for Check-refs/pull/254/merge exists
Test app (iOS)
The operation was canceled.
Test app (iOS)
Canceling since a higher priority waiting request for Check-refs/pull/254/merge exists
Unit tests (ubuntu-latest)
Total Tests: 20 Suites πŸ“‚: 8 Passed βœ…: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 613.483ms
Unit tests (ubuntu-latest)
Total Tests: 3 Suites πŸ“‚: 2 Passed βœ…: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 477.118ms
Unit tests (ubuntu-latest)
Total Tests: 44 Suites πŸ“‚: 20 Passed βœ…: 43 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 1 Todo πŸ“: 0 Duration πŸ•: 100965.312ms
Unit tests (macos-latest)
Total Tests: 20 Suites πŸ“‚: 8 Passed βœ…: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 501.228ms
Unit tests (macos-latest)
Total Tests: 3 Suites πŸ“‚: 2 Passed βœ…: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 404.307ms
Unit tests (macos-latest)
Total Tests: 44 Suites πŸ“‚: 20 Passed βœ…: 41 Failed ❌: 3 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 3266.791ms
Unit tests (windows-latest)
Total Tests: 20 Suites πŸ“‚: 8 Passed βœ…: 20 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 1043.829ms
Unit tests (windows-latest)
Total Tests: 3 Suites πŸ“‚: 2 Passed βœ…: 3 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 764.569ms
Unit tests (windows-latest)
Total Tests: 44 Suites πŸ“‚: 20 Passed βœ…: 41 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo πŸ“: 0 Duration πŸ•: 202866.450ms
Unit tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
emulator-logcat Expired
110 KB
sha256:471128988bcd4ed1639d3f3ed97b7066cc33b2d43ac93be59c80dad7ec1edbec