Docker tests: Switch from puppetserver to openvoxserver (rebased) #663
Annotations
10 errors
|
spec/integration/inventory_spec.rb#L605
running with an inventory file with pdb lookups applies config to dynamic inventory on a non-queried node does not load fact-lookup config
|
|
spec/integration/inventory_spec.rb#L593
running with an inventory file with pdb lookups applies config to dynamic inventory when a fact is not set sets config to nil
|
|
spec/integration/inventory_spec.rb#L576
running with an inventory file with pdb lookups applies config to dynamic inventory on another node uses fact-based name
|
|
spec/integration/inventory_spec.rb#L554
running with an inventory file with pdb lookups applies config to dynamic inventory with name and uri set handles structured facts
|
|
spec/integration/inventory_spec.rb#L547
running with an inventory file with pdb lookups applies config to dynamic inventory with name and uri set runs a plan
|
|
spec/integration/inventory_spec.rb#L518
running with an inventory file with pdb lookups runs a plan
Failure/Error: expect(result).not_to include('kind')
expected {"details" => {"column" => 10, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/modules/inventory/plans/init.pp", "line" => 5}, "kind" => "bolt/plugin-error", "msg" => "Error executing plugin puppetdb from resolve_reference in puppetdb: Failed to connect to all PuppetDB server_urls: https://localhost:18081."} not to include "kind"
Diff:
@@ -1 +1,3 @@
-["kind"]
+"details" => {"column" => 10, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/modules/inventory/plans/init.pp", "line" => 5},
+"kind" => "bolt/plugin-error",
+"msg" => "Error executing plugin puppetdb from resolve_reference in puppetdb: Failed to connect to all PuppetDB server_urls: https://localhost:18081.",
|
|
spec/integration/docker_spec.rb#L106
when running over the docker transport when using a project with interpreters without dots configured runs task with interpreter key .py
Failure/Error: expect(result).to eq("Should have succeed on node" => true)
expected: {"Should have succeed on node" => true}
got: {"elapsed_time" => 2, "items" => [{"action" => "task", "object" => "sample::interpreter", "status" => "failure", "target" => "docker://@ubuntu_node:0?id=1", "value" => {"_error" => {"details" => {"exit_code" => 127}, "issue_code" => "TASK_ERROR", "kin...-error", "msg" => "The task failed with exit code 127"}, "_output" => "OCI runtime exec failed: exec failed: unable to start container process: exec: \"/usr/bin/python3\": stat /usr/bin/python3: no such file or directory\r\n"}}], "target_count" => 2}
(compared using ==)
Diff:
@@ -1 +1,3 @@
-"Should have succeed on node" => true,
+"elapsed_time" => 2,
+"items" => [{"action" => "task", "object" => "sample::interpreter", "status" => "failure", "target" => "docker://@ubuntu_node:0?id=1", "value" => {"_error" => {"details" => {"exit_code" => 127}, "issue_code" => "TASK_ERROR", "kind" => "puppetlabs.tasks/task-error", "msg" => "The task failed with exit code 127"}, "_output" => "OCI runtime exec failed: exec failed: unable to start container process: exec: \"/usr/bin/python3\": stat /usr/bin/python3: no such file or directory\r\n"}}, {"action" => "task", "object" => "sample::interpreter", "status" => "failure", "target" => "docker://@ubuntu_node:0?id=2", "value" => {"_error" => {"details" => {"exit_code" => 127}, "issue_code" => "TASK_ERROR", "kind" => "puppetlabs.tasks/task-error", "msg" => "The task failed with exit code 127"}, "_output" => "OCI runtime exec failed: exec failed: unable to start container process: exec: \"/usr/bin/python3\": stat /usr/bin/python3: no such file or directory\r\n"}}],
+"target_count" => 2,
|
|
spec/integration/docker_spec.rb#L96
when running over the docker transport when using a project with interpreters without dots configured runs task with specified interpreter key py
Failure/Error: expect(result).to eq("Should have succeed on node" => true)
expected: {"Should have succeed on node" => true}
got: {"elapsed_time" => 2, "items" => [{"action" => "task", "object" => "sample::interpreter", "status" => "failure", "target" => "docker://@ubuntu_node:0?id=2", "value" => {"_error" => {"details" => {"exit_code" => 127}, "issue_code" => "TASK_ERROR", "kin...-error", "msg" => "The task failed with exit code 127"}, "_output" => "OCI runtime exec failed: exec failed: unable to start container process: exec: \"/usr/bin/python3\": stat /usr/bin/python3: no such file or directory\r\n"}}], "target_count" => 2}
(compared using ==)
Diff:
@@ -1 +1,3 @@
-"Should have succeed on node" => true,
+"elapsed_time" => 2,
+"items" => [{"action" => "task", "object" => "sample::interpreter", "status" => "failure", "target" => "docker://@ubuntu_node:0?id=2", "value" => {"_error" => {"details" => {"exit_code" => 127}, "issue_code" => "TASK_ERROR", "kind" => "puppetlabs.tasks/task-error", "msg" => "The task failed with exit code 127"}, "_output" => "OCI runtime exec failed: exec failed: unable to start container process: exec: \"/usr/bin/python3\": stat /usr/bin/python3: no such file or directory\r\n"}}, {"action" => "task", "object" => "sample::interpreter", "status" => "failure", "target" => "docker://@ubuntu_node:0?id=1", "value" => {"_error" => {"details" => {"exit_code" => 127}, "issue_code" => "TASK_ERROR", "kind" => "puppetlabs.tasks/task-error", "msg" => "The task failed with exit code 127"}, "_output" => "OCI runtime exec failed: exec failed: unable to start container process: exec: \"/usr/bin/python3\": stat /usr/bin/python3: no such file or directory\r\n"}}],
+"target_count" => 2,
|
|
spec/integration/device_spec.rb#L74
devices over ssh when running against puppet 7 runs a plan that applies resources
Failure/Error: expect(results).not_to include('kind')
expected {"details" => {"action" => "run_task", "column" => 3, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/device_test/plans/set_a_val.pp", "line" => 7, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "ob...tails" => {}, "issue_code" => "AUTH_ERROR", "kind" => "puppetlabs.tasks/connect-error", "msg" => "Authentication failed for user root@localhost"}}}]}, "kind" => "bolt/run-failure", "msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target"} not to include "kind"
Diff:
@@ -1 +1,3 @@
-["kind"]
+"details" => {"action" => "run_task", "column" => 3, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/device_test/plans/set_a_val.pp", "line" => 7, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => nil, "status" => "failure", "target" => "fake_device1", "value" => {"_error" => {"details" => {}, "issue_code" => "AUTH_ERROR", "kind" => "puppetlabs.tasks/connect-error", "msg" => "Authentication failed for user root@localhost"}}}]},
+"kind" => "bolt/run-failure",
+"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
|
|
spec/integration/device_spec.rb#L60
devices over ssh when running against puppet 7 runs a plan that collects facts
Failure/Error: expect(results).not_to include('kind')
expected {"details" => {"action" => "run_task", "column" => 3, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/device_test/plans/facts.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object...tails" => {}, "issue_code" => "AUTH_ERROR", "kind" => "puppetlabs.tasks/connect-error", "msg" => "Authentication failed for user root@localhost"}}}]}, "kind" => "bolt/run-failure", "msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target"} not to include "kind"
Diff:
@@ -1 +1,3 @@
-["kind"]
+"details" => {"action" => "run_task", "column" => 3, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/device_test/plans/facts.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => nil, "status" => "failure", "target" => "fake_device1", "value" => {"_error" => {"details" => {}, "issue_code" => "AUTH_ERROR", "kind" => "puppetlabs.tasks/connect-error", "msg" => "Authentication failed for user root@localhost"}}}]},
+"kind" => "bolt/run-failure",
+"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
|
The logs for this run have expired and are no longer available.
Loading