Issue #6971 has been reported by James Turnbull.
----------------------------------------
Bug #6971: Spec tests failures for processor count and virtuals tests
https://projects.puppetlabs.com/issues/6971
Author: James Turnbull
Status: Accepted
Priority: Normal
Assignee: James Turnbull
Category: testing
Target version:
Keywords:
Branch:
<pre>
1) Virtual fact on Solaris should be vmware with VMWare vendor name from prtdiag
Failure/Error: Facter.fact(:virtual).value.should == "vmware"
Mocha::ExpectationError:
unexpected invocation: Facter::Util::Resolution.exec('prtdiag',
'/bin/sh')
satisfied expectations:
- allowed any number of times, not yet invoked:
Facter::Util::Virtual.zlinux?(any_parameters)
- allowed any number of times, not yet invoked:
Facter::Util::Virtual.hpvm?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.kvm?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.xen?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.vserver?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.openvz?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.zone?(any_parameters)
- allowed any number of times, invoked 12 times:
#<Facter::Util::Fact:0xb6e460a4>.value(any_parameters)
- allowed any number of times, not yet invoked:
Facter::Util::Resolution.exec('prtdiag')
- allowed any number of times, invoked once:
Facter::Util::Resolution.exec('dmidecode')
- allowed any number of times, invoked once:
Facter::Util::Resolution.exec('lspci')
# ./spec/../lib/facter/util/resolution.rb:146:in `value'
# ./spec/../lib/facter/util/resolution.rb:142:in `value'
# ./spec/../lib/facter/virtual.rb:126
# ./spec/../lib/facter/util/resolution.rb:144:in `call'
# ./spec/../lib/facter/util/resolution.rb:144:in `value'
# ./spec/../lib/facter/util/resolution.rb:142:in `value'
# ./spec/../lib/facter/util/fact.rb:75:in `value'
# ./spec/../lib/facter/util/loader.rb:73:in `inject'
# ./spec/../lib/facter/util/fact.rb:71:in `each'
# ./spec/../lib/facter/util/fact.rb:71:in `inject'
# ./spec/../lib/facter/util/fact.rb:71:in `value'
# ./spec/../lib/facter/util/fact.rb:117:in `searching'
# ./spec/../lib/facter/util/fact.rb:67:in `value'
# ./spec/unit/virtual_spec.rb:132
2) Virtual fact on Solaris should be parallels with Parallels vendor name
from prtdiag
Failure/Error: Facter.fact(:virtual).value.should == "parallels"
Mocha::ExpectationError:
unexpected invocation: Facter::Util::Resolution.exec('prtdiag',
'/bin/sh')
satisfied expectations:
- allowed any number of times, not yet invoked:
Facter::Util::Virtual.zlinux?(any_parameters)
- allowed any number of times, not yet invoked:
Facter::Util::Virtual.hpvm?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.kvm?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.xen?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.vserver?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.openvz?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.zone?(any_parameters)
- allowed any number of times, invoked 12 times:
#<Facter::Util::Fact:0xb6e10634>.value(any_parameters)
- allowed any number of times, not yet invoked:
Facter::Util::Resolution.exec('prtdiag')
- allowed any number of times, invoked once:
Facter::Util::Resolution.exec('dmidecode')
- allowed any number of times, invoked once:
Facter::Util::Resolution.exec('lspci')
# ./spec/../lib/facter/util/resolution.rb:146:in `value'
# ./spec/../lib/facter/util/resolution.rb:142:in `value'
# ./spec/../lib/facter/virtual.rb:126
# ./spec/../lib/facter/util/resolution.rb:144:in `call'
# ./spec/../lib/facter/util/resolution.rb:144:in `value'
# ./spec/../lib/facter/util/resolution.rb:142:in `value'
# ./spec/../lib/facter/util/fact.rb:75:in `value'
# ./spec/../lib/facter/util/loader.rb:73:in `inject'
# ./spec/../lib/facter/util/fact.rb:71:in `each'
# ./spec/../lib/facter/util/fact.rb:71:in `inject'
# ./spec/../lib/facter/util/fact.rb:71:in `value'
# ./spec/../lib/facter/util/fact.rb:117:in `searching'
# ./spec/../lib/facter/util/fact.rb:67:in `value'
# ./spec/unit/virtual_spec.rb:140
3) Virtual fact on Solaris should be virtualbox with VirtualBox vendor name
from prtdiag
Failure/Error: Facter.fact(:virtual).value.should == "virtualbox"
Mocha::ExpectationError:
unexpected invocation: Facter::Util::Resolution.exec('prtdiag',
'/bin/sh')
satisfied expectations:
- allowed any number of times, not yet invoked:
Facter::Util::Virtual.zlinux?(any_parameters)
- allowed any number of times, not yet invoked:
Facter::Util::Virtual.hpvm?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.kvm?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.xen?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.vserver?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.openvz?(any_parameters)
- allowed any number of times, invoked once:
Facter::Util::Virtual.zone?(any_parameters)
- allowed any number of times, invoked 12 times:
#<Facter::Util::Fact:0xb6ddda2c>.value(any_parameters)
- allowed any number of times, not yet invoked:
Facter::Util::Resolution.exec('prtdiag')
- allowed any number of times, invoked once:
Facter::Util::Resolution.exec('dmidecode')
- allowed any number of times, invoked once:
Facter::Util::Resolution.exec('lspci')
# ./spec/../lib/facter/util/resolution.rb:146:in `value'
# ./spec/../lib/facter/util/resolution.rb:142:in `value'
# ./spec/../lib/facter/virtual.rb:126
# ./spec/../lib/facter/util/resolution.rb:144:in `call'
# ./spec/../lib/facter/util/resolution.rb:144:in `value'
# ./spec/../lib/facter/util/resolution.rb:142:in `value'
# ./spec/../lib/facter/util/fact.rb:75:in `value'
# ./spec/../lib/facter/util/loader.rb:73:in `inject'
# ./spec/../lib/facter/util/fact.rb:71:in `each'
# ./spec/../lib/facter/util/fact.rb:71:in `inject'
# ./spec/../lib/facter/util/fact.rb:71:in `value'
# ./spec/../lib/facter/util/fact.rb:117:in `searching'
# ./spec/../lib/facter/util/fact.rb:67:in `value'
# ./spec/unit/virtual_spec.rb:148
4) Physical processor count facts should return four physical CPUs
Failure/Error: Facter.fact(:physicalprocessorcount).value.should == 4
expected: 4
got: 1 (using ==)
# ./spec/unit/physicalprocessorcount_spec.rb:38
Finished in 6.42 seconds
374 examples, 4
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.