Skip to content

Replace .NET 7 target with .NET 8 rc1 #188

Replace .NET 7 target with .NET 8 rc1

Replace .NET 7 target with .NET 8 rc1 #188

Triggered via pull request September 19, 2023 05:17
Status Failure
Total duration 10m 53s
Artifacts 6

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

13 errors
build (macos-latest, 18.x, Release)
Process completed with exit code 1.
build (macos-latest, 18.x, Release)
Process completed with exit code 1.
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "edgejs-perf/measure-latency"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/edgejs-perf/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/edgejs-perf/net6.0/hosted-measure-latency.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_export"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet-init/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet-init/net6.0/hosted-custom_export.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_init"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet-init/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet-init/net6.0/hosted-custom_init.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/async_methods"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-async_methods.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/complex_types"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-complex_types.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/delegates"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-delegates.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-dynamic_generics.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-dynamic_invoke.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_optional_params"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-dynamic_optional_params.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/errors"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-errors.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/hello"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1695100558872_2023-09-19_05_19_43.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/liblibdl.so' (no such file) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen1(IntPtr fileName, Int32 flags) at Microsoft.JavaScript.NodeApi.NativeLibrary.dlopen(IntPtr fileName, Int32 flags) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 98 at Microsoft.JavaScript.NodeApi.NativeLibrary.GetMainProgramHandle() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/NativeLibrary.cs:line 35 at Microsoft.JavaScript.NodeApi.JSNativeApi.Interop.Initialize(IntPtr libraryHandle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.Interop.cs:line 31 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext..ctor(napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 120 at Microsoft.JavaScript.NodeApi.JSValueScope..ctor(JSValueScopeType scopeType, napi_env env) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 94 at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(napi_env env, napi_value exports) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi.DotNetHost/ManagedHost.cs:line 204 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-hello.log

Artifacts

Produced during runtime
Name Size
macos-latest-Release-packages Expired
4.1 MB
test-logs-macos-latest-node18.x-Release Expired
3.11 MB
test-logs-ubuntu-latest-node18.x-Release Expired
4.69 MB
test-logs-windows-latest-node18.x-Release Expired
6.75 MB
ubuntu-latest-Release-packages Expired
4.06 MB
windows-latest-Release-packages Expired
4.32 MB