Use provider discriminator values for OfType() #32878
Build #20240122.6 had test failures
Details
- Failed: 29 (0.01%)
- Passed: 177,112 (81.81%)
- Other: 39,357 (18.18%)
- Total: 216,498
Annotations
Check failure on line 0 in XUnit
azure-pipelines / efcore-ci
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/EFCore.Sqlite.FunctionalTests_net8.0_x64.html [net8.0|x64]
Check failure on line 0 in XUnit
azure-pipelines / efcore-ci
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /home/vsts/work/1/s/artifacts/TestResults/Release/EFCore.Sqlite.FunctionalTests_net8.0_x64.html [net8.0|x64]
Check failure on line 0 in XUnit
azure-pipelines / efcore-ci
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\EFCore.Sqlite.FunctionalTests_net8.0_x64.html [net8.0|x64]
Check failure on line 0 in XUnit
azure-pipelines / efcore-ci
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\EFCore.SqlServer.FunctionalTests_net8.0_x64.html [net8.0|x64]
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.GraphUpdatesSqliteSnapshotNotificationsTest.Mutating_discriminator_value_can_be_configured_to_allow_mutation
System.InvalidCastException : Invalid cast from 'System.Int32' to 'Microsoft.EntityFrameworkCore.GraphUpdatesTestBase`1+MyDiscriminator[[Microsoft.EntityFrameworkCore.GraphUpdatesSqliteSnapshotNotificationsTest+SqliteFixture, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60]]'.
Raw output
at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.Sanitize[T](Object value) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 89
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.<>c__DisplayClass6_0`2.<SanitizeConverter>b__1(Object v) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 81
at Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.GenerateSqlLiteral(Object value) in D:\a\_work\1\s\src\EFCore.Relational\Storage\RelationalTypeMapping.cs:line 637
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSqlConstant(SqlConstantExpression sqlConstantExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 614
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 50
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.<GenerateIn>b__46_0(SqlExpression e) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateList[T](IReadOnlyList`1 items, Action`1 generationAction, Action`1 joinAction) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 1156
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateIn(InExpression inExpression, Boolean negated) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitIn(InExpression inExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 957
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 36
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSelect(SelectExpression selectExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 249
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateRootCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 94
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GetCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 71
at Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandCache.GetRelationalCommandTemplate(IReadOnlyDictionary`2 parameters) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\RelationalCommandCache.cs:line 73
at Microsoft.EntityFrameworkCore.Internal.RelationCommandCacheExtensions.RentAndPopulateRelationalCommand(RelationalCommandCache relationalCommandCache, RelationalQueryContext queryContext) in D:\a\_work\1\s\src\EFCore.Relational\Extensions\Internal\RelationCommandCacheExtensions.cs:line 27
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 237
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 168
at Microsoft.EntityFramewor
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.GraphUpdatesSqliteChangedNotificationsTest.Mutating_discriminator_value_can_be_configured_to_allow_mutation
System.InvalidCastException : Invalid cast from 'System.Int32' to 'Microsoft.EntityFrameworkCore.GraphUpdatesTestBase`1+MyDiscriminator[[Microsoft.EntityFrameworkCore.GraphUpdatesSqliteChangedNotificationsTest+SqliteFixture, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60]]'.
Raw output
at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.Sanitize[T](Object value) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 89
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.<>c__DisplayClass6_0`2.<SanitizeConverter>b__1(Object v) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 81
at Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.GenerateSqlLiteral(Object value) in D:\a\_work\1\s\src\EFCore.Relational\Storage\RelationalTypeMapping.cs:line 637
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSqlConstant(SqlConstantExpression sqlConstantExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 614
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 50
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.<GenerateIn>b__46_0(SqlExpression e) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateList[T](IReadOnlyList`1 items, Action`1 generationAction, Action`1 joinAction) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 1156
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateIn(InExpression inExpression, Boolean negated) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitIn(InExpression inExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 957
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 36
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSelect(SelectExpression selectExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 249
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateRootCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 94
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GetCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 71
at Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandCache.GetRelationalCommandTemplate(IReadOnlyDictionary`2 parameters) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\RelationalCommandCache.cs:line 73
at Microsoft.EntityFrameworkCore.Internal.RelationCommandCacheExtensions.RentAndPopulateRelationalCommand(RelationalCommandCache relationalCommandCache, RelationalQueryContext queryContext) in D:\a\_work\1\s\src\EFCore.Relational\Extensions\Internal\RelationCommandCacheExtensions.cs:line 27
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 237
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 168
at Microsoft.EntityFramewor
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.GraphUpdatesSqliteChangedChangingNotificationsTest.Mutating_discriminator_value_can_be_configured_to_allow_mutation
System.InvalidCastException : Invalid cast from 'System.Int32' to 'Microsoft.EntityFrameworkCore.GraphUpdatesTestBase`1+MyDiscriminator[[Microsoft.EntityFrameworkCore.GraphUpdatesSqliteChangedChangingNotificationsTest+SqliteFixture, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60]]'.
Raw output
at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.Sanitize[T](Object value) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 89
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.<>c__DisplayClass6_0`2.<SanitizeConverter>b__1(Object v) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 81
at Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.GenerateSqlLiteral(Object value) in D:\a\_work\1\s\src\EFCore.Relational\Storage\RelationalTypeMapping.cs:line 637
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSqlConstant(SqlConstantExpression sqlConstantExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 614
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 50
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.<GenerateIn>b__46_0(SqlExpression e) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateList[T](IReadOnlyList`1 items, Action`1 generationAction, Action`1 joinAction) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 1156
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateIn(InExpression inExpression, Boolean negated) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitIn(InExpression inExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 957
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 36
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSelect(SelectExpression selectExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 249
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateRootCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 94
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GetCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 71
at Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandCache.GetRelationalCommandTemplate(IReadOnlyDictionary`2 parameters) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\RelationalCommandCache.cs:line 73
at Microsoft.EntityFrameworkCore.Internal.RelationCommandCacheExtensions.RentAndPopulateRelationalCommand(RelationalCommandCache relationalCommandCache, RelationalQueryContext queryContext) in D:\a\_work\1\s\src\EFCore.Relational\Extensions\Internal\RelationCommandCacheExtensions.cs:line 27
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 237
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 168
at Microsoft.EntityFramewor
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.GraphUpdatesSqliteFullWithOriginalsNotificationsTest.Mutating_discriminator_value_can_be_configured_to_allow_mutation
System.InvalidCastException : Invalid cast from 'System.Int32' to 'Microsoft.EntityFrameworkCore.GraphUpdatesTestBase`1+MyDiscriminator[[Microsoft.EntityFrameworkCore.GraphUpdatesSqliteFullWithOriginalsNotificationsTest+SqliteFixture, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60]]'.
Raw output
at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.Sanitize[T](Object value) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 89
at Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter`2.<>c__DisplayClass6_0`2.<SanitizeConverter>b__1(Object v) in D:\a\_work\1\s\src\EFCore\Storage\ValueConversion\ValueConverter`.cs:line 81
at Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.GenerateSqlLiteral(Object value) in D:\a\_work\1\s\src\EFCore.Relational\Storage\RelationalTypeMapping.cs:line 637
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSqlConstant(SqlConstantExpression sqlConstantExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 614
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 50
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.<GenerateIn>b__46_0(SqlExpression e) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateList[T](IReadOnlyList`1 items, Action`1 generationAction, Action`1 joinAction) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 1156
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateIn(InExpression inExpression, Boolean negated) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 978
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitIn(InExpression inExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 957
at Microsoft.EntityFrameworkCore.Query.SqlExpressionVisitor.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\SqlExpressionVisitor.cs:line 36
at Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.SqliteQuerySqlGenerator.VisitExtension(Expression extensionExpression) in D:\a\_work\1\s\src\EFCore.Sqlite.Core\Query\Internal\SqliteQuerySqlGenerator.cs:line 51
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.VisitSelect(SelectExpression selectExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 249
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GenerateRootCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 94
at Microsoft.EntityFrameworkCore.Query.QuerySqlGenerator.GetCommand(Expression queryExpression) in D:\a\_work\1\s\src\EFCore.Relational\Query\QuerySqlGenerator.cs:line 71
at Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandCache.GetRelationalCommandTemplate(IReadOnlyDictionary`2 parameters) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\RelationalCommandCache.cs:line 73
at Microsoft.EntityFrameworkCore.Internal.RelationCommandCacheExtensions.RentAndPopulateRelationalCommand(RelationalCommandCache relationalCommandCache, RelationalQueryContext queryContext) in D:\a\_work\1\s\src\EFCore.Relational\Extensions\Internal\RelationCommandCacheExtensions.cs:line 27
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 237
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator) in D:\a\_work\1\s\src\EFCore.Relational\Query\Internal\SingleQueryingEnumerable.cs:line 168
at Microsoft.EntityFramewor