[SERVER-28995] Format string in JstackDumper class of hang_analyzer.py has too few placeholders Created: 27/Apr/17  Updated: 30/Oct/23  Resolved: 27/Apr/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.5.4
Fix Version/s: 3.4.5, 3.5.7

Type: Bug Priority: Minor - P4
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-27871 Add hang_analyzer.py option to produc... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Steps To Reproduce:

Have a java process running for the hang_analyzer.py script to try and attach a debugger to.

Sprint: TIG 2017-05-08
Participants:
Linked BF Score: 0

 Description   

[2017/04/22 18:32:35.152] Traceback (most recent call last):
[2017/04/22 18:32:35.152]   File "buildscripts/hang_analyzer.py", line 732, in <module>
[2017/04/22 18:32:35.152]     main()
[2017/04/22 18:32:35.152]   File "buildscripts/hang_analyzer.py", line 705, in main
[2017/04/22 18:32:35.152]     jstack.dump_info(root_logger, process_logger, pid, process_name)
[2017/04/22 18:32:35.152]   File "buildscripts/hang_analyzer.py", line 459, in dump_info
[2017/04/22 18:32:35.152]     root_logger.info("Debugger %s, analyzing" % (jstack, process_name, pid))
[2017/04/22 18:32:35.152] TypeError: not all arguments converted during string formatting
[2017/04/22 18:32:35.167] Command failed: exit status 1



 Comments   
Comment by Githook User [ 28/Apr/17 ]

Author:

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

Message: SERVER-28995 Fix format string in JstackDumper.

(cherry picked from commit ee0020c9b3ee264a7cda5974600f2e8a79bc1691)
Branch: v3.4
https://github.com/mongodb/mongo/commit/6487020c8c781ce2e536dc61adf7cd65dc9eb361

Comment by Githook User [ 27/Apr/17 ]

Author:

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

Message: SERVER-28995 Fix format string in JstackDumper.
Branch: master
https://github.com/mongodb/mongo/commit/ee0020c9b3ee264a7cda5974600f2e8a79bc1691

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