Issue #2506 has been reported by Markus Roberts.

----------------------------------------
Bug #2506: Sporadic test failures from 
spec/integration/ssl/certificate_authority.rb
http://projects.reductivelabs.com/issues/2506

Author: Markus Roberts
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: testing
Target version: 
Complexity: Unknown
Affected version: 0.25.0rc1
Keywords: 


Some test execution orders cause a spurious failure in 
spec/integration/ssl/certificate_authority.rb

<pre>
1)
RuntimeError in 'Puppet::SSL::CertificateAuthority should create a CA host'
Got 1 failure(s) while initializing: change from 1777 to 1755 failed: failed to 
chmod /tmp: Operation not permitted - /tmp
./lib/puppet/util/settings.rb:619:in `use'
./lib/puppet/resource/catalog.rb:152:in `apply'
./lib/puppet/util/settings.rb:615:in `use'
./lib/puppet/util/settings.rb:597:in `use'
./lib/puppet/ssl/certificate_authority.rb:148:in `initialize'
./spec/integration/ssl/certificate_authority.rb:22:in `new'
./spec/integration/ssl/certificate_authority.rb:22:
./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'
</pre>

The simplest known way to reproduce this is:

<pre>
touch spec/unit/util/storage.rb
/usr/bin/ruby1.8 -I/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib  
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/bin/spec spec/unit/util/storage.rb 
spec/integration/ssl/certificate_authority.rb -t 60 --format s --loadby mtime
</pre>

The cause is likely something similar to ticket #2290



-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to