Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[macOS-arm64] 233 System.IO.MemoryMappedFiles.Tests failing on CoreCLR #49104

Closed
sdmaclea opened this issue Mar 4, 2021 · 1 comment
Closed
Assignees
Labels
arch-arm64 area-System.IO disabled-test The test is disabled in source code against the issue needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration os-macos-bigsur (macOS11)
Milestone

Comments

@sdmaclea
Copy link
Contributor

sdmaclea commented Mar 4, 2021

Initial scan of the log shows most fail with
System.IO.PathTooLongException : The specified file name or path is too long, or a component of the specified path is too long.

See https://dev.azure.com/dnceng/public/_build/results?buildId=1021947

For instance

System.IO.MemoryMappedFiles.Tests.MemoryMappedFileTests_CreateNew.ValidArgumentCombinations(mapName: null, capacity: 1, access: Read, options: None, inheritability: None) [FAIL]
      System.IO.PathTooLongException : The specified file name or path is too long, or a component of the specified path is too long.
      Stack Trace:
        /_/src/libraries/System.IO.MemoryMappedFiles/src/System/IO/MemoryMappedFiles/MemoryMappedFile.Unix.cs(208,0): at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateSharedBackingObjectUsingMemory(MemoryMappedProtections protections, Int64 capacity, HandleInheritability inheritability)
        /_/src/libraries/System.IO.MemoryMappedFiles/src/System/IO/MemoryMappedFiles/MemoryMappedFile.Unix.cs(169,0): at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateSharedBackingObject(MemoryMappedProtections protections, Int64 capacity, HandleInheritability inheritability)
        /_/src/libraries/System.IO.MemoryMappedFiles/src/System/IO/MemoryMappedFiles/MemoryMappedFile.Unix.cs(111,0): at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateCore(FileStream fileStream, String mapName, HandleInheritability inheritability, MemoryMappedFileAccess access, MemoryMappedFileOptions options, Int64 capacity)
        /_/src/libraries/System.IO.MemoryMappedFiles/src/System/IO/MemoryMappedFiles/MemoryMappedFile.cs(290,0): at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateNew(String mapName, Int64 capacity, MemoryMappedFileAccess access, MemoryMappedFileOptions options, HandleInheritability inheritability)
        /_/src/libraries/System.IO.MemoryMappedFiles/src/System/IO/MemoryMappedFiles/MemoryMappedFile.cs(240,0): at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateNew(String mapName, Int64 capacity)
        /_/src/libraries/System.IO.MemoryMappedFiles/tests/MemoryMappedFile.CreateNew.Tests.cs(193,0): at System.IO.MemoryMappedFiles.Tests.MemoryMappedFileTests_CreateNew.ValidArgumentCombinations(String mapName, Int64 capacity, MemoryMappedFileAccess access, MemoryMappedFileOptions options, HandleInheritability inheritability)
System.IO.MemoryMappedFiles.Tests.MemoryMappedFileTests_CreateNew.ValidArgumentCombinations(mapName: null, capacity: 1, access: Read, options: None, inheritability: Inheritable) [FAIL]
      System.IO.PathTooLongException : The specified file name or path is too long, or a component of the specified path is too long.

System.IO.MemoryMappedFiles.Tests.MemoryMappedFileTests_CreateNew.ValidArgumentCombinations(mapName: null, capacity: 1, access: Read, options: DelayAllocatePages, inheritability: None) [FAIL]
      System.IO.PathTooLongException : The specified file name or path is too long, or a component of the specified path is too long.
...
System.IO.MemoryMappedFiles.Tests.MemoryMappedFileTests_CreateNew.ManyConcurrentMaps [FAIL]
      System.IO.PathTooLongException : The specified file name or path is too long, or a component of the specified path is too long.
...
System.IO.MemoryMappedFiles.Tests.MemoryMappedFileTests_CreateNew.UnusableAfterDispose [FAIL]
      System.IO.PathTooLongException : The specified file name or path is too long, or a component of the specified path is too long.
@sdmaclea sdmaclea added this to the 6.0.0 milestone Mar 4, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Mar 4, 2021
@carlossanlop carlossanlop added needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration and removed untriaged New issue has not been triaged by the area owner labels Mar 11, 2021
@sdmaclea sdmaclea added the disabled-test The test is disabled in source code against the issue label Apr 8, 2021
@adamsitnik adamsitnik modified the milestones: 6.0.0, 7.0.0 Jul 22, 2021
@jozkee
Copy link
Member

jozkee commented Oct 19, 2021

This no longer fails and tests were re-enabled in #60609.

@jozkee jozkee closed this as completed Oct 19, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Nov 19, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
arch-arm64 area-System.IO disabled-test The test is disabled in source code against the issue needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration os-macos-bigsur (macOS11)
Projects
None yet
Development

No branches or pull requests

4 participants