Update to latest SK and fix issues #194
test results (ubuntu-latest, node18.x, Release) ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/dotnet6-node18.x-Release/_fv-az450-277_2023-09-23_20_37_23.trx | 37✅ | 4❌ | 3⚪ | 98s |
test/dotnet8-node18.x-Release/_fv-az450-277_2023-09-23_20_39_01.trx | 62✅ | 4❌ | 3⚪ | 131s |
❌ test/dotnet6-node18.x-Release/_fv-az450-277_2023-09-23_20_37_23.trx
44 tests were completed in 98s with 37 passed, 4 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 35s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4❌ | 58s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 3⚪ | 3ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 9✅ | 34ms |
✅ Microsoft.JavaScript.NodeApi.Test.HostedClrTests
✅ Test(id: "edgejs-perf/measure-latency")
✅ Test(id: "napi-dotnet-init/custom_export")
✅ Test(id: "napi-dotnet-init/custom_init")
✅ Test(id: "napi-dotnet/async_methods")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/dynamic_generics")
✅ Test(id: "napi-dotnet/dynamic_invoke")
✅ Test(id: "napi-dotnet/dynamic_optional_params")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/streams")
✅ Test(id: "node-addon-api/basic_types/array")
✅ Test(id: "node-addon-api/basic_types/boolean")
✅ Test(id: "node-addon-api/basic_types/number")
✅ Test(id: "node-addon-api/basic_types/value")
✅ Test(id: "node-addon-api/object/delete_property")
✅ Test(id: "node-addon-api/object/finalizer")
✅ Test(id: "node-addon-api/object/get_property")
✅ Test(id: "node-addon-api/object/has_own_property")
✅ Test(id: "node-addon-api/object/has_property")
✅ Test(id: "node-addon-api/object/object_freeze_seal")
✅ Test(id: "node-addon-api/object/object")
✅ Test(id: "node-addon-api/object/set_property")
✅ Test(id: "node-addon-api/object/subscript_operator")
✅ Test(id: "node-addon-api/testUtil")
❌ Microsoft.JavaScript.NodeApi.Test.JSProjectTests
❌ Test(id: "projects/js-cjs/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-cjs-ts-build.log
❌ Test(id: "projects/js-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-esm-ts-build.log
❌ Test(id: "projects/ts-cjs/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-cjs-ts-build.log
❌ Test(id: "projects/ts-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-esm-ts-build.log
✅ Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests
⚪ NodejsErrorPropagation
⚪ NodejsStart
⚪ NodejsUnhandledRejection
✅ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests
✅ GenerateEnum
✅ GenerateGenericClass
✅ GenerateGenericDelegate
✅ GenerateGenericInterface
✅ GenerateSimpleClass
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty
❌ test/dotnet8-node18.x-Release/_fv-az450-277_2023-09-23_20_39_01.trx
69 tests were completed in 131s with 62 passed, 4 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 32s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4❌ | 61s | ||
Microsoft.JavaScript.NodeApi.Test.NativeAotTests | 25✅ | 37s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 3⚪ | 3ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 9✅ | 25ms |
✅ Microsoft.JavaScript.NodeApi.Test.HostedClrTests
✅ Test(id: "edgejs-perf/measure-latency")
✅ Test(id: "napi-dotnet-init/custom_export")
✅ Test(id: "napi-dotnet-init/custom_init")
✅ Test(id: "napi-dotnet/async_methods")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/dynamic_generics")
✅ Test(id: "napi-dotnet/dynamic_invoke")
✅ Test(id: "napi-dotnet/dynamic_optional_params")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/streams")
✅ Test(id: "node-addon-api/basic_types/array")
✅ Test(id: "node-addon-api/basic_types/boolean")
✅ Test(id: "node-addon-api/basic_types/number")
✅ Test(id: "node-addon-api/basic_types/value")
✅ Test(id: "node-addon-api/object/delete_property")
✅ Test(id: "node-addon-api/object/finalizer")
✅ Test(id: "node-addon-api/object/get_property")
✅ Test(id: "node-addon-api/object/has_own_property")
✅ Test(id: "node-addon-api/object/has_property")
✅ Test(id: "node-addon-api/object/object_freeze_seal")
✅ Test(id: "node-addon-api/object/object")
✅ Test(id: "node-addon-api/object/set_property")
✅ Test(id: "node-addon-api/object/subscript_operator")
✅ Test(id: "node-addon-api/testUtil")
❌ Microsoft.JavaScript.NodeApi.Test.JSProjectTests
❌ Test(id: "projects/js-cjs/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-cjs-ts-build.log
❌ Test(id: "projects/js-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-esm-ts-build.log
❌ Test(id: "projects/ts-cjs/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-cjs-ts-build.log
❌ Test(id: "projects/ts-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
✅ Microsoft.JavaScript.NodeApi.Test.NativeAotTests
✅ Test(id: "edgejs-perf/measure-latency")
✅ Test(id: "napi-dotnet-init/custom_export")
✅ Test(id: "napi-dotnet-init/custom_init")
✅ Test(id: "napi-dotnet/async_methods")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/streams")
✅ Test(id: "node-addon-api/basic_types/array")
✅ Test(id: "node-addon-api/basic_types/boolean")
✅ Test(id: "node-addon-api/basic_types/number")
✅ Test(id: "node-addon-api/basic_types/value")
✅ Test(id: "node-addon-api/object/delete_property")
✅ Test(id: "node-addon-api/object/finalizer")
✅ Test(id: "node-addon-api/object/get_property")
✅ Test(id: "node-addon-api/object/has_own_property")
✅ Test(id: "node-addon-api/object/has_property")
✅ Test(id: "node-addon-api/object/object_freeze_seal")
✅ Test(id: "node-addon-api/object/object")
✅ Test(id: "node-addon-api/object/set_property")
✅ Test(id: "node-addon-api/object/subscript_operator")
✅ Test(id: "node-addon-api/testUtil")
✅ Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests
⚪ NodejsErrorPropagation
⚪ NodejsStart
⚪ NodejsUnhandledRejection
✅ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests
✅ GenerateEnum
✅ GenerateGenericClass
✅ GenerateGenericDelegate
✅ GenerateGenericInterface
✅ GenerateSimpleClass
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty
Annotations
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test")
Failed test found in:
test/dotnet6-node18.x-Release/_fv-az450-277_2023-09-23_20_37_23.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test")
Failed test found in:
test/dotnet6-node18.x-Release/_fv-az450-277_2023-09-23_20_37_23.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test")
Failed test found in:
test/dotnet6-node18.x-Release/_fv-az450-277_2023-09-23_20_37_23.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test")
Failed test found in:
test/dotnet6-node18.x-Release/_fv-az450-277_2023-09-23_20_37_23.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az450-277_2023-09-23_20_39_01.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az450-277_2023-09-23_20_39_01.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az450-277_2023-09-23_20_39_01.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az450-277_2023-09-23_20_39_01.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)