Puppet: System Administration Automated

Support

Ticket #1259 (new defect)

Opened 6 months ago

Puppet::Indirector::REST and Puppet::Network::Server tests fail without mongrel

Reported by: porridge Assigned to: community
Priority: normal Milestone:
Component: testing Version:
Severity: normal Keywords: mongrel rspec
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

I do not know whether mongrel should be a requisite dependancy for running test, or whether these should be skipped when it is not available. But either way something needs to be changed, either the documentation or tests. See also #1237 for a related, but different problem (there the tests do not even load).

ArgumentError in 'Puppet::Indirector::REST when using mongrel when finding a model instance over REST when a matching model instance can be found should not fail'
Mongrel is not installed on this platform
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/http.rb:5:in `server_class_by_type'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/server.rb:158:in `http_server_class_by_type'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/server.rb:138:in `http_server_class'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/server.rb:59:in `initialize'
/home/porridge/Desktop/coding/puppet-git/spec/integration/indirector/rest.rb:282:in `new'
/home/porridge/Desktop/coding/puppet-git/spec/integration/indirector/rest.rb:282:

--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when finding a model instance over REST when a matching model instance can be found should return an instance of the model class'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when finding a model instance over REST when a matching model instance can be found should return the instance of the model class associated with the provided lookup key'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when finding a model instance over REST when a matching model instance can be found should set an expiration on model instance'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when finding a model instance over REST when no matching model instance can be found should return nil'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when finding a model instance over REST when an exception is encountered in looking up a model instance should raise an exception'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when searching for model instances over REST when matching model instances can be found should not fail'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when searching for model instances over REST when matching model instances can be found should return all matching results'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when searching for model instances over REST when matching model instances can be found should return model instances'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when searching for model instances over REST when matching model instances can be found should return the instance of the model class associated with the provided lookup key'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when searching for model instances over REST when matching model instances can be found should set an expiration on model instances'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when searching for model instances over REST when no matching model instance can be found should return nil'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when searching for model instances over REST when an exception is encountered in looking up a model instance should raise an exception'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when destroying a model instance over REST when a matching model instance can be found should not fail'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when destroying a model instance over REST when a matching model instance can be found should return success'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when destroying a model instance over REST when no matching model instance can be found should return failure'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when destroying a model instance over REST when an exception is encountered in destroying a model instance should raise an exception'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when saving a model instance over REST when a successful save can be performed should not fail'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when saving a model instance over REST when a successful save can be performed should return an instance of the model class'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when saving a model instance over REST when a successful save can be performed should return a matching instance of the model class'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when saving a model instance over REST when a save cannot be completed should return failure'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Indirector::REST when using mongrel when saving a model instance over REST when an exception is encountered in performing a save should raise an exception'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Network::Server when using mongrel before listening should not be reachable at the specified address and port'
Mongrel is not installed on this platform
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/http.rb:5:in `server_class_by_type'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/server.rb:158:in `http_server_class_by_type'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/server.rb:138:in `http_server_class'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/network/server.rb:59:in `initialize'
/home/porridge/Desktop/coding/puppet-git/spec/integration/network/server/mongrel.rb:12:in `new'
/home/porridge/Desktop/coding/puppet-git/spec/integration/network/server/mongrel.rb:12:


--
ArgumentError in 'Puppet::Network::Server when using mongrel when listening should be reachable on the specified address and port'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Network::Server when using mongrel when listening should not allow multiple servers to listen on the same address and port'
Mongrel is not installed on this platform
--
ArgumentError in 'Puppet::Network::Server when using mongrel after unlistening should not be reachable on the port and address assigned'
Mongrel is not installed on this platform