dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.38k stars 4.75k forks source link

Test failure: System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTAsyncTSNestedAsync #107239

Open v-wenyuxu opened 2 months ago

v-wenyuxu commented 2 months ago

Failed in: runtime-coreclr libraries-jitstress-random 20240831.1

Failed tests:

net9.0-windows-Release-arm64-jitstress_random_2-Windows.11.Arm64.Open
    - System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTAsyncTSNestedAsync

Error message:

 System.InvalidOperationException : The current TransactionScope is already complete.

Stack trace:

   at System.Transactions.Transaction.get_Current() in /_/src/libraries/System.Transactions.Local/src/System/Transactions/Transaction.cs:line 169
   at System.Transactions.Tests.AsyncTransactionScopeTests.AssertTransactionNull() in /_/src/libraries/System.Transactions.Local/tests/AsyncTransactionScopeTests.cs:line 1674
   at System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTAsyncTSNestedAsync() in /_/src/libraries/System.Transactions.Local/tests/AsyncTransactionScopeTests.cs:line 1158
--- End of stack trace from previous location ---
dotnet-policy-service[bot] commented 2 months ago

Tagging subscribers to this area: @roji, @ajcvickers See info in area-owners.md if you want to be subscribed.

SamMonoRT commented 2 months ago

Assigning to myself for tracking, moving to 10.0.0 milestone, don't see any relevant changes in this area.

@v-wenyuxu - Is this a deterministic failure?