mitchellh/vagrant — Issue #555: stacktrace dumps don't survive process exit
Author: jmhodges
Created: 2011-11-11 10:32:53+00:00
State: open

Seems that either the stack trace dumps are actually being written, or they aren't surviving past the exit of the process. For instance, this error claims to have written out to /tmp/vagrant-chef-1/chef-stacktrace.out but it does not exist:

[default] [Fri, 11 Nov 2011 02:28:18 -0800] ERROR: package[ubuntu-dev-tools] (debian-packaging::default line 4) has had an error
[Fri, 11 Nov 2011 02:28:18 -0800] ERROR: Running exception handlers
[Fri, 11 Nov 2011 02:28:18 -0800] ERROR: Exception handlers complete
[Fri, 11 Nov 2011 02:28:18 -0800] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[Fri, 11 Nov 2011 02:28:18 -0800] FATAL: Chef::Exceptions::Exec: package[ubuntu-dev-tools] (debian-packaging::default line 4) had an error: apt-get -q -y install ubuntu-dev-tools=0.99 returned 100, expected 0

This can also be repro'ed by putting an add_recipe call for a recipe that doesn't exist.