Skip to content

[mono] Apple mobile tests could not find test artifacts #89491

Closed
@kotlarmilos

Description

@kotlarmilos

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=349967&view=results
Build error leg or test failing: tvos-arm64 Release AllSubsets_Mono
Pull request: #88167

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.IO.DirectoryNotFoundException : Could not find a part of the path",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
[FAIL] System.IO.Compression.ZLibStreamUnitTests.Dispose_WithUnfinishedReadAsync   Test name: System.IO.Compression.ZLibStreamUnitTests.Dispose_WithUnfinishedReadAsync
[20:08:56.1418830] 2023-07-25 17:08:56.241 System.IO.Compression.Tests[43690:25521723]    Assembly:  [System.IO.Compression.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[20:08:56.1418930] 2023-07-25 17:08:56.241 System.IO.Compression.Tests[43690:25521723]    Exception messages: System.IO.FileNotFoundException : Could not find file '/private/var/containers/Bundle/Application/5CFA5A88-4C15-401E-A916-556A00578E7B/System.IO.Compression.Tests.app/UncompressedTestFiles/TestDocument.pdf'.   Exception stack traces:    at System.IO.FileInfo.get_Length()
[20:08:56.1419040]    at System.IO.Compression.CompressionStreamUnitTestBase.Dispose_WithUnfinishedReadAsync()
[20:08:56.1419100] --- End of stack trace from previous location ---
[20:08:56.1419190]    Execution time: 0.0040698
[20:08:56.1419670] 2023-07-25 17:08:56.241 System.IO.Compression.Tests[43690:25521723] 2) 	[FAIL] System.IO.Compression.ZLibStreamUnitTests.Read_EndOfStreamPosition   Test name: System.IO.Compression.ZLibStreamUnitTests.Read_EndOfStreamPosition
[20:08:56.1419890] 2023-07-25 17:08:56.241 System.IO.Compression.Tests[43690:25521723]    Assembly:  [System.IO.Compression.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[20:08:56.1425240] 2023-07-25 17:08:56.242 System.IO.Compression.Tests[43690:25521723]    Exception messages: System.IO.DirectoryNotFoundException : Could not find a part of the path '/private/var/containers/Bundle/Application/5CFA5A88-4C15-401E-A916-556A00578E7B/System.IO.Compression.Tests.app/ZLibTestData/TestDocument.pdf.z'.   Exception stack traces:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1433750] 2023-07-25 17:08:56.244 System.IO.Compression.Tests[43690:25521723]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1433920]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
[20:08:56.1448530] 2023-07-25 17:08:56.244 System.IO.Compression.Tests[43690:25521723]    at System.IO.File.ReadAllBytes(String path)
[20:08:56.1448670]    at StreamHelpers.CreateTempCopyStream(String path)
[20:08:56.1448730]    at LocalMemoryStream.readAppFileAsync(String testFile)
[20:08:56.1448780]    at System.IO.Compression.CompressionStreamUnitTestBase.Read_EndOfStreamPosition()
[20:08:56.1449250] 2023-07-25 17:08:56.245 System.IO.Compression.Tests[43690:25521723] --- End of stack trace from previous location ---
[20:08:56.1449330]    Execution time: 0.0046917
[20:08:56.1450030] 2023-07-25 17:08:56.245 System.IO.Compression.Tests[43690:25521723] 3) 	[FAIL] System.IO.Compression.ZLibStreamUnitTests.BaseStream_ValidAfterDisposeWithTrueLeaveOpen   Test name: System.IO.Compression.ZLibStreamUnitTests.BaseStream_ValidAfterDisposeWithTrueLeaveOpen(mode: Compress)   Test case: System.IO.Compression.ZLibStreamUnitTests.BaseStream_ValidAfterDisposeWithTrueLeaveOpen
[20:08:56.1450210]    Assembly:  [System.IO.Compression.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[20:08:56.1450800] 2023-07-25 17:08:56.245 System.IO.Compression.Tests[43690:25521723]    Exception messages: System.IO.DirectoryNotFoundException : Could not find a part of the path '/private/var/containers/Bundle/Application/5CFA5A88-4C15-401E-A916-556A00578E7B/System.IO.Compression.Tests.app/ZLibTestData/TestDocument.pdf.z'.   Exception stack traces:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1451490] 2023-07-25 17:08:56.245 System.IO.Compression.Tests[43690:25521723]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1452160] 2023-07-25 17:08:56.245 System.IO.Compression.Tests[43690:25521723]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
[20:08:56.1452240]    at System.IO.File.ReadAllBytes(String path)
[20:08:56.1452290]    at StreamHelpers.CreateTempCopyStream(String path)
[20:08:56.1458420] 2023-07-25 17:08:56.246 System.IO.Compression.Tests[43690:25521723]    at LocalMemoryStream.readAppFileAsync(String testFile)
[20:08:56.1458600]    at System.IO.Compression.CompressionStreamUnitTestBase.BaseStream_ValidAfterDisposeWithTrueLeaveOpen(CompressionMode mode)
[20:08:56.1458660] --- End of stack trace from previous location ---
[20:08:56.1458720]    Execution time: 0.0029031
[20:08:56.1472050] 2023-07-25 17:08:56.247 System.IO.Compression.Tests[43690:25521723] 4) 	[FAIL] System.IO.Compression.ZLibStreamUnitTests.BaseStream_ValidAfterDisposeWithTrueLeaveOpen   Test name: System.IO.Compression.ZLibStreamUnitTests.BaseStream_ValidAfterDisposeWithTrueLeaveOpen(mode: Decompress)   Test case: System.IO.Compression.ZLibStreamUnitTests.BaseStream_ValidAfterDisposeWithTrueLeaveOpen
[20:08:56.1472200]    Assembly:  [System.IO.Compression.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[20:08:56.1484290] 2023-07-25 17:08:56.248 System.IO.Compression.Tests[43690:25521723]    Exception messages: System.IO.DirectoryNotFoundException : Could not find a part of the path '/private/var/containers/Bundle/Application/5CFA5A88-4C15-401E-A916-556A00578E7B/System.IO.Compression.Tests.app/ZLibTestData/TestDocument.pdf.z'.   Exception stack traces:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1484470] 2023-07-25 17:08:56.249 System.IO.Compression.Tests[43690:25521723]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1491640] 2023-07-25 17:08:56.249 System.IO.Compression.Tests[43690:25521723]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
[20:08:56.1491750]    at System.IO.File.ReadAllBytes(String path)
[20:08:56.1491810]    at StreamHelpers.CreateTempCopyStream(String path)
[20:08:56.1492290] 2023-07-25 17:08:56.249 System.IO.Compression.Tests[43690:25521723]    at LocalMemoryStream.readAppFileAsync(String testFile)
[20:08:56.1492360]    at System.IO.Compression.CompressionStreamUnitTestBase.BaseStream_ValidAfterDisposeWithTrueLeaveOpen(CompressionMode mode)
[20:08:56.1492410] --- End of stack trace from previous location ---
[20:08:56.1492450]    Execution time: 0.004419
[20:08:56.1496950] 2023-07-25 17:08:56.250 System.IO.Compression.Tests[43690:25521723] 5) 	[FAIL] System.IO.Compression.ZLibStreamUnitTests.FlushAsync_DuringFlushAsync   Test name: System.IO.Compression.ZLibStreamUnitTests.FlushAsync_DuringFlushAsync
[20:08:56.1497730] 2023-07-25 17:08:56.250 System.IO.Compression.Tests[43690:25521723]    Assembly:  [System.IO.Compression.Tests, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[20:08:56.1506120] 2023-07-25 17:08:56.251 System.IO.Compression.Tests[43690:25521723]    Exception messages: System.IO.DirectoryNotFoundException : Could not find a part of the path '/private/var/containers/Bundle/Application/5CFA5A88-4C15-401E-A916-556A00578E7B/System.IO.Compression.Tests.app/ZLibTestData/TestDocument.pdf.z'.   Exception stack traces:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1507180] 2023-07-25 17:08:56.251 System.IO.Compression.Tests[43690:25521723]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[20:08:56.1507320]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
[20:08:56.1518130] 2023-07-25 17:08:56.252 System.IO.Compression.Tests[43690:25521723]    at System.IO.File.ReadAllBytes(String path)
[20:08:56.1518430]    at StreamHelpers.CreateTempCopyStream(String path)
[20:08:56.1518480]    at LocalMemoryStream.readAppFileAsync(String testFile)
[20:08:56.1518530]    at System.IO.Compression.CompressionStreamUnitTestBase.FlushAsync_DuringFlushAsync()
[20:08:56.1541760] 2023-07-25 17:08:56.253 System.IO.Compression.Tests[43690:25521723] --- End of stack trace from previous location ---
[20:08:56.1542050]    Execution time: 0.0029317

The System.Formats.Tar.Tests and System.IO.Compression.Tests are failing with System.IO.DirectoryNotFoundException : Could not find a part of the path '/private/var/containers/Bundle/Application/5CFA5A88-4C15-401E-A916-556A00578E7B/'.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=349967
Error message validated: System.IO.DirectoryNotFoundException : Could not find a part of the path
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/26/2023 8:39:19 AM UTC

Report

Build Definition Test Pull Request
353600 dotnet/runtime normal-System.IO.FileSystem.Tests.WorkItemExecution
353569 dotnet/runtime System.IO.Compression.Tests.zip_ReadTests.ReadInterleaved #89548
353281 dotnet/runtime System.Formats.Tar.Tests.TarReader_File_Tests.Throw_FifoContainsNonZeroDataSection #89223
352690 dotnet/runtime System.IO.Compression.Tests.zip_UpdateTests.AddFileToArchive #89431
352583 dotnet/runtime System.IO.Compression.Tests.ZipFile_Create.CreateFromDirectoryNormal #89301
352553 dotnet/runtime System.IO.Compression.Tests.ZipFile_Create.CreateSetsExternalAttributesCorrectly #89498
352503 dotnet/runtime System.IO.Compression.Tests.ZipFile_Create.CreateFromDirectory_IncludeBaseDirectoryAsync #89428
352326 dotnet/runtime System.IO.Compression.Tests.ZipFile_Create.CreateSetsExternalAttributesCorrectly
351866 dotnet/runtime System.IO.Compression.Tests.ZipFile_Create.CreateSetsExternalAttributesCorrectly
351758 dotnet/runtime System.IO.Compression.Tests.ZipFile_Create.CreateSetsExternalAttributesCorrectly #89223
350013 dotnet/runtime System.Data.Tests.SqlTypes.SqlXmlTest.CreateReader_TestAgainstBaseline #89392
351065 dotnet/runtime System.Formats.Tar.Tests.TarReader_Tests.TarReader_LeaveOpen_False_Async
350917 dotnet/runtime System.IO.Compression.Tests.zip_UpdateTests.AddFileToArchive_AfterReading #89308
349967 dotnet/runtime System.IO.Compression.Tests.zip_UpdateTests.UpdateReadTwice #88167

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
8 14 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-VM-meta-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-iosApple iOS

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions