[CXX-1094] Evergreen test suite should fail fast when pre-task script fails Created: 19/Oct/16  Updated: 22/Feb/17  Resolved: 22/Feb/17

Status: Closed
Project: C++ Driver
Component/s: Continuous Integration
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CXX Driver Testing (Evergreen)

 Description   

Currently, the main body of the Evergreen compile_and_test_with_* tasks are dispatched even when the pre-task script fails. Instead, the suite should fail fast when this happens.

See here for an example of the task continuing to execute after the MongoDB server download fails.



 Comments   
Comment by Githook User [ 22/Feb/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1094 .mci.yml: Move "pre:" section contents into "setup" function

Commands run in the "pre:" section are not checked for failure.
Moving these commands into a new function called from all tasks
ensures that the task will fail fast if any of the initialization
logic generates an error.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/d2283b9c9fc413d4ff68fb671e8b75edf02539d2

Comment by Githook User [ 22/Feb/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1094 .mci.yml: Remove broken gcc version check from "getdata"
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/3b327e61b869d38a726ddf4081d5607d700de7a1

Generated at Wed Feb 07 22:01:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.