The original root cause is "| tee" in the following line: https://github.com/stackforge/fuel-web/blob/64b5e4ef552a00c81ec74567df3657a4249ac145/run_tests.sh#L187
This causes the "tee" exit code to overwrite exit code of nosetests, so run_nailgun_tests() never returns error.
The original root cause is "| tee" in the following line: /github. com/stackforge/ fuel-web/ blob/64b5e4ef55 2a00c81ec74567d f3657a4249ac145 /run_tests. sh#L187
https:/
This causes the "tee" exit code to overwrite exit code of nosetests, so run_nailgun_tests() never returns error.