divingbell/divingbell/templates/bin
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
..
_apparmor.sh.tpl Use common logger for consistent log output 2019-04-11 13:23:05 -07:00
_apt.sh.tpl [ad-hoc] Fix test case exit conditions 2020-03-12 15:25:30 +00:00
_ethtool.sh.tpl Use common logger for consistent log output 2019-04-11 13:23:05 -07:00
_exec.sh.tpl Use common logger for consistent log output 2019-04-11 13:23:05 -07:00
_limits.sh.tpl Use common logger for consistent log output 2019-04-11 13:23:05 -07:00
_mounts.sh.tpl Use common logger for consistent log output 2019-04-11 13:23:05 -07:00
_perm.sh.tpl [ad-hoc] Fix test case exit conditions 2020-03-12 15:25:30 +00:00
_shcommon.tpl [ad-hoc] Fix test case exit conditions 2020-03-12 15:25:30 +00:00
_sysctl.sh.tpl Use common logger for consistent log output 2019-04-11 13:23:05 -07:00
_uamlite.sh.tpl Update uamlite.sh to handle empty user_sshkeys arrays 2019-06-25 15:16:31 -05:00