MobileNativeFoundation / bluepill

Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine
BSD 2-Clause "Simplified" License
3.19k stars 232 forks source link

Shutting down simulator failed: Unable to shutdown device in current state: Shutdown #526

Open ravimandala opened 2 years ago

ravimandala commented 2 years ago

At LinkedIn, Bluepill tests fail sometimes due to this simulator failure.

[  INFO  ] (BP-11) [Attempt 2] Create Simulator
[  INFO  ] (BP-11) Booting a simulator without launching Simulator app
[  ERROR ] (BP-11) Simulator AB2609B6-E7F9-4262-A55F-C1ABC0564208 failed to boot. State: Shutdown
[  ERROR ] (BP-11) Shutting down Simulator failed: Unable to shutdown device in current state: Shutdown
[  ERROR ] (BP-11) Completed: [Attempt 2] Create Simulator AB2609B6-E7F9-4262-A55F-C1ABC0564208
[  ERROR ] (BP-11) Unable to boot the Simulator.
[  INFO  ] (BP-11) [Attempt 2] Delete Simulator
[  INFO  ] (BP-11) Shutting down Simulator
[  ERROR ] (BP-11) Shutting down Simulator failed: Unable to shutdown device in current state: Shutdown
[  ERROR ] (BP-11) Completed: [Attempt 2] Delete Simulator AB2609B6-E7F9-4262-A55F-C1ABC0564208
[  ERROR ] (BP-11) Unable to shutdown device in current state: Shutdown
[  INFO  ] (BP-11) Attempt's Exit Status: BPExitStatusSimulatorCreationFailed, Bundle exit status: BPExitStatusSimulatorCreationFailed BPExitStatusAppCrashed
[  INFO  ] (BP-11) Exit Status: BPExitStatusSimulatorCreationFailed 

Xcode: 13.0 macOS: 11.6 (Big Sur) Bluepill: v5.10.0 Device: iPhone 8 w/ iOS 15.0

Is anyone else facing this issue? \cc @chenxiao0228