runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open matouskozak opened this issue 10 months ago • 5 comments

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": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Summary

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

matouskozak avatar Apr 22 '24 08:04 matouskozak

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

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

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

matouskozak avatar Apr 29 '24 07:04 matouskozak

no longer failing on main rolling-builds, closing

matouskozak avatar May 06 '24 07:05 matouskozak

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

matouskozak avatar May 29 '24 13:05 matouskozak