Skip to content

Make testing and installing rulesets more reliable #98

Make testing and installing rulesets more reliable

Make testing and installing rulesets more reliable #98

Triggered via pull request August 11, 2023 00:10
Status Failure
Total duration 9m 12s
Artifacts

ci.yml

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

Annotations

160 errors
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001313327.pp.hcG70a Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.11 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001315939.pp.HkqOCl Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.15 seconds Info: Using environment 'production' Info: Applying configuration version '1691712797' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001318315.pp.b74n3c Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001320686.pp.igfYxX Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.13 seconds Info: Using environment 'production' Info: Applying configuration version '1691712802' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001323016.pp.veCgVJ Last 10 lines of output were: Info: Applying configuration version '1691712805' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001325393.pp.61crYF Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet7.example.com in environment production in 0.12 seconds Info: Using environment 'production' Info: Applying configuration version '1691712807' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001351443.pp.lNlTWm Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001353943.pp.ZRtWvj Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001401247.pp.1xKC2E Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001403729.pp.44DRGG Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001333543.pp.Q5Gixu Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.11 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001335976.pp.aOKPlz Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.14 seconds Info: Using environment 'production' Info: Applying configuration version '1691712817' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001338232.pp.EUyYye Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001340500.pp.Gn1LKT Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.12 seconds Info: Using environment 'production' Info: Applying configuration version '1691712822' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.06 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001342726.pp.cMxhHN Last 10 lines of output were: Info: Applying configuration version '1691712824' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001344972.pp.rvL3nC Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.11 seconds Info: Using environment 'production' Info: Applying configuration version '1691712826' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001409495.pp.1Szh4E Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001411822.pp.fdpTHz Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001418670.pp.qSjQ12 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001421006.pp.gPZ9G7 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001326526.pp.qJYRvS Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001329554.pp.wEFLZg Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.18 seconds Info: Using environment 'production' Info: Applying configuration version '1691712811' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001332463.pp.Jds2RU Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001335341.pp.sXHd5k Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.15 seconds Info: Using environment 'production' Info: Applying configuration version '1691712817' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001338209.pp.zYJEtH Last 10 lines of output were: Info: Applying configuration version '1691712820' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001341034.pp.xt0OLy Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.14 seconds Info: Using environment 'production' Info: Applying configuration version '1691712823' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001412262.pp.4qe4pb Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001415300.pp.EOsIFe Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001424238.pp.G9CatR Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.17 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001427244.pp.zwhdUA Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001317336.pp.dYcq7z Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.17 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001322079.pp.ftWUVG Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712806' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001326690.pp.oiqTzD Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001331304.pp.MFs7KJ Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.30 seconds Info: Using environment 'production' Info: Applying configuration version '1691712815' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001335881.pp.EiWMn6 Last 10 lines of output were: Info: Applying configuration version '1691712819' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001340478.pp.Qf1x8d Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for almalinux8-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712824' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001431252.pp.70JBnX Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.21 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001436082.pp.xoXK9T Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001450116.pp.W5lBLG Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.25 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - AlmaLinux 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001454865.pp.PuQQ8a Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001419360.pp.vvcAeb Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001422488.pp.allDgD Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.18 seconds Info: Using environment 'production' Info: Applying configuration version '1691712864' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001425367.pp.x4pOgD Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001428267.pp.hmApNn Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.15 seconds Info: Using environment 'production' Info: Applying configuration version '1691712870' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001431145.pp.RhfOxn Last 10 lines of output were: Info: Applying configuration version '1691712873' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001434066.pp.TokFEx Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.14 seconds Info: Using environment 'production' Info: Applying configuration version '1691712876' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001505765.pp.msFUdP Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001508828.pp.UyOypL Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001517605.pp.ErGNh6 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.17 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001520682.pp.esDYD1 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001351987.pp.A0OR9n Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001356706.pp.2rCL53 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.15 seconds Info: Using environment 'production' Info: Applying configuration version '1691712840' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001401256.pp.qznIww Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001405768.pp.gBtfoj Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.13 seconds Info: Using environment 'production' Info: Applying configuration version '1691712849' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001410200.pp.aRTvcR Last 10 lines of output were: Info: Applying configuration version '1691712854' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001414644.pp.Pz7N3Z Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.12 seconds Info: Using environment 'production' Info: Applying configuration version '1691712858' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001503763.pp.trdqPt Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001508324.pp.lKDC77 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001521808.pp.WAyx92 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001526356.pp.VRvUE2 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001351218.pp.NljY2d Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001355850.pp.j7Qta5 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.33 seconds Info: Using environment 'production' Info: Applying configuration version '1691712839' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001400389.pp.1qJnsW Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.17 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001404835.pp.YdjsJq Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.28 seconds Info: Using environment 'production' Info: Applying configuration version '1691712848' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001409250.pp.cyPyaG Last 10 lines of output were: Info: Applying configuration version '1691712853' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001413704.pp.i83Fj7 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712857' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001503188.pp.7mp90S Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.25 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001507732.pp.QiLrJS Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001521440.pp.dV4yq8 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.20 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Rocky 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001526184.pp.vKbPvl Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001349971.pp.Jvm0X9 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.20 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001354777.pp.UsF84k Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.30 seconds Info: Using environment 'production' Info: Applying configuration version '1691712838' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001359356.pp.DDhlCh Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001404015.pp.6jkOkd Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.31 seconds Info: Using environment 'production' Info: Applying configuration version '1691712848' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001408615.pp.i0AwGk Last 10 lines of output were: Info: Applying configuration version '1691712852' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001413182.pp.P8tPL3 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.30 seconds Info: Using environment 'production' Info: Applying configuration version '1691712857' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001503667.pp.o3UCUo Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.25 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001508506.pp.J5m8dM Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.19 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001522648.pp.6bYUSb Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.22 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 7: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001527407.pp.YHWcEs Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001354889.pp.9Vdy3d Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001359607.pp.0ghLxB Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian10-64-puppet7.example.com in environment production in 0.15 seconds Info: Using environment 'production' Info: Applying configuration version '1691712843' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001404158.pp.FzpzZs Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001408833.pp.u2akna Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian10-64-puppet7.example.com in environment production in 0.13 seconds Info: Using environment 'production' Info: Applying configuration version '1691712853' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001413610.pp.06Tvqg Last 10 lines of output were: Info: Applying configuration version '1691712857' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001418247.pp.8ttMn0 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian10-64-puppet7.example.com in environment production in 0.12 seconds Info: Using environment 'production' Info: Applying configuration version '1691712862' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001510598.pp.QZhAdr Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001515414.pp.TCgyxA Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001530209.pp.S11z0H Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001535012.pp.dCEB64 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001421314.pp.2tnsRw Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.21 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001426825.pp.ouLNWa Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.32 seconds Info: Using environment 'production' Info: Applying configuration version '1691712870' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001431733.pp.TJNBzQ Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum 3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}3c233e8a4102f3af60b60e4cd23cbc33c7074f6a30d721727d5c8d3493b8307a' to '{sha256}6621acbd0a7452e8ae0a4fa2df64116b1b8bac7a5d0e8a691e778c10be4643fd' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.20 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001436743.pp.RTab7N Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.31 seconds Info: Using environment 'production' Info: Applying configuration version '1691712881' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001441825.pp.niQAe0 Last 10 lines of output were: Info: Applying configuration version '1691712886' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}457b9671757ccb249091b785e558624ad68ad566af585f517e22362c1a3d95bf' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001446771.pp.3KfXPm Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.37 seconds Info: Using environment 'production' Info: Applying configuration version '1691712891' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001546376.pp.DAOQYa Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.27 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001551632.pp.53Afud Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', type='string', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790', expected_type='string' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.19 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001608326.pp.Ampz0A Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.27 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - CentOS 8: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001613841.pp.6oSNtG Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.19 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001433737.pp.NVs0rr Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001439671.pp.Sywhea Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu1804-64-puppet7.example.com in environment production in 0.15 seconds Info: Using environment 'production' Info: Applying configuration version '1691712885' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001445422.pp.Mqj4ND Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001451081.pp.w0dUce Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu1804-64-puppet7.example.com in environment production in 0.14 seconds Info: Using environment 'production' Info: Applying configuration version '1691712896' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.07 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001456762.pp.OoRwLF Last 10 lines of output were: Info: Applying configuration version '1691712902' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001502441.pp.NV1DAu Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu1804-64-puppet7.example.com in environment production in 0.12 seconds Info: Using environment 'production' Info: Applying configuration version '1691712907' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.06 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001605073.pp.vgajQy Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.11 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001610877.pp.AuzjfH Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001628108.pp.6n9ir1 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001633889.pp.BL9Cyk Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001407471.pp.ygChkk Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001414463.pp.Jv3WUC Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712860' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001421222.pp.fZtes2 Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001428111.pp.wr8ESc Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712874' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001434591.pp.wPezA8 Last 10 lines of output were: Info: Applying configuration version '1691712880' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001441126.pp.sCFqx2 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712887' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001556655.pp.0aqRbb Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.20 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001603416.pp.UDs8oY Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001623580.pp.nmMIrY Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.19 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 11: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001630186.pp.k6cVjI Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001425291.pp.8hn9y1 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001432617.pp.zZv4La Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.19 seconds Info: Using environment 'production' Info: Applying configuration version '1691712879' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.11 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001439718.pp.gSIVYA Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001446705.pp.QjmgnE Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.17 seconds Info: Using environment 'production' Info: Applying configuration version '1691712893' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.08 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001453740.pp.T2utjw Last 10 lines of output were: Info: Applying configuration version '1691712900' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.10 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001500923.pp.B85taY Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.16 seconds Info: Using environment 'production' Info: Applying configuration version '1691712907' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001619033.pp.D6WkyT Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001626201.pp.8BAMtK Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.11 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001647409.pp.GxMbGI Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 7 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001654601.pp.ylzOAn Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001419705.pp.M6qELI Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.20 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001427950.pp.I378Wz Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712875' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001436013.pp.ChWmp7 Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.17 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001444136.pp.rjRouk Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.30 seconds Info: Using environment 'production' Info: Applying configuration version '1691712891' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001452221.pp.Uk0Opr Last 10 lines of output were: Info: Applying configuration version '1691712899' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001500329.pp.qwnlCl Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.30 seconds Info: Using environment 'production' Info: Applying configuration version '1691712907' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001629924.pp.mMmetH Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.21 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001638531.pp.vkOGf9 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.19 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001703777.pp.QACE2b Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.25 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 18.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001712365.pp.EuOEcJ Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.15 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001432017.pp.yzVRFo Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001440392.pp.3JmLfI Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.30 seconds Info: Using environment 'production' Info: Applying configuration version '1691712888' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001448786.pp.GffhnV Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001457210.pp.m0ckSp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.33 seconds Info: Using environment 'production' Info: Applying configuration version '1691712904' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.13 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001505487.pp.eNwh9p Last 10 lines of output were: Info: Applying configuration version '1691712913' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.14 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001513721.pp.KnJQL5 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.29 seconds Info: Using environment 'production' Info: Applying configuration version '1691712921' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.12 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001643705.pp.hL05iE Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.25 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001652035.pp.97bs0p Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001717953.pp.ZRibi7 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.21 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Ubuntu 20.04: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001726450.pp.hfjTnQ Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hybrid.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001444554.pp.zk6mTN Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/ensure: defined content as '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 4 events �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Raw::Ruleset[raw]: Unscheduling all events on Patterndb::Raw::Ruleset[raw] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.21 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hybrid.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001453063.pp.cC75ju Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.37 seconds Info: Using environment 'production' Info: Applying configuration version '1691712900' �[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:38:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.17 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_ltgt.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001501580.pp.a4jBeJ Last 10 lines of output were: Info: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]: Filebucketed /tmp/etc/syslog-ng/patterndb.d/default/a.pdb to puppet with sum c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Concat[patterndb_simple_ruleset-a]/File[/tmp//etc/syslog-ng/patterndb.d/default/a.pdb]/content: content changed '{sha256}c98d8a40fefbbecc1377722750e87cc43329f1258d54fa0a49f5b51fea467dee' to '{sha256}0806166d069206c2d66016393511dcdb78056b78d63a156dd32e4563474a32f9' Info: Concat[patterndb_simple_ruleset-a]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[a]: Unscheduling all events on Patterndb::Simple::Ruleset[a] �[mNotice: Applied catalog in 0.22 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_ltgt.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001510467.pp.BDH4bg Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.39 seconds Info: Using environment 'production' Info: Applying configuration version '1691712918' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:42:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_modules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001519200.pp.uJS05y Last 10 lines of output were: Info: Applying configuration version '1691712927' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Concat[patterndb_simple_ruleset-someprogram]/File[/tmp//etc/syslog-ng/patterndb.d/default/someprogram.pdb]/ensure: defined content as '{sha256}84c34d630eab25969840291dfe39cf2cbe5068930f2ebb6fcb22f8c467a7adf5' Info: Concat[patterndb_simple_ruleset-someprogram]: Scheduling refresh of Exec[patterndb::merge::default] �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::merge::default]: Triggered 'refresh' from 1 event �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[someprogram]: Unscheduling all events on Patterndb::Simple::Ruleset[someprogram] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_modules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001527833.pp.4lr5ce Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.37 seconds Info: Using environment 'production' Info: Applying configuration version '1691712935' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/tmp/syslog-ng/patterndb/default.xml', error='/tmp/syslog-ng/patterndb/default.xml:59:59: Error compiling value template, rule=bd61010f-bff9-4106-8ad3-4eb9764116b2, name=proto, value=$(getent protocols ${proto_num}), error=Unknown template function "getent"' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml --module=basicfuncs && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0] �[mNotice: Applied catalog in 0.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_separate_rules.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001701978.pp.zOKSpP Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Info: Patterndb::Simple::Ruleset[empty_ruleset]: Unscheduling all events on Patterndb::Simple::Ruleset[empty_ruleset] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.26 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_separate_rules.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001710643.pp.mjaSmj Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even another me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Wrong match name='.classifier.rule_id', value='b', expected='88d82bea-2d2e-479b-9e71-a832e3c1b790' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[empty_ruleset]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.18 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_simple.pp behaves like the example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001736881.pp.B3MRMU Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Parser[default]: Unscheduling all events on Patterndb::Parser[default] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Info: Patterndb::Simple::Ruleset[dhclient]: Unscheduling all events on Patterndb::Simple::Ruleset[dhclient] Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.27 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
Puppet / 8 - Debian 10: vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_simple.pp behaves like the example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_001745816.pp.SBIGDo Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='aa' message='aa match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='bb' message='bb match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match even something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match something else like me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude' �[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='x' message='match something else like me dude' Error: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] Error: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /tmp/syslog-ng/patterndb/default.xml && cp /tmp/syslog-ng/patterndb/default.xml /tmp//var/lib/syslog-ng/patterndb/default.xml' returned 2 instead of one of [0] �[mNotice: Applied catalog in 0.20 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.1.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142