Repository navigation
[mono][ios] System.Formats.Tar.Tests are failing with System.ArgumentException #88049
Copy link
Copy link
Closed
Closed
Copy link
Labels
area-System.Formats.Tarblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-tvosApple tvOSApple tvOS
Milestone
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=320749&view=results
Build error leg or test failing: iossimulator-x64 Release AllSubsets_Mono
Pull request: #88042
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "System.ArgumentException : The field 'Name' exceeds the maximum allowed length for this format",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=320749
Result validation: ✅ Known issue matched with the provided build.
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 3 | 25 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Formats.Tarblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-tvosApple tvOSApple tvOS
Activity
kotlarmilos commentedon Jul 11, 2023
@carlossanlop It seems that the regression was introduced in #87534. The issue appears to be specific to the ios and tvos simulators.
kotlarmilos commentedon Jul 24, 2023
This fails only on apple mobile simulators that run Mono Interpreter. My assumption is that the
GetUtf8TextLengthdoesn't return the same value with Interpreter and AOT, but still have to confirm that locally./cc: @BrzVlad
kotlarmilos commentedon Jul 31, 2023
This issue is also occurring on iOS/tvOS devices. For instance in: https://dev.azure.com/dnceng-public/public/_build/results?buildId=357141&view=results. The length of fields exceeds the values set in:
runtime/src/libraries/System.Formats.Tar/src/System/Formats/Tar/FieldLengths.cs
Line 9 in 75ecb1a
@carlossanlop Should we update the fields length to match the following examples?
runtime/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectory.Base.cs
Line 11 in 7b2716b
carlossanlop commentedon Aug 8, 2023
Hi - The Path length used for V7 should stay as is, it's what the spec indicates and it should be respected.
The test could be modified so that the temporary path directory is created with a much shorter path. Would that work?
steveisok commentedon Aug 8, 2023
Yes, definitely.
3 remaining items
carlossanlop commentedon Dec 6, 2023
@kotlarmilos @steveisok the folder used to store files needs to have a shorter path for the test to work (the failure is expected for this tar format). Can you please change it to a shorter directory for this platform?