[SERVER-61169] MultiversionDecorator can overwrite resmoke config options passed in by build_variant_gen Created: 01/Nov/21  Updated: 29/Oct/23  Resolved: 02/Nov/21

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

Type: Bug Priority: Major - P3
Reporter: Jason Chan Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: STM 2021-11-15
Participants:
Linked BF Score: 37
Story Points: 0

 Description   

Currently, the mongosync project relies on passing in the --configDir parameter when executing the evergreen_gen_build_variant.py script. However, it ends up overwriting the passed in config options with the defaults because it ends up calling set_run_options (called by ResmokeProxy) twice:

  1. Initially, evergreen_gen_build_variant will set the proper resmoke configs here
  2. But then MultiversionDecorator will overwrite those options when creating another ResmokeProxy here without any arguments


 Comments   
Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-61169 Fix unittests
Branch: master
https://github.com/mongodb/mongo/commit/bc7ef40044f1bba9ed277f23e3a8cf38f5fa8182

Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-61169 Inject ResmokeProxyService in MultiversionGenTaskDecorator
Branch: master
https://github.com/mongodb/mongo/commit/dae19caf147fb767b64ec983fbc8de46222f2fa4

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