Repository navigation
Closed
Labels
area-System.Transactionstest-bugProblem in test source code (most likely)test-run-coreTest failures in .NET Core test runs
Milestone
Description
System.Transactions.Tests.AsyncTransactionScopeTests.AsyncTSTest [FAIL]
System.AggregateException : One or more errors occurred. (Assert.Equal() Failure
Expected: Transaction { IsolationLevel = (throws ObjectDisposedException), PromoterType = (throws ObjectDisposedException), TransactionInformation = (throws ObjectDisposedException) }
Actual: (null))
---- Assert.Equal() Failure
Expected: Transaction { IsolationLevel = (throws ObjectDisposedException), PromoterType = (throws ObjectDisposedException), TransactionInformation = (throws ObjectDisposedException) }
Actual: (null)
Finished: System.Numerics.Vectors.Tests
Stack Trace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Transactions.Tests.AsyncTransactionScopeTests.AsyncTSTest()
----- Inner Stack Trace -----
at System.Transactions.Tests.AsyncTransactionScopeTests.AssertTransactionNull()
at System.Transactions.Tests.AsyncTransactionScopeTests.AssertTransaction(String txId)
at System.Transactions.Tests.AsyncTransactionScopeTests.SyncTSL3AsyncTSL2NestedTxWork(Boolean parentRequiresNew, Boolean childL2RequiresNew, Boolean childL3RequiresNew, Boolean asyncChildL3, Boolean asyncWorkBeforeChildL3, Boolean asyncWorkAfterChildL3, String txId)
at System.Transactions.Tests.AsyncTransactionScopeTests.<>c.<AsyncTSTest>b__4_11()
at System.Threading.Tasks.Task.Execute()
Metadata
Metadata
Assignees
Labels
area-System.Transactionstest-bugProblem in test source code (most likely)test-run-coreTest failures in .NET Core test runs
Activity
ericeil commentedon Oct 6, 2016
Again here: http://dotnet-ci.cloudapp.net/job/dotnet_corefx/job/master/job/centos7.1_debug_prtest/1268/
jimcarley commentedon Oct 11, 2016
Well, these builds are now gone, so I don't see how I can dig deeper.
In the first failure (osx_debug_prtest 821), it looks like the test expected Transaction.Current to be "null", but in fact it contained a Transaction object which was already disposed.
In the second failure (centos7.1_debug_prtest1268), I have no data as to what the failure might have been.
danmoseley commentedon Nov 16, 2016
@jimcarley what's the next step here -- more logging? We can close this issue, but without reason to believe it is fixed, it will get reopened again eventually.
jimcarley commentedon Nov 16, 2016
Now that we have tracing capabilities inside System.Transactions itself, I am looking into turning on that tracing for this test to get more information.
danmoseley commentedon Nov 21, 2016
@jimcarley did you get a chance to turn on the logging? I'm trying to keep all the CI failure issues moving along.
danmoseley commentedon Nov 29, 2016
@jimcarley ?
jimcarley commentedon Nov 29, 2016
Sorry. I was out on vacation. We have a person working on enabling logging within the test.
jiangzeng commentedon Dec 8, 2016
Happening on build 20161207.04.
https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20161207.04/workItem/System.Transactions.Tests/analysis/xunit/System.Transactions.Tests.AsyncTransactionScopeTests~2FAsyncTSTest
danmoseley commentedon Dec 16, 2016
@jimcarley could you give an update -- did the logging go in?
jimcarley commentedon Dec 16, 2016
Not yet. Qi is working on it. She has a PR outstanding.
qizhanMS commentedon Jan 3, 2017
Added tracing in AsyncTransactionScopeTests in pull request dotnet/corefx#14544 . If the test failed again, we will be able to get tracing information for further investigation.
danmoseley commentedon Jan 4, 2017
OK, let's close this until it happens again. @jiangzeng please reactivate if it does.
6 remaining items
jimcarley commentedon Jan 4, 2017
Thanks for replying, Qi. I was in the process of writing a reply, but you beat me to it.
danmoseley commentedon Jul 22, 2017
https://mc.dot.net/#/user/danmosemsft/pr~2Fjenkins~2Fdotnet~2Fcorefx~2Fmaster~2F/test~2Ffunctional~2Fcli~2F/59bc20a58c0b3a277811d4010e2a51e2eb513c5a/workItem/System.Transactions.Local.Tests/analysis/xunit/System.Transactions.Tests.AsyncTransactionScopeTests~2FAsyncTSTest(variation:%209)
unfortunately I do not see anything extra in the test result file:
danmoseley commentedon Jul 22, 2017
@qizhanMS which file would the logging be in?
danmoseley commentedon Jul 22, 2017
https://mc.dot.net/#/user/danmosemsft/pr~2Fjenkins~2Fdotnet~2Fcorefx~2Fmaster~2F/test~2Ffunctional~2Fcli~2F/59bc20a58c0b3a277811d4010e2a51e2eb513c5a/workItem/System.Transactions.Local.Tests/wilogs
KristinXie1 commentedon Oct 31, 2017
This test failed in 2.0.0 branch, detail: https://mc.dot.net/#/product/netcore/200/source/official~2Fcorefx~2Frelease~2F2.0.0~2F/type/test~2Ffunctional~2Fcli~2F/build/20171030.01/workItem/System.Transactions.Local.Tests/analysis/xunit/System.Transactions.Tests.AsyncTransactionScopeTests~2FAsyncTSTest(variation:%2012)
danmoseley commentedon Oct 31, 2017
@qizhanMS @jimcarley where would I expect to see the logging? The XML just has
https://mc.dot.net/#/product/netcore/200/source/official~2Fcorefx~2Frelease~2F2.0.0~2F/type/test~2Ffunctional~2Fcli~2F/build/20171030.01/workItem/System.Transactions.Local.Tests/wilogs
This is not a high impact failure but if you added logging it would make sense to use it if we can find it..
karelz commentedon Jan 3, 2018
Another failure in official Helix run: 20171224.02 on Debian87
karelz commentedon Apr 2, 2018
Moving to Future based on offline info from @qizhanMS:
stephentoub commentedon Oct 27, 2018
Hasn't failed in a long time. Closing.