Skip to content

UnauthorizedAccessException: Permission denied creating hard links in Android app sandbox #126297

@MatousBot

Description

@MatousBot

Suggested labels: Known Build Error, test-failure, os-android, arch-x64, arch-x86, arch-arm64, untriaged

Note: This issue was automatically generated by AI-Test-Triage. Please review and triage accordingly.

Build Information

Build: 20260325.4, 20260326.2

Build error leg or test failing: System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_Stream_Tests.CreateFromDirectoryAsync_UsesWriterOptions, System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_File_Tests.CreateFromDirectoryAsync_UsesWriterOptions, System.Formats.Tar.Tests.TarWriter_WriteEntry_File_Tests.WriteEntry_HardLinks, System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.HardLinkExtraction_CopyContentsAsync, System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions, System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtraction_CopyContents, System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtractionRoundtrip, System.Formats.Tar.Tests.TarFile_CreateFromDirectory_Stream_Tests.CreateFromDirectory_UsesWriterOptions, System.Formats.Tar.Tests.WorkItemExecution

Affected CI jobs: build_Android_x86_Release_AllSubsets_Mono, build_Android_arm_Release_AllSubsets_Mono, build_Android_arm64_Release_AllSubsets_Mono, build_Android_x64_Release_AllSubsets_Mono, build_android_arm64_Release_AllSubsets_CoreCLR, build_android_x64_Release_AllSubsets_CoreCLR

Causing Commit Range Information

Commit range: {TODO: Insert commit range or link to changes}

Summary

  • System.UnauthorizedAccessException (System.IO.IOException: Permission denied) thrown from System.IO.File.CreateHardLink during tar hard-link operations.
  • Observed on Android across architectures and runtimes (x86, arm, arm64, x64; Mono and CoreCLR); failing paths under /data/user/0 indicate app sandbox.
  • SELinux AVC denials observed (e.g., denied { link } and denied { ioctl }) indicating OS-level prohibition of link or related file ops from untrusted_app to app_data_file.
  • Failures occur during System.Formats.Tar operations (CreateFromDirectory, WriteEntry, ExtractToDirectory); processes exit with code 1 and fail quickly.

Failure Statistics

Note: These statistics are based on the configured time range and might not reflect the full history of the failure.

  • Occurrence Count: 154
  • First Failure: 2026-03-26 11:07:29 UTC
  • Last Failure: 2026-03-27 07:03:37 UTC

Work Items

Showing 10 most recent of 154 occurrences

Work Item Console Log Build Job Name
System.Formats.Tar.Tests Work Item
View Extract
                 03-27 04:23:06.954  8091  8114 I DOTNET  : 	[FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_Stream_Tests.CreateFromDirectoryAsync_UsesWriterOptions(toggle: True)
03-27 04:23:06.954 8091 8114 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/f3f5xvbt.cfg/linked.txt' is denied.
03-27 04:23:06.954 8091 8114 I DOTNET : ---- System.IO.IOException : Permission denied
03-27 04:23:06.954 8091 8114 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-27 04:23:06.963 8091 8114 I DOTNET : at System.IO.FileSystem.CreateHardLink(String path, String pathToTarget)
03-27 04:23:06.963 8091 8114 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-27 04:23:06.963 8091 8114 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
...
03-27 04:23:21.700 8091 8091 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:451): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="vdc" ino=124007 scontext=u:r:untrusted_app:s0:c148,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c148,c256,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-27 04:23:21.710 8091 8091 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:452): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="vdc" ino=124007 scontext=u:r:untrusted_app:s0:c148,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c148,c256,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
...
[04:23:26] fail: Non-success instrumentation exit code: 1, expected: 0
XHarness exit code: 1 (TESTS_FAILED)
Full Log
20260326.2 build_android_x64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions
View Extract
                 03-26 21:14:34.595 12819 12842 D DOTNET  : Mapped System.Diagnostics.StackTrace.dll -> /data/user/0/net.dot.System.Formats.Tar.Tests/files/System.Diagnostics.StackTrace.dll
03-26 21:14:34.550 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959293): avc: denied { link } for comm=2E4E455420545020576F726B6572 name="file.txt" dev="dm-34" ino=9582573 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:14:34.648 12819 12842 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions(toggle: True)
03-26 21:14:34.648 12819 12842 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/ggwz5pvg.x0m/linked.txt' is denied.
03-26 21:14:34.648 12819 12842 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:14:34.648 12819 12842 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:14:34.648 12819 12842 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:14:34.648 12819 12842 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:14:34.648 12819 12842 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
03-26 21:14:34.650 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959294): avc: denied { link } for comm=2E4E455420545020576F726B6572 name="file.txt" dev="dm-34" ino=9582687 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:14:34.655 12819 12842 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions(toggle: False)
03-26 21:14:34.655 12819 12842 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/5uzfqzgr.wof/linked.txt' is denied.
03-26 21:15:08.019 12819 17324 I DOTNET : Failed tests:
03-26 21:15:08.020 12819 17324 I DOTNET : 1) [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions Test name: System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions(toggle: True)
03-26 21:15:08.020 12819 17324 I DOTNET : Exception messages: System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/ggwz5pvg.x0m/linked.txt' is denied.
03-26 21:15:08.020 12819 17324 I DOTNET : ---- System.IO.IOException : Permission denied
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtraction_CopyContents
View Extract
03-26 21:14:35.270 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959295): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="dm-34" ino=9583406 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:14:35.278 12819 12880 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtraction_CopyContents
03-26 21:14:35.278 12819 12880 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/dda1mur3.hbh/source/dir2/linked.txt' is denied.
03-26 21:14:35.278 12819 12880 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:14:35.278 12819 12880 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:14:35.278 12819 12880 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:14:35.278 12819 12880 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:14:35.278 12819 12880 I DOTNET : at System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtraction_CopyContents()

03-26 21:15:08.020 12819 17324 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:15:08.020 12819 17324 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:15:08.020 12819 17324 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
03-26 21:15:08.020 12819 17324 I DOTNET : at System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions(Boolean toggle)
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtractionRoundtrip
View Extract
03-26 21:14:35.390 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959297): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="dm-34" ino=9583084 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:14:35.395 12819 12880 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtractionRoundtrip(format: V7, linkMode: PreserveLink)
03-26 21:14:35.396 12819 12880 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/zuvekrf4.k4f/source/dir2/linked.txt' is denied.
03-26 21:14:35.396 12819 12880 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:14:35.396 12819 12880 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:14:35.396 12819 12880 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:14:35.396 12819 12880 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:14:35.396 12819 12880 I DOTNET : at System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtractionRoundtrip(TarEntryFormat format, TarHardLinkMode linkMode)
03-26 21:15:08.020 12819 17324 I DOTNET : Exception messages: System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/dda1mur3.hbh/source/dir2/linked.txt' is denied.
03-26 21:15:08.020 12819 17324 I DOTNET : ---- System.IO.IOException : Permission denied Exception stack traces: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarFile_CreateFromDirectory_Stream_Tests.CreateFromDirectory_UsesWriterOptions
View Extract
03-26 21:15:02.946 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959307): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="dm-34" ino=9552079 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:15:02.952 12819 16979 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectory_Stream_Tests.CreateFromDirectory_UsesWriterOptions(toggle: True)
03-26 21:15:02.952 12819 16979 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/aglvk4se.wxn/linked.txt' is denied.
03-26 21:15:02.952 12819 16979 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:15:02.952 12819 16979 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:15:02.952 12819 16979 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:15:02.952 12819 16979 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:15:02.952 12819 16979 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
03-26 21:15:02.956 12819 16979 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectory_Stream_Tests.CreateFromDirectory_UsesWriterOptions(toggle: False)
03-26 21:15:02.956 12819 16979 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/bjxb31wg.c12/linked.txt' is denied.
03-26 21:15:02.950 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959308): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="dm-34" ino=9552103 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_File_Tests.CreateFromDirectoryAsync_UsesWriterOptions
View Extract
03-26 21:15:05.593 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959309): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="dm-34" ino=9584926 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:15:05.605 12819 17201 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_File_Tests.CreateFromDirectoryAsync_UsesWriterOptions(toggle: True)
03-26 21:15:05.606 12819 17201 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/gknztkk3.qb1/linked.txt' is denied.
03-26 21:15:05.606 12819 17201 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:15:05.606 12819 17201 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:15:05.606 12819 17201 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:15:05.606 12819 17201 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:15:05.606 12819 17201 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
03-26 21:15:05.615 12819 17201 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_File_Tests.CreateFromDirectoryAsync_UsesWriterOptions(toggle: False)
03-26 21:15:05.615 12819 17201 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/kqshb4ty.hat/linked.txt' is denied.
03-26 21:15:05.615 12819 17201 I DOTNET : ---- System.IO.IOException : Permission denied
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarWriter_WriteEntry_File_Tests.WriteEntry_HardLinks
View Extract
Test collection for System.Formats.Tar.Tests.TarWriter_WriteEntry_File_Tests
W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959311): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file1.txt" dev="dm-34" ino=9589612 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
[FAIL] System.Formats.Tar.Tests.TarWriter_WriteEntry_File_Tests.WriteEntry_HardLinks(format: V7, linkMode: PreserveLink)
System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/l413m2gu.ok0/linked1.txt' is denied.
---- System.IO.IOException : Permission denied
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
at System.IO.File.CreateHardLink(String path, String pathToTarget)
at System.Formats.Tar.Tests.TarWriter_WriteEntry_File_Tests.WriteEntry_HardLinks(TarEntryFormat format, TarHardLinkMode linkMode)
----- Inner Stack Trace -----
W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959312): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file1.txt" ... tclass=file
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_Stream_Tests.CreateFromDirectoryAsync_UsesWriterOptions
View Extract
03-26 21:15:07.203 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959319): avc: denied { link } for comm=2E4E4554204C6F6E67205461736B name="file.txt" dev="dm-34" ino=9589902 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:15:07.213 12819 17244 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_Stream_Tests.CreateFromDirectoryAsync_UsesWriterOptions(toggle: True)
03-26 21:15:07.213 12819 17244 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/4sbwq1cy.grv/linked.txt' is denied.
03-26 21:15:07.213 12819 17244 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:15:07.213 12819 17244 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:15:07.213 12819 17244 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:15:07.213 12819 17244 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:15:07.213 12819 17244 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
03-26 21:15:07.213 12819 17244 I DOTNET : at System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_Stream_Tests.CreateFromDirectoryAsync_UsesWriterOptions(Boolean toggle)
03-26 21:15:08.021 12819 17324 I DOTNET : Exception messages: System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/sfjkoeo0.qa0/linked.txt' is denied.
03-26 21:15:08.021 12819 17324 I DOTNET : ---- System.IO.IOException : Permission denied Exception stack traces: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:15:08.021 12819 17324 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:15:08.021 12819 17324 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
03-26 21:15:08.021 12819 17324 I DOTNET : 25) [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_Stream_Tests.CreateFromDirectoryAsync_UsesWriterOptions(toggle: False)
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.HardLinkExtraction_CopyContentsAsync
View Extract
                 03-26 21:15:07.302 12819 17254 I DOTNET  :  	[PASS] System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.UnixFileModes_RestrictiveParentDir_Async
03-26 21:15:07.319 12819 17254 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.HardLinkExtraction_CopyContentsAsync
03-26 21:15:07.319 12819 17254 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/pbz31c2z.mpq/source/dir2/linked.txt' is denied.
03-26 21:15:07.319 12819 17254 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:15:07.319 12819 17254 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:15:07.319 12819 17254 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:15:07.319 12819 17254 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:15:07.319 12819 17254 I DOTNET : at System.Formats.Tar.Tests.TarFile_ExtractToDirectoryAsync_File_Tests.HardLinkExtraction_CopyContentsAsync()
...
03-26 21:15:08.021 12819 17324 I DOTNET : Exception messages: System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/sfjkoeo0.qa0/linked.txt' is denied.
03-26 21:15:08.021 12819 17324 I DOTNET : ---- System.IO.IOException : Permission denied Exception stack traces: at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:15:08.021 12819 17324 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:15:08.021 12819 17324 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
03-26 21:15:08.021 12819 17324 I DOTNET : at System.Formats.Tar.Tests.TarTestsBase.CreateSourceDirectoryForCreateFromDirectory_UsesWriterOptions()
03-26 21:15:08.021 12819 17324 I DOTNET : at System.Formats.Tar.Tests.TarFile_CreateFromDirectoryAsync_Stream_Tests.CreateFromDirectoryAsync_UsesWriterOptions(Boolean toggle)
03-26 21:15:08.021 12819 17324 I DOTNET : --- End of stack trace from previous location ---
03-26 21:15:08.021 12819 17324 I DOTNET : Execution time: 0.0106524
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR
System.Formats.Tar.Tests Work Item
View Extract
03-26 21:14:34.550 12819 12819 W net.dot.System.Formats.Tar.Tests: type=1400 audit(0.0:959293): avc: denied { link } for comm=2E4E455420545020576F726B6572 name="file.txt" dev="dm-34" ino=9582573 scontext=u:r:untrusted_app:s0:c101,c277,c512,c768 tcontext=u:object_r:app_data_file:s0:c101,c277,c512,c768 tclass=file permissive=0 app=net.dot.System.Formats.Tar.Tests
03-26 21:14:34.648 12819 12842 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_CreateFromDirectory_File_Tests.CreateFromDirectory_UsesWriterOptions(toggle: True)
03-26 21:14:34.648 12819 12842 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/ggwz5pvg.x0m/linked.txt' is denied.
03-26 21:14:34.648 12819 12842 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:14:34.648 12819 12842 I DOTNET : at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
03-26 21:14:34.648 12819 12842 I DOTNET : at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
03-26 21:14:34.648 12819 12842 I DOTNET : at System.IO.File.CreateHardLink(String path, String pathToTarget)
...
03-26 21:14:35.278 12819 12880 I DOTNET : [FAIL] System.Formats.Tar.Tests.TarFile_ExtractToDirectory_File_Tests.HardLinkExtraction_CopyContents
03-26 21:14:35.278 12819 12880 I DOTNET : System.UnauthorizedAccessException : Access to the path '/data/user/0/net.dot.System.Formats.Tar.Tests/cache/dda1mur3.hbh/source/dir2/linked.txt' is denied.
03-26 21:14:35.278 12819 12880 I DOTNET : ---- System.IO.IOException : Permission denied
03-26 21:15:08.297 984 984 I Zygote : Process 12819 exited due to signal 9 (Killed)
[21:15:15] fail: Non-success instrumentation exit code: 1, expected: 0
[21:15:15] info: Successfully uninstalled net.dot.System.Formats.Tar.Tests
XHarness exit code: 1 (TESTS_FAILED)
Full Log
20260326.2 build_android_arm64_Release_AllSubsets_CoreCLR

Error Message

{
  "ErrorMessage": [
      "System.Formats.Tar.Tests",
      "System.UnauthorizedAccessException : Access to the path"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions