Add benchmarks, GC handle tracking test #198
test results (windows-latest, node18.x, Release) ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/dotnet6-node18.x-Release/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx | 10✅ | 31❌ | 4⚪ | 123s |
test/dotnet8-node18.x-Release/runneradmin_fv-az90-118_2023-10-04_20_29_52.trx | 11✅ | 55❌ | 4⚪ | 175s |
test/netfx47-node18.x-Release/runneradmin_fv-az90-118_2023-10-04_20_26_43.trx | 1✅ | 26❌ | 4⚪ | 45s |
❌ test/dotnet6-node18.x-Release/runneradmin_fv-az90-118_2023-10-04_20_27_33.trx
45 tests were completed in 123s with 10 passed, 31 failed and 4 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 1⚪ | 1ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 1✅ | 27❌ | 34s | |
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4❌ | 84s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 3⚪ | 3ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 9✅ | 41ms |
❌ Microsoft.JavaScript.NodeApi.Test.HostedClrTests
❌ Test(id: "edgejs-perf/measure-latency")
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
❌ Test(id: "napi-dotnet-init/custom_export")
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
❌ Test(id: "napi-dotnet-init/custom_init")
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
❌ Test(id: "napi-dotnet/async_methods")
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
❌ Test(id: "napi-dotnet/complex_types")
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
❌ Test(id: "napi-dotnet/delegates")
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
❌ Test(id: "napi-dotnet/dynamic_generics")
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
❌ Test(id: "napi-dotnet/dynamic_invoke")
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
❌ Test(id: "napi-dotnet/dynamic_optional_params")
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
❌ Test(id: "napi-dotnet/errors")
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
❌ Test(id: "napi-dotnet/hello")
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
❌ Test(id: "napi-dotnet/module_class")
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-module_class.log
❌ Test(id: "napi-dotnet/multi_instance")
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-multi_instance.log
❌ Test(id: "napi-dotnet/streams")
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-streams.log
❌ Test(id: "node-addon-api/basic_types/array")
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\node-addon-api\net6.0\hosted-array.log
❌ Test(id: "node-addon-api/basic_types/boolean")
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\node-addon-api\net6.0\hosted-boolean.log
❌ Test(id: "node-addon-api/basic_types/number")
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\node-addon-api\net6.0\hosted-number.log
❌ Test(id: "node-addon-api/basic_types/value")
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\node-addon-api\net6.0\hosted-value.log
❌ Test(id: "node-addon-api/object/delete_property")
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\node-addon-api\net6.0\hosted-delete_property.log
❌ Test(id: "node-addon-api/object/finalizer")
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.CallFinalizeAction(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1133
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net6.0\hosted-finalizer.log
❌ Test(id: "node-addon-api/object/get_property")
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\node-addon-api\net6.0\hosted-get_property.log
❌ Test(id: "node-addon-api/object/has_own_property")
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\node-addon-api\net6.0\hosted-has_own_property.log
❌ Test(id: "node-addon-api/object/has_property")
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\node-addon-api\net6.0\hosted-has_property.log
❌ Test(id: "node-addon-api/object/object_freeze_seal")
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\node-addon-api\net6.0\hosted-object_freeze_seal.log
❌ Test(id: "node-addon-api/object/object")
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\node-addon-api\net6.0\hosted-object.log
❌ Test(id: "node-addon-api/object/set_property")
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\node-addon-api\net6.0\hosted-set_property.log
❌ Test(id: "node-addon-api/object/subscript_operator")
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\node-addon-api\net6.0\hosted-subscript_operator.log
✅ Test(id: "node-addon-api/testUtil")
❌ Microsoft.JavaScript.NodeApi.Test.JSProjectTests
❌ Test(id: "projects/js-cjs/test")
Assert.Fail(): Node process exited with code: -532462766.
Unhandled exception. System.InvalidOperationException: No current scope.
at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle)
at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint)
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net6.0\js-cjs-test.log
❌ Test(id: "projects/js-esm/test")
Assert.Fail(): Node process exited with code: -532462766.
Unhandled exception. System.InvalidOperationException: No current scope.
at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle)
at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint)
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net6.0\js-esm-test.log
❌ Test(id: "projects/ts-cjs/test")
Assert.Fail(): Node process exited with code: -532462766.
Unhandled exception. System.InvalidOperationException: No current scope.
at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle)
at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint)
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net6.0\ts-cjs-test.log
❌ Test(id: "projects/ts-esm/test")
Assert.Fail(): Node process exited with code: -532462766.
Unhandled exception. System.InvalidOperationException: No current scope.
at Microsoft.JavaScript.NodeApi.JSValueScope.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.get_Current()
at Microsoft.JavaScript.NodeApi.Interop.JSRuntimeContext.FreeGCHandle(GCHandle handle)
at Microsoft.JavaScript.NodeApi.JSNativeApi.FinalizeGCHandle(napi_env env, IntPtr data, IntPtr hint)
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\projects\net6.0\ts-esm-test.log
❌ test/dotnet8-node18.x-Release/runneradmin_fv-az90-118_2023-10-04_20_29_52.trx
70 tests were completed in 175s with 11 passed, 55 failed and 4 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 1⚪ | 1ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 1✅ | 27❌ | 36s | |
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4❌ | 89s | ||
Microsoft.JavaScript.NodeApi.Test.NativeAotTests | 1✅ | 24❌ | 47s | |
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 3⚪ | 3ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 9✅ | 29ms |
❌ Microsoft.JavaScript.NodeApi.Test.HostedClrTests
❌ Test(id: "edgejs-perf/measure-latency")
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\net8.0\hosted-measure-latency.log
❌ Test(id: "napi-dotnet-init/custom_export")
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\net8.0\hosted-custom_export.log
❌ Test(id: "napi-dotnet-init/custom_init")
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\net8.0\hosted-custom_init.log
❌ Test(id: "napi-dotnet/async_methods")
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\net8.0\hosted-async_methods.log
❌ Test(id: "napi-dotnet/complex_types")
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\net8.0\hosted-complex_types.log
❌ Test(id: "napi-dotnet/delegates")
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\net8.0\hosted-delegates.log
❌ Test(id: "napi-dotnet/dynamic_generics")
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\net8.0\hosted-dynamic_generics.log
❌ Test(id: "napi-dotnet/dynamic_invoke")
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\net8.0\hosted-dynamic_invoke.log
❌ Test(id: "napi-dotnet/dynamic_optional_params")
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\net8.0\hosted-dynamic_optional_params.log
❌ Test(id: "napi-dotnet/errors")
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\net8.0\hosted-errors.log
❌ Test(id: "napi-dotnet/hello")
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\net8.0\hosted-hello.log
❌ Test(id: "napi-dotnet/module_class")
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\net8.0\hosted-module_class.log
❌ Test(id: "napi-dotnet/multi_instance")
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\net8.0\hosted-multi_instance.log
❌ Test(id: "napi-dotnet/streams")
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\napi-dotnet\net8.0\hosted-streams.log
❌ Test(id: "node-addon-api/basic_types/array")
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\node-addon-api\net8.0\hosted-array.log
❌ Test(id: "node-addon-api/basic_types/boolean")
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\node-addon-api\net8.0\hosted-boolean.log
❌ Test(id: "node-addon-api/basic_types/number")
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\node-addon-api\net8.0\hosted-number.log
❌ Test(id: "node-addon-api/basic_types/value")
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\node-addon-api\net8.0\hosted-value.log
❌ Test(id: "node-addon-api/object/delete_property")
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\node-addon-api\net8.0\hosted-delete_property.log
❌ Test(id: "node-addon-api/object/finalizer")
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.CallFinalizeAction(napi_env env, IntPtr data, IntPtr hint) in D:\a\node-api-dotnet\node-api-dotnet\src\NodeApi\Native\JSNativeApi.cs:line 1143
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net8.0\hosted-finalizer.log
❌ Test(id: "node-addon-api/object/get_property")
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\node-addon-api\net8.0\hosted-get_property.log
❌ Test(id: "node-addon-api/object/has_own_property")
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\node-addon-api\net8.0\hosted-has_own_property.log
❌ Test(id: "node-addon-api/object/has_property")
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\node-addon-api\net8.0\hosted-has_property.log
❌ Test(id: "node-addon-api/object/object_freeze_seal")
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\node-addon-api\net8.0\hosted-object_freeze_seal.log
❌ Test(id: "node-addon-api/object/object")
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\node-addon-api\net8.0\hosted-object.log
❌ Test(id: "node-addon-api/object/set_property")
Assert.Fail(): Node process exited with code: -532462766.
Unhandled exception. System.InvalidOperationException: No current scope.
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "edgejs-perf/measure-latency")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_export")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_init")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/async_methods")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/complex_types")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/delegates")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_optional_params")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/errors")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/hello")
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
Raw output
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
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 95