Make testing and installing rulesets more reliable #117
Annotations
11 errors
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class behaves like an idempotent resource 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 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_192658315.3HiNl7.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.10 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660421'
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/default.xml]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[puppetserver]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='puppetserver' message='2021-02-04T13:55:42.518-05:00 WARN [qtp1102047314-255768] [puppetserver] Scope(Class[Nginx::Package::Debian]) You must set $package_name to "nginx-extras" to enable Passenger'
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[puppetserver]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='puppetserver' message='2021-02-04T13:22:47.081-05:00 INFO [qtp1102047314-255208] [puppetserver] Puppet Caching facts for desktop-8snl8la.lan'
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[puppetserver]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='puppetserver' message='2021-02-04T13:23:36.354-05:00 ERROR [qtp1102047314-254822] [puppetserver] Puppet Evaluation Error: Error while evaluating a Function Call, Could not find class ::mcollective_agent_bolt_tasks for vps238244.vittoria.pro (file: /etc/puppetlabs/code/environments/production/modules/mcollective/manifests/init.pp, line: 77, column: 3) on node vps238244.vittoria.pro'
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[puppetserver]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: executed successfully
�[mNotice: Applied catalog in 0.05 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:47
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_getent.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 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_192705283.jc4gGb.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.09 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660428'
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/default.xml]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[getent]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='A' message='protocol: 6'
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[getent]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: executed successfully
�[mNotice: Applied catalog in 0.05 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hiera.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_192708684.XsLVw2.pp
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1737660431'
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/default.xml]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Parser[default]/File[/etc/syslog-ng/patterndb.d/default/getent.pdb]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/var/cache/syslog-ng/patterndb/default.xml', error='/var/cache/syslog-ng/patterndb/default.xml:14: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 /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0]
Error: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /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: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 0.05 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hiera.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_192712036.61AADG.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.06 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660435'
�[mNotice: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/var/cache/syslog-ng/patterndb/default.xml', error='/var/cache/syslog-ng/patterndb/default.xml:14: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 /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0]
Error: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0]
�[mNotice: Applied catalog in 0.04 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
patterndb class Example OK_hiera_puppet5.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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_192715377.aqJQEy.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.06 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660438'
�[mNotice: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/var/cache/syslog-ng/patterndb/default.xml', error='/var/cache/syslog-ng/patterndb/default.xml:14: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 /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0]
Error: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0]
�[mNotice: Applied catalog in 0.04 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_hiera_puppet5.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_192718768.fVvyXk.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.06 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660441'
�[mNotice: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Error parsing pattern database file; filename='/var/cache/syslog-ng/patterndb/default.xml', error='/var/cache/syslog-ng/patterndb/default.xml:14: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 /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0]
Error: /Stage[main]/Main/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: change from 'notrun' to ['0'] failed: 'pdbtool test /var/cache/syslog-ng/patterndb/default.xml && cp /var/cache/syslog-ng/patterndb/default.xml /var/lib/syslog-ng/patterndb/default.xml' returned 1 instead of one of [0]
�[mNotice: Applied catalog in 0.04 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.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 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_192725567.sJcUyS.pp
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1737660448'
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/default.xml]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='match me dude'
�[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='raw' message='raw match me dude'
�[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='dhclient' message='DHCPACK from 172.17.0.1 (xid=0x245abdb1)'
�[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='dhcpclient' message='and that too'
�[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='dhcpclient' message='match this should match'
�[mNotice: /Stage[main]/Main/Patterndb::Raw::Ruleset[raw]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: executed successfully
�[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.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.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 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_192732471.kMZhkB.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.10 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660455'
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/default.xml]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: Testing message: program='a' message='ma<>tch me dude'
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[a]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: executed successfully
�[mNotice: Applied catalog in 0.05 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.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 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_192739287.PGdcPZ.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.09 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660462'
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/default.xml]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[someprogram]/Patterndb::Parser[default]/Exec[patterndb::deploy::default]/returns: executed successfully
�[mNotice: Applied catalog in 0.05 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
patterndb class Example OK_multiple_pdb.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 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_192746160.w0opdb.pp
Last 10 lines of output were:
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.10 seconds
Info: Using environment 'production'
Info: Applying configuration version '1737660469'
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/stage1.xml]/ensure: removed
�[mNotice: /Stage[main]/Patterndb/File[/var/lib/syslog-ng/patterndb/stage2.xml]/ensure: removed
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[stage1]/Exec[patterndb::deploy::stage1]/returns: Testing message: program='dhclient' message='DHCPACK from 172.17.0.1 (xid=0x245abdb1)'
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient]/Patterndb::Parser[stage1]/Exec[patterndb::deploy::stage1]/returns: executed successfully
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient_fallback]/Patterndb::Parser[stage2]/Exec[patterndb::deploy::stage2]/returns: Testing message: program='dhclient' message='DHCPACK from FE80::0202:B3FF:FE1E:8329 (xid=0x245abdb1)'
�[mNotice: /Stage[main]/Main/Patterndb::Simple::Ruleset[dhclient_fallback]/Patterndb::Parser[stage2]/Exec[patterndb::deploy::stage2]/returns: executed successfully
�[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.4.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/class_spec.rb:142
|
Loading