open-nomad/drivers/shared/executor
Mahmood Ali 2516cb16b9 Kill all container processes on shutdown
Currently, libcontainer-based executor, upon shutdown, kills the
container initial process.  The children of the killed process remain
running, and the executor is never marked as terminated until they do.

Also, fix a case where we treat processes as successful, when
`proc.Wait()` fails.  In some attempts, I was getting "waitid no child
processes" errors and such error shouldn't get process to be considered
successful.
2018-12-03 20:40:49 -05:00
..
executor.go client: Merge driver/shared/structs and client/structs 2018-11-30 10:56:45 +01:00
executor_basic.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00
executor_linux.go Kill all container processes on shutdown 2018-12-03 20:40:49 -05:00
executor_linux_test.go client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
executor_test.go client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
executor_universal_linux.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00
executor_unix.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00
executor_windows.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00
pid_collector.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00
pid_collector_test.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00
resource_container_default.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00
resource_container_linux.go drivers: Move client/drivers/executor to drivers/shared/executor 2018-11-30 10:46:13 +01:00