[SERVER-43905] Resmoke is spawning the shell process without env_vars Created: 09/Oct/19  Updated: 29/Oct/23  Resolved: 06/Nov/19

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

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2019-11-04, Security 2019-11-18
Participants:
Linked BF Score: 50

 Description   

In resmoke's make_process method, it tries to extract defined environment variables from the process_kwargs argument provided by kwargs. It then extracts env_vars from the process_kwargs. Unfortunately, process_kwargs was already expanded with ** before make_process was invoked. This means env_vars should be directly extracted from make_process' kwargs.



 Comments   
Comment by Githook User [ 05/Nov/19 ]

Author:

{'name': 'Spencer Jackson', 'username': 'spencerjackson', 'email': 'spencer.jackson@mongodb.com'}

Message: SERVER-43905 Respect env variables in resmoke
Branch: master
https://github.com/mongodb/mongo/commit/f4e89155f20d54cb03234b28df3fa414beac5c21

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