Issue #1437 has been updated by jamtur01.

Status changed from Ready for Checkin to Closed

Pushed in commit:"a47fed41562443bb124ce64513208f49b67654d4" in branch 0.24.x
----------------------------------------
Bug #1437: broken tests in test/ rely on the missing source file not raising
http://reductivelabs.com/redmine/issues/show/1437

Author: andrew
Status: Closed
Priority: Normal
Assigned to: jamtur01
Category: 
Target version: 
Keywords: 
Complexity: Unknown
Patch: None
Affected version: 0.24.4


1) Error:
test_insync(TestFileSources):
Puppet::Error: No specified source was found from /tmp/puppettesting20637/tempfi
le_190
    /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/ty
pe/file/source.rb:199:in `retrieve'
    /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/ty
pe/file.rb:818:in `retrieve'
    ./ral/type/filesources.rb:212:in `test_insync'
    /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendor
/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__'
    /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendor
/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run'
  2) Failure:
test_source_retrieve(TestFileSources)
    [./ral/type/filesources.rb:150:in `test_source_retrieve'
     /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendo
r/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__'
     /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendo
r/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']:
Exception raised:
Class: <Puppet::Error>
Message: <"No specified source was found from /tmp/puppettesting20637/tempfile_2
03">
---Backtrace---
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/type/f
ile/source.rb:199:in `retrieve'
./ral/type/filesources.rb:151:in `test_source_retrieve'
./ral/type/filesources.rb:150:in `test_source_retrieve'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendor/gem
s/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendor/gem
s/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run'
---------------
  3) Failure:
test_unmountedNetworkSources(TestFileSources)
    [./ral/type/filesources.rb:626:in `test_unmountedNetworkSources'
     /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendo
r/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__'
     /usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendo
r/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']:
Exception raised:
Class: <Puppet::Error>
Message: <"HTTP-Error: 500 Internal Server Error  Could not describe /noexist/fi
le: HTTP-Error: 500 Internal Server Error ">
---Backtrace---
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/parame
ter.rb:279:in `fail'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/type/f
ile/source.rb:104:in `describe'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/type/f
ile/source.rb:191:in `retrieve'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/type/f
ile/source.rb:190:in `each'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/type/f
ile/source.rb:190:in `retrieve'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/puppet/type/f
ile.rb:818:in `retrieve'
./ral/type/filesources.rb:627:in `test_unmountedNetworkSources'
./ral/type/filesources.rb:626:in `test_unmountedNetworkSources'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendor/gem
s/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__'
/usr/ports/sysutils/ruby-puppet/w-ruby-puppet-0.24.5rc2/puppet/lib/../vendor/gem
s/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run'
---------------







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