Closed ryanmaclean closed 7 years ago
Console log:
[2015-06-09T21:57:53+00:00] INFO: Running queued delayed notifications before re-raising exception [2015-06-09T21:57:53+00:00] ERROR: Running exception handlers [2015-06-09T21:57:53+00:00] ERROR: Exception handlers complete [2015-06-09T21:57:53+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage1/chef-stacktrace.out [2015-06-09T21:57:53+00:00] ERROR: ruby_block[merge all cookbooks sources](opsworks_custom_cookbooks::load line 12) had an error: Errno::EEXIST: File exists - (../../jenkins_credentials_create/serverspec/assert_created_spec.rb, /opt/aws/opsworks/current/merged-cookbooks/./jenkins/test/integration/smoke_war_stable/serverspec/assert_credentials_created_spec.rb) [2015-06-09T21:57:53+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
So this is most likely an issue on the Opswork side. The test
directory has some symlinks in it (used to share specs). It appears the Opswork environment is choking on these symlinks when attempting to work with the cookbook.
Hey guys!
First off, great cookbook!
We're running into a funny error when attempting to push this out to OpsWorks stacks:
Errno::EEXIST
File exists - (../../jenkins_credentials_create/serverspec/assert_created_spec.rb, /opt/aws/opsworks/current/merged-cookbooks/./jenkins/test/integration/smoke_war_stable/serverspec/assert_credentials_created_spec.rb)
This affects both Amazon linux and Ubuntu instances. We're only calling the "master" and "java" recipes via "jenkins::master" and "jenkins::java", and have pointed directly to this repo.