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

Timeout on System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize #88271

Closed
steveharter opened this issue Jun 30, 2023 · 4 comments · Fixed by #88280
Assignees
Labels
area-System.Formats.Tar 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
Milestone

Comments

@steveharter
Copy link
Member

steveharter commented Jun 30, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=326554
Build error leg or test failing: System.Formats.Tar.Tests.WorkItemExecution
Pull request: #87335

C:\h\w\A9A7099D\w\974708AC\e>"C:\h\w\A9A7099D\p\dotnet.exe" exec --runtimeconfig System.Formats.Tar.Tests.runtimeconfig.json --depsfile System.Formats.Tar.Tests.deps.json xunit.console.dll System.Formats.Tar.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing
Discovering: System.Formats.Tar.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Formats.Tar.Tests (found 2 of 648 test cases)
Starting: System.Formats.Tar.Tests (parallel test collections = on, max threads = 2)
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:04:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:06:00
System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(entryFormat: Pax, size: 8589934592, unseekableStream: False) [FAIL]
Assert.Equal() Failure
Expected: 8589934592
Actual: 0
Stack Trace:
/_/src/libraries/System.Formats.Tar/tests/TarWriter/TarWriter.WriteEntry.LongFile.Tests.cs(48,0): at System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(TarEntryFormat entryFormat, Int64 size, Boolean unseekableStream)
at InvokeStub_TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:08:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:10:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:12:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:14:00
['System.Formats.Tar.Tests' END OF WORK ITEM LOG: Command timed out, and was killed]

{
  "ErrorMessage": "System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=326554
Error message validated: System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/30/2023 9:14:46 PM UTC

Report

Build Definition Test Pull Request
342381 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync #88853
342346 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution #88974
342148 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution #88853
341765 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
341757 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341740 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341759 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341761 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
341737 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341758 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341739 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
341743 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
341753 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341756 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341760 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341746 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341762 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341768 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341751 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341736 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341750 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341735 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341742 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341741 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341754 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341572 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
341199 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync #88853
341108 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341106 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341132 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341120 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341111 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341129 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341136 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341126 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341125 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341123 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341109 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341121 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341127 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341134 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341133 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341124 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341107 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341112 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341118 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
341110 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
341119 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
341070 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
340726 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340725 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340717 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340704 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340702 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340718 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340716 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340705 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340719 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340712 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340700 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340710 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340714 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340709 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340728 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340729 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340701 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340715 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340708 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340723 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
340707 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
340699 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
340670 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
339569 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339562 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339566 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339547 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339549 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339541 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339559 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339563 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339556 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339543 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339568 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
339558 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
339564 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339537 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339561 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339545 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339548 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339542 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339544 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339539 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339553 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
339437 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync
339323 dotnet/runtime System.Formats.Tar.Tests.TarWriter_WriteEntryAsync_LongFile_Tests.WriteEntry_LongFileSizeAsync #88893
338729 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution #88853
338275 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
338272 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
338280 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
338271 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution
Displaying 100 of 366 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
26 166 366
@steveharter steveharter added 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 Jun 30, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jun 30, 2023
@ghost
Copy link

ghost commented Jun 30, 2023

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

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=326554
Build error leg or test failing: System.Formats.Tar.Tests.WorkItemExecution
Pull request: #87335

C:\h\w\A9A7099D\w\974708AC\e>"C:\h\w\A9A7099D\p\dotnet.exe" exec --runtimeconfig System.Formats.Tar.Tests.runtimeconfig.json --depsfile System.Formats.Tar.Tests.deps.json xunit.console.dll System.Formats.Tar.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing
Discovering: System.Formats.Tar.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Formats.Tar.Tests (found 2 of 648 test cases)
Starting: System.Formats.Tar.Tests (parallel test collections = on, max threads = 2)
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:04:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:06:00
System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(entryFormat: Pax, size: 8589934592, unseekableStream: False) [FAIL]
Assert.Equal() Failure
Expected: 8589934592
Actual: 0
Stack Trace:
/_/src/libraries/System.Formats.Tar/tests/TarWriter/TarWriter.WriteEntry.LongFile.Tests.cs(48,0): at System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(TarEntryFormat entryFormat, Int64 size, Boolean unseekableStream)
at InvokeStub_TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:08:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:10:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:12:00
System.Formats.Tar.Tests: [Long Running Test] 'System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize', Elapsed: 00:14:00
['System.Formats.Tar.Tests' END OF WORK ITEM LOG: Command timed out, and was killed]

{
  "ErrorMessage": "System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Author: steveharter
Assignees: -
Labels:

blocking-clean-ci, Known Build Error, area-System.Formats.Tar

Milestone: -

@carlossanlop
Copy link
Member

Unsure why the error is a timeout, but it's most likely the same error as #87359

I'm working on a fix for that one.

@carlossanlop carlossanlop self-assigned this Jun 30, 2023
@carlossanlop
Copy link
Member

Ah, it's Release. That's why it's not the same error. The debug error is the result of a Debug.Assert.

@carlossanlop
Copy link
Member

I think the bug causes a timeout because the size is detected as zero, so the logic is unexpectedly unable to advance the stream.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jun 30, 2023
@ViktorHofer ViktorHofer added this to the 8.0.0 milestone Jul 5, 2023
@ViktorHofer ViktorHofer removed the untriaged New issue has not been triaged by the area owner label Jul 5, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 17, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Formats.Tar 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
Projects
None yet
3 participants