') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); [mono] Apple mobile tests could not find test artifacts · Issue #89491 · dotnet/runtime · GitHub
Skip to content

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

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

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

Summary

24-Hour Hit Count7-Day Hit Count1-Month Count
81414

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