Whilst setting up a temporary box to work on I noticed some failiures.
Further investigation led me to find we have at least one order
dependant test with global state being kept between tests:

spec unit/util/storage.rb integration/network/server/webrick.rb

vs

spec integration/network/server/webrick.rb unit/util/storage.rb

1)
RuntimeError in 'Puppet::Network::Server when using webrick before
listening should not be reachable at the specified address and port'
Got 1 failure(s) while initializing: change from 1777 to 1755 failed:
failed to chmod /tmp: Operation not permitted - /tmp
/home/dev/Development/puppet/lib/puppet/util/settings.rb:595:in `use'
/home/dev/Development/puppet/lib/puppet/resource/catalog.rb:147:in `apply'
/home/dev/Development/puppet/lib/puppet/util/settings.rb:591:in `use'
/home/dev/Development/puppet/lib/puppet/util/settings.rb:573:in `use'
/home/dev/Development/puppet/lib/puppet/ssl/certificate_authority.rb:140:in
`initialize'
/home/dev/Development/puppet/spec/integration/network/server/webrick.rb:23:in
`new'
/home/dev/Development/puppet/spec/integration/network/server/webrick.rb:23:
/home/dev/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
/home/dev/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
/home/dev/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run

Here what is happening is statedir is being set

 describe Puppet::Util::Storage do
      before(:all) do
          Puppet[:statedir] = Dir.tmpdir()
      end

I think there are a few more cases based on seeing some other failures
but I'll need to track down the root causes for those too, but I'm
seeing them pass locally when run as a single test but not in the full
test run.

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to