so it doesn't get lost in the side track, is the computer test still
breaking for other people?



On Mon, Dec 1, 2008 at 10:33 AM, Nigel Kersten <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 10:07 AM, Brice Figureau
> <[EMAIL PROTECTED]> wrote:
>>
>> On 1/12/08 18:31, Nigel Kersten wrote:
>>> On Sun, Nov 30, 2008 at 7:22 PM, James Turnbull <[EMAIL PROTECTED]> wrote:
>>>> Nigel
>>>>
>>>> The new "computer" types tests are a little broken:
>>>
>>> Are you still getting these errors James? Was it due to me including 
>>> ruby-debug?
>>>
>>> I just tested on an Ubuntu install and it seems to be working fine.
>>>
>>> # lsb_release -a
>>> No LSB modules are available.
>>> Distributor ID:       Ubuntu
>>> Description:  Ubuntu 8.04.1
>>> Release:      8.04
>>> Codename:     hardy
>>>
>>> # ./spec/unit/type/computer.rb
>>> .............
>>>
>>> Finished in 0.028797 seconds
>>>
>>> 13 examples, 0 failures
>>>
>>> I'm getting other errors in Puppet::Parser::Functions and
>>> Puppet::Node::Catalog from your jamtur01/0.24.x branch that don't seem
>>> related though.
>>
>> The Puppet::Parser::Functions are certainly mine (since this test file
>> didn't exist before #1741). Can you send them to me, as I don't get any
>> on macosx?
>
> sure. I don't get these errors on macosx either though Brice. Just on
> Ubuntu Hardy.
>
> Is this all you wanted?
>
> 1)
> Mocha::ExpectationError in 'Puppet::Parser::Functions when calling
> newfunction should create the function in the scope class'
> #<Mock:0x7f79f4ada2a8>.define_method('function_name') - expected
> calls: 0, actual calls: 1
> Similar expectations:
> define_method('function_name', nil)
> (eval):1:in `define_method'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in `send'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in 
> `newfunction'
> /usr/local/google/src/puppet/spec/unit/parser/functions.rb:30:
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
> `run'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `each'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `run'
>
> 2)
> Mocha::ExpectationError in 'Puppet::Parser::Functions when calling
> newfunction should raise an error if the function already exists'
> #<Mock:0x7f79f4acce78>.define_method('function_name') - expected
> calls: 0, actual calls: 1
> Similar expectations:
> define_method('function_name', nil)
> (eval):1:in `define_method'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in `send'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in 
> `newfunction'
> /usr/local/google/src/puppet/spec/unit/parser/functions.rb:35:
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
> `run'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `each'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `run'
>
> 3)
> Mocha::ExpectationError in 'Puppet::Parser::Functions when calling
> rmfunction should remove the function in the scope class'
> #<Mock:0x7f79f4ab8d10>.define_method('function_name') - expected
> calls: 0, actual calls: 1
> Similar expectations:
> define_method('function_name', nil)
> (eval):1:in `define_method'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in `send'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in 
> `newfunction'
> /usr/local/google/src/puppet/spec/unit/parser/functions.rb:50:
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
> `run'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `each'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `run'
>
> 4)
> Mocha::ExpectationError in 'Puppet::Parser::Functions when calling
> function to test function existance should return it's name if the
> function exists'
> #<Mock:0x7f79f4aa56e8>.define_method('function_name') - expected
> calls: 0, actual calls: 1
> Similar expectations:
> define_method('function_name', nil)
> (eval):1:in `define_method'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in `send'
> /usr/local/google/src/puppet/lib/puppet/parser/functions.rb:47:in 
> `newfunction'
> /usr/local/google/src/puppet/spec/unit/parser/functions.rb:72:
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
> `run'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `each'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `run'
>
> 5)
> Mocha::ExpectationError in 'Puppet::Node::Catalog when using the
> indirector should be able to delegate to the :compiler terminus'
> #<Mock:node>.merge('servername' => 'eh', 'serverip' => 'eh',
> 'serverversion' => '0.24.6') - expected calls: 0, actual calls: 1
> /usr/local/google/src/puppet/spec/../lib/puppet/indirector/catalog/compiler.rb:52:in
> `add_node_data'
> /usr/local/google/src/puppet/spec/../lib/puppet/indirector/catalog/compiler.rb:95:in
> `find_node'
> /usr/local/google/src/puppet/spec/../lib/puppet/indirector/catalog/compiler.rb:17:in
> `find'
> /usr/local/google/src/puppet/lib/puppet/indirector/indirection.rb:210:in 
> `find'
> /usr/local/google/src/puppet/lib/puppet/indirector.rb:49:in `find'
> /usr/local/google/src/puppet/spec/integration/node/catalog.rb:41:
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
> `run'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `each'
> /usr/local/google/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
> `run'
>
> Finished in 0.977808 seconds
>
> 363 examples, 5 failures, 1 pending
>
>
>
>
> --
> Nigel Kersten
> Systems Administrator
> Tech Lead - MacOps
>



-- 
Nigel Kersten
Systems Administrator
Tech Lead - MacOps

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to