Skip to content

feat: Set crm as default provider for ubuntu #239

feat: Set crm as default provider for ubuntu

feat: Set crm as default provider for ubuntu #239

Re-run triggered August 5, 2024 11:56
Status Failure
Total duration 1m 6s
Artifacts

ci.yml

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

Annotations

2 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 / 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