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.IO.Tests fails on iOS/tvOS #51390

Closed
mdh1418 opened this issue Apr 16, 2021 · 1 comment · Fixed by #73374
Closed

System.IO.Tests fails on iOS/tvOS #51390

mdh1418 opened this issue Apr 16, 2021 · 1 comment · Fixed by #73374
Assignees
Labels
Milestone

Comments

@mdh1418
Copy link
Member

mdh1418 commented Apr 16, 2021

System.IO.Tests
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException

System.IO.Tests.dll   Failed: 8

Test collection for System.IO.Tests.StreamReaderTests
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_0857a478a821438b8d2d1f65199c308f' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_0857a478a821438b8d2d1f65199c308f.
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_1ea60ae654374bfc973cea9724a74f64' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_1ea60ae654374bfc973cea9724a74f64.
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_b830dd9cd9824540b6976a8ac37287e3' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_b830dd9cd9824540b6976a8ac37287e3.
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_7f620bba041f408e989383f36a4d4e67' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_7f620bba041f408e989383f36a4d4e67.

Test collection for System.IO.Tests.StreamReaderWithBufferedStream_Tests
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_2df4f425b46a42aba0a3f295d7eb6e80' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_2df4f425b46a42aba0a3f295d7eb6e80.
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a18efeb986b94c8c89cbf70d5272b251' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a18efeb986b94c8c89cbf70d5272b251.
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a805933ed0b74041be0dbb806dbb33a6' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a805933ed0b74041be0dbb806dbb33a6.
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_d33cfc57e83741f980731a4defe8a790' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_d33cfc57e83741f980731a4defe8a790.

@mdh1418 mdh1418 added os-ios Apple iOS os-tvos Apple tvOS labels Apr 16, 2021
@mdh1418 mdh1418 added this to the 6.0.0 milestone Apr 16, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.IO untriaged New issue has not been triaged by the area owner labels Apr 16, 2021
@ghost
Copy link

ghost commented Apr 16, 2021

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

Issue Details

System.IO.Tests
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException

System.IO.Tests.dll   Failed: 8

Test collection for System.IO.Tests.StreamReaderTests
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_0857a478a821438b8d2d1f65199c308f' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_0857a478a821438b8d2d1f65199c308f.
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_1ea60ae654374bfc973cea9724a74f64' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_1ea60ae654374bfc973cea9724a74f64.
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_b830dd9cd9824540b6976a8ac37287e3' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_b830dd9cd9824540b6976a8ac37287e3.
System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_7f620bba041f408e989383f36a4d4e67' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_7f620bba041f408e989383f36a4d4e67.

Test collection for System.IO.Tests.StreamReaderWithBufferedStream_Tests
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_2df4f425b46a42aba0a3f295d7eb6e80' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_2df4f425b46a42aba0a3f295d7eb6e80.
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a18efeb986b94c8c89cbf70d5272b251' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a18efeb986b94c8c89cbf70d5272b251.
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 1, precanceled: True)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a805933ed0b74041be0dbb806dbb33a6' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_a805933ed0b74041be0dbb806dbb33a6.
System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException(method: 0, precanceled: False)
    System.ArgumentOutOfRangeException : The path '/private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_d33cfc57e83741f980731a4defe8a790' is of an invalid length for use with domain sockets on this platform.  The length must be between 1 and 104 characters, inclusive. (Parameter 'path')\nActual value was /private/var/root/Library/Developer/CoreSimulator/Devices/11733F4B-056C-439E-AF1B-8D27E9629CA1/data/Containers/Data/Application/62678B72-71A2-4DF8-AB4A-21BF49015C17/tmp/CoreFxPipe_d33cfc57e83741f980731a4defe8a790.



<table>
  <tr>
    <th align="left">Author:</th>
    <td>mdh1418</td>
  </tr>
  <tr>
    <th align="left">Assignees:</th>
    <td>-</td>
  </tr>
  <tr>
    <th align="left">Labels:</th>
    <td>

`area-System.IO`, `os-ios`, `os-tvos`, `untriaged`

</td>
  </tr>
  <tr>
    <th align="left">Milestone:</th>
    <td>6.0.0</td>
  </tr>
</table>
</details>

@adamsitnik adamsitnik removed the untriaged New issue has not been triaged by the area owner label Jul 1, 2021
@adamsitnik adamsitnik modified the milestones: 6.0.0, 7.0.0 Jul 22, 2021
mkhamoyan added a commit that referenced this issue Jul 27, 2022
mkhamoyan added a commit that referenced this issue Jul 27, 2022
mkhamoyan added a commit that referenced this issue Jul 27, 2022
mkhamoyan added a commit that referenced this issue Aug 2, 2022
mkhamoyan added a commit that referenced this issue Aug 2, 2022
mkhamoyan added a commit that referenced this issue Aug 2, 2022
mkhamoyan added a commit that referenced this issue Aug 2, 2022
mkhamoyan added a commit that referenced this issue Aug 3, 2022
mkhamoyan added a commit that referenced this issue Aug 3, 2022
directhex added a commit to directhex/runtime that referenced this issue Aug 3, 2022
tvOS has a MAX_PATH of 104 characters on domain sockets, and a 90 character
value for GetTempPath. That gives us only 14 characters to play with, and
temp filenames are 12 characters long. We cannot afford the `CoreFxPipe_`
prefix on tvOS, with our tiny character path budget.

Check whether this fixes some or all of dotnet#67853 and dotnet#51390 too.
@mkhamoyan mkhamoyan modified the milestones: 7.0.0, Future Aug 5, 2022
@directhex directhex assigned directhex and unassigned mkhamoyan Aug 5, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 8, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 9, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants