You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the time, the Jenkins jobs run fine. Sometimes the xcrun simctl commands are not responding at some point, so the jobs are stuck during simulator creation or deletion.
The process com.apple.CoreSimulator.CoreSimulatorService seems stuck in a deadlock.
We ran sample on the process and the sample analysis did exhibit :
Dispatch Thread Soft Limit: 64 reached in 8117 of 8121 samples -- too many dispatch threads blocked in synchronous operations
Killing the simulators does not end the deadlock. We have to killall -9 com.apple.CoreSimulator.CoreSimulatorService
Command executed
private_lane :jenkins_test do |options|
setup_jenkins(result_bundle: false)
sh 'defaults write com.apple.iphonesimulator ConnectHardwareKeyboard 0'
simctl(type: 'iPhone Xʀ',
block: lambda { |action, device|
action.scan(
skip_detect_devices: true,
destination: ["id=#{device.udid}"],
workspace: "#{Dir.pwd}/MyApp.xcworkspace",
scheme: options[:scheme],
xcargs: "-UseModernBuildSystem=NO",
clean: true,
code_coverage:true,
derived_data_path: '.',
output_directory: "./test_output/",
fail_build: false,
result_bundle: "TestResults" # To generate test reports
)
})
end
Duplicate of fastlane/fastlane#14528 (comment)
Issue Description
We rely on fastlane/scan to perform the tests on our Jenkins CI server.
We rely on fastlane-plugin-simctl to execute
xcrun simctl
commands.We execute up to 12 concurrent Jenkins jobs.
Most of the time, the Jenkins jobs run fine.
Sometimes the
xcrun simctl
commands are not responding at some point, so the jobs are stuck during simulator creation or deletion.The process
com.apple.CoreSimulator.CoreSimulatorService
seems stuck in a deadlock.We ran
sample
on the process and the sample analysis did exhibit :Killing the simulators does not end the deadlock. We have to
killall -9 com.apple.CoreSimulator.CoreSimulatorService
Command executed
Environment
🚫 fastlane environment 🚫
Stack
System Locale
The text was updated successfully, but these errors were encountered: