[chef] Chefspec Errno::ENOMEM


Chronological Thread 
  • From: "Stewart, Curtis" < >
  • To: " " < >
  • Subject: [chef] Chefspec Errno::ENOMEM
  • Date: Tue, 11 Feb 2014 15:58:23 +0000
  • Accept-language: en-US

On a handful of recipes, we’re getting the following errors and cannot seem to avoid them.  The pattern appears to be with any `Mixlib::ShellOut` commands.

Working in a chef-repo.

chef-client v11.8.0
chefspec v3.1.4

We’re currently running specs on our entire repo through a Jenkins server.  

recipe code:

cmd1 = Mixlib::ShellOut.new("s3cmd info #{node[‘app']['s3_source']} | grep MD5 | awk '{print $3}'").run_command

error:

 Errno::ENOMEM:
       Cannot allocate memory - fork(2)


Thanks,
Curtis




Archive powered by MHonArc 2.6.16.

§