balanced-cookbooks / balanced-ci

Internal configuration for the Jekins CI environment
4 stars 1 forks source link

Builder cert issue #36

Closed mjallday closed 10 years ago

mjallday commented 10 years ago

@coderanger any ideas on this before i dig in?

https://ci.vandelay.io/job/balanced-build/1/console

mkdir -p /var/cache/omnibus/src/cacerts-2014.01.06
[fetcher:net::cacerts] fetching /var/cache/omnibus/cache/cacert.pem from http://curl.haxx.se/ca/cacert.pem
[fetcher:net::cacerts] getting from http://curl.haxx.se/ca/cacert.pem with 10 redirects left
[fetcher:net::cacerts] Invalid MD5 for cacerts
[fetcher:net::cacerts] Expected: 6253bb1b6696a190fdf7a2062003b21c
[fetcher:net::cacerts] Actual:   5d108f8ab86afacc6663aafca8604dd3
Something went wrong...the Omnibus just ran off the road!

Error raised was:

    Checksum of downloaded file /var/cache/omnibus/cache/cacert.pem doesn't match expected

Backtrace:

    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/bundler/gems/omnibus-ruby-aed39888dd64/lib/omnibus/fetchers/net_fetcher.rb:181:in `verify_checksum!'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/bundler/gems/omnibus-ruby-aed39888dd64/lib/omnibus/fetchers/net_fetcher.rb:76:in `fetch'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/bundler/gems/omnibus-ruby-aed39888dd64/lib/omnibus/software.rb:393:in `block (4 levels) in render_tasks'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /opt/ruby-210/embedded/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/bundler/gems/omnibus-ruby-aed39888dd64/lib/omnibus/cli/build.rb:47:in `project'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/invocation.rb:109:in `invoke'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor.rb:232:in `block in subcommand'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/bundler/gems/omnibus-ruby-aed39888dd64/lib/omnibus/cli/application.rb:123:in `start'
    /srv/ci/workspace/balanced-build/vendor/bundle/ruby/2.1.0/bundler/gems/omnibus-ruby-aed39888dd64/bin/omnibus:11:in `<top (required)>'
    bin/omnibus:16:in `load'
    bin/omnibus:16:in `<main>'
mjallday commented 10 years ago

Correct md5 exists in https://github.com/opscode/omnibus-software/blob/master/config/software/cacerts.rb

I guess we're using an outdated version of omnibus-software.

mahmoudimus commented 10 years ago

@mjallday omnibus is just a gem that's on coderanger's github repo. You can just update it there. Make a pull request to @coderanger's fork.

coderanger commented 10 years ago

The curl CA bundle probably changed again, just need to get a patch back up to omnibus software (I submitted the last one too oddly enough).

mjallday commented 10 years ago

Fixed by updating omnibus-software version in omnibus-balanced - https://github.com/balanced/omnibus-balanced/commit/7ec16f5736b21ae8ed2ed96d57aa459dfd2c398d