Use source generation for serialization #2526
ci.yml
on: pull_request
Matrix: build_and_test
create_nuget
46s
deploy
0s
Annotations
26 errors and 2 warnings
NGitLab.Tests.CommitStatusTests ► Test_get_commit_status:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.CommitStatus[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.CommitsTests ► Test_can_get_merge_request_associated_to_commit:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.ContributorsTests ► Test_can_get_contributors:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.ContributorsTests ► Test_can_get_MultipleContributors:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► CreateAndGetAll:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► Delete:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► Edit:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► QueryByName:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► QueryBySearch:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► QueryByState:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► Stop:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az1790-347_2024-05-23_15_50_21.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.CommitStatusTests ► Test_get_commit_status:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.CommitStatus[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.CommitsTests ► Test_can_get_merge_request_associated_to_commit:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.MergeRequest[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.ContributorsTests ► Test_can_get_contributors:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.ContributorsTests ► Test_can_get_MultipleContributors:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.Contributor[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► CreateAndGetAll:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► Delete:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► Edit:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► QueryByName:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► QueryBySearch:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► QueryByState:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
NGitLab.Tests.EnvironmentsTests ► Stop:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx#L0
Failed test found in:
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az880-852_2024-05-23_15_49_49.trx
Error:
System.InvalidOperationException : JsonTypeInfo metadata for type 'NGitLab.Models.EnvironmentInfo[]' was not provided by TypeInfoResolver of type 'NGitLab.Impl.Json.MyJsonSerializerContext'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.
|
build_and_test (gitlab/gitlab-ee:15.11.9-ee.0, Release)
Process completed with exit code 1.
|
build_and_test (gitlab/gitlab-ee:15.11.9-ee.0, Release)
Failed test were found and 'fail-on-error' option is set to true
|
build_and_test (gitlab/gitlab-ee:15.11.13-ee.0, Release)
Failed test were found and 'fail-on-error' option is set to true
|
build_and_test (gitlab/gitlab-ee:15.11.13-ee.0, Release)
Process completed with exit code 1.
|
build_and_test (gitlab/gitlab-ee:15.11.9-ee.0, Release)
Test report summary exceeded limit of 65535 bytes and will be trimmed
|
build_and_test (gitlab/gitlab-ee:15.11.13-ee.0, Release)
Test report summary exceeded limit of 65535 bytes and will be trimmed
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
binlogs
Expired
|
764 KB |
|
nuget
Expired
|
2.02 MB |
|
test-results-gitlab-gitlab-ee-15.11.13-ee.0-Release
Expired
|
1.93 MB |
|
test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release
Expired
|
1.92 MB |
|