Skip to content

feat: Set crm as default provider for ubuntu #240

feat: Set crm as default provider for ubuntu

feat: Set crm as default provider for ubuntu #240

Triggered via pull request August 5, 2024 12:28
Status Cancelled
Total duration 13m 0s
Artifacts

ci.yml

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

Annotations

17 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>\n"], {: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
Canceling since a higher priority waiting request for '538/merge' exists
Puppet / Puppet 7 - Ubuntu 20.04
The operation was canceled.
Puppet / Puppet 7 - Ubuntu 22.04
Canceling since a higher priority waiting request for '538/merge' exists
Puppet / Puppet 7 - Ubuntu 22.04
The operation was canceled.
Puppet / Puppet 7 - Debian 11
Canceling since a higher priority waiting request for '538/merge' exists
Puppet / Puppet 7 - Debian 11: spec/acceptance/cs_clone_spec.rb#L78
corosync with primitive duncan_vip creates a clone Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_123356849.03IMuJ.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 6.90 seconds
Puppet / Puppet 7 - Debian 11: spec/acceptance/cs_clone_spec.rb#L120
corosync with primitive duncan_vip with all the parameters creates the clone Failure/Error: apply_manifest(pp, catch_failures: true, debug: false, trace: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --trace --detailed-exitcodes /tmp/apply_manifest_123422324.VedxZ2.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 6.80 seconds
Puppet / Puppet 7 - Debian 11: spec/acceptance/cs_clone_spec.rb#L148
corosync with primitive duncan_vip 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 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/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 - Debian 11: spec/acceptance/cs_clone_spec.rb#L154
corosync with primitive duncan_vip 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 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/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 - Debian 11: spec/acceptance/cs_clone_spec.rb#L160
corosync with primitive duncan_vip 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 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/meta_attributes/nvpair[@name="notify"]' Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Debian 11: spec/acceptance/cs_clone_spec.rb#L166
corosync with primitive duncan_vip 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 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/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 - Debian 11: spec/acceptance/cs_clone_spec.rb#L172
corosync with primitive duncan_vip 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 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/meta_attributes/nvpair[@name="ordered"]' Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Debian 11: spec/acceptance/cs_clone_spec.rb#L178
corosync with primitive duncan_vip 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 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/meta_attributes/nvpair[@name="interleave"]' Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Debian 11: spec/acceptance/cs_clone_spec.rb#L184
corosync with primitive duncan_vip 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 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/meta_attributes/nvpair[@name="promotable"]' Last 10 lines of output were: Call cib_query failed (-6): No such device or address
Puppet / Puppet 7 - Debian 11: spec/acceptance/cs_clone_spec.rb#L190
corosync with primitive duncan_vip with all the parameters sets promoted_max Failure/Error: shell(fetch_value_command('promoted-max')) do |r| expect(r.stdout).to match(%r{value="5"}) end Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 105 running: cibadmin --query --xpath '/cib/configuration/resources/clone[@id="duncan_vip_complex_clone_primitive"]/meta_attributes/nvpair[@name="promoted-max"]' Last 10 lines of output were: Call cib_query failed (-6): No such device or address
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