[SERVER-24442] Remove all files created by tests in a "post" task in evergreen Created: 07/Jun/16  Updated: 04/Jan/17  Resolved: 22/Aug/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.3.12

Type: Task Priority: Major - P3
Reporter: Zakhar Kleyman Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 1
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to TOOLS-1228 Backport to v3.2 Closed
related to TOOLS-1215 Remove all files created by tests in ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.2
Sprint: Build 18 (08/05/16), Build 2016-08-26
Participants:

 Description   

In Evergreen, tests should remove the files they create using a post command, possibly in addition to in a pre command.

Currently, the cleanup happens in a pre command, but some projects don't run a cleanup in a pre command, and can have some trouble with files being left from a previous task.



 Comments   
Comment by Githook User [ 22/Aug/16 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-24442: improved cleanup of artifacts during tests
Branch: v2.6
https://github.com/mongodb/mongo/commit/72e649284e331a24f406efa56b1ff32fe29b87ae

Comment by Githook User [ 22/Aug/16 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-24442: cleanup evergreen configuration around cleanup
Branch: v3.0
https://github.com/mongodb/mongo/commit/d6523f4e24ce723c7711352e96c7731866ba017a

Comment by Githook User [ 22/Aug/16 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-24442: cleanup evergreen configuration around cleanup
Branch: v3.2
https://github.com/mongodb/mongo/commit/adc0df4ccce9d4d1ed9e723e1101134f816a67b4

Comment by Githook User [ 22/Aug/16 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-24442: improve cleanup after tasks in evergreen
Branch: master
https://github.com/mongodb/mongo/commit/ffb84c82648c7b4d7d6c500bbcc0df29e017ac5c

Comment by Ernie Hershey [ 18/Jul/16 ]

Should this go to TIG? Is it really 3.3 required?

Comment by Zakhar Kleyman [ 10/Jun/16 ]

Here is the solution to identical ticket for mongo-tools repo - https://github.com/mongodb/mongo-tools/commit/8cdb4ef0cf98238e3c50eb98f82d87705852b952

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