Skip to content

[tvOS] System.Diagnostics.TraceSource.Config.Tests failing #74244

Description

@simonrozsival

Originally reported in #74076
Most likely introduced in #73087
Sample test results: https://dev.azure.com/dnceng/public/_build/results?buildId=1948701&view=results

Exception which causes the failures:

System.UnauthorizedAccessException : Access to the path '/private/var/containers/Bundle/Application/C051ED5D-1DCA-43F6-B41B-04A9592B3F5F/System.Diagnostics.TraceSource.Config.Tests.app/AppleTestRunner.dll.config' is denied.
---- System.IO.IOException : Operation not permitted
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Func`4 createOpenException)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, 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)
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at System.Diagnostics.TraceSourceConfigTests.ConfigurationTests.CreateAndLoadConfigFile(String filename)
   at System.Diagnostics.TraceSourceConfigTests.ConfigurationTests.Refresh_ChangeSwitch()
   at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
----- Inner Stack Trace -----

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions