-
-
Save msavy/187df9515676f5d74fce to your computer and use it in GitHub Desktop.
running same spec twice, different number of failures. seems there is some non determinism.
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
should change the real and effective uid & gid | |
Failures: | |
1) BoxGrinder::ElasticHostsPlugin after validation should convert hash to request | |
Failure/Error: @plugin.hash_to_request('abc' => 'def', 'one' => 1234).should == "abc def\none 1234\n" | |
expected: "abc def\none 1234\n" | |
got: "one 1234\nabc def\n" (using ==) | |
Diff: | |
@@ -1,3 +1,3 @@ | |
-abc def | |
one 1234 | |
+abc def | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/fail_with.rb:32:in `fail_with' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:48:in `fail_with_message' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:70:in `__delegate_operator' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:60:in `eval_match' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:29:in `==' | |
# ./spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:101 | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
# /usr/bin/rspec:19 | |
2) BoxGrinder::RPMBasedOSPlugin.cleanup_after_appliance_creator should cleanup after appliance creator (surprisingly!) | |
Failure/Error: @plugin.cleanup_after_appliance_creator(12345) | |
#<BoxGrinder::ExecHelper:0x7f0a811a6840> received :execute out of order | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/error_generator.rb:70:in `__raise' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/error_generator.rb:37:in `raise_out_of_order_error' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/order_group.rb:24:in `handle_order_constraint' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:115:in `invoke' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `execute' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:163:in `cleanup_after_appliance_creator' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:161:in `each' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:161:in `cleanup_after_appliance_creator' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:149:in `each' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:149:in `cleanup_after_appliance_creator' | |
# ./spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb:251 | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
# /usr/bin/rspec:19 | |
Finished in 8.57 seconds | |
349 examples, 2 failures | |
Failed examples: | |
rspec ./spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:100 # BoxGrinder::ElasticHostsPlugin after validation should convert hash to request | |
rspec ./spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb:223 # BoxGrinder::RPMBasedOSPlugin.cleanup_after_appliance_creator should cleanup after appliance creator (surprisingly!) | |
rake aborted! | |
ruby /usr/bin/ruby -I ../boxgrinder-core/lib -S rspec --colour --format doc -b spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb spec/plugins/platform/ec2/ec2-plugin-spec.rb spec/plugins/platform/virtualpc/virtualpc-plugin-spec.rb spec/plugins/platform/vmware/vmware-plugin-spec.rb spec/plugins/delivery/ebs/ebs-plugin-spec.rb spec/plugins/delivery/sftp/sftp-plugin-spec.rb spec/plugins/delivery/openstack/openstack-plugin-spec.rb spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb spec/plugins/delivery/s3/s3-plugin-spec.rb spec/plugins/delivery/libvirt/libvirt-plugin-spec.rb spec/plugins/delivery/local/local-plugin-spec.rb spec/plugins/os/fedora/fedora-plugin-spec.rb spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb spec/plugins/os/rpm-based/kickstart-spec.rb spec/plugins/os/rpm-based/rpm-dependency-validator-spec.rb spec/plugins/os/centos/centos-plugin-spec.rb spec/plugins/os/sl/sl-plugin-spec.rb spec/plugins/os/rhel/rhel-plugin-spec.rb spec/plugins/base-plugin-spec.rb spec/managers/plugin-manager-spec.rb spec/helpers/linux-helper-spec.rb spec/helpers/package-helper-spec.rb spec/helpers/augeas-helper-spec.rb spec/helpers/s3-helper-spec.rb spec/helpers/ec2-helper-spec.rb spec/helpers/guestfs-helper-spec.rb spec/helpers/plugin-helper-spec.rb spec/helpers/image-helper-spec.rb spec/appliance-spec.rb failed | |
Tasks: TOP => spec | |
(See full trace by running task with --trace) | |
[ec2-user@ip-10-35-54-126 boxgrinder-build]$ rake spec | |
rake/gempackagetask is deprecated. Use rubygems/package_task instead | |
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) | |
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
Gem::Specification#has_rdoc= called from /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:396 | |
. | |
[... SNIP ...] | |
Failures: | |
1) BoxGrinder::ElasticHostsPlugin after validation should convert hash to request | |
Failure/Error: @plugin.hash_to_request('abc' => 'def', 'one' => 1234).should == "abc def\none 1234\n" | |
expected: "abc def\none 1234\n" | |
got: "one 1234\nabc def\n" (using ==) | |
Diff: | |
@@ -1,3 +1,3 @@ | |
-abc def | |
one 1234 | |
+abc def | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/fail_with.rb:32:in `fail_with' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:48:in `fail_with_message' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:70:in `__delegate_operator' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:60:in `eval_match' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:29:in `==' | |
# ./spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:101 | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
# /usr/bin/rspec:19 | |
2) BoxGrinder::RPMBasedOSPlugin.cleanup_after_appliance_creator should cleanup after appliance creator (surprisingly!) | |
Failure/Error: @plugin.cleanup_after_appliance_creator(12345) | |
#<BoxGrinder::ExecHelper:0x7f8dadceb2f0> received :execute out of order | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/error_generator.rb:70:in `__raise' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/error_generator.rb:37:in `raise_out_of_order_error' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/order_group.rb:24:in `handle_order_constraint' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:115:in `invoke' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `execute' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:163:in `cleanup_after_appliance_creator' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:161:in `each' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:161:in `cleanup_after_appliance_creator' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:149:in `each' | |
# ./lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:149:in `cleanup_after_appliance_creator' | |
# ./spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb:251 | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
# /usr/bin/rspec:19 | |
3) BoxGrinder::AugeasHelper should change configuration for two files | |
Failure/Error: @helper.edit do | |
Mock "GuestFS" received :aug_rm with unexpected arguments | |
expected: ("/augeas/load//incl[. != '/etc/ssh/sshd_config' and . != '/etc/sysconfig/selinux']") | |
got: ("/augeas/load//incl[. != '/etc/sysconfig/selinux' and . != '/etc/ssh/sshd_config']") | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/error_generator.rb:70:in `__raise' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/error_generator.rb:23:in `raise_unexpected_message_args_error' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:120:in `raise_unexpected_message_args_error' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:108:in `message_received' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `aug_rm' | |
# ./lib/boxgrinder-build/helpers/augeas-helper.rb:54:in `edit' | |
# ./spec/helpers/augeas-helper-spec.rb:69 | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
# /usr/bin/rspec:19 | |
Finished in 8.45 seconds | |
349 examples, 3 failures | |
Failed examples: | |
rspec ./spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:100 # BoxGrinder::ElasticHostsPlugin after validation should convert hash to request | |
rspec ./spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb:223 # BoxGrinder::RPMBasedOSPlugin.cleanup_after_appliance_creator should cleanup after appliance creator (surprisingly!) | |
rspec ./spec/helpers/augeas-helper-spec.rb:56 # BoxGrinder::AugeasHelper should change configuration for two files | |
rake aborted! | |
ruby /usr/bin/ruby -I ../boxgrinder-core/lib -S rspec --colour --format doc -b spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb spec/plugins/platform/ec2/ec2-plugin-spec.rb spec/plugins/platform/virtualpc/virtualpc-plugin-spec.rb spec/plugins/platform/vmware/vmware-plugin-spec.rb spec/plugins/delivery/ebs/ebs-plugin-spec.rb spec/plugins/delivery/sftp/sftp-plugin-spec.rb spec/plugins/delivery/openstack/openstack-plugin-spec.rb spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb spec/plugins/delivery/s3/s3-plugin-spec.rb spec/plugins/delivery/libvirt/libvirt-plugin-spec.rb spec/plugins/delivery/local/local-plugin-spec.rb spec/plugins/os/fedora/fedora-plugin-spec.rb spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb spec/plugins/os/rpm-based/kickstart-spec.rb spec/plugins/os/rpm-based/rpm-dependency-validator-spec.rb spec/plugins/os/centos/centos-plugin-spec.rb spec/plugins/os/sl/sl-plugin-spec.rb spec/plugins/os/rhel/rhel-plugin-spec.rb spec/plugins/base-plugin-spec.rb spec/managers/plugin-manager-spec.rb spec/helpers/linux-helper-spec.rb spec/helpers/package-helper-spec.rb spec/helpers/augeas-helper-spec.rb spec/helpers/s3-helper-spec.rb spec/helpers/ec2-helper-spec.rb spec/helpers/guestfs-helper-spec.rb spec/helpers/plugin-helper-spec.rb spec/helpers/image-helper-spec.rb spec/appliance-spec.rb failed | |
Tasks: TOP => spec | |
(See full trace by running task with --trace) |
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
[ec2-user@ip-10-35-54-126 boxgrinder-build]$ rake spec | |
rake/gempackagetask is deprecated. Use rubygems/package_task instead | |
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) | |
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
Gem::Specification#has_rdoc= called from /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:396 | |
. | |
WARNING: Global access to Rake DSL methods is deprecated. Please include | |
... Rake::DSL into classes and modules which use the Rake DSL methods. | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:420:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:421:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:427:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:428:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:449:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:451:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:452:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:454:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:476:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:477:in `define_tasks' | |
WARNING: DSL method Echoe#namespace called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:481:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:482:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:483:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:488:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:489:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:493:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:494:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:507:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:560:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:562:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:563:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:603:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:604:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:646:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:647:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:659:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:660:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:690:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:745:in `define_tasks' | |
/usr/bin/ruby -I ../boxgrinder-core/lib -S rspec --colour --format doc -b spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb spec/plugins/platform/ec2/ec2-plugin-spec.rb spec/plugins/platform/virtualpc/virtualpc-plugin-spec.rb spec/plugins/platform/vmware/vmware-plugin-spec.rb spec/plugins/delivery/ebs/ebs-plugin-spec.rb spec/plugins/delivery/sftp/sftp-plugin-spec.rb spec/plugins/delivery/openstack/openstack-plugin-spec.rb spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb spec/plugins/delivery/s3/s3-plugin-spec.rb spec/plugins/delivery/libvirt/libvirt-plugin-spec.rb spec/plugins/delivery/local/local-plugin-spec.rb spec/plugins/os/fedora/fedora-plugin-spec.rb spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb spec/plugins/os/rpm-based/kickstart-spec.rb spec/plugins/os/rpm-based/rpm-dependency-validator-spec.rb spec/plugins/os/centos/centos-plugin-spec.rb spec/plugins/os/sl/sl-plugin-spec.rb spec/plugins/os/rhel/rhel-plugin-spec.rb spec/plugins/base-plugin-spec.rb spec/managers/plugin-manager-spec.rb spec/helpers/linux-helper-spec.rb spec/helpers/package-helper-spec.rb spec/helpers/augeas-helper-spec.rb spec/helpers/s3-helper-spec.rb spec/helpers/ec2-helper-spec.rb spec/helpers/guestfs-helper-spec.rb spec/helpers/plugin-helper-spec.rb spec/helpers/image-helper-spec.rb spec/appliance-spec.rb | |
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:305:in `activate_spec': Unable to activate rspec-2.7.0, because rspec-expectations-2.6.0 conflicts with rspec-expectations (~> 2.7.0) (Gem::LoadError) | |
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:271:in `activate_dep' | |
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:236:in `activate' | |
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:213:in `try_activate' | |
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:56:in `require' | |
from /home/ec2-user/boxgrinder-build/spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb:20 | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/configuration.rb:459:in `load' | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/configuration.rb:459:in `load_spec_files' | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/configuration.rb:459:in `map' | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/configuration.rb:459:in `load_spec_files' | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:18:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
from /usr/bin/rspec:19 | |
rake aborted! | |
ruby /usr/bin/ruby -I ../boxgrinder-core/lib -S rspec --colour --format doc -b spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb spec/plugins/platform/ec2/ec2-plugin-spec.rb spec/plugins/platform/virtualpc/virtualpc-plugin-spec.rb spec/plugins/platform/vmware/vmware-plugin-spec.rb spec/plugins/delivery/ebs/ebs-plugin-spec.rb spec/plugins/delivery/sftp/sftp-plugin-spec.rb spec/plugins/delivery/openstack/openstack-plugin-spec.rb spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb spec/plugins/delivery/s3/s3-plugin-spec.rb spec/plugins/delivery/libvirt/libvirt-plugin-spec.rb spec/plugins/delivery/local/local-plugin-spec.rb spec/plugins/os/fedora/fedora-plugin-spec.rb spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb spec/plugins/os/rpm-based/kickstart-spec.rb spec/plugins/os/rpm-based/rpm-dependency-validator-spec.rb spec/plugins/os/centos/centos-plugin-spec.rb spec/plugins/os/sl/sl-plugin-spec.rb spec/plugins/os/rhel/rhel-plugin-spec.rb spec/plugins/base-plugin-spec.rb spec/managers/plugin-manager-spec.rb spec/helpers/linux-helper-spec.rb spec/helpers/package-helper-spec.rb spec/helpers/augeas-helper-spec.rb spec/helpers/s3-helper-spec.rb spec/helpers/ec2-helper-spec.rb spec/helpers/guestfs-helper-spec.rb spec/helpers/plugin-helper-spec.rb spec/helpers/image-helper-spec.rb spec/appliance-spec.rb failed | |
Tasks: TOP => spec | |
(See full trace by running task with --trace) | |
[ec2-user@ip-10-35-54-126 boxgrinder-build]$ sudo gem install rspec-expectations -v 2.7.0 | |
Fetching: rspec-expectations-2.7.0.gem (100%) | |
Successfully installed rspec-expectations-2.7.0 | |
1 gem installed | |
Installing ri documentation for rspec-expectations-2.7.0... | |
Installing RDoc documentation for rspec-expectations-2.7.0... | |
rake spec[ec2-user@ip-10-35-54-126 boxgrinder-build]$ rake spec | |
rake/gempackagetask is deprecated. Use rubygems/package_task instead | |
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) | |
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
Gem::Specification#has_rdoc= called from /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:396 | |
. | |
WARNING: Global access to Rake DSL methods is deprecated. Please include | |
... Rake::DSL into classes and modules which use the Rake DSL methods. | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:420:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:421:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:427:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:428:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:449:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:451:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:452:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:454:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:476:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:477:in `define_tasks' | |
WARNING: DSL method Echoe#namespace called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:481:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:482:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:483:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:488:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:489:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:493:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:494:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:507:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:560:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:562:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:563:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:603:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:604:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:646:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:647:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:659:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:660:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:690:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:745:in `define_tasks' | |
/usr/bin/ruby -I ../boxgrinder-core/lib -S rspec --colour --format doc -b spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb spec/plugins/platform/ec2/ec2-plugin-spec.rb spec/plugins/platform/virtualpc/virtualpc-plugin-spec.rb spec/plugins/platform/vmware/vmware-plugin-spec.rb spec/plugins/delivery/ebs/ebs-plugin-spec.rb spec/plugins/delivery/sftp/sftp-plugin-spec.rb spec/plugins/delivery/openstack/openstack-plugin-spec.rb spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb spec/plugins/delivery/s3/s3-plugin-spec.rb spec/plugins/delivery/libvirt/libvirt-plugin-spec.rb spec/plugins/delivery/local/local-plugin-spec.rb spec/plugins/os/fedora/fedora-plugin-spec.rb spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb spec/plugins/os/rpm-based/kickstart-spec.rb spec/plugins/os/rpm-based/rpm-dependency-validator-spec.rb spec/plugins/os/centos/centos-plugin-spec.rb spec/plugins/os/sl/sl-plugin-spec.rb spec/plugins/os/rhel/rhel-plugin-spec.rb spec/plugins/base-plugin-spec.rb spec/managers/plugin-manager-spec.rb spec/helpers/linux-helper-spec.rb spec/helpers/package-helper-spec.rb spec/helpers/augeas-helper-spec.rb spec/helpers/s3-helper-spec.rb spec/helpers/ec2-helper-spec.rb spec/helpers/guestfs-helper-spec.rb spec/helpers/plugin-helper-spec.rb spec/helpers/image-helper-spec.rb spec/appliance-spec.rb | |
BoxGrinder::VirtualBoxPlugin | |
.build_virtualbox | |
D, [2012-01-12T11:55:40.270296 #2648] DEBUG -- : Building VirtualBox image. | |
D, [2012-01-12T11:55:40.270489 #2648] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:40.270722 #2648] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:40.270845 #2648] DEBUG -- : VirtualBox image was built. | |
should build virtualbox image on new qemu-img | |
D, [2012-01-12T11:55:40.276728 #2648] DEBUG -- : Building VirtualBox image. | |
D, [2012-01-12T11:55:40.276844 #2648] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:40.277055 #2648] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:40.277165 #2648] DEBUG -- : VirtualBox image was built. | |
should build virtualbox image on old qemu-img | |
.is_os_old? | |
should return false for fedora 14 | |
should return false for rhel 6 | |
should return true for centos 5 | |
.customize | |
D, [2012-01-12T11:55:40.298018 #2648] DEBUG -- : Executing post commands from appliance definition... | |
D, [2012-01-12T11:55:40.298720 #2648] DEBUG -- : Post commands from appliance definition file executed. | |
should customize the image | |
.execute | |
I, [2012-01-12T11:55:40.364758 #2648] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:40.365308 #2648] INFO -- : Image converted to VirtualBox format. | |
should execute the conversion | |
I, [2012-01-12T11:55:40.371425 #2648] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:40.372275 #2648] INFO -- : Image converted to VirtualBox format. | |
should execute the conversion with post operations | |
I, [2012-01-12T11:55:40.378338 #2648] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:40.379232 #2648] INFO -- : Image converted to VirtualBox format. | |
should execute the conversion with post operations for rhel 5 | |
I, [2012-01-12T11:55:40.384548 #2648] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:40.384835 #2648] INFO -- : Image converted to VirtualBox format. | |
should not customize the image if no commands are specified and the appliance os version is old | |
.recreate_kernel | |
I, [2012-01-12T11:55:40.390489 #2648] INFO -- : Recreating kernel to include require modules... | |
I, [2012-01-12T11:55:40.390763 #2648] INFO -- : Kernel recreated. | |
should recreate the kernel | |
BoxGrinder::EC2Plugin | |
should create devices | |
should upload fstab | |
should enable networking | |
should upload rc_local | |
should upload rc_local for Fedora 16 or newer | |
should change configuration | |
D, [2012-01-12T11:55:40.443082 #2648] DEBUG -- : Uploading '/boot/grub/menu.lst' file... | |
D, [2012-01-12T11:55:40.443848 #2648] DEBUG -- : '/boot/grub/menu.lst' file uploaded. | |
should install GRUB menu.lst | |
D, [2012-01-12T11:55:40.449717 #2648] DEBUG -- : Enabling nosegneg flag... | |
D, [2012-01-12T11:55:40.449968 #2648] DEBUG -- : Nosegneg enabled. | |
should enable nosegneg flag | |
D, [2012-01-12T11:55:40.455514 #2648] DEBUG -- : Adding ec2-user user... | |
D, [2012-01-12T11:55:40.455825 #2648] DEBUG -- : User ec2-user added. | |
should add ec2-user account | |
D, [2012-01-12T11:55:40.461354 #2648] DEBUG -- : Adding ec2-user user... | |
D, [2012-01-12T11:55:40.461536 #2648] DEBUG -- : ec2-user already exists, skipping. | |
should NOT add ec2-user account if it already exists | |
.disk_device_prefix | |
should use xvda disks for Fedora 13 | |
should use xvda disks for Fedora 12 | |
should use sda disks for RHEL/CentOS 5 | |
.execute | |
I, [2012-01-12T11:55:40.490056 #2648] INFO -- : Converting full appliance image to EC2 format... | |
D, [2012-01-12T11:55:40.491095 #2648] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:40.491264 #2648] DEBUG -- : '/etc/resolv.conf' uploaded. | |
I, [2012-01-12T11:55:40.492155 #2648] INFO -- : Image converted to EC2 format. | |
should convert the appliance to EC2 format | |
I, [2012-01-12T11:55:40.504007 #2648] INFO -- : Converting full appliance image to EC2 format... | |
D, [2012-01-12T11:55:40.505064 #2648] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:40.505284 #2648] DEBUG -- : '/etc/resolv.conf' uploaded. | |
I, [2012-01-12T11:55:40.506112 #2648] INFO -- : Image converted to EC2 format. | |
should recreate kernel image while converting to EC2 format for RHEL/CentOS 5 | |
I, [2012-01-12T11:55:40.574846 #2648] INFO -- : Converting full appliance image to EC2 format... | |
should fail because preparing disk failed | |
.execute_post | |
D, [2012-01-12T11:55:40.582876 #2648] DEBUG -- : Post commands from appliance definition file executed. | |
should execute post commands | |
D, [2012-01-12T11:55:40.589606 #2648] DEBUG -- : No commands specified, skipping. | |
should not execute post commands because there are no commands to execute :) | |
BoxGrinder::VirtualPCPlugin | |
.execute | |
I, [2012-01-12T11:55:40.672772 #2648] INFO -- : Converting image to VirtualPC format... | |
D, [2012-01-12T11:55:40.672960 #2648] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:40.673154 #2648] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:40.673352 #2648] DEBUG -- : No commands specified, skipping. | |
I, [2012-01-12T11:55:40.673461 #2648] INFO -- : Image converted to VirtualPC format. | |
should convert an image to virtualpc format without post commands | |
I, [2012-01-12T11:55:40.679378 #2648] INFO -- : Converting image to VirtualPC format... | |
D, [2012-01-12T11:55:40.679503 #2648] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:40.679714 #2648] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:40.680590 #2648] DEBUG -- : Post commands from appliance definition file executed. | |
I, [2012-01-12T11:55:40.680708 #2648] INFO -- : Image converted to VirtualPC format. | |
should convert an image to virtualpc format with post commands | |
BoxGrinder::VMwarePlugin | |
should calculate good CHS value for 0.5GB disk | |
should calculate good CHS value for 1GB disk | |
should calculate good CHS value for 40GB disk | |
should calculate good CHS value for 160GB disk | |
should change vmx data | |
should create a valid README file | |
.change_vmdk_values | |
should change vmdk data (vmfs) | |
should change vmdk data (flat) | |
should change vmdk data (flat) enabling thin disk | |
.build_vmware_personal | |
D, [2012-01-12T11:55:40.801270 #2648] DEBUG -- : Building VMware personal image. | |
D, [2012-01-12T11:55:40.801429 #2648] DEBUG -- : Copying VMware image file, this may take several minutes... | |
D, [2012-01-12T11:55:40.801658 #2648] DEBUG -- : VMware image copied. | |
D, [2012-01-12T11:55:40.801952 #2648] DEBUG -- : VMware personal image was built. | |
should build personal thick image | |
D, [2012-01-12T11:55:40.807425 #2648] DEBUG -- : Building VMware personal image. | |
D, [2012-01-12T11:55:40.807543 #2648] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:40.807753 #2648] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:40.807940 #2648] DEBUG -- : VMware personal image was built. | |
should build personal thin image | |
.build_vmware_enterprise | |
D, [2012-01-12T11:55:40.814039 #2648] DEBUG -- : Building VMware enterprise image. | |
D, [2012-01-12T11:55:40.814155 #2648] DEBUG -- : Copying VMware image file, this may take several minutes... | |
D, [2012-01-12T11:55:40.814348 #2648] DEBUG -- : VMware image copied. | |
D, [2012-01-12T11:55:40.814928 #2648] DEBUG -- : VMware enterprise image was built. | |
should build enterprise thick image | |
D, [2012-01-12T11:55:40.820900 #2648] DEBUG -- : Building VMware enterprise image. | |
D, [2012-01-12T11:55:40.821023 #2648] DEBUG -- : Copying VMware image file, this may take several minutes... | |
D, [2012-01-12T11:55:40.821311 #2648] DEBUG -- : VMware image copied. | |
D, [2012-01-12T11:55:40.821814 #2648] DEBUG -- : VMware enterprise image was built. | |
should build enterprise thin image | |
.execute | |
I, [2012-01-12T11:55:40.827717 #2648] INFO -- : Converting image to VMware personal format... | |
I, [2012-01-12T11:55:40.828045 #2648] INFO -- : Image converted to VMware format. | |
should convert image to vmware personal | |
I, [2012-01-12T11:55:40.833633 #2648] INFO -- : Converting image to VMware enterprise format... | |
I, [2012-01-12T11:55:40.833940 #2648] INFO -- : Image converted to VMware format. | |
should convert image to vmware enterprise | |
I, [2012-01-12T11:55:40.839316 #2648] INFO -- : Converting image to VMware unknown format... | |
should fail because not supported format was choosen | |
.customize_image | |
D, [2012-01-12T11:55:40.846243 #2648] DEBUG -- : Post commands from appliance definition file executed. | |
should customize the image | |
D, [2012-01-12T11:55:40.851471 #2648] DEBUG -- : No commands specified, skipping. | |
should skip customizing the image | |
BoxGrinder::EBSPlugin | |
should register all operating systems with specific versions | |
should adjust fstab | |
.free_device_suffix | |
should get a new free device | |
should get a new free device next in order | |
.valid_platform? | |
should return true if on EC2 | |
W, [2012-01-12T11:55:40.924237 #2648] WARN -- : A timeout occurred while attempting to retrieve the ec2 hostname: Timeout::Error | |
should return false if NOT on EC2 | |
.ebs_appliance_name | |
should return basic appliance name | |
should always return basic appliance name when overwrite is enabled, but snapshot is disabled | |
should still return a valid _initial_ snapshot appliance name, even if overwrite and snapshot are enabled on first ever run | |
should return 2nd snapshot of appliance | |
should return the last snapshot name again when OVERWRITE is enabled | |
.stomp_ebs | |
I, [2012-01-12T11:55:40.957296 #2648] INFO -- : Finding the primary snapshot associated with ami-bratwurst. | |
I, [2012-01-12T11:55:40.957675 #2648] INFO -- : De-registering the EBS AMI. | |
I, [2012-01-12T11:55:40.957909 #2648] INFO -- : Deleting the primary snapshot. | |
destroys the preexisting EBS assets and de-registers the image with default settings | |
there are live running instances | |
instance termination is disabled | |
raise an error to alert the user | |
instance termination is enabled | |
I, [2012-01-12T11:55:41.037799 #2648] INFO -- : Terminating the following instances: i-cake (running), i-bake (stopped). | |
I, [2012-01-12T11:55:41.038095 #2648] INFO -- : Finding the primary snapshot associated with ami-bratwurst. | |
I, [2012-01-12T11:55:41.038402 #2648] INFO -- : De-registering the EBS AMI. | |
terminate any running instances | |
snapshot preservation | |
I, [2012-01-12T11:55:41.169413 #2648] INFO -- : Finding the primary snapshot associated with ami-bratwurst. | |
I, [2012-01-12T11:55:41.169809 #2648] INFO -- : De-registering the EBS AMI. | |
retains the primary snapshot when preserve_snapshots is enabled | |
BoxGrinder::OpenStackPlugin | |
.get_images | |
T, [2012-01-12T11:55:41.176296 #2648] TRACE -- : Listing images with params = {}... | |
T, [2012-01-12T11:55:41.176581 #2648] TRACE -- : Listing done. | |
should get list of all images | |
T, [2012-01-12T11:55:41.180840 #2648] TRACE -- : Listing images with params = {"name":"xyz"}... | |
T, [2012-01-12T11:55:41.181069 #2648] TRACE -- : Listing done. | |
should get list of filtered images | |
.delete_image | |
T, [2012-01-12T11:55:41.185471 #2648] TRACE -- : Removing image with id = 1... | |
T, [2012-01-12T11:55:41.185706 #2648] TRACE -- : Image removed. | |
should delete selected image | |
.disk_and_container_format | |
should specify valid disk and container format for vmware | |
should specify valid disk and container format for ec2 | |
should specify valid disk and container format for virtualbox | |
should specify valid disk and container format for deliverables of os plugin | |
.post_image | |
I, [2012-01-12T11:55:41.266313 #2648] INFO -- : Uploading and registering 'appliance_name-1.0-raw' appliance in OpenStack... | |
T, [2012-01-12T11:55:41.266618 #2648] TRACE -- : Disk format: raw, container format: bare, public: true, size: 12345. | |
I, [2012-01-12T11:55:41.267110 #2648] INFO -- : Appliance registered under id = 1. | |
should post the image | |
BoxGrinder::ElasticHostsPlugin | |
validation | |
.validate | |
should fail because we try to upload a non-base appliance | |
after validation | |
should return valid disk_size | |
should convert hash to request | |
T, [2012-01-12T11:55:41.285864 #2648] TRACE -- : Compressing 0 kB chunk of data... | |
T, [2012-01-12T11:55:41.286289 #2648] TRACE -- : Data compressed to 2 kB. | |
should compress data chunk | |
.elastichosts_api_url | |
should return valid url for default schema | |
should return valid url for SSL | |
.execute | |
should upload the appliance | |
.create_remote_disk | |
I, [2012-01-12T11:55:41.304791 #2648] INFO -- : Creating new 3 GB disk... | |
I, [2012-01-12T11:55:41.305122 #2648] INFO -- : Disk created with UUID: abc-1234567890-abc. | |
should create remote disk with default name | |
I, [2012-01-12T11:55:41.309875 #2648] INFO -- : Creating new 3 GB disk... | |
I, [2012-01-12T11:55:41.310159 #2648] INFO -- : Disk created with UUID: abc-1234567890-abc. | |
should create remote disk with custom name | |
I, [2012-01-12T11:55:41.314837 #2648] INFO -- : Creating new 3 GB disk... | |
E, [2012-01-12T11:55:41.315193 #2648] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:84:in `create_remote_disk' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:130 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:129 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should catch remote disk creation error | |
.upload | |
I, [2012-01-12T11:55:41.320711 #2648] INFO -- : Uploading appliance... | |
I, [2012-01-12T11:55:41.320923 #2648] INFO -- : Appliance uploaded. | |
create the disk and upload | |
I, [2012-01-12T11:55:41.325191 #2648] INFO -- : Uploading appliance... | |
I, [2012-01-12T11:55:41.325359 #2648] INFO -- : Appliance uploaded. | |
upload using existing disk | |
.upload_chunks | |
I, [2012-01-12T11:55:41.331726 #2648] INFO -- : Uploading disk in 48 parts. | |
I, [2012-01-12T11:55:41.332757 #2648] INFO -- : Appliance appliance uploaded to drive with UUID . | |
should upload chunks in 2 parts | |
I, [2012-01-12T11:55:41.339532 #2648] INFO -- : Uploading disk in 24 parts. | |
I, [2012-01-12T11:55:41.340594 #2648] INFO -- : Appliance appliance uploaded to drive with UUID . | |
should upload 1 chunk with custom chunk size | |
I, [2012-01-12T11:55:41.347118 #2648] INFO -- : Uploading disk in 48 parts. | |
I, [2012-01-12T11:55:41.347737 #2648] INFO -- : Appliance appliance uploaded to drive with UUID . | |
should not compress the data before uploading the chunks if we use CloudSigma | |
.upload_chunk | |
I, [2012-01-12T11:55:41.353173 #2648] INFO -- : Uploading part 2... | |
I, [2012-01-12T11:55:41.353381 #2648] INFO -- : Part 2 uploaded. | |
should upload a chunk of data | |
I, [2012-01-12T11:55:41.358389 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.358667 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:41.358834 #2648] INFO -- : Uploading part 1... | |
I, [2012-01-12T11:55:41.359035 #2648] INFO -- : Part 1 uploaded. | |
should upload a chunk of data and be succesful after 1 retry | |
I, [2012-01-12T11:55:41.363927 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.364166 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:41.364333 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.364550 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:41.364730 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.364946 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
E, [2012-01-12T11:55:41.365078 #2648] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:157:in `upload_chunk' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:254 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:253 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should fail the upload after 3 retries | |
I, [2012-01-12T11:55:41.370602 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.370846 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:41.371013 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.371230 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:41.371393 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.371630 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:41.371794 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.372010 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:41.372173 #2648] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:41.372391 #2648] WARN -- : An error occured while uploading 0 chunk, boom | |
E, [2012-01-12T11:55:41.372518 #2648] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:157:in `upload_chunk' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:266 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:265 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should fail the upload after custom sleep time and retry count | |
I, [2012-01-12T11:55:41.377864 #2648] INFO -- : Uploading part 1... | |
I, [2012-01-12T11:55:41.378060 #2648] INFO -- : Part 1 uploaded. | |
should not specify add content-encoding header if uplaoding to cloudsigma | |
.create_server | |
I, [2012-01-12T11:55:41.382818 #2648] INFO -- : Creating new server... | |
I, [2012-01-12T11:55:41.384603 #2648] INFO -- : Server was registered with 'appliance-1.0' name as 'abc-1234567890-abc' UUID. Use web UI or API tools to start your server. | |
should create the server without issues | |
I, [2012-01-12T11:55:41.389114 #2648] INFO -- : Creating new server... | |
I, [2012-01-12T11:55:41.390863 #2648] INFO -- : Server was registered with 'appliance-1.0' name as 'abc-1234567890-abc' UUID. Use web UI or API tools to start your server. | |
should create the server with 512 MB of ram for instances to be uploaded to cloudsigma | |
I, [2012-01-12T11:55:41.395327 #2648] INFO -- : Creating new server... | |
I, [2012-01-12T11:55:41.397177 #2648] INFO -- : Server was registered with 'appliance-1.0' name as 'abc-1234567890-abc' UUID. Use web UI or API tools to start your server. | |
should create the server without issues for cloudsigma cloud | |
I, [2012-01-12T11:55:41.401717 #2648] INFO -- : Creating new server... | |
E, [2012-01-12T11:55:41.403538 #2648] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:203:in `create_server' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:331 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:330 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should catch remote disk creation error | |
.is_cloudsigma? | |
should return true if we're talking to cloudsigma endpoint | |
should return false if we're NOT talking to cloudsigma endpoint | |
BoxGrinder::S3Plugin | |
should register all operating systems with specific versions | |
I, [2012-01-12T11:55:41.558515 #2648] INFO -- : Bundling AMI... | |
I, [2012-01-12T11:55:41.559111 #2648] INFO -- : Bundling AMI finished. | |
should bundle the image | |
I, [2012-01-12T11:55:41.565726 #2648] INFO -- : Bundling AMI... | |
I, [2012-01-12T11:55:41.566356 #2648] INFO -- : Bundling AMI finished. | |
should bundle the image for centos 5 and choose right kernel and ramdisk | |
I, [2012-01-12T11:55:41.572748 #2648] INFO -- : Bundling AMI... | |
I, [2012-01-12T11:55:41.573137 #2648] INFO -- : Bundling AMI finished. | |
should bundle image with user-selected ramdisk and kernel when set | |
.ami_key | |
should generate valid ami_key | |
should generate valid ami_key with mixed slashes | |
should generate valid ami_key with root path | |
I, [2012-01-12T11:55:41.656065 #2648] INFO -- : Determining snapshot name | |
should generate valid ami_key with snapshot number two | |
I, [2012-01-12T11:55:41.662983 #2648] INFO -- : Determining snapshot name | |
should return valid ami_key with snapshot and overwrite enabled | |
.upload_to_bucket | |
I, [2012-01-12T11:55:41.671840 #2648] INFO -- : Uploading appliance-1.0-fedora-14-x86_64-raw.tgz (22MB) to 'bucketappliance-1.0-fedora-14-x86_64-raw.tgz' path... | |
I, [2012-01-12T11:55:41.672189 #2648] INFO -- : Appliance appliance uploaded to S3. | |
should upload to an S3 bucket | |
I, [2012-01-12T11:55:41.679684 #2648] INFO -- : File 'bucketappliance-1.0-fedora-14-x86_64-raw.tgz' already uploaded, skipping. | |
should NOT upload to an S3 bucket when the file already exists | |
.execute | |
AMI | |
D, [2012-01-12T11:55:41.687375 #2648] DEBUG -- : Going to check whether s3 object exists | |
I, [2012-01-12T11:55:41.687625 #2648] INFO -- : Doing bundle/snapshot | |
should create an AMI | |
D, [2012-01-12T11:55:41.694494 #2648] DEBUG -- : Going to check whether s3 object exists | |
should not upload an AMI because it's already there | |
D, [2012-01-12T11:55:41.701461 #2648] DEBUG -- : Going to check whether s3 object exists | |
I, [2012-01-12T11:55:41.701701 #2648] INFO -- : Doing bundle/snapshot | |
should upload an AMI even if one is already present in order to perform a snapshot | |
s3 | |
should upload image to s3 | |
cloudfront | |
should upload image to cloudfront | |
.validate | |
bucket is not already in existence | |
should validate only basic params | |
should validate basic and additional ami params | |
should raise because key file doesn't exists | |
should raise because key file doesn't exists | |
should raise an error if an invalid region is specified | |
bucket exists (AMI mode) | |
should succeed if the bucket location constraint and region match | |
should raise an error if bucket location constraint and region do not match | |
.bucket | |
should create the asset bucket by default | |
should not create the bucket | |
.upload_image | |
I, [2012-01-12T11:55:41.782732 #2648] INFO -- : Uploading appliance AMI to bucket 'bucket'... | |
should upload image for default region | |
I, [2012-01-12T11:55:41.787433 #2648] INFO -- : Uploading appliance AMI to bucket 'bucket'... | |
should upload image for us-west-1 region | |
.register_image | |
when the AMI has not been registered | |
An expectation of :create was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/delivery/s3/s3-plugin-spec.rb:439. Use allow_message_expectations_on_nil to disable warnings. | |
I, [2012-01-12T11:55:41.794610 #2648] INFO -- : Image for appliance successfully registered under id: ami-1234 (region: us-east-1). | |
should register the AMI | |
when the AMI has been registered | |
An expectation of :create was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/delivery/s3/s3-plugin-spec.rb:452. Use allow_message_expectations_on_nil to disable warnings. | |
I, [2012-01-12T11:55:41.801415 #2648] INFO -- : Image for appliance is already registered under id: ami-1234 (region: us-east-1). | |
should not register the AMI | |
.deregister_image | |
I, [2012-01-12T11:55:41.807992 #2648] INFO -- : Preexisting image '' for appliance will be de-registered, it had id: (region: us-east-1). | |
should deregister the AMI | |
BoxGrinder::LibvirtPlugin | |
.execute | |
should upload disk via sftp | |
should copy disk locally when not sftp | |
should determine xml locally when xml_only is set | |
should write the xml to file after generating it | |
.determine_remotely | |
uri handling | |
should handle and connect to the default empty uri | |
should remove the password element from the userinfo, as libvirt does not support this | |
should re-construct scheme, userinfo, host, path, query in uri | |
there is an existing domain | |
should raise an error if a domain already exists | |
should undefine the domain if overwrite is set, and domain exists | |
capabilities | |
should determine capabilities | |
should request xml using derived capabilities | |
should define the domain with capabilities generated xml | |
.determine_locally | |
should look up static capabilities by getting safest ranked domain | |
.upload_image | |
should connect to the image delivery uri | |
should upload files to the specified path at the uri | |
should disconnect after finishing | |
.build_xml | |
should build an xml definition from appliance config & user options | |
should allow modification of the xml definition via script | |
BoxGrinder::LocalPlugin | |
.execute | |
should package and deliver the appliance | |
D, [2012-01-12T11:55:42.340898 #2648] DEBUG -- : Copying files to 'a/path'... | |
D, [2012-01-12T11:55:42.341084 #2648] DEBUG -- : Copying 'metadata.xml'... | |
D, [2012-01-12T11:55:42.341294 #2648] DEBUG -- : Copying 'a_disk.raw'... | |
I, [2012-01-12T11:55:42.341477 #2648] INFO -- : Appliance delivered to 'a/path'. | |
should not package, but deliver the appliance | |
I, [2012-01-12T11:55:42.346880 #2648] INFO -- : Appliance already delivered to 'a/path'. | |
should not deliver the package, because it is already delivered | |
.deliverables_exists? | |
should return true for package | |
should return true for non-packaged appliance | |
BoxGrinder::FedoraPlugin | |
should normalize packages for 32bit for pae enabled system | |
should normalize packages for Fedora 16 | |
should normalize packages for 64bit | |
should add packages for fedora 13 | |
D, [2012-01-12T11:55:42.383756 #2648] DEBUG -- : Linking /etc/mtab to /proc/self/mounts... | |
D, [2012-01-12T11:55:42.384000 #2648] DEBUG -- : /etc/mtab linked. | |
should link /etc/mtab to /proc/self/mounts | |
BGBUILD-204 | |
D, [2012-01-12T11:55:42.389776 #2648] DEBUG -- : Disabling biosdevname... | |
D, [2012-01-12T11:55:42.390100 #2648] DEBUG -- : Biosdevname disabled. | |
should disable bios device name hints for GRUB legacy | |
D, [2012-01-12T11:55:42.395943 #2648] DEBUG -- : Disabling biosdevname... | |
D, [2012-01-12T11:55:42.396329 #2648] DEBUG -- : Biosdevname disabled. | |
should disable bios device name hints for GRUB2 | |
D, [2012-01-12T11:55:42.401867 #2648] DEBUG -- : Changing runlevel to multi-user non-graphical... | |
D, [2012-01-12T11:55:42.402107 #2648] DEBUG -- : Runlevel changed. | |
should change to runlevel 3 by default | |
D, [2012-01-12T11:55:42.468006 #2648] DEBUG -- : Disabling network filesystem mounting... | |
D, [2012-01-12T11:55:42.468254 #2648] DEBUG -- : Network filesystem mounting disabled. | |
should disable netfs | |
.execute | |
should make Fedora 15 or higher work | |
should for Fedora 16 or higher first install GRUB2 then look after it | |
BoxGrinder::RPMBasedOSPlugin | |
D, [2012-01-12T11:55:42.492149 #2648] DEBUG -- : Installing repositories from appliance definition file... | |
D, [2012-01-12T11:55:42.492385 #2648] DEBUG -- : Installing cirras repo... | |
D, [2012-01-12T11:55:42.492744 #2648] DEBUG -- : Installing abc repo... | |
D, [2012-01-12T11:55:42.493048 #2648] DEBUG -- : Repositories installed. | |
should install repos | |
D, [2012-01-12T11:55:42.613082 #2648] DEBUG -- : Installing repositories from appliance definition file... | |
D, [2012-01-12T11:55:42.613373 #2648] DEBUG -- : Installing abc repo... | |
D, [2012-01-12T11:55:42.686389 #2648] DEBUG -- : Repository 'cirras' is an ephemeral repo. It'll not be installed in the appliance. | |
D, [2012-01-12T11:55:42.686628 #2648] DEBUG -- : Repositories installed. | |
should not install ephemeral repos | |
D, [2012-01-12T11:55:42.693406 #2648] DEBUG -- : Disabling firewall... | |
D, [2012-01-12T11:55:42.693638 #2648] DEBUG -- : Firewall disabled. | |
should disable the firewall | |
.use_labels_for_partitions | |
D, [2012-01-12T11:55:42.701696 #2648] DEBUG -- : Using labels for partitions... | |
D, [2012-01-12T11:55:42.702408 #2648] DEBUG -- : Done. | |
should use labels for partitions instead of paths | |
D, [2012-01-12T11:55:42.709865 #2648] DEBUG -- : Using labels for partitions... | |
D, [2012-01-12T11:55:42.710254 #2648] DEBUG -- : Done. | |
should not change anything | |
.build_with_appliance_creator | |
I, [2012-01-12T11:55:42.722277 #2648] INFO -- : Building full appliance... | |
D, [2012-01-12T11:55:42.723338 #2648] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:42.723521 #2648] DEBUG -- : '/etc/resolv.conf' uploaded. | |
D, [2012-01-12T11:55:42.724061 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.724246 #2648] DEBUG -- : Files installed. | |
I, [2012-01-12T11:55:42.724795 #2648] INFO -- : Executing post operations after build... | |
D, [2012-01-12T11:55:42.724978 #2648] DEBUG -- : No commands specified, skipping. | |
I, [2012-01-12T11:55:42.725165 #2648] INFO -- : Base image for full appliance was built successfully. | |
should build appliance | |
I, [2012-01-12T11:55:42.739033 #2648] INFO -- : Building full appliance... | |
D, [2012-01-12T11:55:42.740101 #2648] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:42.740279 #2648] DEBUG -- : '/etc/resolv.conf' uploaded. | |
D, [2012-01-12T11:55:42.740815 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.740987 #2648] DEBUG -- : Files installed. | |
I, [2012-01-12T11:55:42.741709 #2648] INFO -- : Base image for full appliance was built successfully. | |
should execute additional steps for Fedora 15 | |
.add_repos | |
should add specified repos to appliance | |
should not fail with empty repos | |
.execute_appliance_creator | |
should execute appliance creator successfuly | |
should catch the interrupt and unmount the appliance-creator mounts | |
.cleanup_after_appliance_creator | |
D, [2012-01-12T11:55:42.777202 #2648] DEBUG -- : Sending TERM signal to process '12345'... | |
D, [2012-01-12T11:55:42.777425 #2648] DEBUG -- : Waiting for process to be terminated... | |
D, [2012-01-12T11:55:42.777729 #2648] DEBUG -- : Cleaning appliance-creator mount points... | |
T, [2012-01-12T11:55:42.778222 #2648] TRACE -- : Unmounting '/var/cache/yum'... | |
T, [2012-01-12T11:55:42.778416 #2648] TRACE -- : Unmounting '/dev/shm'... | |
T, [2012-01-12T11:55:42.778636 #2648] TRACE -- : Unmounting '/dev/pts'... | |
T, [2012-01-12T11:55:42.778853 #2648] TRACE -- : Unmounting '/proc'... | |
T, [2012-01-12T11:55:42.779082 #2648] TRACE -- : Unmounting '/sys'... | |
T, [2012-01-12T11:55:42.779326 #2648] TRACE -- : Unmounting '/home'... | |
T, [2012-01-12T11:55:42.779599 #2648] TRACE -- : Unmounting '/'... | |
T, [2012-01-12T11:55:42.779964 #2648] TRACE -- : Removing mappings from loop device loop0... | |
T, [2012-01-12T11:55:42.780453 #2648] TRACE -- : Removing mapping for partition 1 from loop device loop0... | |
T, [2012-01-12T11:55:42.780784 #2648] TRACE -- : Removing mapping for partition 2 from loop device loop0... | |
D, [2012-01-12T11:55:42.781109 #2648] DEBUG -- : Cleaned up after appliance-creator. | |
should cleanup after appliance creator (surprisingly!) | |
.recreate_rpm_database | |
D, [2012-01-12T11:55:42.788995 #2648] DEBUG -- : Recreating RPM database... | |
D, [2012-01-12T11:55:42.789492 #2648] DEBUG -- : RPM database recreated... | |
should recreate RPM database | |
.install_files | |
D, [2012-01-12T11:55:42.796743 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.796938 #2648] DEBUG -- : Proceding files for '/opt' destination directory... | |
T, [2012-01-12T11:55:42.797125 #2648] TRACE -- : Local path detected: 'abc'. | |
T, [2012-01-12T11:55:42.797320 #2648] TRACE -- : Local path detected: 'def'. | |
T, [2012-01-12T11:55:42.797520 #2648] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:42.797702 #2648] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:42.797805 #2648] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:42.797962 #2648] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:42.798066 #2648] DEBUG -- : Files installed. | |
should install files with relative paths | |
D, [2012-01-12T11:55:42.805167 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.805360 #2648] DEBUG -- : Proceding files for '/opt' destination directory... | |
T, [2012-01-12T11:55:42.805538 #2648] TRACE -- : Local path detected: '/opt/abc'. | |
T, [2012-01-12T11:55:42.805749 #2648] TRACE -- : Local path detected: '/opt/def'. | |
T, [2012-01-12T11:55:42.805949 #2648] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:42.806115 #2648] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:42.806216 #2648] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:42.806372 #2648] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:42.806475 #2648] DEBUG -- : Files installed. | |
should install files with absolute paths | |
D, [2012-01-12T11:55:42.813185 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.813376 #2648] DEBUG -- : Proceding files for '/opt' destination directory... | |
T, [2012-01-12T11:55:42.813580 #2648] TRACE -- : Remote url detected: 'http://somehost/file.zip'. | |
T, [2012-01-12T11:55:42.813752 #2648] TRACE -- : Remote url detected: 'https://somehost/something.tar.gz'. | |
T, [2012-01-12T11:55:42.813935 #2648] TRACE -- : Remote url detected: 'ftp://somehost/ftp.txt'. | |
D, [2012-01-12T11:55:42.814127 #2648] DEBUG -- : Files installed. | |
should install files with remote paths | |
D, [2012-01-12T11:55:42.821180 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.821382 #2648] DEBUG -- : Proceding files for '/opt/aaa' destination directory... | |
T, [2012-01-12T11:55:42.821634 #2648] TRACE -- : Local path detected: 'abc'. | |
T, [2012-01-12T11:55:42.821831 #2648] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:42.821994 #2648] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:42.822096 #2648] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:42.822253 #2648] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:42.822355 #2648] DEBUG -- : Files installed. | |
should create the destination directory if it doesn't exists | |
D, [2012-01-12T11:55:42.890125 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.890378 #2648] DEBUG -- : Proceding files for '/opt/aaa' destination directory... | |
T, [2012-01-12T11:55:42.890642 #2648] TRACE -- : Local path detected: 'abc'. | |
T, [2012-01-12T11:55:42.890843 #2648] TRACE -- : Local path detected: '/blah/def'. | |
T, [2012-01-12T11:55:42.891049 #2648] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:42.891220 #2648] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:42.891320 #2648] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:42.891488 #2648] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:42.891602 #2648] DEBUG -- : Files installed. | |
should upload files when correctly when appliance definition file is not in current directory | |
D, [2012-01-12T11:55:42.898481 #2648] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:42.898689 #2648] DEBUG -- : Proceding files for '/opt/aaa' destination directory... | |
T, [2012-01-12T11:55:42.898924 #2648] TRACE -- : Local path detected: 'abc'. | |
should raise if file doesn't exists | |
.set_label_for_swap_partitions | |
T, [2012-01-12T11:55:42.906434 #2648] TRACE -- : Searching for swap partition to set label... | |
should NOT set label for any partition | |
T, [2012-01-12T11:55:42.913391 #2648] TRACE -- : Searching for swap partition to set label... | |
D, [2012-01-12T11:55:42.913788 #2648] DEBUG -- : Setting 'swap' label for partiiton '/dev/sda2'. | |
D, [2012-01-12T11:55:42.913952 #2648] DEBUG -- : Label set. | |
should set label for swap partition | |
BoxGrinder::Kickstart | |
.build_definition | |
should prepare valid definition | |
BoxGrinder::RPMDependencyValidator | |
.generate_yum_config | |
should create a yum config also with an url with tilde character | |
BoxGrinder::CentOSPlugin | |
should use basearch instead of arch in repository URLs | |
BoxGrinder::ScientificLinuxPlugin | |
.execute | |
should use rhel plugin to build the appliance | |
BoxGrinder::RHELPlugin | |
.normalize_packages | |
should add @core to package list | |
should not add kernel package if kernel-xen is already choose | |
should not add default packages for RHEL 6 | |
.execute | |
An expectation of :recreate_kernel_image was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/os/rhel/rhel-plugin-spec.rb:114. Use allow_message_expectations_on_nil to disable warnings. | |
should recreate the kernel and add some modules to RHEL 5 with normal kernel | |
An expectation of :recreate_kernel_image was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/os/rhel/rhel-plugin-spec.rb:131. Use allow_message_expectations_on_nil to disable warnings. | |
should NOT recreate the kernel and add some modules to RHEL 5 if kernel-xen is choosen | |
An expectation of :recreate_kernel_image was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/os/rhel/rhel-plugin-spec.rb:142. Use allow_message_expectations_on_nil to disable warnings. | |
should build the appliance | |
BoxGrinder::BasePlugin | |
should be initialized after running init method | |
should register a disk deliverable | |
should register a metadata deliverable | |
should register multiple other deliverables | |
should have a valid path to tmp directory | |
should register a supported os | |
should return that the OS is supported | |
should return that the OS is not supported | |
should return false when no operating systems are specified | |
should return supported os string | |
should set default config value | |
should not allow to execute the plugin before initialization | |
should return target deliverables | |
.deliverables_exists? | |
should check if deliverables exists and return true | |
should check if deliverables exists and return false | |
should return false if no deliverables are registerd | |
.run | |
T, [2012-01-12T11:55:43.175176 #2648] TRACE -- : Moving 'build/path/plugin_name-plugin/tmp/disk' deliverable to target destination 'build/path/plugin_name-plugin/disk'... | |
should run the plugin | |
should fail if OS is not supported | |
should fail if platform is not supported | |
should not fail if previous plugin is not a platform plugin | |
.read_plugin_config | |
should read plugin config | |
should read plugin config and exit early | |
.current_platform | |
should return raw | |
should return vmware | |
.validate_plugin_config | |
should validate plugn config | |
should raise because some data isn't provided | |
BoxGrinder::PluginManager | |
should register simple plugin | |
should register plugin with many types | |
should initialize a plugin | |
should raise if plugin initialization cannot be finished | |
BoxGrinder::LinuxHelper | |
should not fail when no versions are found | |
should return valid kernel version | |
should return valid PAE kernel version | |
should return valid xen kernel version | |
should return valid xen kernel version | |
should fail when no kernel images could be found | |
should recreate initramfs kernel image using dracut and add xennet module | |
should recreate initrd kernel image using mkinitrd and add xenblk and xennet module | |
.partition_mount_points | |
should return ['/', '/home'] | |
should return ['/', '/home', 'swap'] | |
should return ['/', '/boot', '/home', 'swap'] | |
should return ['/', '/ubrc', '/tmp-config', '/tmp-eventlog'] | |
should return ['/', '/tmp-config', '/tmp-eventlog', '/var/www'] | |
RPMVersion | |
should split the version | |
.compare | |
should compare two versions and return -1 | |
should compare two versions and return 1 | |
should compare two versions and return 0 | |
should compare two very similar versions | |
should compare two very similar versions other way around | |
.newest | |
should return first one as newer | |
should return last one as newer | |
should return version 3 as newer | |
BoxGrinder::PackageHelper | |
should package deliverables | |
should NOT package deliverables if pacakge already exists | |
should raise if unsupported format is specified | |
BoxGrinder::AugeasHelper | |
should not execute augeas commands if there a no files to change | |
should change configuration for one file | |
should change configuration for two files | |
should change one configuration for two files because one file doesn't exists | |
should not set core_patter debug method because it's not supported | |
BoxGrinder::S3Helper | |
.bucket | |
should return the existing bucket if it already exists | |
when the bucket does not yet exist | |
:create_if_missing | |
should return nil if :create_if_missing is not set | |
When :create_if_missing is set | |
should return a bucket, with other settings defaulted | |
should return a bucket assigned with the attributes provided by the user | |
.delete_folder | |
An expectation of :with_prefix was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/s3-helper-spec.rb:106. Use allow_message_expectations_on_nil to disable warnings. | |
should delete a folder from a bucket | |
.stub_s3obj | |
should return a stub AWS::S3::S3Object associated with the specified bucket | |
.parse_path | |
should return root if is empty | |
should remove extranous slashes | |
BoxGrinder::EC2Helper | |
.wait_for_image_state | |
should wait until the image state is :available before returning | |
should wait until the image exists before sampling for state | |
.wait_for_image_death | |
should wait until image no longer exists | |
should return normally if InvalidImageID::NotFound error occurs | |
.wait_for_instance_status | |
should wait until the instance status is :available before returning | |
.wait_for_instance_death | |
should wait until instance status is :terminated before returning | |
should return normally if InvalidInstance::NotFound error occurs | |
should return immediately if the instance does not appear to exist at all | |
.wait_for_snapshot_status | |
I, [2012-01-12T11:55:44.679892 #2648] INFO -- : Progress: 99% | |
should wait until the instance status is :completed before returning | |
.wait_for_volume_status | |
should wait until the instance status is :available before returning | |
.current_availability_zone | |
should return the current availability zone | |
.current_instance_id | |
should return the current instance id | |
.availability_zone_to_region | |
should convert an availability zone to a region | |
.ami_by_name | |
An expectation of :with_owner was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:167. Use allow_message_expectations_on_nil to disable warnings. | |
An expectation of :filter was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:168. Use allow_message_expectations_on_nil to disable warnings. | |
should query for an image filtered by name | |
An expectation of :with_owner was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:175. Use allow_message_expectations_on_nil to disable warnings. | |
An expectation of :filter was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:176. Use allow_message_expectations_on_nil to disable warnings. | |
should return nil if no results are returned | |
.snapshot_by_id | |
should query for a snapshot by snapshot-id | |
should return nil if no results are returned | |
.live_instances | |
should query for live instances by ami | |
should ignore any :terminated instances | |
BoxGrinder::GuestFSHelper | |
T, [2012-01-12T11:55:45.112080 #2648] TRACE -- : Closing guestfs... | |
T, [2012-01-12T11:55:45.112371 #2648] TRACE -- : Guestfs closed. | |
should close guestfs in clean way | |
D, [2012-01-12T11:55:45.114992 #2648] DEBUG -- : Executing 'command' command... | |
D, [2012-01-12T11:55:45.115167 #2648] DEBUG -- : Command 'command' executed. | |
execute a command for current arch | |
D, [2012-01-12T11:55:45.117407 #2648] DEBUG -- : Executing 'command' command... | |
D, [2012-01-12T11:55:45.117598 #2648] DEBUG -- : Command 'command' executed. | |
execute a command for specified arch | |
.prepare_guestfs | |
T, [2012-01-12T11:55:45.121314 #2648] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:45.121644 #2648] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:45.121860 #2648] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:45.122019 #2648] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:45.122131 #2648] DEBUG -- : Enabling networking for GuestFS... | |
should prepare guestfs with normal disk | |
T, [2012-01-12T11:55:45.126130 #2648] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:45.126438 #2648] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:45.126664 #2648] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:45.126825 #2648] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:45.126934 #2648] DEBUG -- : Enabling networking for GuestFS... | |
should prepare and run guestfs wid IDE disk | |
T, [2012-01-12T11:55:45.131076 #2648] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:45.131382 #2648] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:45.131611 #2648] TRACE -- : Setting QEMU wrapper to /home/ec2-user/boxgrinder-build/lib/boxgrinder-build/helpers/qemu.wrapper... | |
T, [2012-01-12T11:55:45.131828 #2648] TRACE -- : QEMU wrapper set. | |
T, [2012-01-12T11:55:45.131937 #2648] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:45.132091 #2648] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:45.132200 #2648] DEBUG -- : Enabling networking for GuestFS... | |
should prepare guestfs without HW accelerarion enabled | |
T, [2012-01-12T11:55:45.136225 #2648] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:45.136541 #2648] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:45.136769 #2648] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:45.136927 #2648] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:45.137035 #2648] DEBUG -- : Enabling networking for GuestFS... | |
should prepare guestfs with custom memory settings | |
.initialize_guestfs | |
D, [2012-01-12T11:55:45.140801 #2648] DEBUG -- : Preparing guestfs... | |
T, [2012-01-12T11:55:45.141251 #2648] TRACE -- : Setting libguestfs temporary directory to '/tmp'... | |
T, [2012-01-12T11:55:45.141815 #2648] TRACE -- : We have event callbacks available! | |
should initialize the guestfs env with callback support | |
D, [2012-01-12T11:55:45.145456 #2648] DEBUG -- : Preparing guestfs... | |
T, [2012-01-12T11:55:45.145692 #2648] TRACE -- : Setting libguestfs temporary directory to '/tmp'... | |
T, [2012-01-12T11:55:45.146111 #2648] TRACE -- : We don't have event callbacks available :( Falling back to proxy. | |
should initialize the guestfs env without callback support | |
.execute | |
D, [2012-01-12T11:55:45.150017 #2648] DEBUG -- : Launching guestfs... | |
T, [2012-01-12T11:55:45.150379 #2648] TRACE -- : Guestfs launched. | |
should run guestfs with one partition | |
D, [2012-01-12T11:55:45.153803 #2648] DEBUG -- : Launching guestfs... | |
T, [2012-01-12T11:55:45.154167 #2648] TRACE -- : Guestfs launched. | |
should run guestfs with two partitions | |
D, [2012-01-12T11:55:45.157586 #2648] DEBUG -- : Launching guestfs... | |
T, [2012-01-12T11:55:45.157913 #2648] TRACE -- : Guestfs launched. | |
should run guestfs with no partitions and don't load selinux | |
.mount_partition | |
T, [2012-01-12T11:55:45.161491 #2648] TRACE -- : Mounting /dev/sda partition to /... | |
T, [2012-01-12T11:55:45.161818 #2648] TRACE -- : Partition mounted. | |
should mount root partition | |
T, [2012-01-12T11:55:45.164791 #2648] TRACE -- : Mounting /dev/sda partition to /home... | |
T, [2012-01-12T11:55:45.165282 #2648] TRACE -- : Partition mounted. | |
should mount home partition | |
.mount_partitions | |
T, [2012-01-12T11:55:45.169016 #2648] TRACE -- : Mounting partitions... | |
should mount two partitions | |
T, [2012-01-12T11:55:45.172668 #2648] TRACE -- : Mounting partitions... | |
should mount partitions skiping partitions with undefined filesystem type | |
T, [2012-01-12T11:55:45.177241 #2648] TRACE -- : Mounting partitions... | |
should mount two partitions from three where one is a swap partition | |
T, [2012-01-12T11:55:45.182235 #2648] TRACE -- : Mounting partitions... | |
should mount partitions with extended partitions | |
.hw_virtualization_available? | |
T, [2012-01-12T11:55:45.186761 #2648] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:45.187491 #2648] TRACE -- : HW acceleration available. | |
should return true if HW acceleration is available | |
T, [2012-01-12T11:55:45.190355 #2648] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:45.190997 #2648] TRACE -- : HW acceleration not available. | |
should return false if no vmx flag is present | |
T, [2012-01-12T11:55:45.193841 #2648] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:45.194454 #2648] TRACE -- : HW acceleration not available. | |
should return false if we're on EC2 | |
T, [2012-01-12T11:55:45.257520 #2648] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:45.258191 #2648] TRACE -- : HW acceleration not available. | |
should return false if we're NOT on EC2 and AMI id retrieval raised an exception | |
.load_selinux_policy | |
T, [2012-01-12T11:55:45.262132 #2648] TRACE -- : Loading SElinux policy... | |
T, [2012-01-12T11:55:45.262522 #2648] TRACE -- : SElinux policy loaded. | |
should load SElinux policy for SElinux enabled guests | |
T, [2012-01-12T11:55:45.266216 #2648] TRACE -- : Loading SElinux policy... | |
T, [2012-01-12T11:55:45.266547 #2648] TRACE -- : SElinux policy loaded. | |
should not load SElinux policy for SElinux disabled guests | |
.umount_partitions | |
T, [2012-01-12T11:55:45.270430 #2648] TRACE -- : Unmounting partitions... | |
T, [2012-01-12T11:55:45.270714 #2648] TRACE -- : All partitions unmounted. | |
should umount partitions | |
.umount_partition | |
T, [2012-01-12T11:55:45.273379 #2648] TRACE -- : Unmounting partition /dev/vda1... | |
T, [2012-01-12T11:55:45.273565 #2648] TRACE -- : Partition unmounted. | |
should umount partition | |
.customize | |
should execute customize wihout issues | |
.log_callback | |
should register callback for all 3 events | |
.log_hack | |
should register callback for all 3 events | |
.mountable_partitions | |
return list of partitions to mount without swap | |
return list of partitions to mount with swap | |
return list of partitions to mount without extended partitions | |
BoxGrinder::PluginHelper | |
T, [2012-01-12T11:55:45.369081 #2648] TRACE -- : Loading plugin 'abc'... | |
T, [2012-01-12T11:55:45.369316 #2648] TRACE -- : - OK | |
T, [2012-01-12T11:55:45.369426 #2648] TRACE -- : Loading plugin 'def'... | |
T, [2012-01-12T11:55:45.369624 #2648] TRACE -- : - OK | |
should read plugins specified in command line | |
should read plugins specified in command line and warn if plugin cannot be loaded | |
should print os plugins | |
should load all plugins | |
BoxGrinder::ImageHelper | |
should create a 10GB disk | |
.customize | |
should customize the disk image using GuestFS | |
should customize the disk image using GuestFS and selectind ide_disk option for RHEL/CentOS 5 | |
.convert_disk | |
should not convert the disk because it's in RAW format already | |
should convert disk from vmdk to RAW format | |
should convert disk from raw to vmdk format using old qemu-img | |
should convert disk from raw to vmdk format using new qemu-img | |
should do nothing because destination already exists | |
.sync_filesystem | |
should sync filesystems between raw disk with two partitions and a partition image | |
should sync filesystems between partition image and another partition image | |
BoxGrinder::Appliance | |
should create @config object without log | |
I, [2012-01-12T11:55:45.489300 #2648] INFO -- : Removing previous builds for full appliance... | |
D, [2012-01-12T11:55:45.489590 #2648] DEBUG -- : Previous builds removed. | |
should remove old builds | |
.validate_definition | |
should raise if we use unsupported OS | |
should NOT raise if we use supported OS | |
.create | |
D, [2012-01-12T11:55:45.501445 #2648] DEBUG -- : Launching new build... | |
T, [2012-01-12T11:55:45.502489 #2648] TRACE -- : Used configuration: --- !map:OpenCascade | |
:delivery: :none | |
:force: false | |
:uid: 501 | |
:gid: 501 | |
:dir: | |
:build: build | |
:root: / | |
:platform: :none | |
should prepare appliance to build | |
D, [2012-01-12T11:55:45.506294 #2648] DEBUG -- : Launching new build... | |
T, [2012-01-12T11:55:45.507320 #2648] TRACE -- : Used configuration: --- !map:OpenCascade | |
:delivery: :none | |
:force: true | |
:uid: 501 | |
:gid: 501 | |
:dir: | |
:build: build | |
:root: / | |
:platform: :none | |
should prepare appliance to build with removing old files | |
D, [2012-01-12T11:55:45.510151 #2648] DEBUG -- : Launching new build... | |
T, [2012-01-12T11:55:45.511122 #2648] TRACE -- : Used configuration: --- !map:OpenCascade | |
:delivery: :none | |
:force: true | |
:uid: 501 | |
:gid: 501 | |
:dir: | |
:build: build | |
:root: / | |
:platform: :none | |
should not catch exceptions while building appliance | |
.validate_definition | |
should read definition with standard appliance definition file | |
.execute_plugin_chain | |
I, [2012-01-12T11:55:45.519767 #2648] INFO -- : Building 'full' appliance for i686 architecture. | |
should not fail when plugin chain is empty | |
I, [2012-01-12T11:55:45.523638 #2648] INFO -- : Building 'full' appliance for i686 architecture. | |
should execute the whole plugin chain | |
.initialize_plugins | |
should prepare the plugin chain to create an appliance and convert it to VMware format | |
should prepare the plugin chain to create an appliance and convert it to VMware format and deliver to S3 | |
should prepare the plugin chain to create an appliance and without conversion deliver to S3 | |
.execute_plugin | |
I, [2012-01-12T11:55:45.545914 #2648] INFO -- : Deliverables for ec2 platform plugin exists, skipping. | |
should not execute the plugin because deliverable already exists | |
D, [2012-01-12T11:55:45.551125 #2648] DEBUG -- : Executing platform plugin... | |
D, [2012-01-12T11:55:45.551582 #2648] DEBUG -- : Platform plugin executed. | |
should execute the plugin | |
user switching | |
D, [2012-01-12T11:55:45.557079 #2648] DEBUG -- : Executing os plugin... | |
D, [2012-01-12T11:55:45.557325 #2648] DEBUG -- : Os plugin executed. | |
D, [2012-01-12T11:55:45.557680 #2648] DEBUG -- : Lowering from root to user. | |
should switch to user from root after execution of OS plugin | |
I, [2012-01-12T11:55:45.562807 #2648] INFO -- : Deliverables for test os plugin exists, skipping. | |
D, [2012-01-12T11:55:45.563144 #2648] DEBUG -- : Lowering from root to user. | |
should switch to user from root after OS plugin even if deliverables exist | |
preparations | |
should return true if we have selected a platform | |
should return false if we haven't selected a platform | |
should return true if we have selected a delivery | |
should return false if we haven't selected a delivery | |
.change_user | |
Interpreters supporting changes to real, effective and saved ids | |
should change the real, effective and saved uid & gid | |
Interpreters only supporting changes to real and effective ids | |
should change the real and effective uid & gid | |
Finished in 8.46 seconds | |
349 examples, 0 failures | |
[ec2-user@ip-10-35-54-126 boxgrinder-build]$ rake spec | |
rake/gempackagetask is deprecated. Use rubygems/package_task instead | |
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) | |
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
Gem::Specification#has_rdoc= called from /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:396 | |
. | |
WARNING: Global access to Rake DSL methods is deprecated. Please include | |
... Rake::DSL into classes and modules which use the Rake DSL methods. | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:420:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:421:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:427:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:428:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:449:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:451:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:452:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:454:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:476:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:477:in `define_tasks' | |
WARNING: DSL method Echoe#namespace called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:481:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:482:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:483:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:488:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:489:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:493:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:494:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:507:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:539:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:560:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:562:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:563:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:603:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:604:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:646:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:647:in `define_tasks' | |
WARNING: DSL method Echoe#desc called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:659:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:660:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:690:in `define_tasks' | |
WARNING: DSL method Echoe#task called at /usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:745:in `define_tasks' | |
/usr/bin/ruby -I ../boxgrinder-core/lib -S rspec --colour --format doc -b spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb spec/plugins/platform/ec2/ec2-plugin-spec.rb spec/plugins/platform/virtualpc/virtualpc-plugin-spec.rb spec/plugins/platform/vmware/vmware-plugin-spec.rb spec/plugins/delivery/ebs/ebs-plugin-spec.rb spec/plugins/delivery/sftp/sftp-plugin-spec.rb spec/plugins/delivery/openstack/openstack-plugin-spec.rb spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb spec/plugins/delivery/s3/s3-plugin-spec.rb spec/plugins/delivery/libvirt/libvirt-plugin-spec.rb spec/plugins/delivery/local/local-plugin-spec.rb spec/plugins/os/fedora/fedora-plugin-spec.rb spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb spec/plugins/os/rpm-based/kickstart-spec.rb spec/plugins/os/rpm-based/rpm-dependency-validator-spec.rb spec/plugins/os/centos/centos-plugin-spec.rb spec/plugins/os/sl/sl-plugin-spec.rb spec/plugins/os/rhel/rhel-plugin-spec.rb spec/plugins/base-plugin-spec.rb spec/managers/plugin-manager-spec.rb spec/helpers/linux-helper-spec.rb spec/helpers/package-helper-spec.rb spec/helpers/augeas-helper-spec.rb spec/helpers/s3-helper-spec.rb spec/helpers/ec2-helper-spec.rb spec/helpers/guestfs-helper-spec.rb spec/helpers/plugin-helper-spec.rb spec/helpers/image-helper-spec.rb spec/appliance-spec.rb | |
BoxGrinder::VirtualBoxPlugin | |
.build_virtualbox | |
D, [2012-01-12T11:55:54.059718 #2667] DEBUG -- : Building VirtualBox image. | |
D, [2012-01-12T11:55:54.059911 #2667] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:54.060140 #2667] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:54.060242 #2667] DEBUG -- : VirtualBox image was built. | |
should build virtualbox image on new qemu-img | |
D, [2012-01-12T11:55:54.065604 #2667] DEBUG -- : Building VirtualBox image. | |
D, [2012-01-12T11:55:54.065718 #2667] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:54.065930 #2667] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:54.066041 #2667] DEBUG -- : VirtualBox image was built. | |
should build virtualbox image on old qemu-img | |
.is_os_old? | |
should return false for fedora 14 | |
should return false for rhel 6 | |
should return true for centos 5 | |
.customize | |
D, [2012-01-12T11:55:54.086272 #2667] DEBUG -- : Executing post commands from appliance definition... | |
D, [2012-01-12T11:55:54.086949 #2667] DEBUG -- : Post commands from appliance definition file executed. | |
should customize the image | |
.execute | |
I, [2012-01-12T11:55:54.092968 #2667] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:54.093429 #2667] INFO -- : Image converted to VirtualBox format. | |
should execute the conversion | |
I, [2012-01-12T11:55:54.099463 #2667] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:54.100365 #2667] INFO -- : Image converted to VirtualBox format. | |
should execute the conversion with post operations | |
I, [2012-01-12T11:55:54.106863 #2667] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:54.107767 #2667] INFO -- : Image converted to VirtualBox format. | |
should execute the conversion with post operations for rhel 5 | |
I, [2012-01-12T11:55:54.113123 #2667] INFO -- : Converting image to VirtualBox format... | |
I, [2012-01-12T11:55:54.113400 #2667] INFO -- : Image converted to VirtualBox format. | |
should not customize the image if no commands are specified and the appliance os version is old | |
.recreate_kernel | |
I, [2012-01-12T11:55:54.119044 #2667] INFO -- : Recreating kernel to include require modules... | |
I, [2012-01-12T11:55:54.119295 #2667] INFO -- : Kernel recreated. | |
should recreate the kernel | |
BoxGrinder::EC2Plugin | |
should create devices | |
should upload fstab | |
should enable networking | |
should upload rc_local | |
should upload rc_local for Fedora 16 or newer | |
should change configuration | |
D, [2012-01-12T11:55:54.232537 #2667] DEBUG -- : Uploading '/boot/grub/menu.lst' file... | |
D, [2012-01-12T11:55:54.233318 #2667] DEBUG -- : '/boot/grub/menu.lst' file uploaded. | |
should install GRUB menu.lst | |
D, [2012-01-12T11:55:54.239263 #2667] DEBUG -- : Enabling nosegneg flag... | |
D, [2012-01-12T11:55:54.239515 #2667] DEBUG -- : Nosegneg enabled. | |
should enable nosegneg flag | |
D, [2012-01-12T11:55:54.245110 #2667] DEBUG -- : Adding ec2-user user... | |
D, [2012-01-12T11:55:54.245420 #2667] DEBUG -- : User ec2-user added. | |
should add ec2-user account | |
D, [2012-01-12T11:55:54.251264 #2667] DEBUG -- : Adding ec2-user user... | |
D, [2012-01-12T11:55:54.251498 #2667] DEBUG -- : ec2-user already exists, skipping. | |
should NOT add ec2-user account if it already exists | |
.disk_device_prefix | |
should use xvda disks for Fedora 13 | |
should use xvda disks for Fedora 12 | |
should use sda disks for RHEL/CentOS 5 | |
.execute | |
I, [2012-01-12T11:55:54.277937 #2667] INFO -- : Converting full appliance image to EC2 format... | |
D, [2012-01-12T11:55:54.278532 #2667] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:54.278714 #2667] DEBUG -- : '/etc/resolv.conf' uploaded. | |
I, [2012-01-12T11:55:54.279462 #2667] INFO -- : Image converted to EC2 format. | |
should convert the appliance to EC2 format | |
I, [2012-01-12T11:55:54.291474 #2667] INFO -- : Converting full appliance image to EC2 format... | |
D, [2012-01-12T11:55:54.292291 #2667] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:54.292454 #2667] DEBUG -- : '/etc/resolv.conf' uploaded. | |
I, [2012-01-12T11:55:54.293180 #2667] INFO -- : Image converted to EC2 format. | |
should recreate kernel image while converting to EC2 format for RHEL/CentOS 5 | |
I, [2012-01-12T11:55:54.301192 #2667] INFO -- : Converting full appliance image to EC2 format... | |
should fail because preparing disk failed | |
.execute_post | |
D, [2012-01-12T11:55:54.308438 #2667] DEBUG -- : Post commands from appliance definition file executed. | |
should execute post commands | |
D, [2012-01-12T11:55:54.314682 #2667] DEBUG -- : No commands specified, skipping. | |
should not execute post commands because there are no commands to execute :) | |
BoxGrinder::VirtualPCPlugin | |
.execute | |
I, [2012-01-12T11:55:54.459174 #2667] INFO -- : Converting image to VirtualPC format... | |
D, [2012-01-12T11:55:54.459389 #2667] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:54.459606 #2667] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:54.459837 #2667] DEBUG -- : No commands specified, skipping. | |
I, [2012-01-12T11:55:54.459941 #2667] INFO -- : Image converted to VirtualPC format. | |
should convert an image to virtualpc format without post commands | |
I, [2012-01-12T11:55:54.466144 #2667] INFO -- : Converting image to VirtualPC format... | |
D, [2012-01-12T11:55:54.466291 #2667] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:54.466516 #2667] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:54.467612 #2667] DEBUG -- : Post commands from appliance definition file executed. | |
I, [2012-01-12T11:55:54.467872 #2667] INFO -- : Image converted to VirtualPC format. | |
should convert an image to virtualpc format with post commands | |
BoxGrinder::VMwarePlugin | |
should calculate good CHS value for 0.5GB disk | |
should calculate good CHS value for 1GB disk | |
should calculate good CHS value for 40GB disk | |
should calculate good CHS value for 160GB disk | |
should change vmx data | |
should create a valid README file | |
.change_vmdk_values | |
should change vmdk data (vmfs) | |
should change vmdk data (flat) | |
should change vmdk data (flat) enabling thin disk | |
.build_vmware_personal | |
D, [2012-01-12T11:55:54.531169 #2667] DEBUG -- : Building VMware personal image. | |
D, [2012-01-12T11:55:54.531350 #2667] DEBUG -- : Copying VMware image file, this may take several minutes... | |
D, [2012-01-12T11:55:54.531576 #2667] DEBUG -- : VMware image copied. | |
D, [2012-01-12T11:55:54.531961 #2667] DEBUG -- : VMware personal image was built. | |
should build personal thick image | |
D, [2012-01-12T11:55:54.537708 #2667] DEBUG -- : Building VMware personal image. | |
D, [2012-01-12T11:55:54.537829 #2667] DEBUG -- : Using qemu-img to convert the image... | |
D, [2012-01-12T11:55:54.538023 #2667] DEBUG -- : Conversion done. | |
D, [2012-01-12T11:55:54.538213 #2667] DEBUG -- : VMware personal image was built. | |
should build personal thin image | |
.build_vmware_enterprise | |
D, [2012-01-12T11:55:54.544744 #2667] DEBUG -- : Building VMware enterprise image. | |
D, [2012-01-12T11:55:54.544865 #2667] DEBUG -- : Copying VMware image file, this may take several minutes... | |
D, [2012-01-12T11:55:54.545063 #2667] DEBUG -- : VMware image copied. | |
D, [2012-01-12T11:55:54.545578 #2667] DEBUG -- : VMware enterprise image was built. | |
should build enterprise thick image | |
D, [2012-01-12T11:55:54.551601 #2667] DEBUG -- : Building VMware enterprise image. | |
D, [2012-01-12T11:55:54.551719 #2667] DEBUG -- : Copying VMware image file, this may take several minutes... | |
D, [2012-01-12T11:55:54.551947 #2667] DEBUG -- : VMware image copied. | |
D, [2012-01-12T11:55:54.552432 #2667] DEBUG -- : VMware enterprise image was built. | |
should build enterprise thin image | |
.execute | |
I, [2012-01-12T11:55:54.558388 #2667] INFO -- : Converting image to VMware personal format... | |
I, [2012-01-12T11:55:54.558704 #2667] INFO -- : Image converted to VMware format. | |
should convert image to vmware personal | |
I, [2012-01-12T11:55:54.564278 #2667] INFO -- : Converting image to VMware enterprise format... | |
I, [2012-01-12T11:55:54.564590 #2667] INFO -- : Image converted to VMware format. | |
should convert image to vmware enterprise | |
I, [2012-01-12T11:55:54.570118 #2667] INFO -- : Converting image to VMware unknown format... | |
should fail because not supported format was choosen | |
.customize_image | |
D, [2012-01-12T11:55:54.578596 #2667] DEBUG -- : Post commands from appliance definition file executed. | |
should customize the image | |
D, [2012-01-12T11:55:54.584292 #2667] DEBUG -- : No commands specified, skipping. | |
should skip customizing the image | |
BoxGrinder::EBSPlugin | |
should register all operating systems with specific versions | |
should adjust fstab | |
.free_device_suffix | |
should get a new free device | |
should get a new free device next in order | |
.valid_platform? | |
should return true if on EC2 | |
W, [2012-01-12T11:55:54.717068 #2667] WARN -- : A timeout occurred while attempting to retrieve the ec2 hostname: Timeout::Error | |
should return false if NOT on EC2 | |
.ebs_appliance_name | |
should return basic appliance name | |
should always return basic appliance name when overwrite is enabled, but snapshot is disabled | |
should still return a valid _initial_ snapshot appliance name, even if overwrite and snapshot are enabled on first ever run | |
should return 2nd snapshot of appliance | |
should return the last snapshot name again when OVERWRITE is enabled | |
.stomp_ebs | |
I, [2012-01-12T11:55:54.750501 #2667] INFO -- : Finding the primary snapshot associated with ami-bratwurst. | |
I, [2012-01-12T11:55:54.750860 #2667] INFO -- : De-registering the EBS AMI. | |
I, [2012-01-12T11:55:54.751093 #2667] INFO -- : Deleting the primary snapshot. | |
destroys the preexisting EBS assets and de-registers the image with default settings | |
there are live running instances | |
instance termination is disabled | |
raise an error to alert the user | |
instance termination is enabled | |
I, [2012-01-12T11:55:54.771299 #2667] INFO -- : Terminating the following instances: i-cake (running), i-bake (stopped). | |
I, [2012-01-12T11:55:54.771620 #2667] INFO -- : Finding the primary snapshot associated with ami-bratwurst. | |
I, [2012-01-12T11:55:54.771936 #2667] INFO -- : De-registering the EBS AMI. | |
terminate any running instances | |
snapshot preservation | |
I, [2012-01-12T11:55:54.970408 #2667] INFO -- : Finding the primary snapshot associated with ami-bratwurst. | |
I, [2012-01-12T11:55:54.970825 #2667] INFO -- : De-registering the EBS AMI. | |
retains the primary snapshot when preserve_snapshots is enabled | |
BoxGrinder::OpenStackPlugin | |
.get_images | |
T, [2012-01-12T11:55:54.977490 #2667] TRACE -- : Listing images with params = {}... | |
T, [2012-01-12T11:55:54.977780 #2667] TRACE -- : Listing done. | |
should get list of all images | |
T, [2012-01-12T11:55:54.982205 #2667] TRACE -- : Listing images with params = {"name":"xyz"}... | |
T, [2012-01-12T11:55:54.982441 #2667] TRACE -- : Listing done. | |
should get list of filtered images | |
.delete_image | |
T, [2012-01-12T11:55:54.987312 #2667] TRACE -- : Removing image with id = 1... | |
T, [2012-01-12T11:55:54.987566 #2667] TRACE -- : Image removed. | |
should delete selected image | |
.disk_and_container_format | |
should specify valid disk and container format for vmware | |
should specify valid disk and container format for ec2 | |
should specify valid disk and container format for virtualbox | |
should specify valid disk and container format for deliverables of os plugin | |
.post_image | |
I, [2012-01-12T11:55:55.068523 #2667] INFO -- : Uploading and registering 'appliance_name-1.0-raw' appliance in OpenStack... | |
T, [2012-01-12T11:55:55.068800 #2667] TRACE -- : Disk format: raw, container format: bare, public: true, size: 12345. | |
I, [2012-01-12T11:55:55.069278 #2667] INFO -- : Appliance registered under id = 1. | |
should post the image | |
BoxGrinder::ElasticHostsPlugin | |
validation | |
.validate | |
should fail because we try to upload a non-base appliance | |
after validation | |
should return valid disk_size | |
should convert hash to request (FAILED - 1) | |
T, [2012-01-12T11:55:55.088686 #2667] TRACE -- : Compressing 0 kB chunk of data... | |
T, [2012-01-12T11:55:55.089098 #2667] TRACE -- : Data compressed to 2 kB. | |
should compress data chunk | |
.elastichosts_api_url | |
should return valid url for default schema | |
should return valid url for SSL | |
.execute | |
should upload the appliance | |
.create_remote_disk | |
I, [2012-01-12T11:55:55.108775 #2667] INFO -- : Creating new 3 GB disk... | |
I, [2012-01-12T11:55:55.109133 #2667] INFO -- : Disk created with UUID: abc-1234567890-abc. | |
should create remote disk with default name | |
I, [2012-01-12T11:55:55.113873 #2667] INFO -- : Creating new 3 GB disk... | |
I, [2012-01-12T11:55:55.114155 #2667] INFO -- : Disk created with UUID: abc-1234567890-abc. | |
should create remote disk with custom name | |
I, [2012-01-12T11:55:55.118888 #2667] INFO -- : Creating new 3 GB disk... | |
E, [2012-01-12T11:55:55.119248 #2667] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:84:in `create_remote_disk' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:130 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:129 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should catch remote disk creation error | |
.upload | |
I, [2012-01-12T11:55:55.124982 #2667] INFO -- : Uploading appliance... | |
I, [2012-01-12T11:55:55.125207 #2667] INFO -- : Appliance uploaded. | |
create the disk and upload | |
I, [2012-01-12T11:55:55.129514 #2667] INFO -- : Uploading appliance... | |
I, [2012-01-12T11:55:55.129698 #2667] INFO -- : Appliance uploaded. | |
upload using existing disk | |
.upload_chunks | |
I, [2012-01-12T11:55:55.136148 #2667] INFO -- : Uploading disk in 48 parts. | |
I, [2012-01-12T11:55:55.137192 #2667] INFO -- : Appliance appliance uploaded to drive with UUID . | |
should upload chunks in 2 parts | |
I, [2012-01-12T11:55:55.143223 #2667] INFO -- : Uploading disk in 24 parts. | |
I, [2012-01-12T11:55:55.143937 #2667] INFO -- : Appliance appliance uploaded to drive with UUID . | |
should upload 1 chunk with custom chunk size | |
I, [2012-01-12T11:55:55.149897 #2667] INFO -- : Uploading disk in 48 parts. | |
I, [2012-01-12T11:55:55.150482 #2667] INFO -- : Appliance appliance uploaded to drive with UUID . | |
should not compress the data before uploading the chunks if we use CloudSigma | |
.upload_chunk | |
I, [2012-01-12T11:55:55.155925 #2667] INFO -- : Uploading part 2... | |
I, [2012-01-12T11:55:55.156123 #2667] INFO -- : Part 2 uploaded. | |
should upload a chunk of data | |
I, [2012-01-12T11:55:55.161390 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.161697 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:55.161863 #2667] INFO -- : Uploading part 1... | |
I, [2012-01-12T11:55:55.162063 #2667] INFO -- : Part 1 uploaded. | |
should upload a chunk of data and be succesful after 1 retry | |
I, [2012-01-12T11:55:55.168237 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.168507 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:55.168693 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.168919 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:55.169087 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.169304 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
E, [2012-01-12T11:55:55.169437 #2667] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:157:in `upload_chunk' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:254 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:253 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should fail the upload after 3 retries | |
I, [2012-01-12T11:55:55.175102 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.175346 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:55.175514 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.175753 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:55.175964 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.176184 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:55.176349 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.176581 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
I, [2012-01-12T11:55:55.176746 #2667] INFO -- : Uploading part 1... | |
W, [2012-01-12T11:55:55.176962 #2667] WARN -- : An error occured while uploading 0 chunk, boom | |
E, [2012-01-12T11:55:55.177084 #2667] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:157:in `upload_chunk' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:266 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:265 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should fail the upload after custom sleep time and retry count | |
I, [2012-01-12T11:55:55.182378 #2667] INFO -- : Uploading part 1... | |
I, [2012-01-12T11:55:55.182591 #2667] INFO -- : Part 1 uploaded. | |
should not specify add content-encoding header if uplaoding to cloudsigma | |
.create_server | |
I, [2012-01-12T11:55:55.187427 #2667] INFO -- : Creating new server... | |
I, [2012-01-12T11:55:55.189263 #2667] INFO -- : Server was registered with 'appliance-1.0' name as 'abc-1234567890-abc' UUID. Use web UI or API tools to start your server. | |
should create the server without issues | |
I, [2012-01-12T11:55:55.194322 #2667] INFO -- : Creating new server... | |
I, [2012-01-12T11:55:55.196178 #2667] INFO -- : Server was registered with 'appliance-1.0' name as 'abc-1234567890-abc' UUID. Use web UI or API tools to start your server. | |
should create the server with 512 MB of ram for instances to be uploaded to cloudsigma | |
I, [2012-01-12T11:55:55.200857 #2667] INFO -- : Creating new server... | |
I, [2012-01-12T11:55:55.202787 #2667] INFO -- : Server was registered with 'appliance-1.0' name as 'abc-1234567890-abc' UUID. Use web UI or API tools to start your server. | |
should create the server without issues for cloudsigma cloud | |
I, [2012-01-12T11:55:55.207488 #2667] INFO -- : Creating new server... | |
E, [2012-01-12T11:55:55.209393 #2667] ERROR -- : RuntimeError: boom | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/message_expectation.rb:118:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/proxy.rb:105:in `message_received' | |
/usr/lib/ruby/gems/1.8/gems/rspec-mocks-2.7.0/lib/rspec/mocks/method_double.rb:79:in `post' | |
/home/ec2-user/boxgrinder-build/lib/boxgrinder-build/plugins/delivery/elastichosts/elastichosts-plugin.rb:203:in `create_server' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:331 | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/raise_error.rb:21:in `matches?' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher' | |
/usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/extensions/kernel.rb:12:in `should' | |
/home/ec2-user/boxgrinder-build/spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:330 | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
/usr/bin/rspec:19 | |
should catch remote disk creation error | |
.is_cloudsigma? | |
should return true if we're talking to cloudsigma endpoint | |
should return false if we're NOT talking to cloudsigma endpoint | |
BoxGrinder::S3Plugin | |
should register all operating systems with specific versions | |
I, [2012-01-12T11:55:55.365144 #2667] INFO -- : Bundling AMI... | |
I, [2012-01-12T11:55:55.365713 #2667] INFO -- : Bundling AMI finished. | |
should bundle the image | |
I, [2012-01-12T11:55:55.371755 #2667] INFO -- : Bundling AMI... | |
I, [2012-01-12T11:55:55.372203 #2667] INFO -- : Bundling AMI finished. | |
should bundle the image for centos 5 and choose right kernel and ramdisk | |
I, [2012-01-12T11:55:55.378154 #2667] INFO -- : Bundling AMI... | |
I, [2012-01-12T11:55:55.378529 #2667] INFO -- : Bundling AMI finished. | |
should bundle image with user-selected ramdisk and kernel when set | |
.ami_key | |
should generate valid ami_key | |
should generate valid ami_key with mixed slashes | |
should generate valid ami_key with root path | |
I, [2012-01-12T11:55:55.400138 #2667] INFO -- : Determining snapshot name | |
should generate valid ami_key with snapshot number two | |
I, [2012-01-12T11:55:55.406913 #2667] INFO -- : Determining snapshot name | |
should return valid ami_key with snapshot and overwrite enabled | |
.upload_to_bucket | |
I, [2012-01-12T11:55:55.415050 #2667] INFO -- : Uploading appliance-1.0-fedora-14-x86_64-raw.tgz (22MB) to 'bucketappliance-1.0-fedora-14-x86_64-raw.tgz' path... | |
I, [2012-01-12T11:55:55.415298 #2667] INFO -- : Appliance appliance uploaded to S3. | |
should upload to an S3 bucket | |
I, [2012-01-12T11:55:55.422795 #2667] INFO -- : File 'bucketappliance-1.0-fedora-14-x86_64-raw.tgz' already uploaded, skipping. | |
should NOT upload to an S3 bucket when the file already exists | |
.execute | |
AMI | |
D, [2012-01-12T11:55:55.431200 #2667] DEBUG -- : Going to check whether s3 object exists | |
I, [2012-01-12T11:55:55.431428 #2667] INFO -- : Doing bundle/snapshot | |
should create an AMI | |
D, [2012-01-12T11:55:55.438346 #2667] DEBUG -- : Going to check whether s3 object exists | |
should not upload an AMI because it's already there | |
D, [2012-01-12T11:55:55.445344 #2667] DEBUG -- : Going to check whether s3 object exists | |
I, [2012-01-12T11:55:55.445578 #2667] INFO -- : Doing bundle/snapshot | |
should upload an AMI even if one is already present in order to perform a snapshot | |
s3 | |
should upload image to s3 | |
cloudfront | |
should upload image to cloudfront | |
.validate | |
bucket is not already in existence | |
should validate only basic params | |
should validate basic and additional ami params | |
should raise because key file doesn't exists | |
should raise because key file doesn't exists | |
should raise an error if an invalid region is specified | |
bucket exists (AMI mode) | |
should succeed if the bucket location constraint and region match | |
should raise an error if bucket location constraint and region do not match | |
.bucket | |
should create the asset bucket by default | |
should not create the bucket | |
.upload_image | |
I, [2012-01-12T11:55:55.587925 #2667] INFO -- : Uploading appliance AMI to bucket 'bucket'... | |
should upload image for default region | |
I, [2012-01-12T11:55:55.593098 #2667] INFO -- : Uploading appliance AMI to bucket 'bucket'... | |
should upload image for us-west-1 region | |
.register_image | |
when the AMI has not been registered | |
An expectation of :create was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/delivery/s3/s3-plugin-spec.rb:439. Use allow_message_expectations_on_nil to disable warnings. | |
I, [2012-01-12T11:55:55.600797 #2667] INFO -- : Image for appliance successfully registered under id: ami-1234 (region: us-east-1). | |
should register the AMI | |
when the AMI has been registered | |
An expectation of :create was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/delivery/s3/s3-plugin-spec.rb:452. Use allow_message_expectations_on_nil to disable warnings. | |
I, [2012-01-12T11:55:55.607840 #2667] INFO -- : Image for appliance is already registered under id: ami-1234 (region: us-east-1). | |
should not register the AMI | |
.deregister_image | |
I, [2012-01-12T11:55:55.614732 #2667] INFO -- : Preexisting image '' for appliance will be de-registered, it had id: (region: us-east-1). | |
should deregister the AMI | |
BoxGrinder::LibvirtPlugin | |
.execute | |
should upload disk via sftp | |
should copy disk locally when not sftp | |
should determine xml locally when xml_only is set | |
should write the xml to file after generating it | |
.determine_remotely | |
uri handling | |
should handle and connect to the default empty uri | |
should remove the password element from the userinfo, as libvirt does not support this | |
should re-construct scheme, userinfo, host, path, query in uri | |
there is an existing domain | |
should raise an error if a domain already exists | |
should undefine the domain if overwrite is set, and domain exists | |
capabilities | |
should determine capabilities | |
should request xml using derived capabilities | |
should define the domain with capabilities generated xml | |
.determine_locally | |
should look up static capabilities by getting safest ranked domain | |
.upload_image | |
should connect to the image delivery uri | |
should upload files to the specified path at the uri | |
should disconnect after finishing | |
.build_xml | |
should build an xml definition from appliance config & user options | |
should allow modification of the xml definition via script | |
BoxGrinder::LocalPlugin | |
.execute | |
should package and deliver the appliance | |
D, [2012-01-12T11:55:56.091215 #2667] DEBUG -- : Copying files to 'a/path'... | |
D, [2012-01-12T11:55:56.091401 #2667] DEBUG -- : Copying 'metadata.xml'... | |
D, [2012-01-12T11:55:56.091613 #2667] DEBUG -- : Copying 'a_disk.raw'... | |
I, [2012-01-12T11:55:56.091791 #2667] INFO -- : Appliance delivered to 'a/path'. | |
should not package, but deliver the appliance | |
I, [2012-01-12T11:55:56.097502 #2667] INFO -- : Appliance already delivered to 'a/path'. | |
should not deliver the package, because it is already delivered | |
.deliverables_exists? | |
should return true for package | |
should return true for non-packaged appliance | |
BoxGrinder::FedoraPlugin | |
should normalize packages for 32bit for pae enabled system | |
should normalize packages for Fedora 16 | |
should normalize packages for 64bit | |
should add packages for fedora 13 | |
D, [2012-01-12T11:55:56.195514 #2667] DEBUG -- : Linking /etc/mtab to /proc/self/mounts... | |
D, [2012-01-12T11:55:56.195750 #2667] DEBUG -- : /etc/mtab linked. | |
should link /etc/mtab to /proc/self/mounts | |
BGBUILD-204 | |
D, [2012-01-12T11:55:56.201648 #2667] DEBUG -- : Disabling biosdevname... | |
D, [2012-01-12T11:55:56.201979 #2667] DEBUG -- : Biosdevname disabled. | |
should disable bios device name hints for GRUB legacy | |
D, [2012-01-12T11:55:56.208008 #2667] DEBUG -- : Disabling biosdevname... | |
D, [2012-01-12T11:55:56.208397 #2667] DEBUG -- : Biosdevname disabled. | |
should disable bios device name hints for GRUB2 | |
D, [2012-01-12T11:55:56.213998 #2667] DEBUG -- : Changing runlevel to multi-user non-graphical... | |
D, [2012-01-12T11:55:56.214256 #2667] DEBUG -- : Runlevel changed. | |
should change to runlevel 3 by default | |
D, [2012-01-12T11:55:56.219651 #2667] DEBUG -- : Disabling network filesystem mounting... | |
D, [2012-01-12T11:55:56.219828 #2667] DEBUG -- : Network filesystem mounting disabled. | |
should disable netfs | |
.execute | |
should make Fedora 15 or higher work | |
should for Fedora 16 or higher first install GRUB2 then look after it | |
BoxGrinder::RPMBasedOSPlugin | |
D, [2012-01-12T11:55:56.243318 #2667] DEBUG -- : Installing repositories from appliance definition file... | |
D, [2012-01-12T11:55:56.243545 #2667] DEBUG -- : Installing cirras repo... | |
D, [2012-01-12T11:55:56.243913 #2667] DEBUG -- : Installing abc repo... | |
D, [2012-01-12T11:55:56.244204 #2667] DEBUG -- : Repositories installed. | |
should install repos | |
D, [2012-01-12T11:55:56.436226 #2667] DEBUG -- : Installing repositories from appliance definition file... | |
D, [2012-01-12T11:55:56.436732 #2667] DEBUG -- : Installing abc repo... | |
D, [2012-01-12T11:55:56.437170 #2667] DEBUG -- : Repository 'cirras' is an ephemeral repo. It'll not be installed in the appliance. | |
D, [2012-01-12T11:55:56.437284 #2667] DEBUG -- : Repositories installed. | |
should not install ephemeral repos | |
D, [2012-01-12T11:55:56.443507 #2667] DEBUG -- : Disabling firewall... | |
D, [2012-01-12T11:55:56.443704 #2667] DEBUG -- : Firewall disabled. | |
should disable the firewall | |
.use_labels_for_partitions | |
D, [2012-01-12T11:55:56.451803 #2667] DEBUG -- : Using labels for partitions... | |
D, [2012-01-12T11:55:56.452531 #2667] DEBUG -- : Done. | |
should use labels for partitions instead of paths | |
D, [2012-01-12T11:55:56.460531 #2667] DEBUG -- : Using labels for partitions... | |
D, [2012-01-12T11:55:56.460941 #2667] DEBUG -- : Done. | |
should not change anything | |
.build_with_appliance_creator | |
I, [2012-01-12T11:55:56.473713 #2667] INFO -- : Building full appliance... | |
D, [2012-01-12T11:55:56.474755 #2667] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:56.474931 #2667] DEBUG -- : '/etc/resolv.conf' uploaded. | |
D, [2012-01-12T11:55:56.475446 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.475639 #2667] DEBUG -- : Files installed. | |
I, [2012-01-12T11:55:56.476155 #2667] INFO -- : Executing post operations after build... | |
D, [2012-01-12T11:55:56.476330 #2667] DEBUG -- : No commands specified, skipping. | |
I, [2012-01-12T11:55:56.476504 #2667] INFO -- : Base image for full appliance was built successfully. | |
should build appliance | |
I, [2012-01-12T11:55:56.489948 #2667] INFO -- : Building full appliance... | |
D, [2012-01-12T11:55:56.490901 #2667] DEBUG -- : Uploading '/etc/resolv.conf'... | |
D, [2012-01-12T11:55:56.491067 #2667] DEBUG -- : '/etc/resolv.conf' uploaded. | |
D, [2012-01-12T11:55:56.491580 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.491750 #2667] DEBUG -- : Files installed. | |
I, [2012-01-12T11:55:56.492437 #2667] INFO -- : Base image for full appliance was built successfully. | |
should execute additional steps for Fedora 15 | |
.add_repos | |
should add specified repos to appliance | |
should not fail with empty repos | |
.execute_appliance_creator | |
should execute appliance creator successfuly | |
should catch the interrupt and unmount the appliance-creator mounts | |
.cleanup_after_appliance_creator | |
D, [2012-01-12T11:55:56.529121 #2667] DEBUG -- : Sending TERM signal to process '12345'... | |
D, [2012-01-12T11:55:56.529347 #2667] DEBUG -- : Waiting for process to be terminated... | |
D, [2012-01-12T11:55:56.529509 #2667] DEBUG -- : Cleaning appliance-creator mount points... | |
T, [2012-01-12T11:55:56.529920 #2667] TRACE -- : Unmounting '/var/cache/yum'... | |
T, [2012-01-12T11:55:56.530111 #2667] TRACE -- : Unmounting '/dev/shm'... | |
T, [2012-01-12T11:55:56.530310 #2667] TRACE -- : Unmounting '/dev/pts'... | |
T, [2012-01-12T11:55:56.530523 #2667] TRACE -- : Unmounting '/proc'... | |
T, [2012-01-12T11:55:56.530766 #2667] TRACE -- : Unmounting '/sys'... | |
T, [2012-01-12T11:55:56.531008 #2667] TRACE -- : Unmounting '/home'... | |
T, [2012-01-12T11:55:56.531264 #2667] TRACE -- : Unmounting '/'... | |
T, [2012-01-12T11:55:56.531538 #2667] TRACE -- : Removing mappings from loop device loop0... | |
T, [2012-01-12T11:55:56.532065 #2667] TRACE -- : Removing mapping for partition 1 from loop device loop0... | |
T, [2012-01-12T11:55:56.532384 #2667] TRACE -- : Removing mapping for partition 2 from loop device loop0... | |
D, [2012-01-12T11:55:56.532726 #2667] DEBUG -- : Cleaned up after appliance-creator. | |
should cleanup after appliance creator (surprisingly!) | |
.recreate_rpm_database | |
D, [2012-01-12T11:55:56.600999 #2667] DEBUG -- : Recreating RPM database... | |
D, [2012-01-12T11:55:56.601586 #2667] DEBUG -- : RPM database recreated... | |
should recreate RPM database | |
.install_files | |
D, [2012-01-12T11:55:56.609391 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.609753 #2667] DEBUG -- : Proceding files for '/opt' destination directory... | |
T, [2012-01-12T11:55:56.609972 #2667] TRACE -- : Local path detected: 'abc'. | |
T, [2012-01-12T11:55:56.610186 #2667] TRACE -- : Local path detected: 'def'. | |
T, [2012-01-12T11:55:56.610403 #2667] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:56.610600 #2667] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:56.610707 #2667] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:56.610885 #2667] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:56.610991 #2667] DEBUG -- : Files installed. | |
should install files with relative paths | |
D, [2012-01-12T11:55:56.618255 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.618449 #2667] DEBUG -- : Proceding files for '/opt' destination directory... | |
T, [2012-01-12T11:55:56.618646 #2667] TRACE -- : Local path detected: '/opt/abc'. | |
T, [2012-01-12T11:55:56.618840 #2667] TRACE -- : Local path detected: '/opt/def'. | |
T, [2012-01-12T11:55:56.619042 #2667] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:56.619208 #2667] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:56.619310 #2667] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:56.619467 #2667] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:56.619584 #2667] DEBUG -- : Files installed. | |
should install files with absolute paths | |
D, [2012-01-12T11:55:56.626226 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.626467 #2667] DEBUG -- : Proceding files for '/opt' destination directory... | |
T, [2012-01-12T11:55:56.626672 #2667] TRACE -- : Remote url detected: 'http://somehost/file.zip'. | |
T, [2012-01-12T11:55:56.626846 #2667] TRACE -- : Remote url detected: 'https://somehost/something.tar.gz'. | |
T, [2012-01-12T11:55:56.627032 #2667] TRACE -- : Remote url detected: 'ftp://somehost/ftp.txt'. | |
D, [2012-01-12T11:55:56.627274 #2667] DEBUG -- : Files installed. | |
should install files with remote paths | |
D, [2012-01-12T11:55:56.634062 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.634257 #2667] DEBUG -- : Proceding files for '/opt/aaa' destination directory... | |
T, [2012-01-12T11:55:56.634489 #2667] TRACE -- : Local path detected: 'abc'. | |
T, [2012-01-12T11:55:56.634699 #2667] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:56.634866 #2667] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:56.634969 #2667] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:56.635126 #2667] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:56.635229 #2667] DEBUG -- : Files installed. | |
should create the destination directory if it doesn't exists | |
D, [2012-01-12T11:55:56.642513 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.642720 #2667] DEBUG -- : Proceding files for '/opt/aaa' destination directory... | |
T, [2012-01-12T11:55:56.642950 #2667] TRACE -- : Local path detected: 'abc'. | |
T, [2012-01-12T11:55:56.643144 #2667] TRACE -- : Local path detected: '/blah/def'. | |
T, [2012-01-12T11:55:56.643345 #2667] TRACE -- : Tarring files... | |
T, [2012-01-12T11:55:56.643510 #2667] TRACE -- : Files tarred. | |
T, [2012-01-12T11:55:56.643626 #2667] TRACE -- : Uploading and unpacking... | |
T, [2012-01-12T11:55:56.643817 #2667] TRACE -- : Files uploaded. | |
D, [2012-01-12T11:55:56.643924 #2667] DEBUG -- : Files installed. | |
should upload files when correctly when appliance definition file is not in current directory | |
D, [2012-01-12T11:55:56.650633 #2667] DEBUG -- : Installing files specified in appliance definition file... | |
D, [2012-01-12T11:55:56.650827 #2667] DEBUG -- : Proceding files for '/opt/aaa' destination directory... | |
T, [2012-01-12T11:55:56.651056 #2667] TRACE -- : Local path detected: 'abc'. | |
should raise if file doesn't exists | |
.set_label_for_swap_partitions | |
T, [2012-01-12T11:55:56.658254 #2667] TRACE -- : Searching for swap partition to set label... | |
should NOT set label for any partition | |
T, [2012-01-12T11:55:56.665111 #2667] TRACE -- : Searching for swap partition to set label... | |
D, [2012-01-12T11:55:56.665485 #2667] DEBUG -- : Setting 'swap' label for partiiton '/dev/sda2'. | |
D, [2012-01-12T11:55:56.665683 #2667] DEBUG -- : Label set. | |
should set label for swap partition | |
BoxGrinder::Kickstart | |
.build_definition | |
should prepare valid definition | |
BoxGrinder::RPMDependencyValidator | |
.generate_yum_config | |
should create a yum config also with an url with tilde character | |
BoxGrinder::CentOSPlugin | |
should use basearch instead of arch in repository URLs | |
BoxGrinder::ScientificLinuxPlugin | |
.execute | |
should use rhel plugin to build the appliance | |
BoxGrinder::RHELPlugin | |
.normalize_packages | |
should add @core to package list | |
should not add kernel package if kernel-xen is already choose | |
should not add default packages for RHEL 6 | |
.execute | |
An expectation of :recreate_kernel_image was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/os/rhel/rhel-plugin-spec.rb:114. Use allow_message_expectations_on_nil to disable warnings. | |
should recreate the kernel and add some modules to RHEL 5 with normal kernel | |
An expectation of :recreate_kernel_image was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/os/rhel/rhel-plugin-spec.rb:131. Use allow_message_expectations_on_nil to disable warnings. | |
should NOT recreate the kernel and add some modules to RHEL 5 if kernel-xen is choosen | |
An expectation of :recreate_kernel_image was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/plugins/os/rhel/rhel-plugin-spec.rb:142. Use allow_message_expectations_on_nil to disable warnings. | |
should build the appliance | |
BoxGrinder::BasePlugin | |
should be initialized after running init method | |
should register a disk deliverable | |
should register a metadata deliverable | |
should register multiple other deliverables | |
should have a valid path to tmp directory | |
should register a supported os | |
should return that the OS is supported | |
should return that the OS is not supported | |
should return false when no operating systems are specified | |
should return supported os string | |
should set default config value | |
should not allow to execute the plugin before initialization | |
should return target deliverables | |
.deliverables_exists? | |
should check if deliverables exists and return true | |
should check if deliverables exists and return false | |
should return false if no deliverables are registerd | |
.run | |
T, [2012-01-12T11:55:56.931938 #2667] TRACE -- : Moving 'build/path/plugin_name-plugin/tmp/disk' deliverable to target destination 'build/path/plugin_name-plugin/disk'... | |
should run the plugin | |
should fail if OS is not supported | |
should fail if platform is not supported | |
should not fail if previous plugin is not a platform plugin | |
.read_plugin_config | |
should read plugin config | |
should read plugin config and exit early | |
.current_platform | |
should return raw | |
should return vmware | |
.validate_plugin_config | |
should validate plugn config | |
should raise because some data isn't provided | |
BoxGrinder::PluginManager | |
should register simple plugin | |
should register plugin with many types | |
should initialize a plugin | |
should raise if plugin initialization cannot be finished | |
BoxGrinder::LinuxHelper | |
should not fail when no versions are found | |
should return valid kernel version | |
should return valid PAE kernel version | |
should return valid xen kernel version | |
should return valid xen kernel version | |
should fail when no kernel images could be found | |
should recreate initramfs kernel image using dracut and add xennet module | |
should recreate initrd kernel image using mkinitrd and add xenblk and xennet module | |
.partition_mount_points | |
should return ['/', '/home'] | |
should return ['/', '/home', 'swap'] | |
should return ['/', '/boot', '/home', 'swap'] | |
should return ['/', '/ubrc', '/tmp-config', '/tmp-eventlog'] | |
should return ['/', '/tmp-config', '/tmp-eventlog', '/var/www'] | |
RPMVersion | |
should split the version | |
.compare | |
should compare two versions and return -1 | |
should compare two versions and return 1 | |
should compare two versions and return 0 | |
should compare two very similar versions | |
should compare two very similar versions other way around | |
.newest | |
should return first one as newer | |
should return last one as newer | |
should return version 3 as newer | |
BoxGrinder::PackageHelper | |
should package deliverables | |
should NOT package deliverables if pacakge already exists | |
should raise if unsupported format is specified | |
BoxGrinder::AugeasHelper | |
should not execute augeas commands if there a no files to change | |
should change configuration for one file | |
should change configuration for two files | |
should change one configuration for two files because one file doesn't exists | |
should not set core_patter debug method because it's not supported | |
BoxGrinder::S3Helper | |
.bucket | |
should return the existing bucket if it already exists | |
when the bucket does not yet exist | |
:create_if_missing | |
should return nil if :create_if_missing is not set | |
When :create_if_missing is set | |
should return a bucket, with other settings defaulted | |
should return a bucket assigned with the attributes provided by the user | |
.delete_folder | |
An expectation of :with_prefix was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/s3-helper-spec.rb:106. Use allow_message_expectations_on_nil to disable warnings. | |
should delete a folder from a bucket | |
.stub_s3obj | |
should return a stub AWS::S3::S3Object associated with the specified bucket | |
.parse_path | |
should return root if is empty | |
should remove extranous slashes | |
BoxGrinder::EC2Helper | |
.wait_for_image_state | |
should wait until the image state is :available before returning | |
should wait until the image exists before sampling for state | |
.wait_for_image_death | |
should wait until image no longer exists | |
should return normally if InvalidImageID::NotFound error occurs | |
.wait_for_instance_status | |
should wait until the instance status is :available before returning | |
.wait_for_instance_death | |
should wait until instance status is :terminated before returning | |
should return normally if InvalidInstance::NotFound error occurs | |
should return immediately if the instance does not appear to exist at all | |
.wait_for_snapshot_status | |
I, [2012-01-12T11:55:58.499535 #2667] INFO -- : Progress: 99% | |
should wait until the instance status is :completed before returning | |
.wait_for_volume_status | |
should wait until the instance status is :available before returning | |
.current_availability_zone | |
should return the current availability zone | |
.current_instance_id | |
should return the current instance id | |
.availability_zone_to_region | |
should convert an availability zone to a region | |
.ami_by_name | |
An expectation of :with_owner was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:167. Use allow_message_expectations_on_nil to disable warnings. | |
An expectation of :filter was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:168. Use allow_message_expectations_on_nil to disable warnings. | |
should query for an image filtered by name | |
An expectation of :with_owner was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:175. Use allow_message_expectations_on_nil to disable warnings. | |
An expectation of :filter was set on nil. Called from /home/ec2-user/boxgrinder-build/spec/helpers/ec2-helper-spec.rb:176. Use allow_message_expectations_on_nil to disable warnings. | |
should return nil if no results are returned | |
.snapshot_by_id | |
should query for a snapshot by snapshot-id | |
should return nil if no results are returned | |
.live_instances | |
should query for live instances by ami | |
should ignore any :terminated instances | |
BoxGrinder::GuestFSHelper | |
T, [2012-01-12T11:55:58.931937 #2667] TRACE -- : Closing guestfs... | |
T, [2012-01-12T11:55:58.932229 #2667] TRACE -- : Guestfs closed. | |
should close guestfs in clean way | |
D, [2012-01-12T11:55:58.934878 #2667] DEBUG -- : Executing 'command' command... | |
D, [2012-01-12T11:55:58.935054 #2667] DEBUG -- : Command 'command' executed. | |
execute a command for current arch | |
D, [2012-01-12T11:55:58.937331 #2667] DEBUG -- : Executing 'command' command... | |
D, [2012-01-12T11:55:58.937508 #2667] DEBUG -- : Command 'command' executed. | |
execute a command for specified arch | |
.prepare_guestfs | |
T, [2012-01-12T11:55:58.941255 #2667] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:58.941585 #2667] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:58.941804 #2667] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:58.941965 #2667] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:58.942079 #2667] DEBUG -- : Enabling networking for GuestFS... | |
should prepare guestfs with normal disk | |
T, [2012-01-12T11:55:58.946116 #2667] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:58.946429 #2667] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:58.946657 #2667] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:58.946820 #2667] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:58.946930 #2667] DEBUG -- : Enabling networking for GuestFS... | |
should prepare and run guestfs wid IDE disk | |
T, [2012-01-12T11:55:58.951110 #2667] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:58.951419 #2667] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:58.951650 #2667] TRACE -- : Setting QEMU wrapper to /home/ec2-user/boxgrinder-build/lib/boxgrinder-build/helpers/qemu.wrapper... | |
T, [2012-01-12T11:55:58.951894 #2667] TRACE -- : QEMU wrapper set. | |
T, [2012-01-12T11:55:58.952002 #2667] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:58.952156 #2667] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:58.952266 #2667] DEBUG -- : Enabling networking for GuestFS... | |
should prepare guestfs without HW accelerarion enabled | |
T, [2012-01-12T11:55:58.956338 #2667] TRACE -- : Setting debug + trace... | |
T, [2012-01-12T11:55:58.956672 #2667] TRACE -- : Enabling SElinux support in guestfs... | |
T, [2012-01-12T11:55:58.956887 #2667] TRACE -- : Adding drive 'a/raw/disk'... | |
T, [2012-01-12T11:55:58.957047 #2667] TRACE -- : Drive added. | |
D, [2012-01-12T11:55:58.957165 #2667] DEBUG -- : Enabling networking for GuestFS... | |
should prepare guestfs with custom memory settings | |
.initialize_guestfs | |
D, [2012-01-12T11:55:58.960893 #2667] DEBUG -- : Preparing guestfs... | |
T, [2012-01-12T11:55:58.961129 #2667] TRACE -- : Setting libguestfs temporary directory to '/tmp'... | |
T, [2012-01-12T11:55:58.961549 #2667] TRACE -- : We have event callbacks available! | |
should initialize the guestfs env with callback support | |
D, [2012-01-12T11:55:58.964881 #2667] DEBUG -- : Preparing guestfs... | |
T, [2012-01-12T11:55:58.965097 #2667] TRACE -- : Setting libguestfs temporary directory to '/tmp'... | |
T, [2012-01-12T11:55:58.965524 #2667] TRACE -- : We don't have event callbacks available :( Falling back to proxy. | |
should initialize the guestfs env without callback support | |
.execute | |
D, [2012-01-12T11:55:58.969361 #2667] DEBUG -- : Launching guestfs... | |
T, [2012-01-12T11:55:58.969736 #2667] TRACE -- : Guestfs launched. | |
should run guestfs with one partition | |
D, [2012-01-12T11:55:58.973003 #2667] DEBUG -- : Launching guestfs... | |
T, [2012-01-12T11:55:58.973361 #2667] TRACE -- : Guestfs launched. | |
should run guestfs with two partitions | |
D, [2012-01-12T11:55:58.976680 #2667] DEBUG -- : Launching guestfs... | |
T, [2012-01-12T11:55:58.977000 #2667] TRACE -- : Guestfs launched. | |
should run guestfs with no partitions and don't load selinux | |
.mount_partition | |
T, [2012-01-12T11:55:58.980025 #2667] TRACE -- : Mounting /dev/sda partition to /... | |
T, [2012-01-12T11:55:58.980306 #2667] TRACE -- : Partition mounted. | |
should mount root partition | |
T, [2012-01-12T11:55:58.982805 #2667] TRACE -- : Mounting /dev/sda partition to /home... | |
T, [2012-01-12T11:55:58.983054 #2667] TRACE -- : Partition mounted. | |
should mount home partition | |
.mount_partitions | |
T, [2012-01-12T11:55:58.986429 #2667] TRACE -- : Mounting partitions... | |
should mount two partitions | |
T, [2012-01-12T11:55:58.990088 #2667] TRACE -- : Mounting partitions... | |
should mount partitions skiping partitions with undefined filesystem type | |
T, [2012-01-12T11:55:58.993830 #2667] TRACE -- : Mounting partitions... | |
should mount two partitions from three where one is a swap partition | |
T, [2012-01-12T11:55:58.998329 #2667] TRACE -- : Mounting partitions... | |
should mount partitions with extended partitions | |
.hw_virtualization_available? | |
T, [2012-01-12T11:55:59.002845 #2667] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:59.003603 #2667] TRACE -- : HW acceleration available. | |
should return true if HW acceleration is available | |
T, [2012-01-12T11:55:59.006499 #2667] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:59.007143 #2667] TRACE -- : HW acceleration not available. | |
should return false if no vmx flag is present | |
T, [2012-01-12T11:55:59.009990 #2667] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:59.010624 #2667] TRACE -- : HW acceleration not available. | |
should return false if we're on EC2 | |
T, [2012-01-12T11:55:59.013438 #2667] TRACE -- : Checking if HW virtualization is available... | |
T, [2012-01-12T11:55:59.014110 #2667] TRACE -- : HW acceleration not available. | |
should return false if we're NOT on EC2 and AMI id retrieval raised an exception | |
.load_selinux_policy | |
T, [2012-01-12T11:55:59.018006 #2667] TRACE -- : Loading SElinux policy... | |
T, [2012-01-12T11:55:59.018389 #2667] TRACE -- : SElinux policy loaded. | |
should load SElinux policy for SElinux enabled guests | |
T, [2012-01-12T11:55:59.022042 #2667] TRACE -- : Loading SElinux policy... | |
T, [2012-01-12T11:55:59.022363 #2667] TRACE -- : SElinux policy loaded. | |
should not load SElinux policy for SElinux disabled guests | |
.umount_partitions | |
T, [2012-01-12T11:55:59.026221 #2667] TRACE -- : Unmounting partitions... | |
T, [2012-01-12T11:55:59.026472 #2667] TRACE -- : All partitions unmounted. | |
should umount partitions | |
.umount_partition | |
T, [2012-01-12T11:55:59.029103 #2667] TRACE -- : Unmounting partition /dev/vda1... | |
T, [2012-01-12T11:55:59.029276 #2667] TRACE -- : Partition unmounted. | |
should umount partition | |
.customize | |
should execute customize wihout issues | |
.log_callback | |
should register callback for all 3 events | |
.log_hack | |
should register callback for all 3 events | |
.mountable_partitions | |
return list of partitions to mount without swap | |
return list of partitions to mount with swap | |
return list of partitions to mount without extended partitions | |
BoxGrinder::PluginHelper | |
T, [2012-01-12T11:55:59.185254 #2667] TRACE -- : Loading plugin 'abc'... | |
T, [2012-01-12T11:55:59.185488 #2667] TRACE -- : - OK | |
T, [2012-01-12T11:55:59.185617 #2667] TRACE -- : Loading plugin 'def'... | |
T, [2012-01-12T11:55:59.185797 #2667] TRACE -- : - OK | |
should read plugins specified in command line | |
should read plugins specified in command line and warn if plugin cannot be loaded | |
should print os plugins | |
should load all plugins | |
BoxGrinder::ImageHelper | |
should create a 10GB disk | |
.customize | |
should customize the disk image using GuestFS | |
should customize the disk image using GuestFS and selectind ide_disk option for RHEL/CentOS 5 | |
.convert_disk | |
should not convert the disk because it's in RAW format already | |
should convert disk from vmdk to RAW format | |
should convert disk from raw to vmdk format using old qemu-img | |
should convert disk from raw to vmdk format using new qemu-img | |
should do nothing because destination already exists | |
.sync_filesystem | |
should sync filesystems between raw disk with two partitions and a partition image | |
should sync filesystems between partition image and another partition image | |
BoxGrinder::Appliance | |
should create @config object without log | |
I, [2012-01-12T11:55:59.243585 #2667] INFO -- : Removing previous builds for full appliance... | |
D, [2012-01-12T11:55:59.243882 #2667] DEBUG -- : Previous builds removed. | |
should remove old builds | |
.validate_definition | |
should raise if we use unsupported OS | |
should NOT raise if we use supported OS | |
.create | |
D, [2012-01-12T11:55:59.255548 #2667] DEBUG -- : Launching new build... | |
T, [2012-01-12T11:55:59.256677 #2667] TRACE -- : Used configuration: --- !map:OpenCascade | |
:delivery: :none | |
:force: false | |
:uid: 501 | |
:gid: 501 | |
:dir: | |
:build: build | |
:root: / | |
:platform: :none | |
should prepare appliance to build | |
D, [2012-01-12T11:55:59.260644 #2667] DEBUG -- : Launching new build... | |
T, [2012-01-12T11:55:59.261592 #2667] TRACE -- : Used configuration: --- !map:OpenCascade | |
:delivery: :none | |
:force: true | |
:uid: 501 | |
:gid: 501 | |
:dir: | |
:build: build | |
:root: / | |
:platform: :none | |
should prepare appliance to build with removing old files | |
D, [2012-01-12T11:55:59.264528 #2667] DEBUG -- : Launching new build... | |
T, [2012-01-12T11:55:59.265525 #2667] TRACE -- : Used configuration: --- !map:OpenCascade | |
:delivery: :none | |
:force: true | |
:uid: 501 | |
:gid: 501 | |
:dir: | |
:build: build | |
:root: / | |
:platform: :none | |
should not catch exceptions while building appliance | |
.validate_definition | |
should read definition with standard appliance definition file | |
.execute_plugin_chain | |
I, [2012-01-12T11:55:59.335011 #2667] INFO -- : Building 'full' appliance for i686 architecture. | |
should not fail when plugin chain is empty | |
I, [2012-01-12T11:55:59.339270 #2667] INFO -- : Building 'full' appliance for i686 architecture. | |
should execute the whole plugin chain | |
.initialize_plugins | |
should prepare the plugin chain to create an appliance and convert it to VMware format | |
should prepare the plugin chain to create an appliance and convert it to VMware format and deliver to S3 | |
should prepare the plugin chain to create an appliance and without conversion deliver to S3 | |
.execute_plugin | |
I, [2012-01-12T11:55:59.361289 #2667] INFO -- : Deliverables for ec2 platform plugin exists, skipping. | |
should not execute the plugin because deliverable already exists | |
D, [2012-01-12T11:55:59.365319 #2667] DEBUG -- : Executing platform plugin... | |
D, [2012-01-12T11:55:59.365582 #2667] DEBUG -- : Platform plugin executed. | |
should execute the plugin | |
user switching | |
D, [2012-01-12T11:55:59.370763 #2667] DEBUG -- : Executing os plugin... | |
D, [2012-01-12T11:55:59.371003 #2667] DEBUG -- : Os plugin executed. | |
D, [2012-01-12T11:55:59.371334 #2667] DEBUG -- : Lowering from root to user. | |
should switch to user from root after execution of OS plugin | |
I, [2012-01-12T11:55:59.376500 #2667] INFO -- : Deliverables for test os plugin exists, skipping. | |
D, [2012-01-12T11:55:59.376977 #2667] DEBUG -- : Lowering from root to user. | |
should switch to user from root after OS plugin even if deliverables exist | |
preparations | |
should return true if we have selected a platform | |
should return false if we haven't selected a platform | |
should return true if we have selected a delivery | |
should return false if we haven't selected a delivery | |
.change_user | |
Interpreters supporting changes to real, effective and saved ids | |
should change the real, effective and saved uid & gid | |
Interpreters only supporting changes to real and effective ids | |
should change the real and effective uid & gid | |
Failures: | |
1) BoxGrinder::ElasticHostsPlugin after validation should convert hash to request | |
Failure/Error: @plugin.hash_to_request('abc' => 'def', 'one' => 1234).should == "abc def\none 1234\n" | |
expected: "abc def\none 1234\n" | |
got: "one 1234\nabc def\n" (using ==) | |
Diff: | |
@@ -1,3 +1,3 @@ | |
-abc def | |
one 1234 | |
+abc def | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/expectations/fail_with.rb:32:in `fail_with' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:48:in `fail_with_message' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:70:in `__delegate_operator' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:60:in `eval_match' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.7.0/lib/rspec/matchers/operator_matcher.rb:29:in `==' | |
# ./spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:101 | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `instance_eval' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:51:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:110:in `with_around_hooks' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example.rb:48:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:306:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:302:in `run_examples' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:274:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/example_group.rb:275:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `map' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:24:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/reporter.rb:12:in `report' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/command_line.rb:21:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:80:in `run_in_process' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:69:in `run' | |
# /usr/lib/ruby/gems/1.8/gems/rspec-core-2.7.0/lib/rspec/core/runner.rb:10:in `autorun' | |
# /usr/bin/rspec:19 | |
Finished in 8.52 seconds | |
349 examples, 1 failure | |
Failed examples: | |
rspec ./spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb:100 # BoxGrinder::ElasticHostsPlugin after validation should convert hash to request | |
rake aborted! | |
ruby /usr/bin/ruby -I ../boxgrinder-core/lib -S rspec --colour --format doc -b spec/plugins/platform/virtualbox/virtualbox-plugin-spec.rb spec/plugins/platform/ec2/ec2-plugin-spec.rb spec/plugins/platform/virtualpc/virtualpc-plugin-spec.rb spec/plugins/platform/vmware/vmware-plugin-spec.rb spec/plugins/delivery/ebs/ebs-plugin-spec.rb spec/plugins/delivery/sftp/sftp-plugin-spec.rb spec/plugins/delivery/openstack/openstack-plugin-spec.rb spec/plugins/delivery/elastichosts/elastichosts-plugin-spec.rb spec/plugins/delivery/s3/s3-plugin-spec.rb spec/plugins/delivery/libvirt/libvirt-plugin-spec.rb spec/plugins/delivery/local/local-plugin-spec.rb spec/plugins/os/fedora/fedora-plugin-spec.rb spec/plugins/os/rpm-based/rpm-based-os-plugin-spec.rb spec/plugins/os/rpm-based/kickstart-spec.rb spec/plugins/os/rpm-based/rpm-dependency-validator-spec.rb spec/plugins/os/centos/centos-plugin-spec.rb spec/plugins/os/sl/sl-plugin-spec.rb spec/plugins/os/rhel/rhel-plugin-spec.rb spec/plugins/base-plugin-spec.rb spec/managers/plugin-manager-spec.rb spec/helpers/linux-helper-spec.rb spec/helpers/package-helper-spec.rb spec/helpers/augeas-helper-spec.rb spec/helpers/s3-helper-spec.rb spec/helpers/ec2-helper-spec.rb spec/helpers/guestfs-helper-spec.rb spec/helpers/plugin-helper-spec.rb spec/helpers/image-helper-spec.rb spec/appliance-spec.rb failed | |
Tasks: TOP => spec | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment