Skip to content

Add benchmarks, GC handle tracking test #198

Add benchmarks, GC handle tracking test

Add benchmarks, GC handle tracking test #198

Triggered via pull request October 4, 2023 20:23
Status Failure
Total duration 11m 4s
Artifacts 6

build.yml

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

Annotations

43 errors
build (ubuntu-latest, 18.x, Release)
Process completed with exit code 1.
build (ubuntu-latest, 18.x, Release)
Process completed with exit code 1.
build (ubuntu-latest, 18.x, Release)
Process completed with exit code 2.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (macos-latest, 18.x, Release)
Process completed with exit code 2.
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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeHintHandle(napi_env _1, IntPtr _2, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1127 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): at catchDotnetError (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:14:12) at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:42:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) Error: test at Object.throwJSError (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:44:40) at catchJSError (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:49:12) at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:84:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Microsoft.JavaScript.NodeApi.JSNativeApi.Call(JSValue thisValue, JSValue thisArg, JSValue arg0) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 318 at Microsoft.JavaScript.NodeApi.JSNativeApi.CallMethod(JSValue thisValue, JSValue methodName, JSValue arg0) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 450 at Microsoft.JavaScript.NodeApi.Generated.Module.proxy_Microsoft_JavaScript_NodeApi_TestCases_IJSErrors.<>c__DisplayClass1_0.<Microsoft.JavaScript.NodeApi.TestCases.IJSErrors.ThrowJSError>b__0(JSValue __this) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Microsoft.JavaScript.NodeApi.Generator/Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator/napi-dotnet.NodeApi.g.cs:line 1479 at Microsoft.JavaScript.NodeApi.JSReference.<>c__DisplayClass15_0.<Run>g__GetValueAndRunAction|0() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSReference.cs:line 119 at Microsoft.JavaScript.NodeApi.Interop.JSSynchronizationContext.Run(Action action) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSSynchronizationContext.cs:line 105 at Microsoft.JavaScript.NodeApi.JSReference.Run(Action`1 action) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSReference.cs:line 125 at Microsoft.JavaScript.NodeApi.Generated.Module.proxy_Microsoft_JavaScript_NodeApi_TestCases_IJSErrors.Microsoft.JavaScript.NodeApi.TestCases.IJSErrors.ThrowJSError(String message) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Microsoft.JavaScript.NodeApi.Generator/Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator/napi-dotnet.NodeApi.g.cs:line 1477 at Microsoft.JavaScript.NodeApi.TestCases.Errors.ThrowJSError(String message, IJSErrors jsErrors) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Errors.cs:line 18 at Microsoft.JavaScript.NodeApi.Generated.Module.Microsoft_JavaScript_NodeApi_TestCases_Errors_ThrowJSError(JSCallbackArgs __args) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Microsoft.JavaScript.NodeApi.Generator/Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator/napi-dotnet.NodeApi.g.cs:line 501 at Microsoft.JavaScript.NodeApi.JSNativeApi.InvokeCallback[TDescriptor](napi_env env, napi_callback_info callbackInfo, JSValueScopeType scopeType, Func`2 getCallbackDescriptor) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1099 at catchJSError (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:49:12) at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:84:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 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-1696450959754_2023-10-04_20_26_42.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /Users/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-hello.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "edgejs-perf/measure-latency"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeHintHandle(napi_env _1, IntPtr _2, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1127 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): at catchDotnetError (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\errors.js:14:12) at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\errors.js:42:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) Error: test at Object.throwJSError (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\errors.js:44:40) at catchJSError (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\errors.js:49:12) at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\errors.js:84:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Microsoft.JavaScript.NodeApi.JSNativeApi.Call(JSValue thisValue, JSValue thisArg, JSValue arg0) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 318 at Microsoft.JavaScript.NodeApi.JSNativeApi.CallMethod(JSValue thisValue, JSValue methodName, JSValue arg0) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 450 at Microsoft.JavaScript.NodeApi.Generated.Module.proxy_Microsoft_JavaScript_NodeApi_TestCases_IJSErrors.<>c__DisplayClass1_0.<Microsoft.JavaScript.NodeApi.TestCases.IJSErrors.ThrowJSError>b__0(JSValue __this) in D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\Microsoft.JavaScript.NodeApi.Generator\Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator\napi-dotnet.NodeApi.g.cs:line 1479 at Microsoft.JavaScript.NodeApi.JSReference.<>c__DisplayClass15_0.<Run>g__GetValueAndRunAction|0() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSReference.cs:line 119 at Microsoft.JavaScript.NodeApi.Interop.JSSynchronizationContext.Run(Action action) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSSynchronizationContext.cs:line 105 at Microsoft.JavaScript.NodeApi.JSReference.Run(Action`1 action) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSReference.cs:line 125 at Microsoft.JavaScript.NodeApi.Generated.Module.proxy_Microsoft_JavaScript_NodeApi_TestCases_IJSErrors.Microsoft.JavaScript.NodeApi.TestCases.IJSErrors.ThrowJSError(String message) in D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\Microsoft.JavaScript.NodeApi.Generator\Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator\napi-dotnet.NodeApi.g.cs:line 1477 at Microsoft.JavaScript.NodeApi.TestCases.Errors.ThrowJSError(String message, IJSErrors jsErrors) in D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\Errors.cs:line 18 at Microsoft.JavaScript.NodeApi.Generated.Module.Microsoft_JavaScript_NodeApi_TestCases_Errors_ThrowJSError(JSCallbackArgs __args) in D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\Microsoft.JavaScript.NodeApi.Generator\Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator\napi-dotnet.NodeApi.g.cs:line 501 at Microsoft.JavaScript.NodeApi.JSNativeApi.InvokeCallback[TDescriptor](napi_env env, napi_callback_info callbackInfo, JSValueScopeType scopeType, Func`2 getCallbackDescriptor) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1099 at catchJSError (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\errors.js:49:12) at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\errors.js:84:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\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/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx Error: Assert.Fail(): Node process exited with code: -532462766. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Interop\JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1119 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net6.0\hosted-hello.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "edgejs-perf/measure-latency"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeHintHandle(napi_env _1, IntPtr _2, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1127 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): at catchDotnetError (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:14:12) at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:42:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) Error: test at Object.throwJSError (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:44:40) at catchJSError (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:49:12) at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:84:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Microsoft.JavaScript.NodeApi.JSNativeApi.Call(JSValue thisValue, JSValue thisArg, JSValue arg0) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 318 at Microsoft.JavaScript.NodeApi.JSNativeApi.CallMethod(JSValue thisValue, JSValue methodName, JSValue arg0) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 450 at Microsoft.JavaScript.NodeApi.Generated.Module.proxy_Microsoft_JavaScript_NodeApi_TestCases_IJSErrors.<>c__DisplayClass1_0.<Microsoft.JavaScript.NodeApi.TestCases.IJSErrors.ThrowJSError>b__0(JSValue __this) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Microsoft.JavaScript.NodeApi.Generator/Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator/napi-dotnet.NodeApi.g.cs:line 1479 at Microsoft.JavaScript.NodeApi.JSReference.<>c__DisplayClass15_0.<Run>g__GetValueAndRunAction|0() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSReference.cs:line 119 at Microsoft.JavaScript.NodeApi.Interop.JSSynchronizationContext.Run(Action action) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSSynchronizationContext.cs:line 105 at Microsoft.JavaScript.NodeApi.JSReference.Run(Action`1 action) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSReference.cs:line 125 at Microsoft.JavaScript.NodeApi.Generated.Module.proxy_Microsoft_JavaScript_NodeApi_TestCases_IJSErrors.Microsoft.JavaScript.NodeApi.TestCases.IJSErrors.ThrowJSError(String message) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Microsoft.JavaScript.NodeApi.Generator/Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator/napi-dotnet.NodeApi.g.cs:line 1477 at Microsoft.JavaScript.NodeApi.TestCases.Errors.ThrowJSError(String message, IJSErrors jsErrors) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Errors.cs:line 18 at Microsoft.JavaScript.NodeApi.Generated.Module.Microsoft_JavaScript_NodeApi_TestCases_Errors_ThrowJSError(JSCallbackArgs __args) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/Microsoft.JavaScript.NodeApi.Generator/Microsoft.JavaScript.NodeApi.Generator.ModuleGenerator/napi-dotnet.NodeApi.g.cs:line 501 at Microsoft.JavaScript.NodeApi.JSNativeApi.InvokeCallback[TDescriptor](napi_env env, napi_callback_info callbackInfo, JSValueScopeType scopeType, Func`2 getCallbackDescriptor) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1099 at catchJSError (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:49:12) at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/errors.js:84:1) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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/_fv-az443-362_2023-10-04_20_25_50.trx Error: Assert.Fail(): Node process exited with code: 134. Unhandled exception. System.InvalidOperationException: No current scope. at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/JSValueScope.cs:line 70 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current() in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 117 at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Interop/JSRuntimeContext.cs:line 685 at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint) in /home/runner/work/node-api-dotnet/node-api-dotnet/src/NodeApi/Native/JSNativeApi.cs:line 1119 Full output: /home/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.11 MB
test-logs-macos-latest-node18.x-Release Expired
5.22 MB
test-logs-ubuntu-latest-node18.x-Release Expired
5.24 MB
test-logs-windows-latest-node18.x-Release Expired
7.41 MB
ubuntu-latest-Release-packages Expired
4.07 MB
windows-latest-Release-packages Expired
4.33 MB