LXD provisoner support #181
ci.yml
on: pull_request
Spec
/
Setup Test Matrix
25s
Matrix: Spec / spec
Annotations
8 errors and 9 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
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:0x00007f8dcb6280d0 @action="provision", @retries=1, @platform="images:foobar/1", @node_name=nil, @vars=nil, @inventory_full_path="/tmp/rspec-provision_test20240513-1882-exh72u/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 init images:foobar/1 fake: ")
got: ("lxc -q create images:foobar/1 fake: ")
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
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:0x00007f8dcb6fa3c8 @action="provision", @retries=0, @platform="images:foobar/1", @node_name=nil, @vars=nil, @inventory_full_path="/tmp/rspec-provision_test20240513-1882-ztssxe/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 init images:foobar/1 fake: ")
got: ("lxc -q create images:foobar/1 fake: ")
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
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:0x00007f8dcb5d8490 @action=\"provision\", @retri...: (\"lxc -q init images:foobar/1 fake: \")\n got: (\"lxc -q create images:foobar/1 fake: \")"> with backtrace:
# ./tasks/lxd.rb:26: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/3.2.4/x64/lib/ruby/3.2.0/tmpdir.rb:94:in `mktmpdir'
# ./spec/tasks/lxd_spec.rb:14:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/3.2.0/bin/rspec:25:in `load'
# ./vendor/bundle/ruby/3.2.0/bin/rspec:25:in `<top (required)>'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `load'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `kernel_load'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/cli/exec.rb:23:in `run'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/cli.rb:492:in `exec'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/cli.rb:34:in `dispatch'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/cli.rb:28:in `start'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/bin/bundle:25:in `load'
# /opt/hostedtoolcache/Ruby/3.2.4/x64/bin/bundle:25:in `<main>'
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
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:0x000055ec5abe9aa0 @action="provision", @retries=1, @platform="images:foobar/1", @node_name=nil, @vars=nil, @inventory_full_path="/tmp/rspec-provision_test20240513-1947-13g96tw/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 init images:foobar/1 fake: ")
got: ("lxc -q create images:foobar/1 fake: ")
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
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:0x000055ec5a9a1f18 @action="provision", @retries=0, @platform="images:foobar/1", @node_name=nil, @vars=nil, @inventory_full_path="/tmp/rspec-provision_test20240513-1947-1js718t/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 init images:foobar/1 fake: ")
got: ("lxc -q create images:foobar/1 fake: ")
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
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:0x000055ec5a92b9f8 @action="provision", @retries...pected: ("lxc -q init images:foobar/1 fake: ")
got: ("lxc -q create images:foobar/1 fake: ")> with backtrace:
# ./tasks/lxd.rb:26: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>'
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
|
Spec / Setup Test Matrix
Cannot find image for windows-10
|
Spec / Setup Test Matrix
Cannot find image for windows-2012 R2
|
Spec / Setup Test Matrix
Cannot find image for windows-2016
|
Spec / Setup Test Matrix
Cannot find image for windows-2019
|
Spec / Setup Test Matrix
Cannot find image for windows-2022
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/tasks/abs_spec.rb#L134
provision::abs when provisioning raises an error if abs returns error response
Skipped: Not yet implemented
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/tasks/abs_spec.rb#L182
provision::abs when tearing down raises an error if abs returns error response
Skipped: Not yet implemented
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/tasks/abs_spec.rb#L134
provision::abs when provisioning raises an error if abs returns error response
Skipped: Not yet implemented
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/tasks/abs_spec.rb#L182
provision::abs when tearing down raises an error if abs returns error response
Skipped: Not yet implemented
|