Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created January 22, 2013 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliandunn/4596902 to your computer and use it in GitHub Desktop.
Save juliandunn/4596902 to your computer and use it in GitHub Desktop.
veewee doesn't support multiple postinstalls when the first one reboots the box
Redirecting to /bin/systemctl stop sshd.service
/Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/ruby_compat.rb:22:in `select': closed stream (IOError)
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/ruby_compat.rb:22:in `io_select'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/transport/packet_stream.rb:73:in `available_for_read?'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/transport/packet_stream.rb:85:in `next_packet'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb:171:in `block in poll_message'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb:166:in `loop'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb:166:in `poll_message'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/connection/session.rb:451:in `dispatch_incoming_packets'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/connection/session.rb:213:in `preprocess'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/connection/session.rb:197:in `process'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/connection/session.rb:161:in `block in loop'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/connection/session.rb:161:in `loop'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/connection/session.rb:161:in `loop'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh/connection/channel.rb:269:in `wait'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/helper/ssh.rb:138:in `block in ssh_execute'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh.rb:193:in `start'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/helper/ssh.rb:85:in `ssh_execute'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/box/exec.rb:35:in `block in exec'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/helper/ssh.rb:42:in `call'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/helper/ssh.rb:42:in `block (2 levels) in when_ssh_login_works'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/net-ssh-2.2.2/lib/net/ssh.rb:193:in `start'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/helper/ssh.rb:39:in `block in when_ssh_login_works'
from /Users/jdunn/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/helper/ssh.rb:34:in `when_ssh_login_works'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/box/exec.rb:32:in `exec'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/box/build.rb:247:in `block in handle_postinstall'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/box/build.rb:229:in `each'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/box/build.rb:229:in `handle_postinstall'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/core/box/build.rb:87:in `build'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/provider/virtualbox/box/build.rb:10:in `build'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/lib/veewee/command/vbox.rb:17:in `build'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor/task.rb:27:in `run'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor/invocation.rb:120:in `invoke_task'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor.rb:275:in `dispatch'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor/invocation.rb:109:in `invoke'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor.rb:213:in `block in subcommand'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor/task.rb:27:in `run'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor/invocation.rb:120:in `invoke_task'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor.rb:275:in `dispatch'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/thor-0.16.0/lib/thor/base.rb:425:in `start'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/gems/veewee-0.3.7/bin/veewee:23:in `<top (required)>'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/bin/veewee:23:in `load'
from /Users/jdunn/.rvm/gems/ruby-1.9.3-p327/bin/veewee:23:in `<main>'
zlib(finalizer): the stream was freed prematurely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment