kubernetes/test
Kubernetes Submit Queue 81dd16a4ae Merge pull request #38244 from MrHohn/e2e-reboot-drop
Automatic merge from submit-queue (batch tested with PRs 36419, 38330, 37718, 38244, 38375)

Guarantees drop packets commands succeed in reboot test

Fixes the main case in #33405 and #36230.
Previous attempted fix in #38057.

During the reboot test, the iptables command that was supposed to take the node offline failed to exec. 
Turned out the xtables lock was holding by other processes led to this failure. Logs as below:
```
I1202 20:00:29.686] Dec  2 20:00:29.685: INFO: ssh jenkins@146.148.111.167:22: stdout:
"+ sleep 10
+ sudo iptables -I INPUT 1 -s 127.0.0.1 -j ACCEPT
Another app is currently holding the xtables lock. Perhaps you want to use the -w option?"
I1202 20:00:29.686] Dec  2 20:00:29.685: INFO: ssh jenkins@146.148.111.167:22: stderr:    ""
I1202 20:00:29.686] Dec  2 20:00:29.685: INFO: ssh jenkins@146.148.111.167:22: exit code: 0
```

This reboot test won't pass if any one of these iptables commands fails. This PR put "reboot" commands into while loops to guarantee it retries until succeed.

`sudo iptables -t filter -nL` is removed since it is clear now that the `FILTER` rules won't be clobbered.

(Tests passed on local cluster.)

@bprashanth
2016-12-08 17:13:58 -08:00
..
e2e Merge pull request #38244 from MrHohn/e2e-reboot-drop 2016-12-08 17:13:58 -08:00
e2e_node adjusted timeouts; fixed but where pods are deleted late; added delay to account for delayed pressure 2016-12-08 14:01:30 -08:00
fixtures Revert "add a unit test" 2016-11-22 21:01:20 -08:00
images Merge pull request #37294 from jsafrane/gluster-on-tmpfs 2016-12-08 00:23:10 -08:00
integration Merge pull request #38401 from liggitt/addressable-deep-copy 2016-12-08 16:26:00 -08:00
kubemark Moved start-kubemark-master.sh from test/kubemark/ to test/kubemark/resources/ 2016-12-07 18:15:24 +01:00
list Improve update_owners.py username detection and error message. 2016-10-28 13:23:19 -07:00
soak refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
utils Pass addressable values to DeepCopy 2016-12-08 14:16:01 -05:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
test_owners.csv Merge pull request #36643 from kzwang/ingress-controller 2016-12-06 00:22:54 -08:00