Bug 58348 - [xcode9][watchos] Simulator support is broken with beta 4
Summary: [xcode9][watchos] Simulator support is broken with beta 4
Alias: None
Product: iOS
Classification: Xamarin
Component: Infrastructure (internal) ()
Version: XI 10.99 (xcode9)
Hardware: PC Mac OS
: High critical
Target Milestone: Xcode9
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2017-07-25 03:09 UTC by Sebastien Pouliot
Modified: 2017-08-23 13:55 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Sebastien Pouliot 2017-07-25 03:09:14 UTC
PR https://github.com/xamarin/xamarin-macios/pull/2361 (beta 4 bump) is disabling watchOS until fixed.
Comment 2 Sebastien Pouliot 2017-07-25 18:09:16 UTC
watchOS build re-enabled, but tests remains disabled
Comment 3 GouriKumari 2017-07-25 22:09:18 UTC
I could reproduce the issue with XI watchOS app launch timed out.

Application Log: https://gist.github.com/GouriKumari/19ef778ded1c3e48b6429cc6467880b2
Build Log: https://gist.github.com/GouriKumari/20b43eb98b88031a88d698b5b029d3c5

##Test Env:
Comment 4 GouriKumari 2017-07-25 22:10:25 UTC
## Updates to Test Env:
Comment 5 Rolf Bjarne Kvinge [MSFT] 2017-08-09 17:58:47 UTC
PR that makes the tests run again: https://github.com/xamarin/xamarin-macios/pull/2462

I still need to figure out where the bug is (and file with Apple if needed), since according to comment #3 this happens outside the tests too.
Comment 6 Sebastien Pouliot 2017-08-09 22:16:45 UTC
I'm pretty sure comment #3 is not the same issue.

> error HE0038: Failed to launch the app 'com.companyname.testtvOSWatchApap1.watchkitapp' on the device 'watchOS 4.0 (15R5331f) - Apple Watch Series 2 - 38mm': Watch app launch timed out.

^ that looks like a random issues the bots are having -> https://bugzilla.xamarin.com/show_bug.cgi?id=55719

The original problem was not related to starting apps, the bots just hung because Carousel crashed.
Comment 7 Rolf Bjarne Kvinge [MSFT] 2017-08-10 08:05:49 UTC
It seems I accidentally continued testing with beta 4, even after beta 5 was released. I can't reproduce the problem anymore when actually testing with beta 5, so it seems Apple fixed this on their side.

PR to return to original behavior: https://github.com/xamarin/xamarin-macios/pull/2473
Comment 9 Rolf Bjarne Kvinge [MSFT] 2017-08-23 13:55:56 UTC
It happened again once in beta 6: https://jenkins.mono-project.com/job/xamarin-macios-pr-builder/4689/, so watchOS tests were disabled.

However, immediately enabling the watchOS tests didn't reproduce the problem again (https://jenkins.mono-project.com/job/xamarin-macios-pr-builder/4706/), so it might be bot-specific.