dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.46k stars 4.76k forks source link

[iOS/tvOS] Small set of test suites time out on devices #60713

Open steveisok opened 3 years ago

steveisok commented 3 years ago

The following test suites time out on CI and need investigated. Initial analysis shows that many tests pass, but it may be hanging on a single test. To find out which one, that requires an xharness tweak at https://github.com/dotnet/xharness/blob/3bf4d1484d4975ac382365262a93f29957ebe725/src/Microsoft.DotNet.XHarness.TestRunners.Xunit/iOSApplicationEntryPoint.cs#L46

dotnet-issue-labeler[bot] commented 3 years ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

ghost commented 3 years ago

Tagging subscribers to this area: @directhex See info in area-owners.md if you want to be subscribed.

Issue Details
The following test suites time out on CI and need investigated. Initial analysis shows that many tests pass, but it may be hanging on a single test. To find out which one, that requires an xharness tweak at https://github.com/dotnet/xharness/blob/3bf4d1484d4975ac382365262a93f29957ebe725/src/Microsoft.DotNet.XHarness.TestRunners.Xunit/iOSApplicationEntryPoint.cs#L46 - [ ] Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests - [ ] System.Net.NetworkInformation.Functional.Tests - [ ] System.Reflection.Tests - [ ] System.Threading.Channels.Tests
Author: steveisok
Assignees: -
Labels: `untriaged`, `area-Infrastructure-mono`
Milestone: -
steveisok commented 2 years ago

I believe the cause may be due to slow macs not being able to get through enough of the build before it times out. The size of the listed apps are rather large. To get this under control, we would need to enable aggressive trimming. That will take some time making sure the tests check out properly, so moving to .NET 8.