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

System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize fails on Mono #88731

Closed
akoeplinger opened this issue Jul 12, 2023 · 3 comments
Assignees
Labels
area-System.Formats.Tar disabled-test The test is disabled in source code against the issue runtime-mono specific to the Mono runtime
Milestone

Comments

@akoeplinger
Copy link
Member

It affects both the sync version and the WriteEntry_LongFileSizeAsync one.
It seems to only happen for the Pax entryformat:

      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:
          /Users/alexander/dev/runtime/src/libraries/System.Formats.Tar/tests/TarWriter/TarWriter.WriteEntry.LongFile.Tests.cs(49,0): at System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(TarEntryFormat entryFormat, Int64 size, Boolean unseekableStream)
             at System.Object.InvokeStub_TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(Object , Object , IntPtr* )
          /Users/alexander/dev/runtime/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(55,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

I'll disable the test for now.

@akoeplinger akoeplinger added runtime-mono specific to the Mono runtime area-System.Formats.Tar labels Jul 12, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 12, 2023
@ghost
Copy link

ghost commented Jul 12, 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

It affects both the sync version and the WriteEntry_LongFileSizeAsync one.
It seems to only happen for the Pax entryformat:

      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:
          /Users/alexander/dev/runtime/src/libraries/System.Formats.Tar/tests/TarWriter/TarWriter.WriteEntry.LongFile.Tests.cs(49,0): at System.Formats.Tar.Tests.TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(TarEntryFormat entryFormat, Int64 size, Boolean unseekableStream)
             at System.Object.InvokeStub_TarWriter_WriteEntry_LongFile_Tests.WriteEntry_LongFileSize(Object , Object , IntPtr* )
          /Users/alexander/dev/runtime/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(55,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

I'll disable the test for now.

Author: akoeplinger
Assignees: -
Labels:

runtime-mono, area-System.Formats.Tar

Milestone: -

@ViktorHofer ViktorHofer removed the untriaged New issue has not been triaged by the area owner label Jul 12, 2023
@ViktorHofer ViktorHofer added this to the 8.0.0 milestone Jul 12, 2023
@akoeplinger akoeplinger added the disabled-test The test is disabled in source code against the issue label Jul 12, 2023
@carlossanlop
Copy link
Member

Thanks, @akoeplinger for disabling it. Do you have a PR? If not, I can send it.

@carlossanlop
Copy link
Member

Duplicate of #88271

@carlossanlop carlossanlop marked this as a duplicate of #88271 Jul 12, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Formats.Tar disabled-test The test is disabled in source code against the issue runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

3 participants