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

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

Open
simonrozsival opened this issue Aug 19, 2022 · 3 comments
Open

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

simonrozsival opened this issue Aug 19, 2022 · 3 comments
Labels
area-System.Diagnostics.TraceSource disabled-test The test is disabled in source code against the issue os-tvos Apple tvOS
Milestone

Comments

@simonrozsival
Copy link
Member

simonrozsival commented Aug 19, 2022

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 -----
@simonrozsival simonrozsival added disabled-test The test is disabled in source code against the issue os-tvos Apple tvOS area-System.Diagnostics.TraceSource labels Aug 19, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 19, 2022
@ghost
Copy link

ghost commented Aug 19, 2022

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

Issue Details

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

Author: simonrozsival
Assignees: -
Labels:

disabled-test, os-tvos, area-System.Diagnostics.TraceSource

Milestone: -

@danmoseley
Copy link
Member

Test logs are deleted after not very long. It is best to paste in the useful parts into issues like this.

@akoeplinger
Copy link
Member

We can't write to the app location in tvOS, we'll need to use the temp path here.

akoeplinger pushed a commit that referenced this issue Aug 19, 2022
This PR only disables tests that are failing on Android. iOS, Mac Catalyst, and tvOS reported in #74076

Issues to track disabled tests: #74244, #74245, #74247
@simonrozsival simonrozsival added this to the 8.0.0 milestone Aug 22, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Aug 22, 2022
@steveisok steveisok modified the milestones: 8.0.0, Future Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Diagnostics.TraceSource disabled-test The test is disabled in source code against the issue os-tvos Apple tvOS
Projects
None yet
Development

No branches or pull requests

4 participants