kubernetes/test/e2e_node
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
..
environment Merge pull request #26755 from david-mcmahon/fix-headers 2016-06-29 18:46:07 -07:00
jenkins Merge pull request #29486 from vishh/gci-node-e2e 2016-07-25 16:53:27 -07:00
runner Make it possible to run node e2e with GCI via make 2016-07-25 12:21:37 -07:00
cgroup_manager_test.go Change some node e2e test to use the prepull image framework. 2016-07-20 08:16:40 -07:00
configmap_test.go Change some node e2e test to use the prepull image framework. 2016-07-20 08:16:40 -07:00
container_manager_test.go Make it possible to share test between e2e and node e2e, 2016-07-18 14:05:08 -07:00
container.go Make it possible to share test between e2e and node e2e, 2016-07-18 14:05:08 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
downward_api_test.go Change some node e2e test to use the prepull image framework. 2016-07-20 08:16:40 -07:00
e2e_build.go Use make as the main build tool 2016-07-12 21:52:00 -07:00
e2e_node_suite_test.go Make it possible to run node e2e with GCI via make 2016-07-25 12:21:37 -07:00
e2e_remote.go Inject top level QoS cgroup creation in the Kubelet 2016-07-15 10:02:22 -07:00
e2e_service.go Merge pull request #29380 from bboreham/kill-setpgid 2016-07-27 03:18:15 -07:00
exec_util.go Support terminal resizing for exec/attach/run 2016-07-13 17:06:16 -04:00
image_conformance_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
image_list.go Change some node e2e test to use the prepull image framework. 2016-07-20 08:16:40 -07:00
image.go Revert "Remove pod mutation for PVs with supplemental GIDs" 2016-07-14 17:47:46 -07:00
kubelet_test.go Make it possible to share test between e2e and node e2e, 2016-07-18 14:05:08 -07:00
mirror_pod_test.go Make it possible to share test between e2e and node e2e, 2016-07-18 14:05:08 -07:00
OWNERS adding a few owners for node e2e framework 2016-06-01 18:11:18 -07:00
privileged_test.go Change privileged test to use framework, so that all namespaces 2016-07-18 19:06:59 -07:00
README.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
runtime_conformance_test.go Moving image pulling errors under kubelet/images 2016-07-20 14:20:53 -07:00
util.go Make it possible to share test between e2e and node e2e, 2016-07-18 14:05:08 -07:00

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.1/docs/devel/collab.md).

Documentation for other releases can be found at releases.k8s.io.

See e2e-node-tests

Analytics