Skip to content

use chomp instead of chop #259

use chomp instead of chop

use chomp instead of chop #259

Triggered via pull request October 13, 2024 16:36
Status Failure
Total duration 22m 32s
Artifacts

ci.yml

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

Annotations

22 errors and 6 warnings
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L63
corosync creates a location Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164634501.JENAHM.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.67 seconds
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L91
corosync creates a location with resource-discovery parameter Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164642235.ol8vyF.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.67 seconds
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L108
corosync creates a location with resource-discovery=exclusive Failure/Error: shell('cibadmin --query | grep duncan_vip_there') do |r| expect(r.stdout).to match(%r{resource-discovery="exclusive"}) end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: cibadmin --query | grep duncan_vip_there Last 10 lines of output were:
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L115
corosync with one rule creates a location Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164644872.7iPOFe.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.67 seconds
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L138
corosync with one rule contains the score attribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<rule .*score="-INFINITY"}) end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L144
corosync with one rule contains the attribute attribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*attribute="#kind"}) end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L150
corosync with one rule contains the operation atribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*operation="eq"}) end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L156
corosync with one rule contains the value attribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*value="container"}) end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L164
corosync with two rules creates a location Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164647592.zps5Qv.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.67 seconds
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/cs_location_spec.rb#L197
corosync with two rules contains the value attribute for duncan_vip_not_in_container-rule Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*value="container"}) end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L63
corosync creates a location Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164630118.U8LjoQ.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.62 seconds
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L91
corosync creates a location with resource-discovery parameter Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164637553.D0m8Bp.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.62 seconds
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L108
corosync creates a location with resource-discovery=exclusive Failure/Error: shell('cibadmin --query | grep duncan_vip_there') do |r| expect(r.stdout).to match(%r{resource-discovery="exclusive"}) end Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 1 running: cibadmin --query | grep duncan_vip_there Last 10 lines of output were:
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L115
corosync with one rule creates a location Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164640121.MWRAvy.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.62 seconds
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L138
corosync with one rule contains the score attribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<rule .*score="-INFINITY"}) end Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L144
corosync with one rule contains the attribute attribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*attribute="#kind"}) end Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L150
corosync with one rule contains the operation atribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*operation="eq"}) end Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L156
corosync with one rule contains the value attribute Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*value="container"}) end Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L164
corosync with two rules creates a location Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_164642781.aePSKy.pp Last 10 lines of output were: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:289:in `override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:212:in `main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:182:in `run_command' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:756:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:421:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' �[mNotice: Applied catalog in 0.61 seconds
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/cs_location_spec.rb#L197
corosync with two rules contains the value attribute for duncan_vip_not_in_container-rule Failure/Error: shell('cibadmin --query --xpath "//rule[@id=\'duncan_vip_not_in_container-rule\']"') do |r| expect(r.stdout).to match(%r{<expression .*value="container"}) end Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath "//rule[@id='duncan_vip_not_in_container-rule']" Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Debian 11
Process completed with exit code 1.
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system RedHat 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Debian 10
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/cs_primitive_crm_spec.rb#L66
Puppet::Type::Cs_primitive::ProviderCrm when getting instances each instance has an primitive_class parameter corresponding to the <primitive>'s class attribute Failure/Error: expect(instance.primitive_class).to eq('ocf') NoMethodError: undefined method `primitive_class' for (provider=crm):Puppet::Type::Cs_primitive::ProviderCrm
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/cs_primitive_crm_spec.rb#L71
Puppet::Type::Cs_primitive::ProviderCrm when getting instances each instance has an primitive_type parameter corresponding to the <primitive>'s type attribute Failure/Error: expect(instance.primitive_type).to eq('Xen') NoMethodError: undefined method `primitive_type' for (provider=crm):Puppet::Type::Cs_primitive::ProviderCrm
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/cs_primitive_crm_spec.rb#L76
Puppet::Type::Cs_primitive::ProviderCrm when getting instances each instance has an provided_by parameter corresponding to the <primitive>'s provider attribute Failure/Error: expect(instance.provided_by).to eq('heartbeat') NoMethodError: undefined method `provided_by' for (provider=crm):Puppet::Type::Cs_primitive::ProviderCrm