Skip to content

eyaml: allow custom key paths #166

eyaml: allow custom key paths

eyaml: allow custom key paths #166

Triggered via pull request August 25, 2025 22:23
Status Failure
Total duration 4m 12s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
19s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
4s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

31 errors
Puppet / OpenVox 8 - Debian 12
Process completed with exit code 1.
Puppet / OpenVox 8 - Debian 12: spec/acceptance/hiera_spec.rb#L85
hiera querying hiera finds it in puppet agent Failure/Error: expect(on(default, 'puppet agent -t --server $(hostname -f)', acceptable_exit_codes: [0, 2]).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'debian12-64-openvox8.example.com' exited with 1 running: puppet agent -t --server $(hostname -f) Last 10 lines of output were: �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib]/ensure: created �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib.rb]/ensure: defined content as '{sha256}5b935ddf8095cd536501080ae7c5126541f8362d602e5ceeae2435d376685258' �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib/toml_dumper.rb]/ensure: defined content as '{sha256}57a02bbb4f19016a8320b0baa3531f877d84bcfdbd57488f8bd173b5ea9f8272' Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' �[mNotice: Requesting catalog from debian12-64-openvox8.example.com:8140 (172.17.0.2) �[mNotice: Catalog compiled by debian12-64-openvox8.example.com Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'myclass::value' on node debian12-64-openvox8.example.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Puppet / OpenVox 8 - Debian 12: spec/acceptance/hiera_spec.rb#L81
hiera querying hiera finds it in puppet apply Failure/Error: expect(apply_manifest_on(default, pp, catch_failures: true).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'debian12-64-openvox8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222522723.XlGynL.pp Last 10 lines of output were: Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' Error: Function lookup() did not find a value for the name 'myclass::value'
Puppet / OpenVox 8 - Debian 12: spec/acceptance/hiera_spec.rb#L77
hiera querying hiera finds it on the command line Failure/Error: expect(on(default, 'puppet lookup myclass::value environment=production').stdout.strip).to eq('--- found output') Beaker::Host::CommandFailure: Host 'debian12-64-openvox8.example.com' exited with 1 running: puppet lookup myclass::value environment=production Last 10 lines of output were: Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Puppet / OpenVox 8 - Debian 12: spec/acceptance/hiera_spec.rb#L33
hiera File "/etc/puppetlabs/puppet/hiera.yaml" content is expected to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Failure/Error: is_expected.to match <<~EOS # managed by puppet --- :backends: - eyaml - yaml :logger: console :hierarchy: expected "---\n# Hiera 5 Global configuration file\n\nversion: 5\n\n# defaults:\n# data_hash: yaml_data\n# hierarchy:\n# - name: Common\n# data_hash: yaml_data\nhierarchy: []\n" to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Diff: @@ -1,22 +1,11 @@ -# managed by puppet --- -:backends: -- eyaml -- yaml +# Hiera 5 Global configuration file -:logger: console +version: 5 -:hierarchy: - - "?virtual/%{virtual}"? - - "?nodes/%{trusted.certname}"? - - common - -:eyaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - :pkcs7_private_key: "?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem"? - :pkcs7_public_key: "?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem"? - -:yaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - -:merge_behavior: deep +# defaults: +# data_hash: yaml_data +# hierarchy: +# - name: Common +# data_hash: yaml_data +hierarchy: []
Puppet / OpenVox 8 - Debian 12: spec/acceptance/hiera_spec.rb#L13
hiera puppet apply creates a hiera.yaml Failure/Error: apply_manifest_on(default, pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian12-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222517215.rshos4.pp Last 10 lines of output were: Error: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] Error: /Stage[main]/Hiera::Eyaml/Exec[createkeys]/returns: change from 'notrun' to ['0'] failed: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] �[mNotice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Dependency Exec[createkeys] has failures: true Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem]: Skipping because of failed dependencies Info: Class[Hiera::Eyaml]: Unscheduling all events on Class[Hiera::Eyaml] Warning: /Stage[main]/Hiera/File[/etc/puppetlabs/puppet/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/File[/etc/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/Ini_setting[puppet.conf hiera_config main section]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.73 seconds
Puppet / OpenVox 8 - Ubuntu 22.04
Process completed with exit code 1.
Puppet / OpenVox 8 - Ubuntu 22.04: spec/acceptance/hiera_spec.rb#L85
hiera querying hiera finds it in puppet agent Failure/Error: expect(on(default, 'puppet agent -t --server $(hostname -f)', acceptable_exit_codes: [0, 2]).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-openvox8.example.com' exited with 1 running: puppet agent -t --server $(hostname -f) Last 10 lines of output were: �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib]/ensure: created �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib.rb]/ensure: defined content as '{sha256}5b935ddf8095cd536501080ae7c5126541f8362d602e5ceeae2435d376685258' �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib/toml_dumper.rb]/ensure: defined content as '{sha256}57a02bbb4f19016a8320b0baa3531f877d84bcfdbd57488f8bd173b5ea9f8272' Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' �[mNotice: Requesting catalog from ubuntu2204-64-openvox8.example.com:8140 (172.17.0.2) �[mNotice: Catalog compiled by ubuntu2204-64-openvox8.example.com Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'myclass::value' on node ubuntu2204-64-openvox8.example.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Puppet / OpenVox 8 - Ubuntu 22.04: spec/acceptance/hiera_spec.rb#L81
hiera querying hiera finds it in puppet apply Failure/Error: expect(apply_manifest_on(default, pp, catch_failures: true).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-openvox8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222525133.Fw8jzW.pp Last 10 lines of output were: Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' Error: Function lookup() did not find a value for the name 'myclass::value'
Puppet / OpenVox 8 - Ubuntu 22.04: spec/acceptance/hiera_spec.rb#L77
hiera querying hiera finds it on the command line Failure/Error: expect(on(default, 'puppet lookup myclass::value environment=production').stdout.strip).to eq('--- found output') Beaker::Host::CommandFailure: Host 'ubuntu2204-64-openvox8.example.com' exited with 1 running: puppet lookup myclass::value environment=production Last 10 lines of output were: Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Puppet / OpenVox 8 - Ubuntu 22.04: spec/acceptance/hiera_spec.rb#L33
hiera File "/etc/puppetlabs/puppet/hiera.yaml" content is expected to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Failure/Error: is_expected.to match <<~EOS # managed by puppet --- :backends: - eyaml - yaml :logger: console :hierarchy: expected "---\n# Hiera 5 Global configuration file\n\nversion: 5\n\n# defaults:\n# data_hash: yaml_data\n# hierarchy:\n# - name: Common\n# data_hash: yaml_data\nhierarchy: []\n" to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Diff: @@ -1,22 +1,11 @@ -# managed by puppet --- -:backends: -- eyaml -- yaml +# Hiera 5 Global configuration file -:logger: console +version: 5 -:hierarchy: - - "?virtual/%{virtual}"? - - "?nodes/%{trusted.certname}"? - - common - -:eyaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - :pkcs7_private_key: "?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem"? - :pkcs7_public_key: "?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem"? - -:yaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - -:merge_behavior: deep +# defaults: +# data_hash: yaml_data +# hierarchy: +# - name: Common +# data_hash: yaml_data +hierarchy: []
Puppet / OpenVox 8 - Ubuntu 22.04: spec/acceptance/hiera_spec.rb#L13
hiera puppet apply creates a hiera.yaml Failure/Error: apply_manifest_on(default, pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222518100.Qu2LWA.pp Last 10 lines of output were: Error: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] Error: /Stage[main]/Hiera::Eyaml/Exec[createkeys]/returns: change from 'notrun' to ['0'] failed: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] �[mNotice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Dependency Exec[createkeys] has failures: true Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem]: Skipping because of failed dependencies Info: Class[Hiera::Eyaml]: Unscheduling all events on Class[Hiera::Eyaml] Warning: /Stage[main]/Hiera/File[/etc/puppetlabs/puppet/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/File[/etc/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/Ini_setting[puppet.conf hiera_config main section]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.55 seconds
Puppet / OpenVox 8 - Ubuntu 24.04
Process completed with exit code 1.
Puppet / OpenVox 8 - Ubuntu 24.04: spec/acceptance/hiera_spec.rb#L85
hiera querying hiera finds it in puppet agent Failure/Error: expect(on(default, 'puppet agent -t --server $(hostname -f)', acceptable_exit_codes: [0, 2]).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'ubuntu2404-64-openvox8.example.com' exited with 1 running: puppet agent -t --server $(hostname -f) Last 10 lines of output were: �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib]/ensure: created �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib.rb]/ensure: defined content as '{sha256}5b935ddf8095cd536501080ae7c5126541f8362d602e5ceeae2435d376685258' �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib/toml_dumper.rb]/ensure: defined content as '{sha256}57a02bbb4f19016a8320b0baa3531f877d84bcfdbd57488f8bd173b5ea9f8272' Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' �[mNotice: Requesting catalog from ubuntu2404-64-openvox8.example.com:8140 (172.17.0.2) �[mNotice: Catalog compiled by ubuntu2404-64-openvox8.example.com Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'myclass::value' on node ubuntu2404-64-openvox8.example.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Puppet / OpenVox 8 - Ubuntu 24.04: spec/acceptance/hiera_spec.rb#L81
hiera querying hiera finds it in puppet apply Failure/Error: expect(apply_manifest_on(default, pp, catch_failures: true).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'ubuntu2404-64-openvox8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222536591.gepp3v.pp Last 10 lines of output were: Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' Error: Function lookup() did not find a value for the name 'myclass::value'
Puppet / OpenVox 8 - Ubuntu 24.04: spec/acceptance/hiera_spec.rb#L77
hiera querying hiera finds it on the command line Failure/Error: expect(on(default, 'puppet lookup myclass::value environment=production').stdout.strip).to eq('--- found output') Beaker::Host::CommandFailure: Host 'ubuntu2404-64-openvox8.example.com' exited with 1 running: puppet lookup myclass::value environment=production Last 10 lines of output were: Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Puppet / OpenVox 8 - Ubuntu 24.04: spec/acceptance/hiera_spec.rb#L33
hiera File "/etc/puppetlabs/puppet/hiera.yaml" content is expected to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Failure/Error: is_expected.to match <<~EOS # managed by puppet --- :backends: - eyaml - yaml :logger: console :hierarchy: expected "---\n# Hiera 5 Global configuration file\n\nversion: 5\n\n# defaults:\n# data_hash: yaml_data\n# hierarchy:\n# - name: Common\n# data_hash: yaml_data\nhierarchy: []\n" to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Diff: @@ -1,22 +1,11 @@ -# managed by puppet --- -:backends: -- eyaml -- yaml +# Hiera 5 Global configuration file -:logger: console +version: 5 -:hierarchy: - - "?virtual/%{virtual}"? - - "?nodes/%{trusted.certname}"? - - common - -:eyaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - :pkcs7_private_key: "?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem"? - :pkcs7_public_key: "?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem"? - -:yaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - -:merge_behavior: deep +# defaults: +# data_hash: yaml_data +# hierarchy: +# - name: Common +# data_hash: yaml_data +hierarchy: []
Puppet / OpenVox 8 - Ubuntu 24.04: spec/acceptance/hiera_spec.rb#L13
hiera puppet apply creates a hiera.yaml Failure/Error: apply_manifest_on(default, pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2404-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222529635.yHBCuv.pp Last 10 lines of output were: Error: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] Error: /Stage[main]/Hiera::Eyaml/Exec[createkeys]/returns: change from 'notrun' to ['0'] failed: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] �[mNotice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Dependency Exec[createkeys] has failures: true Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem]: Skipping because of failed dependencies Info: Class[Hiera::Eyaml]: Unscheduling all events on Class[Hiera::Eyaml] Warning: /Stage[main]/Hiera/File[/etc/puppetlabs/puppet/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/File[/etc/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/Ini_setting[puppet.conf hiera_config main section]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.59 seconds
Puppet / OpenVox 8 - Debian 11
Process completed with exit code 1.
Puppet / OpenVox 8 - Debian 11: spec/acceptance/hiera_spec.rb#L85
hiera querying hiera finds it in puppet agent Failure/Error: expect(on(default, 'puppet agent -t --server $(hostname -f)', acceptable_exit_codes: [0, 2]).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'debian11-64-openvox8.example.com' exited with 1 running: puppet agent -t --server $(hostname -f) Last 10 lines of output were: �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib]/ensure: created �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib.rb]/ensure: defined content as '{sha256}5b935ddf8095cd536501080ae7c5126541f8362d602e5ceeae2435d376685258' �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib/toml_dumper.rb]/ensure: defined content as '{sha256}57a02bbb4f19016a8320b0baa3531f877d84bcfdbd57488f8bd173b5ea9f8272' Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' �[mNotice: Requesting catalog from debian11-64-openvox8.example.com:8140 (172.17.0.2) �[mNotice: Catalog compiled by debian11-64-openvox8.example.com Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'myclass::value' on node debian11-64-openvox8.example.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Puppet / OpenVox 8 - Debian 11: spec/acceptance/hiera_spec.rb#L81
hiera querying hiera finds it in puppet apply Failure/Error: expect(apply_manifest_on(default, pp, catch_failures: true).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'debian11-64-openvox8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222536806.KXozy3.pp Last 10 lines of output were: Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' Error: Function lookup() did not find a value for the name 'myclass::value'
Puppet / OpenVox 8 - Debian 11: spec/acceptance/hiera_spec.rb#L77
hiera querying hiera finds it on the command line Failure/Error: expect(on(default, 'puppet lookup myclass::value environment=production').stdout.strip).to eq('--- found output') Beaker::Host::CommandFailure: Host 'debian11-64-openvox8.example.com' exited with 1 running: puppet lookup myclass::value environment=production Last 10 lines of output were: Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Puppet / OpenVox 8 - Debian 11: spec/acceptance/hiera_spec.rb#L33
hiera File "/etc/puppetlabs/puppet/hiera.yaml" content is expected to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Failure/Error: is_expected.to match <<~EOS # managed by puppet --- :backends: - eyaml - yaml :logger: console :hierarchy: expected "---\n# Hiera 5 Global configuration file\n\nversion: 5\n\n# defaults:\n# data_hash: yaml_data\n# hierarchy:\n# - name: Common\n# data_hash: yaml_data\nhierarchy: []\n" to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Diff: @@ -1,22 +1,11 @@ -# managed by puppet --- -:backends: -- eyaml -- yaml +# Hiera 5 Global configuration file -:logger: console +version: 5 -:hierarchy: - - "?virtual/%{virtual}"? - - "?nodes/%{trusted.certname}"? - - common - -:eyaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - :pkcs7_private_key: "?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem"? - :pkcs7_public_key: "?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem"? - -:yaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - -:merge_behavior: deep +# defaults: +# data_hash: yaml_data +# hierarchy: +# - name: Common +# data_hash: yaml_data +hierarchy: []
Puppet / OpenVox 8 - Debian 11: spec/acceptance/hiera_spec.rb#L13
hiera puppet apply creates a hiera.yaml Failure/Error: apply_manifest_on(default, pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222530348.IEPn4H.pp Last 10 lines of output were: Error: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] Error: /Stage[main]/Hiera::Eyaml/Exec[createkeys]/returns: change from 'notrun' to ['0'] failed: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] �[mNotice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Dependency Exec[createkeys] has failures: true Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem]: Skipping because of failed dependencies Info: Class[Hiera::Eyaml]: Unscheduling all events on Class[Hiera::Eyaml] Warning: /Stage[main]/Hiera/File[/etc/puppetlabs/puppet/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/File[/etc/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/Ini_setting[puppet.conf hiera_config main section]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.65 seconds
Puppet / OpenVox 8 - CentOS 9
Process completed with exit code 1.
Puppet / OpenVox 8 - CentOS 9: spec/acceptance/hiera_spec.rb#L85
hiera querying hiera finds it in puppet agent Failure/Error: expect(on(default, 'puppet agent -t --server $(hostname -f)', acceptable_exit_codes: [0, 2]).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'centos9-64-openvox8.example.com' exited with 1 running: puppet agent -t --server $(hostname -f) Last 10 lines of output were: �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib]/ensure: created �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib.rb]/ensure: defined content as '{sha256}5b935ddf8095cd536501080ae7c5126541f8362d602e5ceeae2435d376685258' �[mNotice: /File[/opt/puppetlabs/puppet/cache/lib/puppet_x/stdlib/toml_dumper.rb]/ensure: defined content as '{sha256}57a02bbb4f19016a8320b0baa3531f877d84bcfdbd57488f8bd173b5ea9f8272' Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' �[mNotice: Requesting catalog from centos9-64-openvox8.example.com:8140 (172.17.0.2) �[mNotice: Catalog compiled by centos9-64-openvox8.example.com Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'myclass::value' on node centos9-64-openvox8.example.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Puppet / OpenVox 8 - CentOS 9: spec/acceptance/hiera_spec.rb#L81
hiera querying hiera finds it in puppet apply Failure/Error: expect(apply_manifest_on(default, pp, catch_failures: true).stdout.strip).to match(%r{found output}) Beaker::Host::CommandFailure: Host 'centos9-64-openvox8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222612296.QncGS5.pp Last 10 lines of output were: Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' Error: Function lookup() did not find a value for the name 'myclass::value'
Puppet / OpenVox 8 - CentOS 9: spec/acceptance/hiera_spec.rb#L77
hiera querying hiera finds it on the command line Failure/Error: expect(on(default, 'puppet lookup myclass::value environment=production').stdout.strip).to eq('--- found output') Beaker::Host::CommandFailure: Host 'centos9-64-openvox8.example.com' exited with 1 running: puppet lookup myclass::value environment=production Last 10 lines of output were: Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
Puppet / OpenVox 8 - CentOS 9: spec/acceptance/hiera_spec.rb#L33
hiera File "/etc/puppetlabs/puppet/hiera.yaml" content is expected to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Failure/Error: is_expected.to match <<~EOS # managed by puppet --- :backends: - eyaml - yaml :logger: console :hierarchy: expected "---\n# Hiera 5 Global configuration file\n\nversion: 5\n\n# defaults:\n# data_hash: yaml_data\n# hierarchy:\n# - name: Common\n# data_hash: yaml_data\nhierarchy: []\n" to match "# managed by puppet\n---\n:backends:\n- eyaml\n- yaml\n\n:logger: console\n\n:hierarchy:\n - \"?virtual/%{virtual}\"?\n - \"?nodes/%{trusted.certname}\"?\n - common\n\n:eyaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n :pkcs7_private_key: \"?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem\"?\n :pkcs7_public_key: \"?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem\"?\n\n:yaml:\n :datadir: \"?/etc/puppetlabs/code/environments/%{environment}/hieradata\"?\n\n:merge_behavior: deep\n" Diff: @@ -1,22 +1,11 @@ -# managed by puppet --- -:backends: -- eyaml -- yaml +# Hiera 5 Global configuration file -:logger: console +version: 5 -:hierarchy: - - "?virtual/%{virtual}"? - - "?nodes/%{trusted.certname}"? - - common - -:eyaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - :pkcs7_private_key: "?/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem"? - :pkcs7_public_key: "?/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem"? - -:yaml: - :datadir: "?/etc/puppetlabs/code/environments/%{environment}/hieradata"? - -:merge_behavior: deep +# defaults: +# data_hash: yaml_data +# hierarchy: +# - name: Common +# data_hash: yaml_data +hierarchy: []
Puppet / OpenVox 8 - CentOS 9: spec/acceptance/hiera_spec.rb#L13
hiera puppet apply creates a hiera.yaml Failure/Error: apply_manifest_on(default, pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos9-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_222606805.TWdPUW.pp Last 10 lines of output were: Error: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] Error: /Stage[main]/Hiera::Eyaml/Exec[createkeys]/returns: change from 'notrun' to ['0'] failed: '["eyaml", "createkeys", "--pkcs7-private-key='/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem'", "--pkcs7-public-key='/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem'"]' returned 1 instead of one of [0] �[mNotice: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Dependency Exec[createkeys] has failures: true Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/private_key.pkcs7.pem]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera::Eyaml/File[/etc/puppetlabs/puppet/keys/public_key.pkcs7.pem]: Skipping because of failed dependencies Info: Class[Hiera::Eyaml]: Unscheduling all events on Class[Hiera::Eyaml] Warning: /Stage[main]/Hiera/File[/etc/puppetlabs/puppet/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/File[/etc/hiera.yaml]: Skipping because of failed dependencies Warning: /Stage[main]/Hiera/Ini_setting[puppet.conf hiera_config main section]: Skipping because of failed dependencies �[mNotice: Applied catalog in 0.87 seconds
Puppet / Test suite
Process completed with exit code 1.