Repository navigation
Closed
Labels
area-System.Nettest-bugProblem in test source code (most likely)test-run-coreTest failures in .NET Core test runs
Milestone
Description
System.Net.Mail.Functional.Tests Work Item
Console Log Summary
===========================================================================================================
/root/helix/work/workitem /root/helix/work/workitem
Discovering: System.Net.Mail.Functional.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Net.Mail.Functional.Tests (found 145 of 146 test cases)
Starting: System.Net.Mail.Functional.Tests (parallel test collections = on, max threads = 2)
System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientTest.TestZeroTimeout', Elapsed: 00:02:10
System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientTest.TestZeroTimeout', Elapsed: 00:04:10
Process terminated. TestZeroTimeout
at System.Environment.FailFast(System.String)
at System.Net.Mail.Tests.SmtpClientTest.TestZeroTimeout()
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean, Boolean)
at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
at System.Reflection.MethodBase.Invoke(System.Object, System.Object[])
at Xunit.Sdk.TestInvoker`1[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].CallTestMethod(System.Object)
at Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1+<<InvokeTestMethodAsync>b__1>d[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1+<<InvokeTestMethodAsync>b__1>d[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<<InvokeTestMethodAsync>b__1>d<System.__Canon> ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1+<<InvokeTestMethodAsync>b__1>d[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], xunit.execution.dotnet, Version=2.4.1.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<<InvokeTestMethodAsync>b__1>d<System.__Canon> ByRef)
at Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<InvokeTestMethodAsync>b__1()
at Xunit.Sdk.ExecutionTimer+<AggregateAsync>d__4.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.ExecutionTimer+<AggregateAsync>d__4, xunit.execution.dotnet, Version=2.4.1.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<AggregateAsync>d__4 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Xunit.Sdk.ExecutionTimer+<AggregateAsync>d__4, xunit.execution.dotnet, Version=2.4.1.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<AggregateAsync>d__4 ByRef)
at Xunit.Sdk.ExecutionTimer.AggregateAsync(System.Func`1<System.Threading.Tasks.Task>)
at Xunit.Sdk.TestInvoker`1+<>c__DisplayClass48_1[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<InvokeTestMethodAsync>b__0()
at Xunit.Sdk.ExceptionAggregator+<RunAsync>d__9.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Xunit.Sdk.ExceptionAggregator+<RunAsync>d__9, xunit.core, Version=2.4.1.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<RunAsync>d__9 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Xunit.Sdk.ExceptionAggregator+<RunAsync>d__9, xunit.core, Version=2.4.1.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c]](<RunAsync>d__9 ByRef)
at Xunit.Sdk.ExceptionAggregator.RunAsync(System.Func`1<System.Threading.Tasks.Task>)
at Xunit.Sdk.TestInvoker`1+<InvokeTestMethodAsync>d__48[[System.__Canon, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
Eventually leads to core dump
./RunTests.sh: line 161: 21 Aborted (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Net.Mail.Functional.Tests.runtimeconfig.json --depsfile System.Net.Mail.Functional.Tests.deps.json xunit.console.dll System.Net.Mail.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing -notrait category=nonnetcoreapptests -notrait category=nonlinuxtests $RSP_FILE
/root/helix/work/workitem
----- end Tue Feb 4 11:52:04 UTC 2020 ----- exit code 134 ----------------------------------------------------------
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.
Builds
| Build | Pull Request | Test Failure Count |
|---|---|---|
| #505231 | #2052 | 1 |
| #507937 | #1787 | 30 |
| #508637 | Rolling | 1 |
| #508988 | Rolling | 2 |
Configurations
- netcoreapp5.0-Linux-Debug-x64-Mono_release-RedHat.7.Amd64.Open
- netcoreapp5.0-Linux-Release-x64-CoreCLR_release-(Alpine.311.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.11-helix-bfcd90a-20200123191053
- netcoreapp5.0-Linux-Release-x64-CoreCLR_release-(Fedora.30.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-30-helix-4f8cef7-20200121150022
- netcoreapp5.0-Linux-Release-x64-CoreCLR_release-(Ubuntu.1910.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-19.10-helix-amd64-cfcfd50-20191030180623
- netcoreapp5.0-OSX-Debug-x64-CoreCLR_checked-OSX.1013.Amd64.Open
- netcoreapp5.0-OSX-Debug-x64-CoreCLR_release-OSX.1013.Amd64.Open
- netcoreapp5.0-OSX-Debug-x64-CoreCLR_release-OSX.1014.Amd64.Open
- netcoreapp5.0-OSX-Debug-x64-Mono_release-OSX.1013.Amd64.Open
- netcoreapp5.0-OSX-Debug-x64-Mono_release-OSX.1014.Amd64.Open
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_checked-Windows.10.Amd64.Open
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.10.Amd64.Server19H1.ES.Open
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.7.Amd64.Open
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.81.Amd64.Open
- netcoreapp5.0-Windows_NT-Debug-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_checked-Windows.10.Amd64.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.ES.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_release-Windows.7.Amd64.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_release-Windows.81.Amd64.Open
Helix Logs
Metadata
Metadata
Assignees
Labels
area-System.Nettest-bugProblem in test source code (most likely)test-run-coreTest failures in .NET Core test runs
Activity
stephentoub commentedon Feb 4, 2020
cc: @tmds
stephentoub commentedon Feb 4, 2020
@jaredpar, did we successfully get a coredump?
runtime/src/libraries/System.Net.Mail/tests/Functional/SmtpClientTest.cs
Line 330 in 9a8f52c
jaredpar commentedon Feb 4, 2020
@stephentoub
It doesn't appear like we got a coredump. It's not present in the Work Items info. Also looking through the log it seems like the core just wasn't found on the helix machine at all
stephentoub commentedon Feb 4, 2020
@danmosemsft, who's working on ensuring coredumps are working correctly in CI?
danmoseley commentedon Feb 4, 2020
@dotnet/dnceng @mjanecke who owns the coredump facility in Helix jobs?
missymessa commentedon Feb 4, 2020
Which build(s) are missing the dump files? I peeked at a couple of the build links noted above and it looks like there are dump files attached to the failing work item.
jaredpar commentedon Feb 4, 2020
@mjanecke
You're correct. The code I had for grabbing dump file links was busted (simple Regex error). I've updated the bug with all of the core dump links.
danmoseley commentedon Feb 4, 2020
Thank you @mjanecke !
ViktorHofer commentedon Feb 4, 2020
@tmds we finally got a dump: https://helix.dot.net/api/2019-06-17/jobs/7eec8737-2b16-4911-a4c3-b5171573bcb1/workitems/System.Net.Mail.Functional.Tests/files/core.1000.21
tmds commentedon Feb 6, 2020
This unexpected. I thought we had solved this with #22867. I will take a look at the dump.
[-] System.Net.Mail.Functional.Tests failing runtime CI[/-][+]System.Net.Mail.Tests.SmtpClientTest.TestZeroTimeout hangs in CI[/+]tmds commentedon Feb 10, 2020
I tried opening the dump with
dotnet dump analyze, butlibmscordaccore.sois missing:From previous time I looked at a coredump, I think these should be downloaded under
~/.dotnet/symbolcache, but I don't have such a folder.And an attempt with
lldb:@mikem8361 do you know how I can make this work?
40 remaining items
tmds commentedon Mar 17, 2020
@missymessa test coredumps cannot be debugged using lldb.
I still have to check whether they can be debugged with
dotnet-dump, but probably we want lldb to be usable also?missymessa commentedon Mar 17, 2020
@tmds Hi Tom, I created an issue for this feature: https://github.com/dotnet/core-eng/issues/9393
dotnet-policy-service commentedon Dec 5, 2024
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.
This process is part of our issue cleanup automation.
MihaZupan commentedon Dec 5, 2024
This test was re-enabled in #38429.
AndyAyersMS commentedon May 29, 2025
I saw two instances of this in https://dev.azure.com/dnceng-public/public/_build/results?buildId=1054314&view=ms.vss-test-web.build-test-results-tab