[automated] Merge branch 'release/9.0' => 'release/10.0'#36946
Merged
Azure Pipelines / efcore-ci
failed
Oct 10, 2025 in 1h 7m 23s
Build #20251010.21 had test failures
Details
- Failed: 4 (0.00%, 4 new, 0 recurring)
- Passed: 236,982 (83.49%)
- Other: 46,855 (16.51%)
- Total: 283,841
Annotations
Check failure on line 468 in Build log
azure-pipelines / efcore-ci
Build log #L468
Cmd.exe exited with code '1'.
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.Query.PrecompiledQuerySqliteTest.ToDictionary_over_anonymous_type
Precompilation error: System.IO.FileLoadException: Could not load file or assembly 'TestCompilation, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'TestCompilation, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at Xunit.DependencyContextAssemblyCache.LoadManagedDll(String assemblyName, Func`2 managedAssemblyLoader) in /_/src/common/AssemblyResolution/DependencyContextAssemblyCache.cs:line 158
at Xunit.AssemblyHelper.OnResolving(AssemblyLoadContext context, AssemblyName name) in /_/src/common/AssemblyResolution/AssemblyHelper_NetCoreApp.cs:line 85
at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.<>c__DisplayClass41_0.<ResolveType>g__LoadAnonymousTypes|2(IAssemblySymbol assemblySymbol) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 1193
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.ResolveType(ITypeSymbol typeSymbol, Dictionary`2 genericParameterMap) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 1090
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.<>c__DisplayClass25_0.<VisitInvocationExpression>b__2(ITypeSymbol a) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 605
at System.Linq.Enumerable.ArraySelectIterator`2.ToArray()
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.VisitInvocationExpression(InvocationExpressionSyntax invocation) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 605
at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept[TResult](CSharpSyntaxVisitor`1 visitor)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1.Visit(SyntaxNode node)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.Visit(SyntaxNode node) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 124
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.VisitInvocationExpression(InvocationExpressionSyntax invocation) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 538
at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept[
Raw output
at Microsoft.EntityFrameworkCore.TestUtilities.PrecompiledQueryTestHelpers.FullSourceTest(String sourceCode, DbContextOptions dbContextOptions, Type dbContextType, Action`1 interceptorCodeAsserter, Action`1 errorAsserter, ITestOutputHelper testOutputHelper, Boolean alwaysPrintGeneratedSources, String callerName) in D:\a\_work\1\s\test\EFCore.Relational.Specification.Tests\TestUtilities\PrecompiledQueryTestHelpers.cs:line 123
at Microsoft.EntityFrameworkCore.TestUtilities.PrecompiledQueryTestHelpers.FullSourceTest(String sourceCode, DbContextOptions dbContextOptions, Type dbContextType, Action`1 interceptorCodeAsserter, Action`1 errorAsserter, ITestOutputHelper testOutputHelper, Boolean alwaysPrintGeneratedSources, String callerName) in D:\a\_work\1\s\test\EFCore.Relational.Specification.Tests\TestUtilities\PrecompiledQueryTestHelpers.cs:line 132
--- End of stack trace from previous location ---
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.Query.PrecompiledQuerySqliteTest.Project_anonymous_object
Precompilation error: System.IO.FileLoadException: Could not load file or assembly 'TestCompilation, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'TestCompilation, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at Xunit.DependencyContextAssemblyCache.LoadManagedDll(String assemblyName, Func`2 managedAssemblyLoader) in /_/src/common/AssemblyResolution/DependencyContextAssemblyCache.cs:line 158
at Xunit.AssemblyHelper.OnResolving(AssemblyLoadContext context, AssemblyName name) in /_/src/common/AssemblyResolution/AssemblyHelper_NetCoreApp.cs:line 85
at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.<>c__DisplayClass41_0.<ResolveType>g__LoadAnonymousTypes|2(IAssemblySymbol assemblySymbol) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 1193
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.ResolveType(ITypeSymbol typeSymbol, Dictionary`2 genericParameterMap) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 1090
at System.Linq.Enumerable.ArraySelectIterator`2.ToArray()
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.VisitInvocationExpression(InvocationExpressionSyntax invocation) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 605
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1.Visit(SyntaxNode node)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.VisitInvocationExpression(InvocationExpressionSyntax invocation) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 538
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1.Visit(SyntaxNode node)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.Translate(SyntaxNode node, SemanticModel semanticModel) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 110
at Microsoft.EntityFrameworkCore.Query.Internal.PrecompiledQueryCodeGenerator.ProcessSyntaxTree(SyntaxTree syntaxTree, SemanticModel semanticModel, IReadOnlyList`1 locatedQueries, List`1 precompilationErrors, String suffix, ISet`1 generatedFileNames, CancellationToken cancellationToken) in D:\a\_work\1\s\
Raw output
at Microsoft.EntityFrameworkCore.TestUtilities.PrecompiledQueryTestHelpers.FullSourceTest(String sourceCode, DbContextOptions dbContextOptions, Type dbContextType, Action`1 interceptorCodeAsserter, Action`1 errorAsserter, ITestOutputHelper testOutputHelper, Boolean alwaysPrintGeneratedSources, String callerName) in D:\a\_work\1\s\test\EFCore.Relational.Specification.Tests\TestUtilities\PrecompiledQueryTestHelpers.cs:line 123
at Microsoft.EntityFrameworkCore.TestUtilities.PrecompiledQueryTestHelpers.FullSourceTest(String sourceCode, DbContextOptions dbContextOptions, Type dbContextType, Action`1 interceptorCodeAsserter, Action`1 errorAsserter, ITestOutputHelper testOutputHelper, Boolean alwaysPrintGeneratedSources, String callerName) in D:\a\_work\1\s\test\EFCore.Relational.Specification.Tests\TestUtilities\PrecompiledQueryTestHelpers.cs:line 132
--- End of stack trace from previous location ---
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.Query.PrecompiledQuerySqliteTest.ToDictionaryAsync_over_anonymous_type
Precompilation error: System.IO.FileLoadException: Could not load file or assembly 'TestCompilation, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'TestCompilation, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at Xunit.DependencyContextAssemblyCache.LoadManagedDll(String assemblyName, Func`2 managedAssemblyLoader) in /_/src/common/AssemblyResolution/DependencyContextAssemblyCache.cs:line 158
at Xunit.AssemblyHelper.OnResolving(AssemblyLoadContext context, AssemblyName name) in /_/src/common/AssemblyResolution/AssemblyHelper_NetCoreApp.cs:line 85
at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.<>c__DisplayClass41_0.<ResolveType>g__LoadAnonymousTypes|2(IAssemblySymbol assemblySymbol) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 1193
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.ResolveType(ITypeSymbol typeSymbol, Dictionary`2 genericParameterMap) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 1090
at System.Linq.Enumerable.ArraySelectIterator`2.ToArray()
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.VisitInvocationExpression(InvocationExpressionSyntax invocation) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 605
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1.Visit(SyntaxNode node)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.VisitInvocationExpression(InvocationExpressionSyntax invocation) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 538
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1.Visit(SyntaxNode node)
at Microsoft.EntityFrameworkCore.Query.Internal.CSharpToLinqTranslator.Translate(SyntaxNode node, SemanticModel semanticModel) in D:\a\_work\1\s\src\EFCore.Design\Query\Internal\CSharpToLinqTranslator.cs:line 110
at Microsoft.EntityFrameworkCore.Query.Internal.PrecompiledQueryCodeGenerator.ProcessSyntaxTree(SyntaxTree syntaxTree, SemanticModel semanticModel, IReadOnlyList`1 locatedQueries, List`1 precompilationErrors, String suffix, ISet`1 generatedFileNames, CancellationToken cancellationToken) in D:\a\_work\1\s\
Raw output
at Microsoft.EntityFrameworkCore.TestUtilities.PrecompiledQueryTestHelpers.FullSourceTest(String sourceCode, DbContextOptions dbContextOptions, Type dbContextType, Action`1 interceptorCodeAsserter, Action`1 errorAsserter, ITestOutputHelper testOutputHelper, Boolean alwaysPrintGeneratedSources, String callerName) in D:\a\_work\1\s\test\EFCore.Relational.Specification.Tests\TestUtilities\PrecompiledQueryTestHelpers.cs:line 123
at Microsoft.EntityFrameworkCore.TestUtilities.PrecompiledQueryTestHelpers.FullSourceTest(String sourceCode, DbContextOptions dbContextOptions, Type dbContextType, Action`1 interceptorCodeAsserter, Action`1 errorAsserter, ITestOutputHelper testOutputHelper, Boolean alwaysPrintGeneratedSources, String callerName) in D:\a\_work\1\s\test\EFCore.Relational.Specification.Tests\TestUtilities\PrecompiledQueryTestHelpers.cs:line 132
--- End of stack trace from previous location ---
azure-pipelines / efcore-ci
Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.dll.WorkItemExecution
The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.
Loading