Skip to content

Update example to SK 1.1, fix TS generator and marshaller bugs #253

Update example to SK 1.1, fix TS generator and marshaller bugs

Update example to SK 1.1, fix TS generator and marshaller bugs #253

Triggered via pull request January 19, 2024 20:23
Status Failure
Total duration 9m 34s
Artifacts 6

build.yml

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

Annotations

33 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 (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.
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.
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass: test/TypeDefsGeneratorTests.cs#L210
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1705695097248_2024-01-19_20_25_14.trx Error: Assert.Equal() Failure ↓ (pos 178) Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla··· Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T··· ↑ (pos 178)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass: test/TypeDefsGeneratorTests.cs#L78
Failed test found in: test/dotnet6-node18.x-Release/_Mac-1705695097248_2024-01-19_20_25_14.trx Error: Assert.Equal() Failure ↓ (pos 46) Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop··· Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ··· ↑ (pos 46)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1705695097248_2024-01-19_20_27_31.trx Error: Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-cjs-ts-build.log
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1705695097248_2024-01-19_20_27_31.trx Error: Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-esm-ts-build.log
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1705695097248_2024-01-19_20_27_31.trx Error: Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-cjs-ts-build.log
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1705695097248_2024-01-19_20_27_31.trx Error: Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass: test/TypeDefsGeneratorTests.cs#L210
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1705695097248_2024-01-19_20_27_31.trx Error: Assert.Equal() Failure ↓ (pos 178) Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla··· Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T··· ↑ (pos 178)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass: test/TypeDefsGeneratorTests.cs#L78
Failed test found in: test/dotnet8-node18.x-Release/_Mac-1705695097248_2024-01-19_20_27_31.trx Error: Assert.Equal() Failure ↓ (pos 46) Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop··· Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ··· ↑ (pos 46)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass: test/TypeDefsGeneratorTests.cs#L210
Failed test found in: test/dotnet6-node18.x-Release/_fv-az1153-664_2024-01-19_20_24_31.trx Error: Assert.Equal() Failure ↓ (pos 178) Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla··· Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T··· ↑ (pos 178)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass: test/TypeDefsGeneratorTests.cs#L78
Failed test found in: test/dotnet6-node18.x-Release/_fv-az1153-664_2024-01-19_20_24_31.trx Error: Assert.Equal() Failure ↓ (pos 46) Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop··· Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ··· ↑ (pos 46)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.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
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.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
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.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
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.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
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass: test/TypeDefsGeneratorTests.cs#L210
Failed test found in: test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx Error: Assert.Equal() Failure ↓ (pos 178) Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla··· Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T··· ↑ (pos 178)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass: test/TypeDefsGeneratorTests.cs#L78
Failed test found in: test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx Error: Assert.Equal() Failure ↓ (pos 46) Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop··· Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ··· ↑ (pos 46)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass: test/TypeDefsGeneratorTests.cs#L210
Failed test found in: test/dotnet6-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_28_06.trx Error: Assert.Equal() Failure ↓ (pos 184) Expected: ···Class$$1<T> {\r\n\t/** constructor */\r\n\tnew(value: T): GenericCl··· Actual: ···Class$$1<T> {\r\n\t/** static-property */\r\n\tTestStaticProperty: ··· ↑ (pos 184)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass: test/TypeDefsGeneratorTests.cs#L78
Failed test found in: test/dotnet6-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_28_06.trx Error: Assert.Equal() Failure ↓ (pos 49) Expected: ···SimpleClass {\r\n\t/** constructor */\r\n\tconstructor();\r\n\r\n\t/** p··· Actual: ···SimpleClass {\r\n\t/** property */\r\n\tTestProperty: string;\r\n\r\n\t/··· ↑ (pos 49)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_29_50.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
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_29_50.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
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_29_50.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
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test"): test/JSProjectTests.cs#L146
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_29_50.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
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass: test/TypeDefsGeneratorTests.cs#L210
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_29_50.trx Error: Assert.Equal() Failure ↓ (pos 184) Expected: ···Class$$1<T> {\r\n\t/** constructor */\r\n\tnew(value: T): GenericCl··· Actual: ···Class$$1<T> {\r\n\t/** static-property */\r\n\tTestStaticProperty: ··· ↑ (pos 184)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass: test/TypeDefsGeneratorTests.cs#L78
Failed test found in: test/dotnet8-node18.x-Release/runneradmin_fv-az1564-536_2024-01-19_20_29_50.trx Error: Assert.Equal() Failure ↓ (pos 49) Expected: ···SimpleClass {\r\n\t/** constructor */\r\n\tconstructor();\r\n\r\n\t/** p··· Actual: ···SimpleClass {\r\n\t/** property */\r\n\tTestProperty: string;\r\n\r\n\t/··· ↑ (pos 49)

Artifacts

Produced during runtime
Name Size
macos-latest-Release-packages Expired
4.32 MB
test-logs-macos-latest-node18.x-Release Expired
5.13 MB
test-logs-ubuntu-latest-node18.x-Release Expired
5.11 MB
test-logs-windows-latest-node18.x-Release Expired
7.34 MB
ubuntu-latest-Release-packages Expired
4.27 MB
windows-latest-Release-packages Expired
4.57 MB