divingbell/divingbell/templates
Crank, Daniel f0eb0b7582 [ad-hoc] Fix test case exit conditions
While working on another change, I discovered conditions
in many test cases that echoed fail messages but did not
actually exit, so the gate could succeed even though some
tests failed. This patchset aims to fix those problems, and
then fix the problems masked by those problems:

1) fix bug in revert function of file permissions module
preventing permissions from being reverted.
2) fix various syntax and logic problems in test script
3) add wait_for_tiller_ready function to avoid race condition
with test script using helm too early
4) add install for ethtool in test script
5) ignore ethtool pod failures (see note #1 in [0])
6) make logging of test results more uniform
7) Fix error message logic in perm.sh
8) Fix case in _shcommon.tpl where error message was not
logged, causing test script to unnecessarily wait for
container timeout

[0]: https://review.opendev.org/676010

Change-Id: I22182d35250c37c96e73d9f5f49abfb2246f2a35
2020-03-12 15:25:30 +00:00
..
bin [ad-hoc] Fix test case exit conditions 2020-03-12 15:25:30 +00:00
daemonset-apparmor.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-apt.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-ethtool.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-exec.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-limits.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-mounts.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-perm.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-sysctl.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
daemonset-uamlite.yaml Add Docker default AppArmor profile to divingbell 2020-02-13 14:43:44 -08:00
network_policy.yaml Allow to configure service network policy 2019-09-27 20:48:09 +00:00
secret-apparmor.yaml Add new apparmor daemonset 2018-12-14 19:02:00 -08:00
secret-apt.yaml Resolve illegal base64 data errors 2018-11-15 19:08:49 +00:00
secret-ethtool.yaml Resolve illegal base64 data errors 2018-11-15 19:08:49 +00:00
secret-exec.yaml Add new divingbell-exec module 2018-12-04 18:22:51 +00:00
secret-limits.yaml Resolve illegal base64 data errors 2018-11-15 19:08:49 +00:00
secret-mounts.yaml Resolve illegal base64 data errors 2018-11-15 19:08:49 +00:00
secret-perm.yaml Add ability to control owner:group and permissions 2018-11-27 09:08:11 -08:00
secret-sysctl.yaml Resolve illegal base64 data errors 2018-11-15 19:08:49 +00:00
secret-uamlite.yaml Resolve illegal base64 data errors 2018-11-15 19:08:49 +00:00