tasks require path to inventory yaml #206
ci.yml
on: pull_request
Spec
/
Setup Test Matrix
31s
Matrix: Spec / spec
Annotations
10 errors and 9 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/tasks/lxd_spec.rb#L170
provision::lxd .task action=provision provisions successfully
Failure/Error: expect(lxd.task(**provision_input)).to eq(provision_output)
#<File (class)> received :write with unexpected arguments
expected: ("/tmp/rspec-provision_test20240627-1841-8nrolv/spec/fixtures/litmus_inventory.yaml", "---\nversion: 2\ngroups:\n- name: docker_nodes\n targets: []\n- name: lxd_nodes\n targets:\n - ur... platform: images:foobar/1\n- name: ssh_nodes\n targets: []\n- name: winrm_nodes\n targets: []\n")
got: ("/tmp/rspec-provision_test20240627-1841-8nrolv/inventory.yaml/spec/fixtures/litmus_inventory.yaml", "---\nversion: 2\ngroups:\n- name: docker_nodes\n targets: []\n- name: lxd_nodes\n targets:\n - ur... platform: images:foobar/1\n- name: ssh_nodes\n targets: []\n- name: winrm_nodes\n targets: []\n")
Diff:
@@ -1 +1 @@
-/tmp/rspec-provision_test20240627-1841-8nrolv/spec/fixtures/litmus_inventory.yaml
+/tmp/rspec-provision_test20240627-1841-8nrolv/inventory.yaml/spec/fixtures/litmus_inventory.yaml
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/tasks/lxd_spec.rb#L180
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)
Errno::ENOENT:
No such file or directory @ rb_sysopen - /tmp/rspec-provision_test20240627-1841-ymitox/inventory.yaml/spec/fixtures/litmus_inventory.yaml
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/tasks/lxd_spec.rb#L205
provision::lxd .task action=tear_down tears down successfully
Failure/Error: expect(lxd.task(**tear_down_input)).to eq(tear_down_output)
RuntimeError:
Unable to find '/tmp/rspec-provision_test20240627-1841-52vrh1/inventory.yaml/spec/fixtures/litmus_inventory.yaml'
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/tasks/lxd_spec.rb#L220
provision::lxd .task action=tear_down expect to raise error if node_name not in inventory
Failure/Error: expect { lxd.task(**tear_down_input) }.to raise_error(StandardError, %r{node_name #{container_id} not found in inventory})
expected StandardError with message matching /node_name random-host not found in inventory/, got #<RuntimeError: Unable to find '/tmp/rspec-provision_test20240627-1841-u5qt8u/inventory.yaml/spec/fixtures/litmus_inventory.yaml'> with backtrace:
# ./tasks/lxd.rb:113:in `task'
# ./spec/tasks/lxd_spec.rb:221:in `block (5 levels) in <top (required)>'
# ./spec/tasks/lxd_spec.rb:221: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#L170
provision::lxd .task action=provision provisions successfully
Failure/Error: expect(lxd.task(**provision_input)).to eq(provision_output)
#<File (class)> received :write with unexpected arguments
expected: ("/tmp/rspec-provision_test20240627-1889-mlvqny/spec/fixtures/litmus_inventory.yaml", "---\nversion: 2\ngroups:\n- name: docker_nodes\n targets: []\n- name: lxd_nodes\n targets:\n - ur... platform: images:foobar/1\n- name: ssh_nodes\n targets: []\n- name: winrm_nodes\n targets: []\n")
got: ("/tmp/rspec-provision_test20240627-1889-mlvqny/inventory.yaml/spec/fixtures/litmus_inventory.yaml", "---\nversion: 2\ngroups:\n- name: docker_nodes\n targets: []\n- name: lxd_nodes\n targets:\n - ur... platform: images:foobar/1\n- name: ssh_nodes\n targets: []\n- name: winrm_nodes\n targets: []\n")
Diff:
@@ -1 +1 @@
-/tmp/rspec-provision_test20240627-1889-mlvqny/spec/fixtures/litmus_inventory.yaml
+/tmp/rspec-provision_test20240627-1889-mlvqny/inventory.yaml/spec/fixtures/litmus_inventory.yaml
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/tasks/lxd_spec.rb#L180
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)
Errno::ENOENT:
No such file or directory @ rb_sysopen - /tmp/rspec-provision_test20240627-1889-a6acbp/inventory.yaml/spec/fixtures/litmus_inventory.yaml
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/tasks/lxd_spec.rb#L205
provision::lxd .task action=tear_down tears down successfully
Failure/Error: expect(lxd.task(**tear_down_input)).to eq(tear_down_output)
RuntimeError:
Unable to find '/tmp/rspec-provision_test20240627-1889-14tea14/inventory.yaml/spec/fixtures/litmus_inventory.yaml'
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/tasks/lxd_spec.rb#L220
provision::lxd .task action=tear_down expect to raise error if node_name not in inventory
Failure/Error: expect { lxd.task(**tear_down_input) }.to raise_error(StandardError, %r{node_name #{container_id} not found in inventory})
expected StandardError with message matching /node_name random-host not found in inventory/, got #<RuntimeError: Unable to find '/tmp/rspec-provision_test20240627-1889-19xiius/inventory.yaml/spec/fixtures/litmus_inventory.yaml'> with backtrace:
# ./tasks/lxd.rb:113:in `task'
# ./spec/tasks/lxd_spec.rb:221:in `block (5 levels) in <top (required)>'
# ./spec/tasks/lxd_spec.rb:221: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
|