Skip to content

Instantly share code, notes, and snippets.

@tfhartmann tfhartmann/beaker_error.md
Last active Aug 29, 2015

Embed
What would you like to do?
beaker_error
Hypervisor for centos6 is docker
Beaker::Hypervisor, found some docker boxes to create
Provisioning docker
provisioning centos6
Creating image
Dockerfile is         FROM centos:centos6
          RUN yum clean all
          RUN yum install -y sudo openssh-server openssh-clients curl ntpdate
          RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
          RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
        RUN mkdir -p /var/run/sshd
        RUN echo root:root | chpasswd
        EXPOSE 22
        CMD /usr/sbin/sshd -D 
Failed: errored in CLI.provision
#<NoMethodError: undefined method `force_encoding' for :post:Symbol>
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:173
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:169
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:168
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:168
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:272
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:270
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:270
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/logger.rb:212
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/docker-api-1.17.0/lib/docker/connection.rb:40
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/docker-api-1.17.0/lib/docker/connection.rb:59
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/docker-api-1.17.0/lib/docker/image.rb:199
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/hypervisor/docker.rb:26
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/hypervisor/docker.rb:22
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/hypervisor/docker.rb:22
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/hypervisor.rb:68
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/network_manager.rb:48
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/network_manager.rb:47
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/network_manager.rb:47
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/cli.rb:56
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/lib/beaker/cli.rb:83
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/beaker-2.0.0/bin/beaker:6
/usr/local/rbenv/versions/1.9.3-p484/bin/beaker:23
/usr/local/rbenv/versions/1.9.3-p484/bin/beaker:23
Cleanup: cleaning up after failed run

You can reproduce this run with:
/usr/local/rbenv/versions/1.9.3-p484/bin/beaker --log-level debug -h hosts.yaml -t tests/

Important ENV variables that may have affected your run:
    RUBYLIB		/usr/local/rbenv/rbenv.d/exec/gem-rehash:
    PATH		/usr/local/rbenv/versions/1.9.3-p484/bin:/usr/local/rbenv/libexec:/usr/local/rbenv/plugins/ruby-build/bin:/usr/local/rbenv/shims:/usr/local/rbenv/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vagrant/bin
    home		/home/vagrant
Failed running the test suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.