[SERVER-37599] Log exit code of shell-spawned processes Created: 12/Oct/18  Updated: 29/Oct/23  Resolved: 19/Oct/18

Status: Closed
Project: Core Server
Component/s: Shell, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.9, 4.0.4, 4.1.5

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: tig-mongorunner, tig-qwin-eligible
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-37614 Improve exit code logging in servers.js Closed
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: STM 2018-10-22, STM 2018-11-05
Participants:
Linked BF Score: 48
Story Points: 1

 Description   

We should print res.exitCode here when the shell fails to spawn a process to assist with debugging.



 Comments   
Comment by Githook User [ 22/Oct/18 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyaskalyan@gmail.com', 'username': 'shreyaskal'}

Message: SERVER-37599 Log exit code of shell-spawned processes

(cherry picked from commit 10934947f4a0e9fd83c256ed297f3a0a73c4d971)
Branch: v3.6
https://github.com/mongodb/mongo/commit/fc3a452a6ecb35914b9df98b19309b03de644fd6

Comment by Githook User [ 19/Oct/18 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyaskalyan@gmail.com', 'username': 'shreyaskal'}

Message: SERVER-37599 Log exit code of shell-spawned processes

(cherry picked from commit a69fb88ed0d81352202f4d4673b410106405ff99)
(cherry picked from commit 10934947f4a0e9fd83c256ed297f3a0a73c4d971)
Branch: v4.0
https://github.com/mongodb/mongo/commit/bd9435c853dfc090db7f312baabe09b311dadaa5

Comment by Githook User [ 19/Oct/18 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyaskalyan@gmail.com', 'username': 'shreyaskal'}

Message: SERVER-37599 Log exit code of shell-spawned processes

(cherry picked from commit a69fb88ed0d81352202f4d4673b410106405ff99)
Branch: master
https://github.com/mongodb/mongo/commit/10934947f4a0e9fd83c256ed297f3a0a73c4d971

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