Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index convention changes for non-relational providers #34054

Merged
merged 2 commits into from
Jul 3, 2024

Don't remove the index convention for non-relational providers.

06e1f48
Select commit
Loading
Failed to load commit list.
Merged

Index convention changes for non-relational providers #34054

Don't remove the index convention for non-relational providers.
06e1f48
Select commit
Loading
Failed to load commit list.
Azure Pipelines / efcore-ci succeeded Jul 2, 2024 in 33m 38s

Build #20240702.4 had test failures

Details

Tests

  • Failed: 19 (0.00%)
  • Passed: 313,278 (80.50%)
  • Other: 75,872 (19.50%)
  • Total: 389,169

Annotations

Check failure on line 1 in Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_call_UserOnlyStore_RemoveClaimsAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / efcore-ci

Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_call_UserOnlyStore_RemoveClaimsAsync

System.ArgumentException : At least one object must implement IComparable.
Raw output
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.Search(TKey key, IComparer`1 keyComparer)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.TryGetValue(TKey key, IComparer`1 keyComparer, TValue& value)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(TKey key, TValue& value)
   at Microsoft.EntityFrameworkCore.DbContextOptions.FindExtension[TExtension]() in D:\a\_work\1\s\src\EFCore\DbContextOptions.cs:line 73
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, InMemoryDatabaseRoot databaseRoot, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 127
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 64
   at Microsoft.EntityFrameworkCore.TestUtilities.InMemoryTestStore.AddProviderOptions(DbContextOptionsBuilder builder) in D:\a\_work\1\s\test\EFCore.InMemory.FunctionalTests\TestUtilities\InMemoryTestStore.cs:line 40
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.ConfigureOptions(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 82
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.<InitializeAsync>b__22_0(IServiceProvider s, DbContextOptionsBuilder b) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 51
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass6_0`1.<AddPoolingOptions>b__0(IServiceProvider sp, DbContextOptionsBuilder ob) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 371
   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.DbContextOptionsConfiguration`1.Configure(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\src\EFCore\Infrastructure\Internal\DbContextOptionsConfiguration.cs:line 35
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 1148
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Mic

Check failure on line 1 in Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_call_UserOnlyStore_ReplaceClaimAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / efcore-ci

Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_call_UserOnlyStore_ReplaceClaimAsync

System.ArgumentException : At least one object must implement IComparable.
Raw output
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.Search(TKey key, IComparer`1 keyComparer)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.TryGetValue(TKey key, IComparer`1 keyComparer, TValue& value)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(TKey key, TValue& value)
   at Microsoft.EntityFrameworkCore.DbContextOptions.FindExtension[TExtension]() in D:\a\_work\1\s\src\EFCore\DbContextOptions.cs:line 73
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, InMemoryDatabaseRoot databaseRoot, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 127
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 64
   at Microsoft.EntityFrameworkCore.TestUtilities.InMemoryTestStore.AddProviderOptions(DbContextOptionsBuilder builder) in D:\a\_work\1\s\test\EFCore.InMemory.FunctionalTests\TestUtilities\InMemoryTestStore.cs:line 40
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.ConfigureOptions(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 82
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.<InitializeAsync>b__22_0(IServiceProvider s, DbContextOptionsBuilder b) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 51
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass6_0`1.<AddPoolingOptions>b__0(IServiceProvider sp, DbContextOptionsBuilder ob) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 371
   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.DbContextOptionsConfiguration`1.Configure(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\src\EFCore\Infrastructure\Internal\DbContextOptionsConfiguration.cs:line 35
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 1148
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Mic

Check failure on line 1 in Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_call_UserStore_RemoveClaimsAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / efcore-ci

Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_call_UserStore_RemoveClaimsAsync

System.ArgumentException : At least one object must implement IComparable.
Raw output
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.Search(TKey key, IComparer`1 keyComparer)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.TryGetValue(TKey key, IComparer`1 keyComparer, TValue& value)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(TKey key, TValue& value)
   at Microsoft.EntityFrameworkCore.DbContextOptions.FindExtension[TExtension]() in D:\a\_work\1\s\src\EFCore\DbContextOptions.cs:line 73
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, InMemoryDatabaseRoot databaseRoot, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 127
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 64
   at Microsoft.EntityFrameworkCore.TestUtilities.InMemoryTestStore.AddProviderOptions(DbContextOptionsBuilder builder) in D:\a\_work\1\s\test\EFCore.InMemory.FunctionalTests\TestUtilities\InMemoryTestStore.cs:line 40
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.ConfigureOptions(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 82
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.<InitializeAsync>b__22_0(IServiceProvider s, DbContextOptionsBuilder b) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 51
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass6_0`1.<AddPoolingOptions>b__0(IServiceProvider sp, DbContextOptionsBuilder ob) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 371
   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.DbContextOptionsConfiguration`1.Configure(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\src\EFCore\Infrastructure\Internal\DbContextOptionsConfiguration.cs:line 35
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 1148
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Mic

Check failure on line 1 in Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_use_navigation_properties_on_User

See this annotation in the file changed.

@azure-pipelines azure-pipelines / efcore-ci

Microsoft.EntityFrameworkCore.AspNetIdentityCustomTypesIntKeyInMemoryTest.Can_use_navigation_properties_on_User

System.ArgumentException : At least one object must implement IComparable.
Raw output
   at System.Collections.Comparer.Compare(Object a, Object b)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.Search(TKey key, IComparer`1 keyComparer)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.Node.TryGetValue(TKey key, IComparer`1 keyComparer, TValue& value)
   at System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(TKey key, TValue& value)
   at Microsoft.EntityFrameworkCore.DbContextOptions.FindExtension[TExtension]() in D:\a\_work\1\s\src\EFCore\DbContextOptions.cs:line 73
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, InMemoryDatabaseRoot databaseRoot, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 127
   at Microsoft.EntityFrameworkCore.InMemoryDbContextOptionsExtensions.UseInMemoryDatabase(DbContextOptionsBuilder optionsBuilder, String databaseName, Action`1 inMemoryOptionsAction) in D:\a\_work\1\s\src\EFCore.InMemory\Extensions\InMemoryDbContextOptionsExtensions.cs:line 64
   at Microsoft.EntityFrameworkCore.TestUtilities.InMemoryTestStore.AddProviderOptions(DbContextOptionsBuilder builder) in D:\a\_work\1\s\test\EFCore.InMemory.FunctionalTests\TestUtilities\InMemoryTestStore.cs:line 40
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.ConfigureOptions(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 82
   at Microsoft.EntityFrameworkCore.SharedStoreFixtureBase`1.<InitializeAsync>b__22_0(IServiceProvider s, DbContextOptionsBuilder b) in D:\a\_work\1\s\test\EFCore.Specification.Tests\SharedStoreFixtureBase.cs:line 51
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass6_0`1.<AddPoolingOptions>b__0(IServiceProvider sp, DbContextOptionsBuilder ob) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 371
   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.DbContextOptionsConfiguration`1.Configure(IServiceProvider serviceProvider, DbContextOptionsBuilder optionsBuilder) in D:\a\_work\1\s\src\EFCore\Infrastructure\Internal\DbContextOptionsConfiguration.cs:line 35
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider) in D:\a\_work\1\s\src\EFCore\Extensions\EntityFrameworkServiceCollectionExtensions.cs:line 1148
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Mic