Skip to content

Mapping between .Net objects and JSReference should not allow to match objects of different types. #197

Mapping between .Net objects and JSReference should not allow to match objects of different types.

Mapping between .Net objects and JSReference should not allow to match objects of different types. #197

Re-run triggered October 6, 2023 20:54
Status Failure
Total duration 9m 48s
Artifacts 6

build.yml

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

Annotations

14 errors and 2 warnings
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 (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 1.
build (macos-latest, 18.x, Release)
Process completed with exit code 1.
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_fv-az562-28_2023-10-06_20_55_54.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-dynamic_invoke.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet8-node18.x-Release/_fv-az562-28_2023-10-06_20_57_21.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net8.0/hosted-dynamic_invoke.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1696623994997_2023-10-06_20_56_35.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net6.0/hosted-dynamic_invoke.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1696623994997_2023-10-06_20_59_49.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net8.0/hosted-dynamic_invoke.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet6-node18.x-Release/runneradmin_fv-az449-295_2023-10-06_20_58_43.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net6.0\hosted-dynamic_invoke.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az449-295_2023-10-06_21_00_14.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-dynamic_invoke.log
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"): test/TestBuilder.cs#L274
Failed test found in: test/netfx47-node18.x-Release/runneradmin_fv-az449-295_2023-10-06_20_57_43.trx Error: Assert.Fail(): node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Node process exited with code: 1. node:assert:125 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal: Version {} at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:22: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: Version {}, expected: Version {}, operator: 'strictEqual' } Node.js v18.18.0 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_invoke.log
build (windows-latest, 18.x, Release): src/NodeApi/Interop/ReferenceEqualityComparer.cs#L19
'ReferenceEqualityComparer.Equals(object?, object?)' hides inherited member 'object.Equals(object, object)'. Use the new keyword if hiding was intended.
build (windows-latest, 18.x, Release): src/NodeApi/Interop/ReferenceEqualityComparer.cs#L19
'ReferenceEqualityComparer.Equals(object?, object?)' hides inherited member 'object.Equals(object, object)'. Use the new keyword if hiding was intended.

Artifacts

Produced during runtime
Name Size
macos-latest-Release-packages Expired
4.11 MB
test-logs-macos-latest-node18.x-Release Expired
4.62 MB
test-logs-ubuntu-latest-node18.x-Release Expired
4.64 MB
test-logs-windows-latest-node18.x-Release Expired
6.74 MB
ubuntu-latest-Release-packages Expired
4.07 MB
windows-latest-Release-packages Expired
4.33 MB