Operational Defect Database

BugZero found this defect 2530 days ago.

MongoDB | 367536

[SERVER-28479] hang_analyzer.py on OS X fails to find Python processes

Last update date:

9/7/2017

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.4.5

3.5.5

Description:

Info

The mongodb-mongo-master Evergreen project configuration invokes the hang_analyzer.py script with -p python. This fails to find Python processes running on the system because they appear as /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python in the ps output. [2017/03/23 15:50:41.028] Calling the hang analyzer: PATH="/opt/mongodbtoolchain/gdb/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/bin" python2.7 buildscripts/hang_analyzer.py -c -o file -o stdout -p dbtest,java,mongo,mongod,mongos,python,_test -g bsondump,mongodump,mongoexport,mongofiles,mongoimport,mongooplog,mongoreplay,mongorestore,mongostat,mongotop [2017/03/23 15:50:41.028] PATH="/opt/mongodbtoolchain/gdb/bin:$PATH" python2.7 buildscripts/hang_analyzer.py $hang_analyzer_option [2017/03/23 15:50:41.290] Python Version: 2.7.6 (default, Sep 9 2014, 15:04:36) [2017/03/23 15:50:41.290] [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] [2017/03/23 15:50:41.480] OS: Darwin-14.0.0-x86_64-i386-64bit [2017/03/23 15:50:41.481] Linux Distribution: ('', '', '') [2017/03/23 15:50:41.481] Current User: 500 [2017/03/23 15:50:41.481] Current Login: mci [2017/03/23 15:50:41.482] Getting list of processes using /bin/ps [2017/03/23 15:50:41.482] ['/bin/ps', '-axco', 'pid,comm'] [2017/03/23 15:50:41.498] Found 6 interesting processes [(68404, 'mongod'), (68405, 'mongod'), (68406, 'mongod'), (68472, 'mongod'), (68476, 'mongos'), (68624, 'mongo')] System logs [2017/03/23 15:45:40.387] mci 61644 6.9 0.3 2618800 58180 ?? S 1:27PM 3:16.18 /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python buildscripts/resmoke.py --suites=sharded_collections_jscore_passthrough --storageEngine=mmapv1 --jobs=1 --shuffle --continueOnFailure --storageEngineCacheSizeGB=1 --log=buildlogger --reportFile=report.json --taskId=mongodb_mongo_master_osx_107_sharded_collections_jscore_passthrough_d55eaad5cdfcfbe8458658d39f8c57102c3b3504_17_03_22_23_26_27

Top User Comments

xgen-internal-githook commented on Fri, 28 Apr 2017 17:27:17 +0000: Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'} Message: SERVER-28479 Canonicalize process names to lowercase in hang analyzer. (cherry picked from commit 39ebea7cc93e3da45d280d011992e6cdb3417433) Branch: v3.4 https://github.com/mongodb/mongo/commit/4076fd87dcefc47302a40e0e9036d38688ce0d4e xgen-internal-githook commented on Fri, 24 Mar 2017 22:45:46 +0000: Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'} Message: SERVER-28479 Canonicalize process names to lowercase in hang analyzer. Branch: master https://github.com/mongodb/mongo/commit/39ebea7cc93e3da45d280d011992e6cdb3417433

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...