Skip to content

Update SK example, fix bugs #228

Update SK example, fix bugs

Update SK example, fix bugs #228

Triggered via pull request November 17, 2023 10:36
Status Failure
Total duration 9m 54s
Artifacts 6

build.yml

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

Annotations

21 errors
build (ubuntu-latest, 18.x, Release)
Process completed with exit code 1.
build (ubuntu-latest, 18.x, Release)
Process completed with exit code 1.
build (ubuntu-latest, 18.x, Release)
Process completed with exit code 2.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
build (macos-latest, 18.x, Release)
Process completed with exit code 2.
build (macos-latest, 18.x, Release)
Process completed with exit code 1.
build (macos-latest, 18.x, Release)
Process completed with exit code 1.
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_40_08.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net6.0\hosted-dynamic_generics.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_41_52.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-dynamic_generics.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "edgejs-perf/measure-latency"): test/TestBuilder.cs#L209
Failed test found in: test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx Error: Assert.Fail(): Build process exited with code: 1. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\edgejs-perf\net472\hosted-build.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/async_methods"): test/HostedClrTests.cs#L63
Failed test found in: test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx Error: Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-build.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_optional_params"): test/TestBuilder.cs#L209
Failed test found in: test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx Error: Assert.Fail(): Build process exited with code: 1. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-build.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "node-addon-api/basic_types/array"): test/HostedClrTests.cs#L63
Failed test found in: test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx Error: Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-build.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "node-addon-api/object/object_freeze_seal"): test/TestBuilder.cs#L209
Failed test found in: test/netfx47-node18.x-Release/runneradmin_fv-az1111-549_2023-11-17_10_39_53.trx Error: Assert.Fail(): Build process exited with code: 1. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-build.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1700216773714_2023-11-17_10_38_09.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-dynamic_generics.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1700216773714_2023-11-17_10_40_55.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net8.0/hosted-dynamic_generics.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_fv-az573-407_2023-11-17_10_37_29.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-dynamic_generics.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet8-node18.x-Release/_fv-az573-407_2023-11-17_10_38_48.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'test' at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_generics.js:66:8) 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) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'test', operator: 'strictEqual' } Node.js v18.18.2 Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net8.0/hosted-dynamic_generics.log

Artifacts

Produced during runtime
Name Size
macos-latest-Release-packages Expired
4.23 MB
test-logs-macos-latest-node18.x-Release Expired
7.34 MB
test-logs-ubuntu-latest-node18.x-Release Expired
7.36 MB
test-logs-windows-latest-node18.x-Release Expired
7.68 MB
ubuntu-latest-Release-packages Expired
4.18 MB
windows-latest-Release-packages Expired
4.48 MB