Issue #2830 has been updated by James Turnbull.
More failures:
<pre>
1)
'Puppet::Node::Environment when modeling a specific environment.modules should
create modules with the correct environment' FAILED
expected: "testing",
got: #<Puppet::Node::Environment:0x7f7babb1b0d8 @name=:testing,
@value_cache={:modules=>[#<Puppet::Module:0x7f7babb182c0 @name="foo",
@environment=#<Puppet::Node::Environment:0x7f7babb1b0d8 ...>>]},
@cache_timestamp=Fri Dec 04 07:58:17 +1100 2009, @ttl_timestamps={:modules=>Fri
Dec 04 07:58:17 +1100 2009},
@mocha=#<Puppet::Node::Environment:0x7f7babb1b0d8>> (using ==)
./spec/unit/node/environment.rb:174:
./spec/unit/node/environment.rb:174:in `each'
./spec/unit/node/environment.rb:174:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
2)
NameError in 'Puppet::Network::FormatHandler should include all supported
formats'
undefined local variable or method `indirection' for FormatTester:Class
/home/james/src/puppet/lib/puppet/network/format_handler.rb:137:in
`put_preferred_format_first'
/home/james/src/puppet/lib/puppet/network/format_handler.rb:122:in
`supported_formats'
./spec/unit/network/format_handler.rb:33:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
3)
NameError in 'Puppet::Network::FormatHandler should return the supported
formats in decreasing order of weight'
undefined local variable or method `indirection' for FormatTester:Class
/home/james/src/puppet/lib/puppet/network/format_handler.rb:137:in
`put_preferred_format_first'
/home/james/src/puppet/lib/puppet/network/format_handler.rb:122:in
`supported_formats'
./spec/unit/network/format_handler.rb:49:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
4)
NameError in 'Puppet::Network::FormatHandler with a preferred serialization
format setting that is supported should return the preferred serialization
format first'
undefined local variable or method `indirection' for FormatTester:Class
/home/james/src/puppet/lib/puppet/network/format_handler.rb:124:in
`supported_formats'
./spec/unit/network/format_handler.rb:66:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
5)
NameError in 'Puppet::Network::FormatHandler with a preferred serialization
format setting that is not supported should still return the default format
first'
undefined local variable or method `indirection' for FormatTester:Class
/home/james/src/puppet/lib/puppet/network/format_handler.rb:137:in
`put_preferred_format_first'
/home/james/src/puppet/lib/puppet/network/format_handler.rb:122:in
`supported_formats'
./spec/unit/network/format_handler.rb:74:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
6)
NameError in 'Puppet::Network::FormatHandler with a preferred serialization
format setting that is not supported should log a warning'
undefined local variable or method `indirection' for FormatTester:Class
/home/james/src/puppet/lib/puppet/network/format_handler.rb:137:in
`put_preferred_format_first'
/home/james/src/puppet/lib/puppet/network/format_handler.rb:122:in
`supported_formats'
./spec/unit/network/format_handler.rb:78:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
7)
'Puppet::Type::File when writing files should fail if no backup can be
performed' FAILED
expected: "bar\n",
got: "foo" (using ==)
./spec/integration/type/file.rb:54:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
8)
'puppetmasterd should create a PID file' FAILED
expected true, got false
./spec/integration/bin/puppetmasterd.rb:67:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
9)
Puppet::SSLCertificates::Support::MissingCertificate in 'puppetmasterd should
be serving status information over xmlrpc'
No host certificate
/home/james/src/puppet/lib/puppet/sslcertificates/support.rb:82:in `mk_cert'
/home/james/src/puppet/lib/puppet/sslcertificates/support.rb:45:in `send'
/home/james/src/puppet/lib/puppet/sslcertificates/support.rb:45:in `cert'
./spec/integration/bin/puppetmasterd.rb:84:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
10)
Mocha::ExpectationError in 'Puppet::SSL::Host when waiting for a cert should
catch and log errors during CSR saving'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly twice, already invoked once:
#<Puppet::SSL::Host:0x7f7bab49a150>.generate(any_parameters)
satisfied expectations:
- allowed any number of times, already invoked once:
#<Puppet::SSL::Host:0x7f7bab49a150>.sleep(any_parameters)
- expected exactly twice, already invoked twice:
#<Puppet::SSL::Host:0x7f7bab49a150>.certificate(any_parameters)
./spec/unit/ssl/host.rb:657:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
11)
Mocha::ExpectationError in 'Puppet::SSL::Host when waiting for a cert should
sleep and retry after failures saving the CSR if waitforcert is enabled'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly twice, already invoked once:
#<Puppet::SSL::Host:0x7f7bab706560>.generate(any_parameters)
satisfied expectations:
- expected exactly once, already invoked once:
#<Puppet::SSL::Host:0x7f7bab706560>.sleep(1)
- expected exactly twice, already invoked twice:
#<Puppet::SSL::Host:0x7f7bab706560>.certificate(any_parameters)
./spec/unit/ssl/host.rb:664:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
12)
'Puppet::Indirector::FileContent::FileServer when finding files should find
plugin file content in the environment specified in the request' FAILED
expected nil? to return false, got true
./spec/integration/indirector/file_content/file_server.rb:38:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
13)
'Puppet::Type::Mount::ProviderParsed Puppet::Type::Mount::ProviderParsed when
modifying the filesystem tab should write the mount to disk when :flush is
called' FAILED
expected:
"/dev/dsk1\t/fspuppet1\tfakefstype1\tfakeoptions1\tfakedump1\tfakepass1\n",
got:
"/dev/VolGroup00/LogVol01\t/\text3\tdefaults\t1\t1\nLABEL=/boot\t/boot\text3\tdefaults\t1\t2\ntmpfs\t/dev/shm\ttmpfs\tdefaults\t0\t0\ndevpts\t/dev/pts\tdevpts\tgid=5,mode=620\t0\t0\nsysfs\t/sys\tsysfs\tdefaults\t0\t0\nproc\t/proc\tproc\tdefaults\t0\t0\n/dev/VolGroup00/LogVol00\tswap\tswap\tdefaults\t0\t0\n/dev/dsk1\t/fspuppet1\tfakefstype1\tfakeoptions1\tfakedump1\tfakepass1\n"
(using ==)
./spec/unit/provider/mount/parsed.rb:146:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
Finished in 208.899452 seconds
7290 examples, 13 failures, 29 pending
</pre>
----------------------------------------
Bug #2830: Rspec test failures for 0.25.x HEAD (pre-0.25.2)
http://projects.reductivelabs.com/issues/2830
Author: James Turnbull
Status: Investigating
Priority: Normal
Assigned to: Markus Roberts
Category: testing
Target version: 0.25.2
Affected version: 0.25.1
Keywords:
Branch:
<pre>
1)
'Puppet::Parser::Resource::Reference should canonize resource reference values'
FAILED
expected: "File[/tmp/yay]",
got: "File[/tmp/yay/]" (using ==)
./spec/unit/parser/resource/reference.rb:50:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
2)
Mocha::ExpectationError in 'Puppet::SSL::Host when waiting for a cert should
catch and log errors during CSR saving'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly twice, already invoked once:
#<Puppet::SSL::Host:0x7fb616f21650>.generate(any_parameters)
satisfied expectations:
- allowed any number of times, already invoked once:
#<Puppet::SSL::Host:0x7fb616f21650>.sleep(any_parameters)
- expected exactly twice, already invoked twice:
#<Puppet::SSL::Host:0x7fb616f21650>.certificate(any_parameters)
./spec/unit/ssl/host.rb:657:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
3)
Mocha::ExpectationError in 'Puppet::SSL::Host when waiting for a cert should
sleep and retry after failures saving the CSR if waitforcert is enabled'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly twice, already invoked once:
#<Puppet::SSL::Host:0x7fb616f07250>.generate(any_parameters)
satisfied expectations:
- expected exactly once, already invoked once:
#<Puppet::SSL::Host:0x7fb616f07250>.sleep(1)
- expected exactly twice, already invoked twice:
#<Puppet::SSL::Host:0x7fb616f07250>.certificate(any_parameters)
./spec/unit/ssl/host.rb:664:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
4)
'Puppet::Indirector::FileContent::FileServer when finding files should find
plugin file content in the environment specified in the request' FAILED
expected nil? to return false, got true
./spec/integration/indirector/file_content/file_server.rb:38:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
5)
'puppetmasterd should create a PID file' FAILED
expected true, got false
./spec/integration/bin/puppetmasterd.rb:67:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
6)
Puppet::SSLCertificates::Support::MissingCertificate in 'puppetmasterd should
be serving status information over xmlrpc'
No host certificate
/home/james/src/puppet/lib/puppet/sslcertificates/support.rb:82:in `mk_cert'
/home/james/src/puppet/lib/puppet/sslcertificates/support.rb:45:in `send'
/home/james/src/puppet/lib/puppet/sslcertificates/support.rb:45:in `cert'
./spec/integration/bin/puppetmasterd.rb:84:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
7)
'Puppet::Type::File when writing files should fail if no backup can be
performed' FAILED
expected: "bar\n",
got: "foo" (using ==)
./spec/integration/type/file.rb:54:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
Finished in 160.392702 seconds
7278 examples, 7 failures, 29 pending
</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://reductivelabs.com/redmine/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.