runtime icon indicating copy to clipboard operation
runtime copied to clipboard

System.Net.Mail.Functional.Tests timeout on debug builds

Open tarekgh opened this issue 6 months ago • 2 comments

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1035276 Build error leg or test failing: System.Net.Mail.Functional.Tests.WorkItemExecution Pull request: https://github.com/dotnet/runtime/pull/115350

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "'System.Net.Mail.Functional.Tests' END OF WORK ITEM LOG: Command timed out, and was killed",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1035276 Error message validated: ['System.Net.Mail.Functional.Tests' END OF WORK ITEM LOG: Command timed out, and was killed] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 5/7/2025 8:21:51 PM UTC

Report

Build Definition Test Pull Request
1043242 dotnet/runtime System.Net.Mail.Functional.Tests.WorkItemExecution dotnet/runtime#115408
1042701 dotnet/runtime System.Net.Mail.Functional.Tests.WorkItemExecution dotnet/runtime#114427
1042549 dotnet/runtime System.Net.Mail.Functional.Tests.WorkItemExecution dotnet/runtime#114148

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 3

tarekgh avatar May 07 '25 20:05 tarekgh

Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.

Failed on Windows run: https://helixr1107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-115350-merge-582039f21f3944cfbc/System.Net.Mail.Functional.Tests/1/console.773a117b.log?helixlogtype=result

Console log: 'System.Net.Mail.Functional.Tests' from job 582039f2-1f39-44cf-bcca-e377f8c02b9d workitem 0dfc4089-5cd9-4250-91bf-8c550565bc09 (windows.amd64.server2022.open.rt) executed on machine a009Y35 running Windows-2022Server-10.0.20348-SP0

C:\h\w\A8D409AD\w\AB2A091C\e>set _NT_SYMBOL_PATH=C:\h\w\A8D409AD\p;C:\h\w\A8D409AD\p\PDB;C:\h\w\A8D409AD\p\shared\Microsoft.NETCore.App\10.0.0 

C:\h\w\A8D409AD\w\AB2A091C\e>C:\h\w\A8D409AD\p\dotnet C:\h\w\A8D409AD\p\sos\tools\net6.0\any\dotnet-sos.dll install --architecture x64 
Installing SOS to C:\Users\runner\.dotnet\sos
Creating installation directory...
Copying files from C:\h\w\A8D409AD\p\sos\tools\net6.0\any\win-x64
Copying files from C:\h\w\A8D409AD\p\sos\tools\net6.0\any\lib
Execute '.load C:\Users\runner\.dotnet\sos\sos.dll' to load SOS in your Windows debugger.
SOS install succeeded

C:\h\w\A8D409AD\w\AB2A091C\e>taskkill.exe /f /im corerun.exe 
ERROR: The process "corerun.exe" not found.

C:\h\w\A8D409AD\w\AB2A091C\e>set __TestArchitecture=x64 

C:\h\w\A8D409AD\w\AB2A091C\e>call RunTests.cmd --runtime-path C:\h\w\A8D409AD\p 
========================= Begin custom configuration settings ==============================
set __IsXUnitLogCheckerSupported=1
set XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1
========================== End custom configuration settings ===============================
----- start Wed 05/07/2025 17:22:22.04 ===============  To repro directly: =====================================================
pushd C:\h\w\A8D409AD\w\AB2A091C\e\
"C:\h\w\A8D409AD\p\dotnet.exe" 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 
popd
===========================================================================================================

C:\h\w\A8D409AD\w\AB2A091C\e>"C:\h\w\A8D409AD\p\dotnet.exe" 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  
  Discovering: System.Net.Mail.Functional.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Mail.Functional.Tests (found 226 test cases)
  Starting:    System.Net.Mail.Functional.Tests (parallel test collections = on [2 threads], stop on fail = off)
   System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientAuthTest_SendMailAsync.TestCredentialsCopyInAsyncContext', Elapsed: 00:04:43
   System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientAuthTest_SendMailAsync.TestCredentialsCopyInAsyncContext', Elapsed: 00:06:43
   System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientAuthTest_SendMailAsync.TestCredentialsCopyInAsyncContext', Elapsed: 00:08:43
   System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientAuthTest_SendMailAsync.TestCredentialsCopyInAsyncContext', Elapsed: 00:10:44
   System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientAuthTest_SendMailAsync.TestCredentialsCopyInAsyncContext', Elapsed: 00:12:44
   System.Net.Mail.Functional.Tests: [Long Running Test] 'System.Net.Mail.Tests.SmtpClientAuthTest_SendMailAsync.TestCredentialsCopyInAsyncContext', Elapsed: 00:14:44
['System.Net.Mail.Functional.Tests' END OF WORK ITEM LOG: Command timed out, and was killed]

can you please take a look @rzikm ?

wfurt avatar May 07 '25 21:05 wfurt

removing blocking-clean-ci as it has not failed in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

jeffschwMSFT avatar Jun 16 '25 18:06 jeffschwMSFT

Stopped happening, likely fixed by https://github.com/dotnet/runtime/pull/115366 or https://github.com/dotnet/runtime/pull/115722

rzikm avatar Jul 28 '25 13:07 rzikm