[SERVER-49495] Fix race in auth_pass_prompt.js Created: 14/Jul/20  Updated: 29/Oct/23  Resolved: 07/Aug/20

Status: Closed
Project: Core Server
Component/s: Logging, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.4

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Security 2020-08-10
Participants:
Linked BF Score: 14

 Description   

auth_pass_prompt.js attempts to log in to a server, using a manually spawned shell process, and then asserts that relevant messages appear in the server logs. It appears to be possible for the assertions to race with the log messages being emitted. We should endevor to close this race.



 Comments   
Comment by Githook User [ 11/Jan/21 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-49495 Alleviate race in auth_pass_prompt.js

(cherry picked from commit b2c8bcd33f08e2d540a1d43b61628f82980b66b6)
Branch: v4.4
https://github.com/mongodb/mongo/commit/e02ce7d7fad15b9d40dd79d6002ddb53fbbe74d3

Comment by Githook User [ 07/Aug/20 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-49495 Alleviate race in auth_pass_prompt.js
Branch: master
https://github.com/mongodb/mongo/commit/b2c8bcd33f08e2d540a1d43b61628f82980b66b6

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