Skip to content

Merge branch 'Sync' #2078

Merge branch 'Sync'

Merge branch 'Sync' #2078

Triggered via push October 11, 2023 12:57
Status Failure
Total duration 19m 35s
Artifacts

build.yml

on: push
Matrix: build
publish-ci
0s
publish-ci
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

35 errors
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbAgg(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L536
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbAgg(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L536
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonAgg(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L500
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonAgg(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L500
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbObjectAgg_as_Dictionary(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L703
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbObjectAgg_as_Dictionary(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L703
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonObjectAgg_as_Dictionary(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L618
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonObjectAgg_as_Dictionary(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L618
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindWhereQueryNpgsqlTest.Row_value_project: test/EFCore.PG.FunctionalTests/Query/NorthwindWhereQueryNpgsqlTest.cs#L502
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Nullable`1[System.ValueTuple`2[System.String,System.Nullable`1[System.DateTime]]]' but the actual value was of type 'System.Object[]'. ---- System.InvalidCastException : Reading as 'System.ValueTuple`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'record' -------- System.NotSupportedException : Could not read a PostgreSQL record. If you're attempting to read a record as a .NET tuple, call 'EnableRecordsAsTuples' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/basic.html and the 8.0 release notes for more details). If you're reading a record as a .NET object array using NpgsqlSlimDataSourceBuilder, call 'EnableRecords'.
build (ubuntu-22.04, 13, Release)
Process completed with exit code 1.
Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.MigrationsNpgsqlTest.Create_table_with_storage_parameter: test/EFCore.PG.FunctionalTests/Migrations/MigrationsNpgsqlTest.cs#L324
System.InvalidOperationException : An exception has been raised that is likely due to a transient failure. ---- Npgsql.NpgsqlException : Exception while reading from stream -------- System.TimeoutException : Timeout during reading attempt
build (windows-2022, 15, Release)
Process completed with exit code 1.
Npgsql.EntityFrameworkCore.PostgreSQL.DefaultValuesTest.Can_use_Npgsql_default_values
Npgsql.NpgsqlException : Exception while reading from stream ---- System.TimeoutException : Timeout during reading attempt
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbAgg(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L536
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbAgg(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L536
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonAgg(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L500
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonAgg(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L500
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbObjectAgg_as_Dictionary(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L703
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbObjectAgg_as_Dictionary(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L703
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonObjectAgg_as_Dictionary(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L618
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonObjectAgg_as_Dictionary(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L618
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindWhereQueryNpgsqlTest.Row_value_project: test/EFCore.PG.FunctionalTests/Query/NorthwindWhereQueryNpgsqlTest.cs#L502
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Nullable`1[System.ValueTuple`2[System.String,System.Nullable`1[System.DateTime]]]' but the actual value was of type 'System.Object[]'. ---- System.InvalidCastException : Reading as 'System.ValueTuple`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'record' -------- System.NotSupportedException : Could not read a PostgreSQL record. If you're attempting to read a record as a .NET tuple, call 'EnableRecordsAsTuples' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/basic.html and the 8.0 release notes for more details). If you're reading a record as a .NET object array using NpgsqlSlimDataSourceBuilder, call 'EnableRecords'.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbAgg(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L536
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbAgg(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L536
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonAgg(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L500
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonAgg(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L500
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.String[]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.String[]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'String[]' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbObjectAgg_as_Dictionary(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L703
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonbObjectAgg_as_Dictionary(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L703
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'jsonb' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.MigrationsNpgsqlTest.Create_table_with_storage_parameter: test/EFCore.PG.FunctionalTests/Migrations/MigrationsNpgsqlTest.cs#L324
System.InvalidOperationException : An exception has been raised that is likely due to a transient failure. ---- Npgsql.NpgsqlException : Exception while reading from stream -------- System.TimeoutException : Timeout during reading attempt
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonObjectAgg_as_Dictionary(async: True): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L618
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.Query.NorthwindFunctionsQueryNpgsqlTest.GroupBy_JsonObjectAgg_as_Dictionary(async: False): test/EFCore.PG.FunctionalTests/Query/NorthwindFunctionsQueryNpgsqlTest.cs#L618
System.InvalidOperationException : An error occurred while reading a database value. The expected type was 'System.Collections.Generic.Dictionary`2[System.String,System.String]' but the actual value was of type 'System.String'. ---- System.InvalidCastException : Reading as 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' is not supported for fields having DataTypeName 'json' -------- System.NotSupportedException : Type 'Dictionary`2' required dynamic JSON serialization, which requires an explicit opt-in; call 'EnableDynamicJsonMappings' on 'NpgsqlDataSourceBuilder' or NpgsqlConnection.GlobalTypeMapper (see https://www.npgsql.org/doc/types/json.html and the 8.0 release notes for more details). Alternatively, if you meant to use Newtonsoft JSON.NET instead of System.Text.Json, call UseJsonNet() instead.
Npgsql.EntityFrameworkCore.PostgreSQL.TransactionNpgsqlTest.BeginTransaction_can_be_used_after_ambient_transaction_ended
System.InvalidOperationException : An exception has been raised that is likely due to a transient failure. ---- Npgsql.NpgsqlException : Exception while reading from stream -------- System.TimeoutException : Timeout during reading attempt
build (windows-2022, 11, Release)
Process completed with exit code 1.