[SERVER-22314] Fix the detection of Python processes in the hang analyzer script Created: 26/Jan/16  Updated: 21/Nov/16  Resolved: 29/Jan/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.2.0
Fix Version/s: 3.2.4, 3.3.2

Type: Bug Priority: Minor - P4
Reporter: Kamran K. Assignee: Michael Grundy
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: TIG F (01/29/16), TIG 10 (02/19/16)
Participants:

 Description   

The hang analyzer script attempts to attach to Python processes last to avoid interrupting the processes.

As max.hirschhorn noticed, the code for doing this assumes that the process name == "python", but it could just as easily be "python.exe", "python2.7", etc.

The code should be updated to instead check that the process name starts with "python".



 Comments   
Comment by Githook User [ 18/Feb/16 ]

Author:

{u'username': u'mgrundy', u'name': u'Mike Grundy', u'email': u'michael.grundy@10gen.com'}

Message: SERVER-22314 Fix the detection of Python processes in the hang analyzer script

(cherry picked from commit df9b5b55f27fd377c25ea52886867ca454c7ff09)
Branch: v3.2
https://github.com/mongodb/mongo/commit/aaf079fa2d790011ee58f629c4d6a683573a8604

Comment by Githook User [ 29/Jan/16 ]

Author:

{u'username': u'mgrundy', u'name': u'Mike Grundy', u'email': u'michael.grundy@10gen.com'}

Message: SERVER-22314 Fix the detection of Python processes in the hang analyzer script
Branch: master
https://github.com/mongodb/mongo/commit/df9b5b55f27fd377c25ea52886867ca454c7ff09

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