Closed JoeSSS closed 4 years ago
Errno::EINTR: Probably caused by the really low maxproc on the macOS hosts. Starting and stopping simulators causes thousands of processes to be spawned.
This is safe to ignore.
1) RunLoop::CoreSimulator#launch_simulator does not relaunch if the simulator is already running
Failure/Error:
raise Error,
%Q{Encountered an error after #{elapsed} seconds:
#{e.message}
executing this command:
#{cmd}
RunLoop::Shell::Error:
Encountered an error after 0.03 seconds:
Interrupted system call
executing this command:
ps x -o pid=,command=
# ./lib/run_loop/shell.rb:90:in `rescue in run_shell_command'
# ./lib/run_loop/shell.rb:86:in `run_shell_command'
# ./lib/run_loop/core_simulator.rb:652:in `running_simulator_details'
# ./lib/run_loop/core_simulator.rb:805:in `simulator_state_requires_relaunch?'
# ./lib/run_loop/core_simulator.rb:428:in `simulator_requires_relaunch?'
# ./lib/run_loop/core_simulator.rb:438:in `launch_simulator'
# ./spec/integration/core_simulator_spec.rb:54:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Errno::EINTR:
# Interrupted system call
# <internal:prelude>:73:in `__read_nonblock'
Failure on Xcode 11.2 is the same as reported before. There is nothing we can do to increase the ulimits on the macOS host.
Merging.
Thanks @sergey-plevako-badoo
Thanks @JoeSSS for the release and the patch to DeviceAgent for Xcode 11.4
DeviceAgent 2.2.0
Compiled with Xcode 11.3 on Catalina.
https://github.com/calabash/DeviceAgent.iOS/releases/tag/2.2.0