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

Directory.CreateDirectory: create missing parents using default UnixFileMode. #74002

Merged
merged 7 commits into from
Aug 19, 2022

Conversation

tmds
Copy link
Member

@tmds tmds commented Aug 16, 2022

Fixes #73899.

@jozkee @adamsitnik @eerhardt @dotnet/area-system-io ptal.

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Aug 16, 2022
@ghost
Copy link

ghost commented Aug 16, 2022

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

Issue Details

Fixes #73899.

@jozkee @adamsitnik @eerhardt @dotnet/area-system-io ptal.

Author: tmds
Assignees: -
Labels:

area-System.IO

Milestone: -

@adamsitnik adamsitnik added this to the 7.0.0 milestone Aug 17, 2022
@jozkee jozkee requested a review from carlossanlop August 17, 2022 21:57
Copy link
Member

@carlossanlop carlossanlop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending resolving the open comments and assuming the CI passes.

@carlossanlop
Copy link
Member

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@carlossanlop carlossanlop self-requested a review August 18, 2022 03:18
@carlossanlop
Copy link
Member

carlossanlop commented Aug 18, 2022

There are test failures in runtime-extra-platforms and they seem related to this PR.

Note: In case you don't know how to retrieve the logs for mobile platforms, here are instructions:

Instructions
  1. Click on the Checks tab.
  2. Click on the "X errors and warnings" link.
  3. Go to the "Tests" tab.
  4. Filter "System.Formats.Tar".
  5. Click on any of the filtered results.
  6. On the right sidebar, click on "Artifacts" tab.
  7. Select the *.log file that contains "System.Formats.Tar" in the name.

Example:

image

All the failures seem to be the same for the 4 CI legs where they showed up:

  • net7.0-Android-Release-arm-Mono_Release-Windows.10.Amd64.Android.Open
  • net7.0-Android-Release-arm64-Mono_Release-Windows.10.Amd64.Android.Open
  • net7.0-Android-Release-x64-Mono_Release-Ubuntu.1804.Amd64.Android.29.Open
  • net7.0-Android-Release-x86-Mono_Release-Ubuntu.1804.Amd64.Android.29.Open

The tests fail here:

System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
Callstacks
08-17 16:52:37.242 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.242 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.242 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup
08-17 16:52:37.242 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.242 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.242 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.242 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.242 25995 26101 I DOTNET  :    Execution time: 0.001285
08-17 16:52:37.242 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.242 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: Gnu, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.242 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.242 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.242 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.242 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.242 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.242 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.242 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.242 25995 26101 I DOTNET  :    Execution time: 0.001285
08-17 16:52:37.246 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Constructor_Name_FullPath_DestinationDirectory_Match
08-17 16:52:37.248 25995 26101 I chatty  : uid=13015(net.dot.System.Formats.Tar.Tests) identical 2 lines
08-17 16:52:37.250 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Constructor_Name_FullPath_DestinationDirectory_Match
08-17 16:52:37.250 25995 26101 I DOTNET  : System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests 0.0326646 ms
08-17 16:52:37.250 25995 26101 I DOTNET  : 
08-17 16:52:37.250 25995 26101 I DOTNET  : Test collection for System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests
08-17 16:52:37.257 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: V7, entryType: V7RegularFile)
08-17 16:52:37.257 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.257 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.257 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.257 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead
08-17 16:52:37.257 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.257 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.257 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.257 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.257 25995 26101 I DOTNET  :    Execution time: 0.0036314
08-17 16:52:37.257 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.257 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: V7, entryType: V7RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.257 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.257 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.257 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.257 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.257 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.257 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.257 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.257 25995 26101 I DOTNET  :    Execution time: 0.0036314
08-17 16:52:37.260 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: V7, entryType: Directory)
08-17 16:52:37.260 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.260 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.260 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.260 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup
08-17 16:52:37.260 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.260 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.260 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.260 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.260 25995 26101 I DOTNET  :    Execution time: 0.0011547
08-17 16:52:37.260 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.260 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: V7, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.260 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.260 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.260 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.260 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.260 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.260 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.260 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.260 25995 26101 I DOTNET  :    Execution time: 0.0011547
08-17 16:52:37.262 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Ustar, entryType: RegularFile)
08-17 16:52:37.263 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.263 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.263 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.263 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead
08-17 16:52:37.263 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.263 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.263 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.263 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.263 25995 26101 I DOTNET  :    Execution time: 0.0012396
08-17 16:52:37.263 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.263 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Ustar, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.263 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.263 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.263 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.263 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.263 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.263 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.263 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.263 25995 26101 I DOTNET  :    Execution time: 0.0012396
08-17 16:52:37.265 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Ustar, entryType: Directory)
08-17 16:52:37.265 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.265 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.265 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.265 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup
08-17 16:52:37.265 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.265 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.265 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.265 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.265 25995 26101 I DOTNET  :    Execution time: 0.0011475
08-17 16:52:37.265 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.265 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Ustar, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.265 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.265 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.265 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.265 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.265 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.265 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.265 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.265 25995 26101 I DOTNET  :    Execution time: 0.0011475
08-17 16:52:37.268 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Pax, entryType: RegularFile)
08-17 16:52:37.268 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.268 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.268 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.268 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead
08-17 16:52:37.268 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.268 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.268 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.268 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.268 25995 26101 I DOTNET  :    Execution time: 0.0011957
08-17 16:52:37.268 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.268 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Pax, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.268 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.268 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.268 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.268 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.268 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.268 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.268 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.268 25995 26101 I DOTNET  :    Execution time: 0.0011957
08-17 16:52:37.270 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Pax, entryType: Directory)
08-17 16:52:37.270 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.270 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.270 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.270 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup
08-17 16:52:37.270 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.270 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.270 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.270 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.270 25995 26101 I DOTNET  :    Execution time: 0.0012012
08-17 16:52:37.270 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.270 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Pax, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.270 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.270 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.270 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.271 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.271 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.271 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.271 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.271 25995 26101 I DOTNET  :    Execution time: 0.0012012
08-17 16:52:37.273 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Gnu, entryType: RegularFile)
08-17 16:52:37.273 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.273 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.273 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.273 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead
08-17 16:52:37.273 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.273 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.273 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.273 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.273 25995 26101 I DOTNET  :    Execution time: 0.0011861
08-17 16:52:37.273 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.273 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Gnu, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.273 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.273 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.273 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.273 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.273 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.273 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.273 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.273 25995 26101 I DOTNET  :    Execution time: 0.0011861
08-17 16:52:37.275 25995 26101 I DOTNET  :    Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Gnu, entryType: Directory)
08-17 16:52:37.275 25995 26101 I DOTNET  :    Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.275 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.275 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.275 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup
08-17 16:52:37.276 25995 26101 I DOTNET  :    Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.276 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.276 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.276 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.276 25995 26101 I DOTNET  :    Execution time: 0.001087
08-17 16:52:37.280 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.280 25995 26101 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Gnu, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.280 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.280 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.280 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.280 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.280 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.280 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.280 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.280 25995 26101 I DOTNET  :    Execution time: 0.001087
08-17 16:52:37.284 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.ExtractToFileAsync_Cancel
08-17 16:52:37.286 25995 26101 I chatty  : uid=13015(net.dot.System.Formats.Tar.Tests) identical 2 lines
08-17 16:52:37.286 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.ExtractToFileAsync_Cancel
08-17 16:52:37.292 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Constructor_Name_FullPath_DestinationDirectory_Mismatch_Throws_Async
08-17 16:52:37.294 25995 26101 I chatty  : uid=13015(net.dot.System.Formats.Tar.Tests) identical 2 lines
08-17 16:52:37.295 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Constructor_Name_FullPath_DestinationDirectory_Mismatch_Throws_Async
08-17 16:52:37.302 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Constructor_Name_FullPath_DestinationDirectory_Match_Async
08-17 16:52:37.306 25995 26101 I chatty  : uid=13015(net.dot.System.Formats.Tar.Tests) identical 2 lines
08-17 16:52:37.308 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Constructor_Name_FullPath_DestinationDirectory_Match_Async
08-17 16:52:37.314 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Constructor_Name_FullPath_DestinationDirectory_Match_AdditionalSubdirectory_Throws_Async
08-17 16:52:37.316 25995 26101 I chatty  : uid=13015(net.dot.System.Formats.Tar.Tests) identical 2 lines
08-17 16:52:37.317 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Constructor_Name_FullPath_DestinationDirectory_Match_AdditionalSubdirectory_Throws_Async
08-17 16:52:37.323 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.ExtractToFile_Link_Throws_Async
08-17 16:52:37.329 25995 26101 I chatty  : uid=13015(net.dot.System.Formats.Tar.Tests) identical 6 lines
08-17 16:52:37.330 25995 26101 I DOTNET  : 	[PASS] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.ExtractToFile_Link_Throws_Async
08-17 16:52:37.330 25995 26101 I DOTNET  : System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests 0.0434689 ms
08-17 16:52:37.352 25995 26101 I DOTNET  : Failed tests:
08-17 16:52:37.374 25995 26101 I DOTNET  : 1) 	[FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir   Test name: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir(overwrite: True)   Test case: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir
08-17 16:52:37.374 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.374 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.374 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.374 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir(Boolean overwrite) in /_/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectory.File.Tests.cs:line 270
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.374 25995 26101 I DOTNET  :    Execution time: 0.0211752
08-17 16:52:37.374 25995 26101 I DOTNET  : 2) 	[FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir   Test name: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir(overwrite: False)   Test case: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir
08-17 16:52:37.374 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.374 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.374 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.374 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes_RestrictiveParentDir(Boolean overwrite) in /_/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectory.File.Tests.cs:line 270
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.374 25995 26101 I DOTNET  :    Execution time: 0.003408
08-17 16:52:37.374 25995 26101 I DOTNET  : 3) 	[FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes   Test name: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes(overwrite: True)   Test case: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes
08-17 16:52:37.374 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.374 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.374 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.374 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes(Boolean overwrite) in /_/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectory.File.Tests.cs:line 214
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.374 25995 26101 I DOTNET  :    Execution time: 0.0056125
08-17 16:52:37.374 25995 26101 I DOTNET  : 4) 	[FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes   Test name: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes(overwrite: False)   Test case: System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes
08-17 16:52:37.374 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.374 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.374 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.374 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.UnixFileModes(Boolean overwrite) in /_/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectory.File.Tests.cs:line 214
08-17 16:52:37.374 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.374 25995 26101 I DOTNET  :    Execution time: 0.0032359
08-17 16:52:37.375 25995 26101 I DOTNET  : 5) 	[FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_RestrictiveParentDir_Async   Test name: System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_RestrictiveParentDir_Async
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_RestrictiveParentDir_Async() in /_/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.File.Tests.cs:line 292
08-17 16:52:37.375 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0089194
08-17 16:52:37.375 25995 26101 I DOTNET  : 6) 	[FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async   Test name: System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async(overwrite: True)   Test case: System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async(Boolean overwrite) in /_/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.File.Tests.cs:line 245
08-17 16:52:37.375 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.008638
08-17 16:52:37.375 25995 26101 I DOTNET  : 7) 	[FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async   Test name: System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async(overwrite: False)   Test case: System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_Async(Boolean overwrite) in /_/src/libraries/System.Formats.Tar/tests/TarFile/TarFile.ExtractToDirectoryAsync.File.Tests.cs:line 245
08-17 16:52:37.375 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0048634
08-17 16:52:37.375 25995 26101 I DOTNET  : 8) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: V7, entryType: V7RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0030503
08-17 16:52:37.375 25995 26101 I DOTNET  : 9) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: V7, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0014438
08-17 16:52:37.375 25995 26101 I DOTNET  : 10) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: Ustar, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0014779
08-17 16:52:37.375 25995 26101 I DOTNET  : 11) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: Ustar, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0014526
08-17 16:52:37.375 25995 26101 I DOTNET  : 12) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: Pax, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0014039
08-17 16:52:37.375 25995 26101 I DOTNET  : 13) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: Pax, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0013384
08-17 16:52:37.375 25995 26101 I DOTNET  : 14) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: Gnu, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.0014968
08-17 16:52:37.375 25995 26101 I DOTNET  : 15) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(format: Gnu, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFile_Tests.Extract(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFile.Tests.cs:line 108
08-17 16:52:37.375 25995 26101 I DOTNET  :    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
08-17 16:52:37.375 25995 26101 I DOTNET  :    Execution time: 0.001285
08-17 16:52:37.375 25995 26101 I DOTNET  : 16) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: V7, entryType: V7RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.375 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.375 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.375 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.375 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.376 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.376 25995 26101 I DOTNET  :    Execution time: 0.0036314
08-17 16:52:37.376 25995 26101 I DOTNET  : 17) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: V7, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.376 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.376 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.376 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.376 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.376 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.376 25995 26101 I DOTNET  :    Execution time: 0.0011547
08-17 16:52:37.376 25995 26101 I DOTNET  : 18) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Ustar, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.376 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.376 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.376 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.376 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.376 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.376 25995 26101 I DOTNET  :    Execution time: 0.0012396
08-17 16:52:37.376 25995 26101 I DOTNET  : 19) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Ustar, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.376 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.376 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.376 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.376 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.376 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.376 25995 26101 I DOTNET  :    Execution time: 0.0011475
08-17 16:52:37.376 25995 26101 I DOTNET  : 20) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Pax, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.376 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.376 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.376 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.376 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.376 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.376 25995 26101 I DOTNET  :    Execution time: 0.0011957
08-17 16:52:37.376 25995 26101 I DOTNET  : 21) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Pax, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.376 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.376 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.376 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.376 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.376 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.376 25995 26101 I DOTNET  :    Execution time: 0.0012012
08-17 16:52:37.376 25995 26101 I DOTNET  : 22) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Gnu, entryType: RegularFile)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.376 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.376 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.376 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.376 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127
08-17 16:52:37.376 25995 26101 I DOTNET  : --- End of stack trace from previous location ---
08-17 16:52:37.376 25995 26101 I DOTNET  :    Execution time: 0.0011861
08-17 16:52:37.376 25995 26101 I DOTNET  : 23) 	[FAIL] System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async   Test name: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(format: Gnu, entryType: Directory)   Test case: System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async
08-17 16:52:37.376 25995 26101 I DOTNET  :    Assembly:  [System.Formats.Tar.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
08-17 16:52:37.376 25995 26101 I DOTNET  :    Exception messages: Assert.Equal() Failure
08-17 16:52:37.376 25995 26101 I DOTNET  : Expected: GroupRead | UserExecute | UserWrite | UserRead
08-17 16:52:37.376 25995 26101 I DOTNET  : Actual:   UserExecute | UserWrite | UserRead | SetGroup   Exception stack traces:    at System.Formats.Tar.Tests.TarTestsBase.AssertFileModeEquals(String path, UnixFileMode mode) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 421
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarTestsBase.Verify_Extract(String destination, TarEntry entry, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarTestsBase.cs:line 452
08-17 16:52:37.376 25995 26101 I DOTNET  :    at System.Formats.Tar.Tests.TarEntry_ExtractToFileAsync_Tests.Extract_Async(TarEntryFormat format, TarEntryType entryType) in /_/src/libraries/System.Formats.Tar/tests/TarEntry/TarEntry.ExtractToFileAsync.Tests.cs:line 127

@adamsitnik
Copy link
Member

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tmds
Copy link
Member Author

tmds commented Aug 18, 2022

I'm going to make another change here based on the discussion with @jozkee (#74002 (comment)).

tar's default behavior is to overwrite dir metadata, so I'm going to change CreateDirectory to also do that.

@tmds tmds changed the title Directory.CreateDirectory: create missing parents using default UnixFileMode. [No Merge] Directory.CreateDirectory: create missing parents using default UnixFileMode. Aug 18, 2022
@tmds tmds marked this pull request as draft August 18, 2022 19:43
@tmds tmds changed the title [No Merge] Directory.CreateDirectory: create missing parents using default UnixFileMode. Directory.CreateDirectory: create missing parents using default UnixFileMode. Aug 19, 2022
@tmds tmds marked this pull request as ready for review August 19, 2022 04:40
@tmds
Copy link
Member Author

tmds commented Aug 19, 2022

AssertFileModeEquals no longer skips on Android. Can you run the runtime-extra-platforms tests?

@danmoseley
Copy link
Member

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jozkee
Copy link
Member

jozkee commented Aug 19, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Comment on lines -79 to -80
// Apply permissions to an existing directory when we're overwriting metadata
// or the directory was created as a missing parent (stored in pendingModes).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the directory existed prior to TarFile.ExtractToDirectory(), with overwrite:false we don't throw exception? Documentation for overwriteFiles param says otherwise:

true to overwrite files and directories in destinationDirectoryName; false to avoid overwriting, and throw if any files or directories are found with existing names.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

The behavior is the same as tar. When not passing the --overwrite flag, t doesn't give an error when extracting a directory that already exists, and it does set the mode of that directory.

const UnixFileMode ExtractPermissions = UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute;

Debug.Assert(pendingModes is not null);

if (Directory.Exists(fullPath))
{
// Apply permissions to an existing directory when we're overwriting metadata
// or the directory was created as a missing parent (stored in pendingModes).
// Apply permissions to an existing directory.
if (mode.HasValue)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know tar overwrites metadata for existing directories by default, but it feels counterintuitive for our API to do that when overwriteFiles is false. I really don't know what's best here.

Suggested change
if (mode.HasValue)
if (mode.HasValue && overwriteMetadata)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tar has this behavior.

       --overwrite
              Overwrite existing files when extracting.

       --overwrite-dir
              Overwrite metadata of existing directories when extracting (default).

--overwrite control in .NET is through overwrite.
.NET doesn't have an arg for --overwrite-dir but the behavior matches with the tar default.

I think we're good.

@tmds
Copy link
Member Author

tmds commented Aug 19, 2022

I pushed the whitespace change before the Android platforms ran and they got cancelled.
Can you once more trigger runtime-extra-platforms?

@jozkee
Copy link
Member

jozkee commented Aug 19, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jozkee
Copy link
Member

jozkee commented Aug 19, 2022

CI issues on extra-platforms are not related to System.Formats.Tar nor System.IO.Directory.

@jozkee jozkee merged commit b284fa6 into dotnet:main Aug 19, 2022
@jozkee
Copy link
Member

jozkee commented Aug 19, 2022

/backport to release/7.0-rc1

@github-actions
Copy link
Contributor

Started backporting to release/7.0-rc1: https://github.com/dotnet/runtime/actions/runs/2892175875

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Formats.Tar community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Directory.CreateDirectory with UnixFileMode: behavior for missing parents
6 participants