Skip to content

Instantly share code, notes, and snippets.

@dignifiedquire
Created October 13, 2015 11:44
Show Gist options
  • Save dignifiedquire/b2283ad27995bdff9f41 to your computer and use it in GitHub Desktop.
Save dignifiedquire/b2283ad27995bdff9f41 to your computer and use it in GitHub Desktop.
==> default: ================================================================================
==> default: Error executing action `run` on resource 'execute[./gradlew install --project-cache-dir=/tmp/rpc]'
==> default:
==> default: ================================================================================
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of ./gradlew install --project-cache-dir=/tmp/rpc ----
==> default: STDOUT: :scrooge UP-TO-DATE
==> default: :compileJava UP-TO-DATE
==> default: :processResources UP-TO-DATE
==> default: :classes UP-TO-DATE
==> default: :jar UP-TO-DATE
==> default: :startScripts UP-TO-DATE
==> default:
==> default: :installApp FAILED
==> default:
==> default: BUILD FAILED
==> default:
==> default: Total time: 9.533 secs
==> default: STDERR: FAILURE: Build failed with an exception.
==> default:
==> default: * What went wrong:
==> default:
==> default: Execution failed for task ':installApp'.
==> default: > java.io.IOException: Unable to delete file: /vagrant/app/server/modules/FileOperationsService/build/install/FileOperationsService/logs/.nfs000000000324126f00000001
==> default:
==> default: * Try:
==> default: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==> default: ---- End output of ./gradlew install --project-cache-dir=/tmp/rpc ----
==> default: Ran ./gradlew install --project-cache-dir=/tmp/rpc returned 1
==> default:
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/lxc/libraries/monkey.rb:20:in `monkey_shell_out!'
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/codio/recipes/rpc.rb
==> default:
==> default:
==> default: 11: execute './gradlew install --project-cache-dir=/tmp/rpc' do
==> default: 12: cwd '/vagrant/app/server/modules/FileOperationsService'
==> default: 13: only_if { !node[:codio][:build_nothing] && node[:codio][:rpc][:build] }
==> default: 14: end
==> default: 15:
==> default:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/codio/recipes/rpc.rb:11:in `from_file'
==> default:
==> default: execute("./gradlew install --project-cache-dir=/tmp/rpc") do
==> default: action "run"
==> default: retries 0
==> default: retry_delay 2
==> default: default_guard_interpreter :execute
==> default: command "./gradlew install --project-cache-dir=/tmp/rpc"
==> default:
==> default: backup 5
==> default: cwd "/vagrant/app/server/modules/FileOperationsService"
==> default: returns 0
==> default: declared_type :execute
==> default: cookbook_name :codio
==> default: recipe_name "rpc"
==> default:
==> default: only_if { #code block }
==> default: end
==> default:
==> default:
==> default: [2015-10-13T11:44:32+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2015-10-13T11:44:32+00:00] INFO: template[/etc/ntp.conf] sending restart action to service[ntp] (delayed)
==> default: [2015-10-13T11:44:34+00:00] INFO: service[ntp] restarted
==> default: [2015-10-13T11:44:34+00:00] ERROR: Running exception handlers
==> default: [2015-10-13T11:44:34+00:00] ERROR: Exception handlers complete
==> default: [2015-10-13T11:44:34+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2015-10-13T11:44:34+00:00] ERROR: execute[./gradlew install --project-cache-dir=/tmp/rpc] (codio::rpc line 11) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of ./gradlew install --project-cache-dir=/tmp/rpc ----
==> default: STDOUT: :scrooge UP-TO-DATE
==> default: :compileJava UP-TO-DATE
==> default: :processResources UP-TO-DATE
==> default: :classes UP-TO-DATE
==> default: :jar UP-TO-DATE
==> default: :startScripts UP-TO-DATE
==> default: :installApp FAILED
==> default:
==> default: BUILD FAILED
==> default:
==> default: Total time: 9.533 secs
==> default: STDERR: FAILURE: Build failed with an exception.
==> default:
==> default: * What went wrong:
==> default: Execution failed for task ':installApp'.
==> default: > java.io.IOException: Unable to delete file: /vagrant/app/server/modules/FileOperationsService/build/install/FileOperationsService/logs/.nfs000000000324126f00000001
==> default:
==> default: * Try:
==> default: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==> default: ---- End output of ./gradlew install --project-cache-dir=/tmp/rpc ----
==> default: Ran ./gradlew install --project-cache-dir=/tmp/rpc returned 1
==> default: [2015-10-13T11:44:34+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment