diff options
author | Kamran Khan <kamran.khan@mongodb.com> | 2016-04-21 13:29:23 -0400 |
---|---|---|
committer | Kamran Khan <kamran.khan@mongodb.com> | 2016-04-21 13:29:23 -0400 |
commit | afe85864c0f3880a6aa3274d56034fedeb44acc5 (patch) | |
tree | 02f7f177becf07414f08eec7e2dcc2e78d4729e0 /etc | |
parent | dca00def614310de7d8b5e35d193c59b5d377280 (diff) | |
download | mongo-afe85864c0f3880a6aa3274d56034fedeb44acc5.tar.gz |
SERVER-23523 Stop suppressing rm output and exit codes
This should make it easier to diagnose permissions issues and mismatched
binaries when running tests on Evergreen.
(cherry picked from commit cb2f097f717298f70888f5283b94f9855558e561)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/evergreen.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index d0bf9527149..12d8b078746 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -366,11 +366,16 @@ pre: - command: shell.track - command: shell.exec params: - silent: true script: | ${killall_mci|pkill -9 mongod; pkill -9 mongos; pkill -9 mongo; pkill -9 bsondump; pkill -9 mongoimport; pkill -9 mongoexport; pkill -9 mongodump; pkill -9 mongorestore; pkill -9 mongostat; pkill -9 mongofiles; pkill -9 mongooplog; pkill -9 mongotop; pkill -9 mongobridge; pkill -9 mongod-2.6; pkill -9 mongos-2.6; pkill -9 mongo-2.6; pkill -9 bsondump-2.6; pkill -9 mongoimport-2.6; pkill -9 mongoexport-2.6; pkill -9 mongodump-2.6; pkill -9 mongorestore-2.6; pkill -9 mongostat-2.6; pkill -9 mongofiles-2.6; pkill -9 mongooplog-2.6; pkill -9 mongotop-2.6; pkill -9 mongobridge-2.6; pkill -9 mongod-2.4; pkill -9 mongos-2.4; pkill -9 mongo-2.4; pkill -9 bsondump-2.4; pkill -9 mongoimport-2.4; pkill -9 mongoexport-2.4; pkill -9 mongodump-2.4; pkill -9 mongorestore-2.4; pkill -9 mongostat-2.4; pkill -9 mongofiles-2.4; pkill -9 mongooplog-2.4; pkill -9 mongotop-2.4; pkill -9 resmoke.py; pkill -9 python; pkill -9 cl; pkill -9 lldb; pkill -9 _test} >/dev/null 2>&1 + + # Set errexit after running the pkill commands because pkill will exit with code 1 if it + # does not match any processes. This can occur when there are no left-over processes from + # a previous task. + set -o errexit + set -o verbose + rm -rf src /data/db/* mongo-coredumps.tgz - exit 0 post: - command: attach.results |