[SERVER-34412] powercycle* tasks set timeout_secs in wrong location of task definition Created: 10/Apr/18  Updated: 29/Oct/23  Resolved: 11/Apr/18

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

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
is caused by SERVER-33696 Set timeout_secs for powercycle* task... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: TIG 2018-04-23
Participants:
Linked BF Score: 19

 Description   

While exec_timeout_secs is defined as a top-level field of the task's definition, timeout_secs is defined as a field on an individual function invocation or command. Evergreen doesn't report any errors or warnings for specifying the field in the wrong location, but it ultimately has no effect on the idle timeout used by the agent. This can be verified by the "agent logs" for one of the powercycle tasks.

[2018/04/10 16:32:32.976] Current command set to ''shell.exec' in "run powercycle test"' (system)
[2018/04/10 16:32:32.976] Set command timeout for ''shell.exec' in "run powercycle test"' (system) to 2h0m0s
...
[2018/04/10 16:32:33.562] Current command set to ''shell.exec' in "run powercycle test"' (test)
[2018/04/10 16:32:33.562] Set command timeout for ''shell.exec' in "run powercycle test"' (test) to 2h0m0s

https://evergreen.mongodb.com/task/mongodb_mongo_master_ubuntu1404_powercycle_84762192d91d5f892fe88f2b060a3f2030ab237c_18_04_10_14_44_04



 Comments   
Comment by Githook User [ 12/Apr/18 ]

Author:

{'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}

Message: SERVER-34412 Fix 30 minute idle timeout for powercycle tasks.

(cherry picked from commit 02992845ae7b4ae79558227aeaf18a95d96e2b55)
Branch: v3.6
https://github.com/mongodb/mongo/commit/0fe08c834e400b8b0132212678047285227d0d48

Comment by Githook User [ 11/Apr/18 ]

Author:

{'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}

Message: SERVER-34412 Fix 30 minute idle timeout for powercycle tasks.
Branch: master
https://github.com/mongodb/mongo/commit/02992845ae7b4ae79558227aeaf18a95d96e2b55

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