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

[browser][mt] AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync - Value is not null #97513

Closed
pavelsavara opened this issue Jan 25, 2024 · 6 comments · Fixed by #97977 or #100139
Closed
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono disabled-test The test is disabled in source code against the issue in-pr There is an active PR which will close this issue when it is merged os-browser Browser variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Jan 25, 2024

Error Blob

{
  "ErrorMessage": "[FAIL] System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

Log
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=540294&view=logs&jobId=63c2d0c8-fec2-5788-81c8-f3ac95e8841f

[13:18:51] info: [2024-01-25T13:18:51.175Z] [FAIL] System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync
[13:18:51] info: Assert.Null() Failure: Value is not null
[13:18:51] info: Expected: null
[13:18:51] info: Actual:   CommittableTransaction { IsolationLevel = Serializable, PromoterType = 00000000-0000-0000-0000-000000000000, TransactionInformation = TransactionInformation { CreationTime = 2024-01-25T13:18:50.4690000, DistributedIdentifier = 00000000-0000-0000-0000-000000000000, LocalIdentifier = "daab704c-0ff1-40af-aa0a-a1710e8d470b:293", Status = Committed } }
[13:18:51] info:    at System.Transactions.Tests.AsyncTransactionScopeTests.AssertTransactionNull()
[13:18:51] info:    at System.Transactions.Tests.AsyncTransactionScopeTests.<>c__DisplayClass18_0.<VerifyBYOTSyncTSNestedAsync>b__0()
[13:18:51] info:    at System.Threading.Tasks.Task.InnerInvoke()
[13:18:51] info:    at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
[13:18:51] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[13:18:51] info: --- End of stack trace from previous location ---
[13:18:51] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[13:18:51] info:    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[13:18:51] info: --- End of stack trace from previous location ---
[13:18:51] info:    at System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync()
[13:18:51] info: --- End of stack trace from previous location ---

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=540294
Error message validated: [FAIL] System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/25/2024 3:03:12 PM UTC

Report

Build Definition Test Pull Request
540294 dotnet/runtime WasmTestOnBrowser-System.Transactions.Local.Tests.WorkItemExecution #97391

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm labels Jan 25, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Jan 25, 2024
@pavelsavara pavelsavara self-assigned this Jan 25, 2024
@ghost
Copy link

ghost commented Jan 25, 2024

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "[FAIL] System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

Log
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=540294&view=logs&jobId=63c2d0c8-fec2-5788-81c8-f3ac95e8841f

[13:18:51] info: [2024-01-25T13:18:51.175Z] [FAIL] System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync
[13:18:51] info: Assert.Null() Failure: Value is not null
[13:18:51] info: Expected: null
[13:18:51] info: Actual:   CommittableTransaction { IsolationLevel = Serializable, PromoterType = 00000000-0000-0000-0000-000000000000, TransactionInformation = TransactionInformation { CreationTime = 2024-01-25T13:18:50.4690000, DistributedIdentifier = 00000000-0000-0000-0000-000000000000, LocalIdentifier = "daab704c-0ff1-40af-aa0a-a1710e8d470b:293", Status = Committed } }
[13:18:51] info:    at System.Transactions.Tests.AsyncTransactionScopeTests.AssertTransactionNull()
[13:18:51] info:    at System.Transactions.Tests.AsyncTransactionScopeTests.<>c__DisplayClass18_0.<VerifyBYOTSyncTSNestedAsync>b__0()
[13:18:51] info:    at System.Threading.Tasks.Task.InnerInvoke()
[13:18:51] info:    at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
[13:18:51] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[13:18:51] info: --- End of stack trace from previous location ---
[13:18:51] info:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
[13:18:51] info:    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[13:18:51] info: --- End of stack trace from previous location ---
[13:18:51] info:    at System.Transactions.Tests.AsyncTransactionScopeTests.VerifyBYOTSyncTSNestedAsync()
[13:18:51] info: --- End of stack trace from previous location ---

Author: pavelsavara
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, area-VM-threading-mono, Known Build Error, os-browser

Milestone: 9.0.0

@pavelsavara pavelsavara added disabled-test The test is disabled in source code against the issue and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jan 31, 2024
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Feb 5, 2024
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 7, 2024
@maraf
Copy link
Member

maraf commented Feb 9, 2024

Failed on my PR #97213

Build
Log

@pavelsavara
Copy link
Member Author

let's put back the active issue and investigate root cause.

@pavelsavara pavelsavara removed their assignment Feb 9, 2024
@maraf
Copy link
Member

maraf commented Feb 9, 2024

#98221

@pavelsavara
Copy link
Member Author

Possibly this is improved by #99836, let's re-test

@ilonatommy
Copy link
Member

This test on main run on repeat passes in 100% cases. Unblocking.

@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Mar 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono disabled-test The test is disabled in source code against the issue in-pr There is an active PR which will close this issue when it is merged os-browser Browser variant of arch-wasm
Projects
None yet
3 participants