[SERVER-21875] AttributeError in hang_analyzer.py when sending SIGKILL on Windows Created: 11/Dec/15  Updated: 21/Nov/16  Resolved: 28/Dec/15

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

Type: Bug Priority: Major - P3
Reporter: Kamran K. Assignee: Max Hirschhorn
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: Windows
Backport Completed:
Sprint: QuInt E (01/11/16)
Participants:

 Description   

Task

 [2015/12/11 11:47:08.011] Bad exit code -2147024809
 [2015/12/11 11:47:08.011] Traceback (most recent call last):
 [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 425, in <module>
 [2015/12/11 11:47:08.011]     main()
 [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 412, in main
 [2015/12/11 11:47:08.011]     dbg.dump_info(process[0], sys.stdout)
 [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 130, in dump_info
 [2015/12/11 11:47:08.011]     call([dbg, '-c', ";".join(cmds), '-p', str(pid)])
 [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 34, in call
 [2015/12/11 11:47:08.011]     raise Exception()
 [2015/12/11 11:47:08.011] Exception
 [2015/12/11 11:47:08.011] Exception in thread Thread-1:
 [2015/12/11 11:47:08.011] Traceback (most recent call last):
 [2015/12/11 11:47:08.011]   File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner
 [2015/12/11 11:47:08.011]     self.run()
 [2015/12/11 11:47:08.011]   File "C:\Python27\lib\threading.py", line 755, in run
 [2015/12/11 11:47:08.011]     self.function(*self.args, **self.kwargs)
 [2015/12/11 11:47:08.011]   File "buildscripts/hang_analyzer.py", line 357, in timeout_protector
 [2015/12/11 11:47:08.011]     os.kill(os.getpid(), signal.SIGKILL)
 [2015/12/11 11:47:08.011] AttributeError: 'module' object has no attribute 'SIGKILL'



 Comments   
Comment by Githook User [ 27/Jan/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-21875 Support self-termination of hang analyzer on Windows.

(cherry picked from commit d5510db2d57fea4263a8ca7a8bc3dcff88df310a)
Branch: v3.2
https://github.com/mongodb/mongo/commit/97c4028c0f42729594dee8a6420ee8153928f0fd

Comment by Githook User [ 28/Dec/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-21875 Support self-termination of hang analyzer on Windows.
Branch: master
https://github.com/mongodb/mongo/commit/d5510db2d57fea4263a8ca7a8bc3dcff88df310a

Generated at Thu Feb 08 03:58:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.