Issue #2468 has been reported by Markus Roberts.

----------------------------------------
Bug #2468: Webrick spec hangs ~0.5% of the time
http://projects.reductivelabs.com/issues/2468

Author: Markus Roberts
Status: Needs more information
Priority: Low
Assigned to: Markus Roberts
Category: testing
Target version: 
Complexity: Unknown
Affected version: 0.25.0
Keywords: 


The webrick spec hangs waiting for a thread join about one out of every 200 
times.  Breaking (^C) produces a failure such as this:

<pre>
Puppet::Network::Server when using webrick before listening
- should not be reachable at the specified address and port

Puppet::Network::Server when using webrick when listening
- should be reachable on the specified address and port
- should default to '0.0.0.0' as its bind address
- should use any specified bind address
- should not allow multiple servers to listen on the same address and port

Puppet::Network::Server when using webrick after unlistening
- should not be reachable on the port and address assigned (FAILED - 1)

1)
Interrupt in 'Puppet::Network::Server when using webrick after unlistening 
should not be reachable on the port and address assigned'
./spec/../lib/puppet/network/http/webrick.rb:48:in `join'
./spec/../lib/puppet/network/http/webrick.rb:48:in `unlisten'
./spec/../lib/puppet/network/http/webrick.rb:45:in `synchronize'
./spec/../lib/puppet/network/http/webrick.rb:45:in `unlisten'
./spec/../lib/puppet/network/server.rb:136:in `unlisten'
./spec/integration/network/server/webrick.rb:81:
./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 2759.731572 seconds
</pre>

I believe this is symptomatic of other problems (test isolation) and not worth 
pursuing in its own right.  If the problem persists after the test isolation 
issues have been cleared up, it should be investigated.



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