Add Debian 12 support #242
Annotations
2 errors and 3 warnings
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:0x5190>.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})
|
|
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
|
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
|
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
|
This job failed
Loading