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
This execute block in the xcode resource takes more than 1 hour to complete on my machine (with ~14 Mbit/s bandwidth):
action :install_xcode do
execute "install Xcode #{new_resource.version}" do
environment DEVELOPER_CREDENTIALS
command XCVersion.install_xcode(new_resource.version)
not_if { Xcode.installed?(new_resource.version) }
end
end
So it fails with:
ERROR: xcode[9.2] (macos::xcode line 1) had an error: Mixlib::ShellOut::CommandTimeout: execute[install Xcode 9.2] (/tmp/kitchen/cache/cookbooks/macos/resources/xcode.rb line 27) had an error: Mixlib::ShellOut::CommandTimeout: Command timed out after 3600s:
Command exceeded allowed execution time, process terminated
---- Begin output of /opt/chef/embedded/bin/xcversion install '9.2' ----
STDOUT:
###################################################################### 97.7%######## 100.0%
---- End output of /opt/chef/embedded/bin/xcversion install '9.2' ----
It looks like it was very close to completion within the time limit though.
Is it possible to extend the timeout property of the execute block (maybe 2 hours is a better timeout limit)?
I think it is fair to assume that a 5GB download + installation will exceed 1 hour for a lot of people.
The text was updated successfully, but these errors were encountered:
This execute block in the xcode resource takes more than 1 hour to complete on my machine (with ~14 Mbit/s bandwidth):
So it fails with:
It looks like it was very close to completion within the time limit though.
Is it possible to extend the timeout property of the execute block (maybe 2 hours is a better timeout limit)?
I think it is fair to assume that a 5GB download + installation will exceed 1 hour for a lot of people.
The text was updated successfully, but these errors were encountered: