LXD provisoner support #198
Annotations
4 errors and 2 warnings
Run tests:
spec/tasks/lxd_spec.rb#L123
provision::lxd .task action=provision provisions successfully
Failure/Error: expect(lxd.task(**provision_input)).to eq(provision_output)
#<LXDProvision:0x00005605b41e1800 @action="provision", @retries=1, @platform="images:foobar/1", @node_name=nil, @vars=nil, @inventory_full_path="/tmp/rspec-provision_test20240516-1899-1p568gt/spec/fixtures/litmus_inventory.yaml", @inventory={"version"=>2, "groups"=>[{"name"=>"docker_nodes", "targets"=>[]}, {"name"=>"lxd_nodes", "targets"=>[]}, {"name"=>"ssh_nodes", "targets"=>[]}, {"name"=>"winrm_nodes", "targets"=>[]}]}, @options={}, @lxd_default_remote="fake"> received :run_local_command with unexpected arguments
expected: ("lxc -q start fake:random-host")
got: ("lxc -q config get random-host -e")
|
Run tests:
spec/tasks/lxd_spec.rb#L133
provision::lxd .task action=provision when retries=0 try once but ignore the raised error
Failure/Error: expect(lxd.task(**provision_input)).to eq(provision_output)
#<LXDProvision:0x00005605b3f72e20 @action="provision", @retries=0, @platform="images:foobar/1", @node_name=nil, @vars=nil, @inventory_full_path="/tmp/rspec-provision_test20240516-1899-l3mrdt/spec/fixtures/litmus_inventory.yaml", @inventory={"version"=>2, "groups"=>[{"name"=>"docker_nodes", "targets"=>[]}, {"name"=>"lxd_nodes", "targets"=>[]}, {"name"=>"ssh_nodes", "targets"=>[]}, {"name"=>"winrm_nodes", "targets"=>[]}]}, @options={}, @lxd_default_remote="fake"> received :run_local_command with unexpected arguments
expected: ("lxc -q start fake:random-host")
got: ("lxc -q config get random-host -e")
|
Run tests:
spec/tasks/lxd_spec.rb#L142
provision::lxd .task action=provision max retries then deletes the instance
Failure/Error: expect { lxd.task(**provision_input) }.to raise_error(StandardError, %r{Giving up waiting for #{lxd_remote}:#{container_id}})
expected StandardError with message matching /Giving up waiting for fake:random-host/, got #<RSpec::Mocks::MockExpectationError: #<LXDProvision:0x00005605b3f0e1f0 @action="provision", @retries...ents
expected: ("lxc -q start fake:random-host")
got: ("lxc -q config get random-host -e")> with backtrace:
# ./tasks/lxd.rb:29:in `provision'
# ./tasks/lxd.rb:118:in `call'
# ./tasks/lxd.rb:118:in `task'
# ./spec/tasks/lxd_spec.rb:149:in `block (5 levels) in <top (required)>'
# ./spec/tasks/lxd_spec.rb:149:in `block (4 levels) in <top (required)>'
# ./spec/tasks/lxd_spec.rb:16:in `block (3 levels) in <top (required)>'
# /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/2.7.0/tmpdir.rb:89:in `mktmpdir'
# ./spec/tasks/lxd_spec.rb:14:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
# ./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
# /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `load'
# /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `<main>'
|
Run tests
Process completed with exit code 1.
|
Run tests:
spec/tasks/abs_spec.rb#L134
provision::abs when provisioning raises an error if abs returns error response
Skipped: Not yet implemented
|
Run tests:
spec/tasks/abs_spec.rb#L182
provision::abs when tearing down raises an error if abs returns error response
Skipped: Not yet implemented
|
Loading