[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: |
|
||||
| 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: |