[SERVER-23523] shell scripts in evergreen.yml should always exit on error Created: 04/Apr/16  Updated: 22/Nov/16  Resolved: 14/Apr/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.4
Fix Version/s: 3.0.13, 3.2.6, 3.3.5

Type: Bug Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Kamran K.
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: TIG 13 (04/22/16), TIG 15 (06/03/16)
Participants:
Linked BF Score: 0

 Description   

We've seen a few a few build failures that look like like they're caused by rm failing, but that particular rm has its output suppressed. We should change all shell scripts to make sure we can see an error if any step fails.



 Comments   
Comment by Githook User [ 01/Jun/16 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: 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)
Branch: v3.0
https://github.com/mongodb/mongo/commit/c0066f6271e5ee76d6b2e737b554786ea63c620c

Comment by Githook User [ 21/Apr/16 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: 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)
Branch: v3.2
https://github.com/mongodb/mongo/commit/afe85864c0f3880a6aa3274d56034fedeb44acc5

Comment by Kamran K. [ 14/Apr/16 ]

The committed fix was limited to the pre-test clean-up script.

Comment by Githook User [ 14/Apr/16 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: 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.
Branch: master
https://github.com/mongodb/mongo/commit/cb2f097f717298f70888f5283b94f9855558e561

Generated at Thu Feb 08 04:03:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.