Skip to content

Instantly share code, notes, and snippets.

@leotsem
Created May 28, 2015 15:57
Show Gist options
  • Save leotsem/f2aa1f1539d0fc2485e9 to your computer and use it in GitHub Desktop.
Save leotsem/f2aa1f1539d0fc2485e9 to your computer and use it in GitHub Desktop.
AWS Codeploy stacktrace
2015-05-26 18:22:17 WARN [codedeploy-agent(4100)]: InstanceAgent::Plugins::CodeDeployPlugin::HookExecutor: Script at specified location: provision/deploy/after_install is not executable. Trying to make it executable.
2015-05-26 18:22:32 ERROR [codedeploy-agent(4100)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Error during perform: Encoding::InvalidByteSequenceError - "\xCE" on US-ASCII - /opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:55:in `encode'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:55:in `to_json'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:55:in `to_json'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/command_poller.rb:128:in `gather_diagnostics_from_script_error'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/command_poller.rb:68:in `rescue in perform'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/command_poller.rb:53:in `perform'
/opt/codedeploy-agent/lib/instance_agent/agent/base.rb:28:in `run'
/opt/codedeploy-agent/lib/instance_agent/runner/child.rb:38:in `block in run'
/opt/codedeploy-agent/lib/instance_agent/runner/child.rb:55:in `with_error_handling'
/opt/codedeploy-agent/lib/instance_agent/runner/child.rb:37:in `run'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/child.rb:70:in `block in run_with_error_handling'
/opt/codedeploy-agent/lib/instance_agent/runner/child.rb:55:in `with_error_handling'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/child.rb:69:in `run_with_error_handling'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/child.rb:33:in `block in start'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/child.rb:22:in `loop'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/child.rb:22:in `start'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb:198:in `block in spawn_child'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb:196:in `fork'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb:196:in `spawn_child'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb:275:in `block (2 levels) in replace_terminated_children'
/opt/codedeploy-agent/vendor/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
/opt/codedeploy-agent/vendor/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment