Issue #4208 has been updated by Markus Roberts.

This appears (although even that may be to strong) to have come in with 

<pre>
commit d61a69a0e5a87a95846a4d39115eac80e4984cac
Author: Luke Kanies <[email protected]>
Date:   Wed Apr 28 21:52:06 2010 -0700

    Fixing #3668 - fixed autoloading classes from modules

</pre>

but I can't prove it, or even propose the mechanism.


----------------------------------------
Bug #4208: Multithread compilation fails
http://projects.puppetlabs.com/issues/4208

Author: Brice Figureau
Status: Accepted
Priority: High
Assigned to: Markus Roberts
Category: compiler
Target version: 2.6.0
Affected version: 2.6.0rc1
Keywords: 
Branch: 


Using a mongrel setup, if I fire two compilation of the same node (ie with 
puppet-test --fork 1), one of them aborts almost immediately (the other ones 
goes to the end and delivers a catalog) with the following trace:
<pre>
./lib/puppet/parser/type_loader.rb:142:in `import_if_possible'
./lib/puppet/parser/type_loader.rb:140:in `import_if_possible'
./lib/puppet/parser/type_loader.rb:85:in `load_until'
./lib/puppet/parser/type_loader.rb:83:in `each'
./lib/puppet/parser/type_loader.rb:83:in `load_until'
./lib/puppet/resource/type_collection.rb:134:in `find_or_load'
./lib/puppet/resource/type_collection.rb:146:in `find_definition'
./lib/puppet/resource.rb:357:in `find_defined_resource_type'
./lib/puppet/resource.rb:349:in `find_resource_type'
./lib/puppet/resource.rb:463:in `parse_title'
./lib/puppet/resource.rb:205:in `to_hash'
./lib/puppet/resource.rb:213:in `uniqueness_key'
./lib/puppet/resource/catalog.rb:374:in `resource'
./lib/puppet/resource/type.rb:148:in `mk_plain_resource'
./lib/puppet/parser/compiler.rb:222:in `evaluate_ast_node'
./lib/puppet/parser/compiler.rb:102:in `compile'
./lib/puppet/parser/compiler.rb:18:in `compile'
./lib/puppet/indirector/catalog/compiler.rb:77:in `compile'
./lib/puppet/util.rb:175:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
./lib/puppet/util.rb:174:in `benchmark'
./lib/puppet/indirector/catalog/compiler.rb:75:in `compile'
./lib/puppet/indirector/catalog/compiler.rb:34:in `find'
./lib/puppet/indirector/indirection.rb:193:in `find'
./lib/puppet/indirector.rb:50:in `find'
./lib/puppet/network/http/handler.rb:101:in `do_find'
./lib/puppet/network/http/handler.rb:68:in `send'
./lib/puppet/network/http/handler.rb:68:in `process'
/usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:158:in `each'
/usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:285:in `new'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:268:in `new'
/usr/lib/ruby/1.8/mongrel.rb:268:in `run'
./lib/puppet/network/http/mongrel.rb:22:in `listen'
./lib/puppet/network/server.rb:127:in `listen'
./lib/puppet/network/server.rb:142:in `start'
./lib/puppet/daemon.rb:125:in `start'
./lib/puppet/application/master.rb:114:in `main'
./lib/puppet/application/master.rb:46:in `run_command'
./lib/puppet/application.rb:301:in `run'
./lib/puppet/application.rb:398:in `exit_on_fail'
./lib/puppet/application.rb:301:in `run'
sbin/puppetmasterd:4
err: no block given on node node.domain.com
</pre>

Both were compiling at the same time for the same node (if that matters). I 
don't know it that worked fine under 0.25.x.


-- 
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://projects.puppetlabs.com/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