Repository navigation
iOS simulator unavailable, device type profile not found #97303
Copy link
Copy link
Closed
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passTests that sometimes, but not always, incorrectly passteam-infraOwned by Infrastructure teamOwned by Infrastructure team
Description
Try job module_test_ios trying to create a simulator:
[module_test_ios] [STDOUT] Executing "xcrun simctl create TestAdd2AppSim com.apple.CoreSimulator.SimDeviceType.iPhone-11 com.apple.CoreSimulator.SimRuntime.iOS-14-3" in "/opt/s/w/ir/x/w/recipe_cleanup/tmp81ddsf_o/flutter sdk" with environment {BOT: true, LANG: en_US.UTF-8}
[module_test_ios] [STDOUT] stderr: Invalid device type: com.apple.CoreSimulator.SimDeviceType.iPhone-11
List of simulators shows all the simulators are "unavailable, device type profile not found"
-- iOS 13.0 --
iPad Air (3rd generation) (C657E8D4-422B-4449-94E7-3B04431E2F18) (Shutdown) (unavailable, device type profile not found)
iPad Pro (11-inch) (C3480239-0A68-47BF-97E9-20CFDA93F7D9) (Shutdown) (unavailable, device type profile not found)
iPad Pro (12.9-inch) (3rd generation) (19F3AE1E-AFAB-447B-9AF6-7B8BB57D9897) (Shutdown) (unavailable, device type profile not found)
iPad Pro (9.7-inch) (117D9CD0-82C8-458D-B3C4-8CA0331A03AD) (Shutdown) (unavailable, device type profile not found)
iPhone 11 (6B11A7F3-E077-42F1-9911-D7C1B8D55CCE) (Shutdown) (unavailable, device type profile not found)
iPhone 11 Pro (2E9AD3C2-AEE6-4152-A14F-882F3DFFDF91) (Shutdown) (unavailable, device type profile not found)
iPhone 11 Pro Max (8C49B646-040E-4CB6-9FDC-10362CEB54B1) (Shutdown) (unavailable, device type profile not found)
iPhone 8 (5DCC7E66-B73E-463A-A91D-F28E3B4E329B) (Shutdown) (unavailable, device type profile not found)
iPhone 8 Plus (18E32AAD-47C2-424D-8A9E-7BFEEA4727A1) (Shutdown) (unavailable, device type profile not found)
Compare to a successful prod run. Both are running 12c33.
-- iOS 13.0 --
iPhone 8 (D6D03B46-EA7B-4A19-9115-6DB597FCF8B6) (Shutdown)
iPhone 8 Plus (D23E78A6-2A7F-410D-91FD-2D6779CC411B) (Shutdown)
iPhone 11 (3ACE52C8-0530-491A-9226-6A95068DFEF8) (Shutdown)
iPhone 11 Pro (6C3DB249-0409-4726-BABB-8BF3417E3E12) (Shutdown)
iPhone 11 Pro Max (98B27E12-DECA-41F3-AD22-530C3FE08CC9) (Shutdown)
iPad Pro (9.7-inch) (9A5CB7DA-3709-4970-BA8E-A359F60F2A2C) (Shutdown)
iPad Pro (11-inch) (EB1BBB3C-9519-4976-B394-D5E3F1C81455) (Shutdown)
iPad Pro (12.9-inch) (3rd generation) (420854E4-EE4A-4962-AE41-157DF43EA734) (Shutdown)
iPad Air (3rd generation) (4DEB6175-773A-45C8-A791-AF125666FDD9) (Shutdown)
Blocking the plugin roll #97295, which is blocking an engine roll.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passTests that sometimes, but not always, incorrectly passteam-infraOwned by Infrastructure teamOwned by Infrastructure team
Type
Projects
- StatusShow more project fieldsTo be archived
Activity
jmagman commentedon Jan 26, 2022
Re-running the test in #97295, I don't see it failing in other PRs (that PR is definitely not the issue though)
jmagman commentedon Jan 26, 2022
Suspect the re-run will succeed, the simulator list looks correct:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8823953796628412001/+/u/list_simulators/stdout
Reducing priority.
jmagman commentedon Jan 26, 2022
I've seen that
unavailable, device type profile not foundbefore while investigating #91689 when simulator runtimes were missing, but the runtimes look correct this time:jmagman commentedon Jan 26, 2022
And interestingly only the 14.3 iPhone 12* devices are available...?
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8823963857735512193/+/u/list_simulators/stdout
CaseyHillers commentedon Jan 26, 2022
I'll monitor the builds to see if this flake occurs again
godofredoc commentedon Jan 27, 2022
Waiting for the battery healthcheck to land in production.
jmagman commentedon Jan 27, 2022
I don't think this is related to the tethered device's health, it's that the simulators aren't set up in a way Xcode can find them.
godofredoc commentedon Jan 28, 2022
Would this be fixed with the new way to provide runtimes?
61 remaining items
CaseyHillers commentedon Mar 30, 2022
Talked with @yjbanov and it seems like Mac Web Engine is running on Mac 12 now. We landed flutter-team-archive/engine#32337 as the issue is running this test on the corrupt Mac 10 bots.
jmagman commentedon Mar 30, 2022
This builder failed many times on Xcode 13 due to #99885 /cc @godofredoc it passed a few times for reasons we couldn't figure out.
keyonghan commentedon Mar 30, 2022
The latest build is hanging. I guess we need a revert: flutter-team-archive/engine#32340
Meanwhile, I am cleaning up caches.
keyonghan commentedon Mar 30, 2022
Led run on a refreshed bot: https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/340047dc7d61d76dffb91c87cff50b598859bc233a41f175c627a520692da442/+/build.proto
godofredoc commentedon Mar 30, 2022
I have some local changes I used for validation yesterday unfortunately I haven't been able to test them yet. I'll upload the current version of the recipe change just in case someone has free cycles to validate it.
godofredoc commentedon Mar 30, 2022
Here is a run with the changes to remove the runtimes properly: https://chromium-swarm.appspot.com/task?id=59f5766358a6e610
keyonghan commentedon Mar 30, 2022
All bots are cleaned up, and we should be ready to land flutter-team-archive/engine#32340 to unblock the tree.
CaseyHillers commentedon Mar 31, 2022
After 15+ green runs, this looks fixed. Thanks Keyong!
github-actions commentedon Apr 14, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.