kubernetes/test
k8s-merge-robot 03fe6b962c Merge pull request #29380 from bboreham/kill-setpgid
Automatic merge from submit-queue

Fix killing child sudo process in e2e_node tests

Fixes #29211.

The context is we are trying to kill a process started as `sudo kube-apiserver`, but `sudo` ignores signals from the same process group. Applying `Setpgid` means the `sudo kill` process won't be in the same process group, so will not fall foul of this nifty feature.

I also took the liberty of removing some code setting `Pdeathsig` because it claims to be doing something  in the same area, but actually it doesn't do that at all.  The setting is applied to the forked process, i.e. `sudo`, and it means the `sudo` will get killed if we (`e2e_node.test`) die.  This (a) isn't what the comment says and (b) doesn't help because sending SIGKILL to the sudo process leaves sudo's child alive.

I didn't use the "hack for linux-only" approach because I think `Setpgid` is available on all platforms that `e2e_node` builds on.
2016-07-27 03:18:15 -07:00
..
component/scheduler/perf Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
e2e Merge pull request #28850 from MHBauer/faster-test 2016-07-26 23:38:09 -07:00
e2e_node Merge pull request #29380 from bboreham/kill-setpgid 2016-07-27 03:18:15 -07:00
fixtures/pkg/kubectl/cmd/apply Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
images Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
integration Integration tests for ReplicaSet OwnerRef 2016-07-21 11:36:52 +02:00
kubemark Update etcd deprecated flag 2016-07-22 11:01:11 -07:00
soak Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
utils Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
.gitattributes Add test/test_owners.csv, for automatic assignment of test failures. 2016-07-01 17:39:14 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
test_owners.csv Address PR comments, randomly assign owners for new tests. 2016-07-06 13:22:53 -07:00