[SERVER-43143] Add timeouts to evergreen lint tasks. Created: 03/Sep/19  Updated: 29/Oct/23  Resolved: 11/Sep/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: David Bradford (Inactive) Assignee: Alexander Costas (Inactive)
Resolution: Fixed Votes: 0
Labels: commit-queue
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: DAG 2019-09-23
Participants:
Story Points: 1

 Description   

The lint task in evergreen normally takes around 15 - 20 minutes to complete. Over the last 6 months, the highest runtimes we have seen have been around 35 minutes. About a week ago, however, we saw the lint task get hung and didn't exit until the task timed out. The lint task just uses the default timeouts, so it took over 3 hours before the task actually ended.

Since the lint task is included as part of the commit queue, hangs like this are problematic. They would block the entire queue for a number of hours. To avoid this issue, we should add a more aggressive timeout to the lint task. Something around 40 minutes should be acceptable.


As a server engineer,
I want to lint task to timeout if it runs for too long,
So that I am not waiting on a hung task.


AC

  • Lint tasks in evergreen time out if running for more than 40 minutes.


 Comments   
Comment by Githook User [ 11/Sep/19 ]

Author:

{'username': 'ancostas', 'email': 'alexander.costas@mongodb.com', 'name': 'Alexander Costas'}

Message: SERVER-43143: Add timeouts to evergreen lint tasks.
Branch: master
https://github.com/mongodb/mongo/commit/ca3b9f722c5d90abbc114395815cc6cc16beaba1

Comment by David Bradford (Inactive) [ 05/Sep/19 ]

Here is the documentation on adding task specific timeouts in evergreen.

Generated at Thu Feb 08 05:02:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.