Last active
December 30, 2015 18:09
-
-
Save cheeseplus/7866088 to your computer and use it in GitHub Desktop.
test-kitchen and FreeBSD not playing nice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cheeseplus at hanuman in ~/projects/cookbooks/riak on sgt-freebsd* | |
$ kitchen test default-freebsd | |
-----> Starting Kitchen (v1.1.0) | |
-----> Cleaning up any prior instances of <default-freebsd-92> | |
-----> Destroying <default-freebsd-92>... | |
Finished destroying <default-freebsd-92> (0m0.00s). | |
-----> Testing <default-freebsd-92> | |
-----> Creating <default-freebsd-92>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'opscode-freebsd-9.2'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[Berkshelf] Skipping Berkshelf with --no-provision | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... | |
[default] Waiting for machine to boot. This may take a few minutes... [default] Machine booted and ready! | |
[default] No guest additions were detected on the base box for this VM! Guest | |
additions are required for forwarded ports, shared folders, host only | |
networking, and more. If SSH fails on this machine, please install | |
the guest additions and repackage the box to continue. | |
This is not an error message; everything may continue to work properly, | |
in which case you may ignore this message. | |
[default] Setting hostname... | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: Failed to complete #create action: [Expected process to exit with [0], but received '1' | |
---- Begin output of vagrant up --no-provision --provider=virtualbox ---- | |
STDOUT: Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'opscode-freebsd-9.2'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[Berkshelf] Skipping Berkshelf with --no-provision | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... | |
[default] Waiting for machine to boot. This may take a few minutes... | |
[default] Machine booted and ready! | |
[default] No guest additions were detected on the base box for this VM! Guest | |
additions are required for forwarded ports, shared folders, host only | |
networking, and more. If SSH fails on this machine, please install | |
the guest additions and repackage the box to continue. | |
This is not an error message; everything may continue to work properly, | |
in which case you may ignore this message. | |
[default] Setting hostname... | |
STDERR: The plugin "kitchen-vagrant" could not be found. Please make sure that it is | |
properly installed via `vagrant plugin`. Note that plugins made for | |
Vagrant 1.0.x are not compatible with 1.1+ and this error will likely | |
continue to show when you use `plugin install` with a 1.0.x plugin. | |
The guest operating system of the machine could not be detected! | |
Vagrant requires this knowledge to perform specific tasks such | |
as mounting shared folders and configuring networks. Please add | |
the ability to detect this guest operating system to Vagrant | |
by creating a plugin or reporting a bug. | |
---- End output of vagrant up --no-provision --provider=virtualbox ---- | |
Ran vagrant up --no-provision --provider=virtualbox returned 1] | |
>>>>>> ---------------------- | |
>>>>>> Please see .kitchen/logs/kitchen.log for more details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- Begin output of vagrant up --no-provision --provider=virtualbox ---- | |
STDOUT: Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'opscode-freebsd-9.2'... | |
Progress: 10% | |
Progress: 20% | |
Progress: 30% | |
Progress: 50% | |
Progress: 70% | |
Progress: 90% | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[Berkshelf] Skipping Berkshelf with --no-provision | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... | |
[default] Waiting for machine to boot. This may take a few minutes... | |
[default] Machine booted and ready! | |
[default] No guest additions were detected on the base box for this VM! Guest | |
additions are required for forwarded ports, shared folders, host only | |
networking, and more. If SSH fails on this machine, please install | |
the guest additions and repackage the box to continue. | |
This is not an error message; everything may continue to work properly, | |
in which case you may ignore this message. | |
[default] Setting hostname... | |
STDERR: The plugin "kitchen-vagrant" could not be found. Please make sure that it is | |
properly installed via `vagrant plugin`. Note that plugins made for | |
Vagrant 1.0.x are not compatible with 1.1+ and this error will likely | |
continue to show when you use `plugin install` with a 1.0.x plugin. | |
The guest operating system of the machine could not be detected! | |
Vagrant requires this knowledge to perform specific tasks such | |
as mounting shared folders and configuring networks. Please add | |
the ability to detect this guest operating system to Vagrant | |
by creating a plugin or reporting a bug. | |
---- End output of vagrant up --no-provision --provider=virtualbox ---- | |
Ran vagrant up --no-provision --provider=virtualbox returned 1 | |
E, [2013-12-08T19:16:35.836664 #29597] ERROR -- Kitchen: ------Backtrace------- | |
E, [2013-12-08T19:16:35.836689 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/shell_out.rb:70:in `rescue in run_command' | |
E, [2013-12-08T19:16:35.836712 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/shell_out.rb:59:in `run_command' | |
E, [2013-12-08T19:16:35.836738 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/driver/base.rb:158:in `run_command' | |
E, [2013-12-08T19:16:35.836764 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/kitchen-vagrant-0.13.0/lib/kitchen/driver/vagrant.rb:119:in `run' | |
E, [2013-12-08T19:16:35.836790 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/kitchen-vagrant-0.13.0/lib/kitchen/driver/vagrant.rb:64:in `create' | |
E, [2013-12-08T19:16:35.836815 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:273:in `public_send' | |
E, [2013-12-08T19:16:35.836840 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:273:in `block in perform_action' | |
E, [2013-12-08T19:16:35.836864 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:305:in `call' | |
E, [2013-12-08T19:16:35.836889 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:305:in `block in synchronize_or_call' | |
E, [2013-12-08T19:16:35.836912 #29597] ERROR -- Kitchen: <internal:prelude>:10:in `synchronize' | |
E, [2013-12-08T19:16:35.836936 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:303:in `synchronize_or_call' | |
E, [2013-12-08T19:16:35.836959 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:283:in `block in action' | |
E, [2013-12-08T19:16:35.836989 #29597] ERROR -- Kitchen: /Users/cheeseplus/.rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:280:in `measure' | |
E, [2013-12-08T19:16:35.837012 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:282:in `action' | |
E, [2013-12-08T19:16:35.837035 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:273:in `perform_action' | |
E, [2013-12-08T19:16:35.837059 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:252:in `create_action' | |
E, [2013-12-08T19:16:35.837082 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:246:in `block in transition_to' | |
E, [2013-12-08T19:16:35.837104 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:245:in `each' | |
E, [2013-12-08T19:16:35.837129 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:245:in `transition_to' | |
E, [2013-12-08T19:16:35.837151 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:141:in `verify' | |
E, [2013-12-08T19:16:35.837187 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:170:in `block in test' | |
E, [2013-12-08T19:16:35.837214 #29597] ERROR -- Kitchen: /Users/cheeseplus/.rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:280:in `measure' | |
E, [2013-12-08T19:16:35.837239 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/instance.rb:166:in `test' | |
E, [2013-12-08T19:16:35.837261 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/cli.rb:314:in `public_send' | |
E, [2013-12-08T19:16:35.837284 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/cli.rb:314:in `block in run_serial' | |
E, [2013-12-08T19:16:35.837309 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/cli.rb:314:in `map' | |
E, [2013-12-08T19:16:35.837331 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/cli.rb:314:in `run_serial' | |
E, [2013-12-08T19:16:35.837356 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/cli.rb:146:in `block in test' | |
E, [2013-12-08T19:16:35.837378 #29597] ERROR -- Kitchen: /Users/cheeseplus/.rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:280:in `measure' | |
E, [2013-12-08T19:16:35.837404 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/cli.rb:137:in `test' | |
E, [2013-12-08T19:16:35.837431 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/thor-0.18.1/lib/thor/command.rb:27:in `run' | |
E, [2013-12-08T19:16:35.837453 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command' | |
E, [2013-12-08T19:16:35.837475 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/cli.rb:288:in `invoke_task' | |
E, [2013-12-08T19:16:35.837500 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch' | |
E, [2013-12-08T19:16:35.837522 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/thor-0.18.1/lib/thor/base.rb:439:in `start' | |
E, [2013-12-08T19:16:35.837544 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/bin/kitchen:13:in `block in <top (required)>' | |
E, [2013-12-08T19:16:35.837570 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/lib/kitchen/errors.rb:81:in `with_friendly_errors' | |
E, [2013-12-08T19:16:35.837592 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/gems/test-kitchen-1.1.0/bin/kitchen:13:in `<top (required)>' | |
E, [2013-12-08T19:16:35.837618 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/bin/kitchen:23:in `load' | |
E, [2013-12-08T19:16:35.837643 #29597] ERROR -- Kitchen: /Users/cheeseplus/.gem/ruby/1.9.3/bin/kitchen:23:in `<main>' | |
E, [2013-12-08T19:16:35.837665 #29597] ERROR -- Kitchen: ---------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vagrant plugin list | |
kitchen-vagrant (0.13.0) | |
vagrant-berkshelf (1.3.4) | |
vagrant-cachier (0.5.0) | |
vagrant-guest-omnios (0.0.1) | |
vagrant-omnibus (1.1.2) | |
vagrant-vmware-fusion (0.6.3) |
fnichol
commented
Dec 9, 2013
[default] Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
sed -i '' 's/^hostname=.*$/hostname=default-freebsd-92.vagrantup.com/' /etc/rc.conf
Stdout from the command:
Stderr from the command:
sudo: bash: command not found
---- End output of vagrant up --no-provision --provider=virtualbox ----
Ran vagrant up --no-provision --provider=virtualbox returned 1]
Please see .kitchen/logs/kitchen.log for more details
> vagrant up --no-provision
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'opscode-freebsd-9.2'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[Berkshelf] Skipping Berkshelf with --no-provision
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Running 'pre-boot' VM customizations...
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] No guest additions were detected on the base box for this VM! Guest
additions are required for forwarded ports, shared folders, host only
networking, and more. If SSH fails on this machine, please install
the guest additions and repackage the box to continue.
This is not an error message; everything may continue to work properly,
in which case you may ignore this message.
[default] Mounting shared folders...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment