Skip to content

Update to latest SK and fix issues #194

Update to latest SK and fix issues

Update to latest SK and fix issues #194

GitHub Actions / test results (windows-latest, node18.x, Release) failed Sep 23, 2023 in 0s

test results (windows-latest, node18.x, Release) ❌

Tests failed

Report Passed Failed Skipped Time
test/dotnet6-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_39_39.trx 37✅ 4❌ 3⚪ 117s
test/dotnet8-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_42_07.trx 62✅ 4❌ 3⚪ 176s
test/netfx47-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_38_48.trx 27✅ 3⚪ 45s

❌ test/dotnet6-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_39_39.trx

44 tests were completed in 117s with 37 passed, 4 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Microsoft.JavaScript.NodeApi.Test.HostedClrTests 28✅ 38s
Microsoft.JavaScript.NodeApi.Test.JSProjectTests 4❌ 74s
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests 3⚪ 3ms
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests 9✅ 78ms

✅ 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: D:\a\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: D:\a\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: D:\a\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: D:\a\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/runneradmin_fv-az456-796_2023-09-23_20_42_07.trx

69 tests were completed in 176s with 62 passed, 4 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Microsoft.JavaScript.NodeApi.Test.HostedClrTests 28✅ 38s
Microsoft.JavaScript.NodeApi.Test.JSProjectTests 4❌ 77s
Microsoft.JavaScript.NodeApi.Test.NativeAotTests 25✅ 49s
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests 3⚪ 3ms
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests 9✅ 32ms

✅ 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: D:\a\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: D:\a\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: D:\a\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: D:\a\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

✅ test/netfx47-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_38_48.trx

30 tests were completed in 45s with 27 passed, 0 failed and 3 skipped.

Test suite Passed Failed Skipped Time
Microsoft.JavaScript.NodeApi.Test.HostedClrTests 27✅ 43s
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests 3⚪ 3ms

✅ 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/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

Annotations

Check failure on line 146 in test/JSProjectTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test")

Failed test found in:
  test/dotnet6-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_39_39.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 40

Check failure on line 146 in test/JSProjectTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test")

Failed test found in:
  test/dotnet6-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_39_39.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 40

Check failure on line 146 in test/JSProjectTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test")

Failed test found in:
  test/dotnet6-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_39_39.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 40

Check failure on line 146 in test/JSProjectTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test")

Failed test found in:
  test/dotnet6-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_39_39.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 40

Check failure on line 146 in test/JSProjectTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test")

Failed test found in:
  test/dotnet8-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_42_07.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\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

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test")

Failed test found in:
  test/dotnet8-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_42_07.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\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

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test")

Failed test found in:
  test/dotnet8-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_42_07.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\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

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test")

Failed test found in:
  test/dotnet8-node18.x-Release/runneradmin_fv-az456-796_2023-09-23_20_42_07.trx
Error:
  Assert.Fail(): TS compile exited with code: 2. Full output: D:\a\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: D:\a\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 D:\a\node-api-dotnet\node-api-dotnet\test\JSProjectTests.cs:line 146
   at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in D:\a\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)