Skip to content

Instantly share code, notes, and snippets.

@borcean
Created February 12, 2016 21:39
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 borcean/1f07ea642a48ea4ac1a5 to your computer and use it in GitHub Desktop.
Save borcean/1f07ea642a48ea4ac1a5 to your computer and use it in GitHub Desktop.
~/g/p/puppetlabs-motd (⦿-2.1.6@puppet) (master) $ bundle exec rake beaker
/Users/jeffrey/.rvm/rubies/ruby-2.1.6/bin/ruby -I/Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib:/Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-support-3.4.0/lib /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/exe/rspec spec/acceptance --color
/Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-rspec-5.3.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/specinfra-2.44.2/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
==> ubuntu-server-1404-x64: VM not created. Moving on...
Bringing machine 'centos-66-x64' up with 'virtualbox' provider...
==> centos-66-x64: Importing base box 'puppetlabs/centos-6.6-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 60%Progress: 80%Progress: 90%==> centos-66-x64: Matching MAC address for NAT networking...
==> centos-66-x64: Checking if box 'puppetlabs/centos-6.6-64-nocm' is up to date...
==> centos-66-x64: Setting the name of the VM: defaultyml_centos-66-x64_1455311738777_60792
==> centos-66-x64: Clearing any previously set network interfaces...
==> centos-66-x64: Preparing network interfaces based on configuration...
centos-66-x64: Adapter 1: nat
centos-66-x64: Adapter 2: hostonly
==> centos-66-x64: Forwarding ports...
centos-66-x64: 22 (guest) => 2222 (host) (adapter 1)
==> centos-66-x64: Running 'pre-boot' VM customizations...
==> centos-66-x64: Booting VM...
==> centos-66-x64: Waiting for machine to boot. This may take a few minutes...
centos-66-x64: SSH address: 127.0.0.1:2222
centos-66-x64: Adapter 2: hostonly
==> centos-66-x64: Forwarding ports...
centos-66-x64: 22 (guest) => 2222 (host) (adapter 1)
==> centos-66-x64: Running 'pre-boot' VM customizations...
==> centos-66-x64: Booting VM...
==> centos-66-x64: Waiting for machine to boot. This may take a few minutes...
centos-66-x64: SSH address: 127.0.0.1:2222
centos-66-x64: SSH username: vagrant
centos-66-x64: SSH auth method: private key
==> centos-66-x64: Machine booted and ready!
==> centos-66-x64: Checking for guest additions in VM...
centos-66-x64: The guest additions on this VM do not match the installed version of
centos-66-x64: VirtualBox! In most cases this is fine, but in rare cases it can
centos-66-x64: prevent things such as shared folders from working properly. If you see
centos-66-x64: shared folder errors, please make sure the guest additions within the
centos-66-x64: virtual machine match the version of VirtualBox you have installed on
centos-66-x64: your host and reload your VM.
centos-66-x64:
centos-66-x64: Guest Additions Version: 4.3.22
centos-66-x64: VirtualBox Version: 5.0
==> centos-66-x64: Setting hostname...
==> centos-66-x64: Configuring and enabling network interfaces...
==> centos-66-x64: Mounting shared folders...
centos-66-x64: /vagrant => /Users/jeffrey/git/puppet/puppetlabs-motd/.vagrant/beaker_vagrant_files/default.yml
Warning: ssh connection to centos-66-x64 has been terminated
Warning: ssh connection to centos-66-x64 has been terminated
/Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/roles.rb:240:in `rescue in find_only_one': There should be one host with database defined! (Beaker::DSL::Outcomes::FailTest)
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/roles.rb:238:in `find_only_one'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/roles.rb:229:in `find_host_with_role'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/roles.rb:58:in `database'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/install_utils/pe_utils.rb:58:in `sorted_hosts'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/install_utils/pe_utils.rb:553:in `block in install_pe_on'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/structure.rb:230:in `confine_block'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-2.29.0/lib/beaker/dsl/install_utils/pe_utils.rb:552:in `install_pe_on'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-puppet_install_helper-0.4.0/lib/beaker/puppet_install_helper.rb:48:in `run_puppet_install_helper_on'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/beaker-puppet_install_helper-0.4.0/lib/beaker/puppet_install_helper.rb:6:in `run_puppet_install_helper'
from /Users/jeffrey/git/puppet/puppetlabs-motd/spec/spec_helper_acceptance.rb:4:in `<top (required)>'
from /Users/jeffrey/git/puppet/puppetlabs-motd/spec/acceptance/motd_spec.rb:1:in `require'
from /Users/jeffrey/git/puppet/puppetlabs-motd/spec/acceptance/motd_spec.rb:1:in `<top (required)>'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/configuration.rb:1361:in `load'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/configuration.rb:1361:in `block in load_spec_files'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/configuration.rb:1359:in `each'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/configuration.rb:1359:in `load_spec_files'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/runner.rb:102:in `setup'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/runner.rb:88:in `run'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/runner.rb:73:in `run'
from /Users/jeffrey/git/puppet/puppetlabs-motd/.bundle/gems/ruby/2.1.0/gems/rspec-core-3.4.0/lib/rspec/core/runner.rb:41:in `invoke'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment