Issue #15591 has been updated by Josh Cooper. Status changed from Accepted to In Topic Branch Pending Review Target version set to 2.7.x Affected Puppet version set to 2.7.6 Branch set to https://github.com/puppetlabs/puppet/pull/1082
---------------------------------------- Bug #15591: spec/integration/util/file_locking_spec segfaults on Windows https://projects.puppetlabs.com/issues/15591#change-70150 Author: Josh Cooper Status: In Topic Branch Pending Review Priority: Normal Assignee: Josh Cooper Category: testing Target version: 2.7.x Affected Puppet version: 2.7.6 Keywords: windows testing Branch: https://github.com/puppetlabs/puppet/pull/1082 One of the spec tests does a Kernel.fork, which crashes on Windows ruby 1.8.7 p370. <pre> C:\work\puppet>envpuppet rspec spec\integration\util\file_locking_spec.rb .(eval):3: [BUG] Segmentation fault ruby 1.8.7 (2012-06-29 patchlevel 370) [i386-mingw32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. </pre> The same test with ruby 1.8. p357 (which is what we use in CI and release does not crash, but does print that mysterious error we've been seeing about child#0): <pre> C:\work\puppet>ruby --version ruby 1.8.7 (2011-12-28 patchlevel 357) [i386-mingw32] C:\work\puppet>envpuppet rspec spec\integration\util\file_locking_spec.rb .. Finished in 0.53041 seconds 2 examples, 0 failures C:\work\puppet>c:/puppetwinbuilder/sys/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746: in `load': no such file to load -- C:/work/puppet/child#0 (LoadError) from c:/puppetwinbuilder/sys/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746:in `load_spec_files' from c:/puppetwinbuilder/sys/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746:in `map' from c:/puppetwinbuilder/sys/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746:in `load_spec_files' from c:/puppetwinbuilder/sys/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:22:in `run' from c:/puppetwinbuilder/sys/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.9.0/lib/rspec/core/runner.rb:69:in `run' from c:/puppetwinbuilder/sys/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.9.0/lib/rspec/core/runner.rb:10:in `autorun' from c:/puppetwinbuilder/sys/ruby/bin/rspec:19 </pre> -- 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.
