bundle install fails randomly on webapp node
- [single.bitmask.net] err: /Stage[main]/Site_webapp/Exec[bundler_update]/returns: change from notrun to 0 failed: /bin/bash -c "/usr/bin/bundle check || /usr/bin/bundle install --path vendor/bundle --without test development" returned 11 instead of one of [0] at /srv/leap/puppet/modules/site_webapp/manifests/init.pp:66 - [single.bitmask.net] err: /Stage[main]/Site_webapp/Exec[bundler_update]: Failed to call refresh: /bin/bash -c "/usr/bin/bundle check || /usr/bin/bundle install --path vendor/bundle --without test development" returned 11 instead of one of [0] at /srv/leap/puppet/modules/site_webapp/manifests/init.pp:66 - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]: Dependency Exec[bundler_update] has failures: true - [single.bitmask.net] warning: /Stage[main]/Site_webapp/Exec[compile_assets]: Skipping because of failed dependencies - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: /usr/lib/ruby/vendor_ruby/bundler/source.rb:574:in `rescue in load_spec_files': https://github.com/cchandler/certificate_authority.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError) - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/source.rb:572:in `load_spec_files' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/source.rb:372:in `local_specs' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/source.rb:557:in `specs' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:188:in `block in resolve' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:186:in `each' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:186:in `resolve' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:127:in `specs' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:172:in `specs_for' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:161:in `requested_specs' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/environment.rb:23:in `requested_specs' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:11:in `setup' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler.rb:107:in `setup' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/vendor_ruby/bundler/setup.rb:17:in `' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' - [single.bitmask.net] notice: /Stage[main]/Site_webapp/Exec[compile_assets]/returns: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' - [single.bitmask.net] err: /Stage[main]/Site_webapp/Exec[compile_assets]: Failed to call refresh: /bin/bash -c "RAILS_ENV=production /usr/bin/bundle exec rake assets:precompile" returned 1 instead of one of [0] at /srv/leap/puppet/modules/site_webapp/manifests/init.pp:81
trying to reproduce:
leap-webapp@single:~$ /bin/bash -c "/usr/bin/bundle check || /usr/bin/bundle install --path vendor/bundle --without test development" https://github.com/cchandler/certificate_authority.git (at master) is not checked out. Please run `bundle install` Fetching https://github.com/cchandler/certificate_authority.git remote: Counting objects: 750, done. remote: Total 750 (delta 0), reused 0 (delta 0) Receiving objects: 100% (750/750), 218.58 KiB | 302 KiB/s, done. Resolving deltas: 100% (362/362), done. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/.. Installing rake (10.3.1) Installing SyslogLogger (2.0) Installing i18n (0.6.9) Installing multi_json (1.10.0) Installing activesupport (3.2.18) Installing builder (3.0.4) Installing activemodel (3.2.18) Installing erubis (2.7.0) Installing journey (1.0.4) Installing rack (1.4.5) Installing rack-cache (1.2) Installing rack-test (0.6.2) Installing hike (1.2.3) Installing tilt (1.4.1) Installing sprockets (2.2.2) Installing actionpack (3.2.18) Installing mime-types (1.25.1) Installing polyglot (0.3.4) Installing treetop (1.4.15) Installing mail (2.5.4) Installing actionmailer (3.2.18) Installing arel (3.0.3) Installing tzinfo (0.3.39) Installing activerecord (3.2.18) Installing activeresource (3.2.18) Installing sass (3.2.13) Installing bootstrap-sass (2.3.2.2) Installing rack-ssl (1.3.4) Installing json (1.8.1) with native extensions Installing rdoc (3.12.2) Installing thor (0.19.1) Installing railties (3.2.18) Installing bootswatch-rails (0.5.0) Installing braintree (2.27.1) Using bundler (1.1.4) Using certificate_authority (0.2.0) from https://github.com/cchandler/certificate_authority.git (at master) Installing client_side_validations (3.2.6) Installing simple_form (2.1.1) Installing client_side_validations-simple_form (2.1.0) Installing coffee-script-source (1.6.3) Installing execjs (2.0.2) Installing coffee-script (2.2.0) Installing coffee-rails (3.2.2) Installing columnize (0.8.9) Installing rest-client (1.6.7) Installing couchrest (1.1.3) Installing couchrest_model (2.0.1) Installing couchrest_session_store (0.2.4) Installing debugger-linecache (1.2.0) Installing debugger-ruby_core_source (1.3.2) Installing debugger (1.6.6) with native extensions Installing haml (3.1.8) Installing haml-rails (0.3.5) Installing http_accept_language (2.0.0) Installing jquery-rails (3.0.4) Installing kaminari (0.13.0) Using leap_web_billing (0.6.0) from source at engines/billing Using leap_web_help (0.6.0) from source at engines/support Installing libv8 (3.3.10.4) Installing quiet_assets (1.0.2) Installing rails (3.2.18) Installing rails-i18n (3.0.0) Installing warden (1.2.3) Installing rails_warden (0.5.7) Installing rdiscount (2.0.7) with native extensions Installing ruby-srp (0.2.1) Installing sass-rails (3.2.6) Installing therubyracer (0.10.2) with native extensions Installing uglifier (1.2.7) Your bundle is complete! It was installed into ./vendor/bundle Post-install message from rdoc: Depending on your version of ruby, you may need to install ruby rdoc/ri data: <= 1.8.6 : unsupported = 1.8.7 : gem install rdoc-data; rdoc-data --install = 1.9.1 : gem install rdoc-data; rdoc-data --install >= 1.9.2 : nothing to do! Yay! leap-webapp@single:~$ echo $? 0
(from redmine: created on 2014-08-25)