Skip to content

macOS does not define IOV_MAX, it uses UIO_MAXIOV instead #109819

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

Closed
wants to merge 1 commit into from

Conversation

adamsitnik
Copy link
Member

Console log: 'System.IO.FileSystem.Tests' from job e1129958-3e30-4571-975b-814437ded6ef workitem 62d43513-46a3-49d0-aa6c-d64b6c93c90d (osx.1200.arm64.open) executed on machine dci-macm1-build-089.local running macOS-12.7.2
+ ./RunTests.sh --runtime-path /tmp/helix/working/97EF08C9/p
----- start Wed Nov 13 05:30:18 PST 2024 =============== To repro directly: =====================================================
pushd .
/tmp/helix/working/97EF08C9/p/dotnet exec --runtimeconfig System.IO.FileSystem.Tests.runtimeconfig.json --depsfile System.IO.FileSystem.Tests.deps.json xunit.console.dll System.IO.FileSystem.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing 
popd
===========================================================================================================
/private/tmp/helix/working/97EF08C9/w/A24C0940/e /private/tmp/helix/working/97EF08C9/w/A24C0940/e
  Discovering: System.IO.FileSystem.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.IO.FileSystem.Tests (found 48 of 4132 test cases)
  Starting:    System.IO.FileSystem.Tests (parallel test collections = on, max threads = 8)
    System.IO.Tests.PathDirectory_Exists.PathWithReservedDeviceNameAsPath_ReturnsFalse [SKIP]
      Condition(s) not met: "ReservedDeviceNamesAreBlocked"
    System.IO.Tests.Directory_Exists.PathWithReservedDeviceNameAsPath_ReturnsFalse [SKIP]
      Condition(s) not met: "ReservedDeviceNamesAreBlocked"
    System.IO.Tests.File_Exists.PathWithReservedDeviceNameAsPath_ReturnsFalse [SKIP]
      Condition(s) not met: "ReservedDeviceNamesAreBlocked"
    System.IO.Tests.PathFile_Exists.PathWithReservedDeviceNameAsPath_ReturnsFalse [SKIP]
      Condition(s) not met: "ReservedDeviceNamesAreBlocked"
    System.IO.Tests.RandomAccess_WriteGatherAsync.NoInt32OverflowForLargeInputs(asyncFile: False, asyncMethod: False) [FAIL]
      System.IO.IOException : Invalid argument : '/tmp/helix/working/97EF08C9/t/#RandomAccess_WriteGatherAsync_rlmszfxh.5lp/NoInt32OverflowForLargeInputs_153_u9oqsjfv'
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.Unix.cs(205,0): at System.IO.RandomAccess.WriteGatherAtOffset(SafeFileHandle handle, IReadOnlyList`1 buffers, Int64 fileOffset)
        /_/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.cs(194,0): at System.IO.RandomAccess.Write(SafeFileHandle handle, IReadOnlyList`1 buffers, Int64 fileOffset)
        /_/src/libraries/System.IO.FileSystem/tests/RandomAccess/WriteGatherAsync.cs(193,0): at System.IO.Tests.RandomAccess_WriteGatherAsync.NoInt32OverflowForLargeInputs(Boolean asyncFile, Boolean asyncMethod)
        --- End of stack trace from previous location ---

@adamsitnik adamsitnik added this to the 10.0.0 milestone Nov 14, 2024
@adamsitnik adamsitnik self-assigned this Nov 14, 2024
@adamsitnik
Copy link
Member Author

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

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

@adamsitnik
Copy link
Member Author

This fix is going to be included in #109826

@adamsitnik adamsitnik closed this Nov 15, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant