Remove quote in cs_location for pcs provider #267
Triggered via pull request
December 13, 2024 17:41
Status
Failure
Total duration
22m 54s
Artifacts
–
ci.yml
on: pull_request
Puppet
/
Static validations
38s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
1s
Annotations
23 errors and 6 warnings
Puppet / 7 (Ruby 2.7):
spec/unit/puppet/provider/cs_clone_pcs_spec.rb#L243
Puppet::Type::Cs_clone::ProviderPcs when changing clone id each instance calls cibadmin with the correct parameters
Failure/Error: raw = Puppet::Util::Execution.execute(cmd, { failonfail: failonfail }.merge(custom_environment))
Mocha::ExpectationError:
unexpected invocation: Puppet::Util::Execution.execute(["cibadmin", "--replace", "--xpath", "/cib/configuration/resources/clone[descendant::primitive[@id='apache_service']]", "--xml-text", "<clone id='apache_service-newclone'>\n <primitive class='ocf' id='apache_service' provider='heartbeat' type='IPaddr2'>\n <instance_attributes id='apache_service-instance_attributes'>\n <nvpair id='apache_service-instance_attributes-ip' name='ip' value='172.16.210.101'/>\n <nvpair id='apache_service-instance_attributes-cidr_netmask' name='cidr_netmask' value='24'/>\n </instance_attributes>\n <operations>\n <op id='apache_service-monitor-interval-10s' interval='10s' name='monitor'/>\n </operations>\n </primitive>\n <meta_attributes id='apache_service-clone-meta_attributes'/>\n</clone"], {:failonfail => true, :combine => true})
unsatisfied expectations:
- expected at least once, invoked never: Puppet::Util::Execution.execute(["cibadmin", "--replace", "--xpath", "/cib/configuration/resources/clone[descendant::primitive[@id='apache_service']]", "--xml-text", "<clone id='apache_service-newclone'>\n <primitive class='ocf' id='apache_service' provider='heartbeat' type='IPaddr2'>\n <instance_attributes id='apache_service-instance_attributes'>\n <nvpair id='apache_service-instance_attributes-ip' name='ip' value='172.16.210.101'/>\n <nvpair id='apache_service-instance_attributes-cidr_netmask' name='cidr_netmask' value='24'/>\n </instance_attributes>\n <operations>\n <op id='apache_service-monitor-interval-10s' interval='10s' name='monitor'/>\n </operations>\n </primitive>\n <meta_attributes id='apache_service-clone-meta_attributes'/>\n</clone>"], failonfail: true, combine: true)
satisfied expectations:
- allowed any number of times, invoked never: #<Puppet::Util::Feature:0x5140>.root?(any_parameters)
- expected at most once, invoked once: Puppet::Type::Cs_clone::ProviderPcs.block_until_ready(any_parameters)
- allowed any number of times, invoked twice: Puppet::Type::Cs_clone::ProviderPcs.command(:cibadmin)
- allowed any number of times, invoked once: Puppet::Type::Cs_clone::ProviderPcs.command(:pcs)
- expected at least once, invoked once: Puppet::Util::Execution.execute(["pcs", "cluster", "cib"], failonfail: true, combine: true)
- expected at least once, invoked once: Puppet::Util::Execution.execute(["cibadmin", "--query", "--xpath", "/cib/configuration/resources/clone[descendant::primitive[@id='apache_service']]"], failonfail: true, combine: true)
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|
Puppet / Puppet 7 - Ubuntu 20.04:
spec/acceptance/cs_clone_spec.rb#L30
corosync with defaults
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_174508342.cV4pAu.pp
Last 10 lines of output were:
/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>'
Info: Class[Main]: Unscheduling all events on Class[Main]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 23.89 seconds
|
Puppet / Puppet 7 - Ubuntu 20.04:
spec/acceptance/cs_clone_spec.rb#L78
corosync with group duncan_group creates a clone
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_174534653.W1dHkZ.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 1.29 seconds
|
Puppet / Puppet 7 - Ubuntu 20.04:
spec/acceptance/cs_clone_spec.rb#L120
corosync with group duncan_group with all the parameters creates the clone
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_174543181.rMTgAe.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 1.30 seconds
|
Puppet / Puppet 7 - Ubuntu 20.04:
spec/acceptance/cs_clone_spec.rb#L148
corosync with group duncan_group with all the parameters sets clone_max
Failure/Error:
shell(fetch_value_command('clone-max')) do |r|
expect(r.stdout).to match(%r{value="42"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="clone-max"]'
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_clone_spec.rb#L154
corosync with group duncan_group with all the parameters sets clone_node_max
Failure/Error:
shell(fetch_value_command('clone-node-max')) do |r|
expect(r.stdout).to match(%r{value="2"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="clone-node-max"]'
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_clone_spec.rb#L160
corosync with group duncan_group with all the parameters sets notify_clones
Failure/Error:
shell(fetch_value_command('notify')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="notify"]'
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_clone_spec.rb#L166
corosync with group duncan_group with all the parameters sets globally_unique
Failure/Error:
shell(fetch_value_command('globally-unique')) do |r|
expect(r.stdout).to match(%r{value="true"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="globally-unique"]'
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_clone_spec.rb#L172
corosync with group duncan_group with all the parameters sets ordered
Failure/Error:
shell(fetch_value_command('ordered')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="ordered"]'
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_clone_spec.rb#L178
corosync with group duncan_group with all the parameters sets interleave
Failure/Error:
shell(fetch_value_command('interleave')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="interleave"]'
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_clone_spec.rb#L184
corosync with group duncan_group with all the parameters sets promotable
Failure/Error:
shell(fetch_value_command('promotable')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="promotable"]'
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_clone_spec.rb#L30
corosync with defaults
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_174504638.uDDAyZ.pp
Last 10 lines of output were:
/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>'
Info: Class[Main]: Unscheduling all events on Class[Main]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 24.14 seconds
|
Puppet / Puppet 7 - Ubuntu 22.04:
spec/acceptance/cs_clone_spec.rb#L78
corosync with group duncan_group creates a clone
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_174530841.qXOheP.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 1.18 seconds
|
Puppet / Puppet 7 - Ubuntu 22.04:
spec/acceptance/cs_clone_spec.rb#L120
corosync with group duncan_group with all the parameters creates the clone
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_174538938.BM6jEC.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 1.19 seconds
|
Puppet / Puppet 7 - Ubuntu 22.04:
spec/acceptance/cs_clone_spec.rb#L148
corosync with group duncan_group with all the parameters sets clone_max
Failure/Error:
shell(fetch_value_command('clone-max')) do |r|
expect(r.stdout).to match(%r{value="42"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="clone-max"]'
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_clone_spec.rb#L154
corosync with group duncan_group with all the parameters sets clone_node_max
Failure/Error:
shell(fetch_value_command('clone-node-max')) do |r|
expect(r.stdout).to match(%r{value="2"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="clone-node-max"]'
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_clone_spec.rb#L160
corosync with group duncan_group with all the parameters sets notify_clones
Failure/Error:
shell(fetch_value_command('notify')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="notify"]'
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_clone_spec.rb#L166
corosync with group duncan_group with all the parameters sets globally_unique
Failure/Error:
shell(fetch_value_command('globally-unique')) do |r|
expect(r.stdout).to match(%r{value="true"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="globally-unique"]'
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_clone_spec.rb#L172
corosync with group duncan_group with all the parameters sets ordered
Failure/Error:
shell(fetch_value_command('ordered')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="ordered"]'
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_clone_spec.rb#L178
corosync with group duncan_group with all the parameters sets interleave
Failure/Error:
shell(fetch_value_command('interleave')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="interleave"]'
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_clone_spec.rb#L184
corosync with group duncan_group with all the parameters sets promotable
Failure/Error:
shell(fetch_value_command('promotable')) do |r|
expect(r.stdout).to match(%r{value="false"})
end
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 105 running:
cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_group"]/meta_attributes/nvpair[@name="promotable"]'
Last 10 lines of output were:
Call cib_query failed (-6): No such device or address
|
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
|