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

[mono][maccatalyst] Failures in System.IO.IsolatedStorage.Tests #101371

Open
matouskozak opened this issue Apr 22, 2024 · 5 comments
Open

[mono][maccatalyst] Failures in System.IO.IsolatedStorage.Tests #101371

matouskozak opened this issue Apr 22, 2024 · 5 comments
Labels
arch-arm64 arch-x64 area-System.IO Known Build Error Use this to report build issues in the .NET Helix tab os-maccatalyst MacCatalyst OS
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Apr 22, 2024

maccatalyst-arm64 Release AllSubsets_Mono (affecting x64 as well) job from runtime-extra-platforms has a numerous failures in System.IO.IsolatedStorage.Tests test group.

Build ID: https://dev.azure.com/dnceng-public/public/_build/results?buildId=651042

Note: the failures don't seem to be 100% stable as there are some rolling builds (e.g. https://dev.azure.com/dnceng-public/public/_build/results?buildId=651298) where the failures didn't occur.

Stack trace:

2024-04-21 03:23:53.165 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_NotOkFiles(scope: UserStoreForAssembly)
System.IO.IOException : The file '/Users/helix-runner/Documents/.config/.isolated-storage/info.dat' already exists.
2024-04-21 03:23:53.165 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.FileSystem.LinkOrCopyFile(String sourceFullPath, String destFullPath)
   at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
2024-04-21 03:23:53.165 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.File.Move(String sourceFileName, String destFileName)
   at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_NotOkFiles(PresetScopes scope)
2024-04-21 03:23:53.165 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Object.InvokeStub_ContainsUnknownFilesTests.ContainsUnknownFiles_NotOkFiles(Object , Span`1 )
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2024-04-21 03:23:53.166 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_NotOkFiles(scope: UserStoreForDomain)
System.IO.IOException : The file '/Users/helix-runner/Documents/.config/.isolated-storage/info.dat' already exists.
2024-04-21 03:23:53.166 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.FileSystem.LinkOrCopyFile(String sourceFullPath, String destFullPath)
   at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
2024-04-21 03:23:53.166 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.File.Move(String sourceFileName, String destFileName)
   at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_NotOkFiles(PresetScopes scope)
2024-04-21 03:23:53.166 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Object.InvokeStub_ContainsUnknownFilesTests.ContainsUnknownFiles_NotOkFiles(Object , Span`1 )
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2024-04-21 03:23:53.169 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(scope: UserStoreForApplication)
Assert.False() Failure
Expected: False
Actual:   True
2024-04-21 03:23:53.169 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(PresetScopes scope)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
2024-04-21 03:23:53.169 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(scope: UserStoreForAssembly)
Assert.False() Failure
Expected: False
Actual:   True
2024-04-21 03:23:53.170 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(PresetScopes scope)
   at System.Object.InvokeStub_ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(Object , Span`1 )
2024-04-21 03:23:53.170 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2024-04-21 03:23:53.170 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(scope: UserStoreForDomain)
Assert.False() Failure
Expected: False
Actual:   True
2024-04-21 03:23:53.170 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(PresetScopes scope)
   at System.Object.InvokeStub_ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(Object , Span`1 )
2024-04-21 03:23:53.170 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2024-04-21 03:23:53.172 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(scope: UserStoreForApplication)
identity ok
   at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(PresetScopes scope)
2024-04-21 03:23:53.172 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
2024-04-21 03:23:53.174 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(scope: UserStoreForAssembly)
identity ok
   at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(PresetScopes scope)
2024-04-21 03:23:53.174 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Object.InvokeStub_ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(Object , Span`1 )
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2024-04-21 03:23:53.175 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(scope: UserStoreForDomain)
identity ok
   at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(PresetScopes scope)
2024-04-21 03:23:53.175 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Object.InvokeStub_ContainsUnknownFilesTests.ContainsUnknownFiles_OkFiles(Object , Span`1 )
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2024-04-21 03:23:53.176 Df System.IO.IsolatedStorage.Tests[65306:52d7be] System.IO.IsolatedStorage.ContainsUnknownFilesTests 0.0052194 ms
2024-04-21 03:23:53.179 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[PASS] System.IO.IsolatedStorage.CopyFileTests.CopyFile_CopiesFile
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.CopyFileTests.CopyFile_CopiesFile(scope: UserStoreForAssembly)
System.IO.IsolatedStorage.IsolatedStorageException : Operation not permitted.
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be] ---- System.IO.IOException : The file '/Users/helix-runner/Documents/.config/.isolated-storage/bar' already exists.
   at System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile(String sourceFileName, String destinationFileName, Boolean overwrite)
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile(String sourceFileName, String destinationFileName)
   at System.IO.IsolatedStorage.CopyFileTests.CopyFile_CopiesFile(PresetScopes scope)
   at System.Object.InvokeStub_CopyFileTests.CopyFile_CopiesFile(Object , Span`1 )
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
----- Inner Stack Trace -----
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at Interop.CheckIo(Error error, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    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)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
2024-04-21 03:23:53.181 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile(String sourceFileName, String destinationFileName, Boolean overwrite)
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be] 	[FAIL] System.IO.IsolatedStorage.CopyFileTests.CopyFile_CopiesFile(scope: UserStoreForDomain)
System.IO.IsolatedStorage.IsolatedStorageException : Operation not permitted.
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be] ---- System.IO.IOException : The file '/Users/helix-runner/Documents/.config/.isolated-storage/bar' already exists.
   at System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile(String sourceFileName, String destinationFileName, Boolean overwrite)
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile(String sourceFileName, String destinationFileName)
   at System.IO.IsolatedStorage.CopyFileTests.CopyFile_CopiesFile(PresetScopes scope)
   at System.Object.InvokeStub_CopyFileTests.CopyFile_CopiesFile(Object , Span`1 )
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
----- Inner Stack Trace -----
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at Interop.CheckIo(Error error, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    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)
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
2024-04-21 03:23:53.182 Df System.IO.IsolatedStorage.Tests[65306:52d7be]    at System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile(String sourceFileName, String destinationFileName, Boolean overwrite)

Known Issue Error Message

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

{
  "ErrorMessage": "The file '/Users/helix-runner/Documents/.config/.isolated-storage/info.dat' already exists.",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Summary

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

Known issue validation

Build: 🔎
Result validation: ⚠️ Provided build not found. Provide a valid build in the "Build: 🔎" line.
Validation performed at: 7/24/2024 12:58:17 PM UTC

@matouskozak matouskozak added arch-arm64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner os-maccatalyst MacCatalyst OS labels Apr 22, 2024
@matouskozak matouskozak added this to the 9.0.0 milestone Apr 22, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Apr 22, 2024
Copy link
Contributor

Tagging subscribers to 'os-maccatalyst': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

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

@matouskozak matouskozak added Known Build Error Use this to report build issues in the .NET Helix tab and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Apr 22, 2024
@matouskozak
Copy link
Member Author

The first failure happened on build https://dev.azure.com/dnceng-public/public/_build/results?buildId=513152 (3rd of January).

@matouskozak
Copy link
Member Author

no longer failing on main rolling-builds, closing

@matouskozak
Copy link
Member Author

Still occasionally happening https://dev.azure.com/dnceng-public/public/_build/results?buildId=686381. I will keep this issue open to keep track.

@matouskozak matouskozak reopened this May 29, 2024
@matouskozak matouskozak removed this from the 9.0.0 milestone Jun 28, 2024
@matouskozak matouskozak added the untriaged New issue has not been triaged by the area owner label Jun 28, 2024
@jeffhandley jeffhandley added this to the Future milestone Jul 20, 2024
@jeffhandley jeffhandley removed the untriaged New issue has not been triaged by the area owner label Jul 20, 2024
@vitek-karas vitek-karas modified the milestones: Future, 10.0.0 Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 arch-x64 area-System.IO Known Build Error Use this to report build issues in the .NET Helix tab os-maccatalyst MacCatalyst OS
Projects
None yet
Development

No branches or pull requests

3 participants