Skip to content

Docker tests: Switch from puppetserver to openvoxserver (rebased) #115

Docker tests: Switch from puppetserver to openvoxserver (rebased)

Docker tests: Switch from puppetserver to openvoxserver (rebased) #115

Triggered via pull request August 14, 2025 11:48
Status Failure
Total duration 6m 50s
Artifacts

apply.yaml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
Tests (ubuntu-24.04, 3.2): spec/integration/apply_error_spec.rb#L31
errors gracefully attempting to apply a manifest block over ssh raises a helpful error when a non-Puppet error is raised Failure/Error: expect(logs).to include(/`require': cannot load such file -- fake \(LoadError\)/) expected ["DEBUG Bolt::Logger : Analytics opt-out is set, analytics will be disabled\n", "DEBUG Bolt::Executor : Started with 100 max thread(s)\n", "DEBUG Bolt::PAL : Loading modules from /home/runner/work/openbolt/openbolt/bolt-modules:/home/runner/work/op...lytics::NoopClient : Skipping submission of 'Apply ast' event because analytics is disabled\n", " INFO Bolt::Outputter::Logger : Starting: apply catalog on \n", " INFO Bolt::Outputter::Logger : Finished: apply catalog with 0 failures in 0.0 sec\n"] to include /`require': cannot load such file -- fake \(LoadError\)/ Diff: @@ -1 +1,89 @@ -[/`require': cannot load such file -- fake \(LoadError\)/] +["DEBUG Bolt::Logger : Analytics opt-out is set, analytics will be disabled\n", + "DEBUG Bolt::Executor : Started with 100 max thread(s)\n", + "DEBUG Bolt::PAL : Loading modules from /home/runner/work/openbolt/openbolt/bolt-modules:/home/runner/work/openbolt/openbolt/spec/fixtures/apply:/tmp/d20250814-13473-2sdn4a/.modules:/home/runner/work/openbolt/openbolt/modules\n", + "DEBUG Bolt::Inventory : Tried to load inventory from /tmp/d20250814-13473-2sdn4a/inventory.yaml, but the file does not exist\n", + "TRACE Bolt::Analytics::NoopClient : Skipping submission of 'apply_' screenview because analytics is disabled\n", + "DEBUG Bolt::Inventory::Inventory : Did not find config for ssh://bolt@localhost:20022 in inventory\n", + " INFO Bolt::Outputter::Logger : Starting: plan \n", + "TRACE Bolt::Analytics::NoopClient : Skipping submission of 'Plan call_function' event because analytics is disabled\n", + " INFO Bolt::Outputter::Logger : Starting: install puppet and gather facts on ssh://bolt@localhost:20022\n", + "TRACE Bolt::Analytics::NoopClient : Skipping submission of 'Transport initialize' event because analytics is disabled\n", + " INFO Bolt::Outputter::Logger : Starting: task puppet_agent::install on ssh://bolt@localhost:20022\n", + " INFO Bolt::Executor : Running task puppet_agent::install with '{\"retry\":5,\"stop_service\":true,\"_task\":\"puppet_agent::install\"}' on [\"ssh://bolt@localhost:20022\"]\n", + "DEBUG Bolt::Transport::SSH : Running task 'puppet_agent::install' on ssh://bolt@localhost:20022\n", + "TRACE ssh://bolt@localhost:20022 : Initializing ssh connection to ssh://bolt@localhost:20022\n", + "DEBUG ssh://bolt@localhost:20022 : Disabling use_agent in net-ssh: ssh-agent is not available\n", + "TRACE ssh://bolt@localhost:20022 : Opened session\n", + "TRACE ssh://bolt@localhost:20022 : Running '/home/runner/work/openbolt/openbolt/modules/puppet_agent/tasks/install_shell.sh' with {\"retry\":5,\"stop_service\":true,\"_task\":\"puppet_agent::install\"}\n", + "TRACE ssh://bolt@localhost:20022 : Executing `mkdir -m 700 /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7`\n", + "TRACE ssh://bolt@localhost:20022 : Command `mkdir -m 700 /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7` returned successfully\n", + "TRACE ssh://bolt@localhost:20022 : Executing `mkdir -p /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7/puppet_agent/tasks /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7/facts/tasks`\n", + "TRACE ssh://bolt@localhost:20022 : Command `mkdir -p /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7/puppet_agent/tasks /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7/facts/tasks` returned successfully\n", + "TRACE ssh://bolt@localhost:20022 : Uploading /home/runner/work/openbolt/openbolt/modules/facts/tasks/bash.sh to /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7/facts/tasks/bash.sh\n", + "TRACE ssh://bolt@localhost:20022 : Uploading /home/runner/work/openbolt/openbolt/modules/puppet_agent/tasks/install_shell.sh to /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7/puppet_agent/tasks/install_shell.sh\n", + "TRACE ssh://bolt@localhost:20022 : Executing `chmod u+x /tmp/f8a8c5b2-2c8d-476a-8275-f9a2293e21c7/puppet_agent/tasks/install
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L384
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes when calling invalid functions in apply errors when Target.new is called Failure/Error: expect(result['kind']).to eq('bolt/apply-failure') expected: "bolt/apply-failure" got: "bolt/run-failure" (compared using ==)
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L374
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes when calling invalid functions in apply errors when get_target is called Failure/Error: expect(result['kind']).to eq('bolt/apply-failure') expected: "bolt/apply-failure" got: "bolt/run-failure" (compared using ==)
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L364
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes when calling invalid functions in apply errors when get_targets is called Failure/Error: expect(result['kind']).to eq('bolt/apply-failure') expected: "bolt/apply-failure" got: "bolt/run-failure" (compared using ==)
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L357
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes preserves the sensitive data of Results Failure/Error: expect(result).not_to include('kind') expected {"details" => {"action" => "run_task", "column" => 10, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/sensitive_result.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => ...th exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/830ac894-39fa-4c4e-bd8e-e1584080cbc7/custom_facts.rb: not found\n"}, "_output" => ""}}]}, "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"=>10, "file"=>"/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/sensitive_result.pp", "line"=>5, "object"=>"apply_helpers::custom_facts", "result_set"=>[{"action"=>"task", "object"=>"apply_helpers::custom_facts", "status"=>"failure", "target"=>"ssh://bolt@localhost:20022", "value"=>{"_error"=>{"details"=>{"exit_code"=>127}, "issue_code"=>"TASK_ERROR", "kind"=>"puppetlabs.tasks/task-error", "msg"=>"The task failed with exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/830ac894-39fa-4c4e-bd8e-e1584080cbc7/custom_facts.rb: not found\n"}, "_output"=>""}}]}, +"kind" => "bolt/run-failure", +"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L351
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes serializes Error objects in apply blocks Failure/Error: expect(result).not_to include('kind') expected {"details" => {"action" => "run_task", "column" => 9, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/error.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => "apply_helpe...th exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/53c9ac23-8094-4ed9-a28d-54b6ed6aa3ac/custom_facts.rb: not found\n"}, "_output" => ""}}]}, "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"=>9, "file"=>"/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/error.pp", "line"=>5, "object"=>"apply_helpers::custom_facts", "result_set"=>[{"action"=>"task", "object"=>"apply_helpers::custom_facts", "status"=>"failure", "target"=>"ssh://bolt@localhost:20022", "value"=>{"_error"=>{"details"=>{"exit_code"=>127}, "issue_code"=>"TASK_ERROR", "kind"=>"puppetlabs.tasks/task-error", "msg"=>"The task failed with exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/53c9ac23-8094-4ed9-a28d-54b6ed6aa3ac/custom_facts.rb: not found\n"}, "_output"=>""}}]}, +"kind" => "bolt/run-failure", +"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L345
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes serializes Target objects as ApplyTargets in apply blocks Failure/Error: expect(result).not_to include('kind') expected {"details" => {"action" => "run_task", "column" => 9, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/target.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => "apply_help...th exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/68d12cc2-69a4-4c7e-bd04-322fbc03f0cb/custom_facts.rb: not found\n"}, "_output" => ""}}]}, "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"=>9, "file"=>"/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/target.pp", "line"=>5, "object"=>"apply_helpers::custom_facts", "result_set"=>[{"action"=>"task", "object"=>"apply_helpers::custom_facts", "status"=>"failure", "target"=>"ssh://bolt@localhost:20022", "value"=>{"_error"=>{"details"=>{"exit_code"=>127}, "issue_code"=>"TASK_ERROR", "kind"=>"puppetlabs.tasks/task-error", "msg"=>"The task failed with exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/68d12cc2-69a4-4c7e-bd04-322fbc03f0cb/custom_facts.rb: not found\n"}, "_output"=>""}}]}, +"kind" => "bolt/run-failure", +"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L339
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes serializes ApplyResult objects in apply blocks Failure/Error: expect(result).not_to include('kind') expected {"details" => {"action" => "run_task", "column" => 9, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/applyresult.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => "apply...th exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/3fae4050-94d0-486f-9770-6a61e03ba918/custom_facts.rb: not found\n"}, "_output" => ""}}]}, "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"=>9, "file"=>"/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/applyresult.pp", "line"=>5, "object"=>"apply_helpers::custom_facts", "result_set"=>[{"action"=>"task", "object"=>"apply_helpers::custom_facts", "status"=>"failure", "target"=>"ssh://bolt@localhost:20022", "value"=>{"_error"=>{"details"=>{"exit_code"=>127}, "issue_code"=>"TASK_ERROR", "kind"=>"puppetlabs.tasks/task-error", "msg"=>"The task failed with exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/3fae4050-94d0-486f-9770-6a61e03ba918/custom_facts.rb: not found\n"}, "_output"=>""}}]}, +"kind" => "bolt/run-failure", +"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L332
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes serializes Result objects in apply blocks Failure/Error: expect(result).not_to include('kind') expected {"details" => {"action" => "run_task", "column" => 10, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/result.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => "apply_hel...th exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/f75035d3-ac46-4bce-abda-bc63ed835845/custom_facts.rb: not found\n"}, "_output" => ""}}]}, "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"=>10, "file"=>"/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/result.pp", "line"=>5, "object"=>"apply_helpers::custom_facts", "result_set"=>[{"action"=>"task", "object"=>"apply_helpers::custom_facts", "status"=>"failure", "target"=>"ssh://bolt@localhost:20022", "value"=>{"_error"=>{"details"=>{"exit_code"=>127}, "issue_code"=>"TASK_ERROR", "kind"=>"puppetlabs.tasks/task-error", "msg"=>"The task failed with exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/f75035d3-ac46-4bce-abda-bc63ed835845/custom_facts.rb: not found\n"}, "_output"=>""}}]}, +"kind" => "bolt/run-failure", +"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
Tests (ubuntu-24.04, 3.2): spec/integration/apply_compile_spec.rb#L326
passes parsed AST to the apply_catalog task over ssh with Bolt plan datatypes serializes ResultSet objects in apply blocks Failure/Error: expect(result).not_to include('kind') expected {"details" => {"action" => "run_task", "column" => 9, "file" => "/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/resultset.pp", "line" => 5, "object" => "apply_helpers::custom_facts", "result_set" => [{"action" => "task", "object" => "apply_h...th exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/ad5b7bec-8b70-48b0-baa2-b40bb416eb85/custom_facts.rb: not found\n"}, "_output" => ""}}]}, "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"=>9, "file"=>"/home/runner/work/openbolt/openbolt/spec/fixtures/apply/puppet_types/plans/resultset.pp", "line"=>5, "object"=>"apply_helpers::custom_facts", "result_set"=>[{"action"=>"task", "object"=>"apply_helpers::custom_facts", "status"=>"failure", "target"=>"ssh://bolt@localhost:20022", "value"=>{"_error"=>{"details"=>{"exit_code"=>127}, "issue_code"=>"TASK_ERROR", "kind"=>"puppetlabs.tasks/task-error", "msg"=>"The task failed with exit code 127 and no stdout, but stderr contained:\nsh: 1: /tmp/ad5b7bec-8b70-48b0-baa2-b40bb416eb85/custom_facts.rb: not found\n"}, "_output"=>""}}]}, +"kind" => "bolt/run-failure", +"msg" => "run_task 'apply_helpers::custom_facts' failed on 1 target",
Tests (windows-latest, 3.2)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677