[SERVER-20264] jstests/core/hostinfo.js fails on s390x Created: 02/Sep/15 Updated: 08/Jan/24 Resolved: 08/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Portability |
| Affects Version/s: | 3.1.7 |
| Fix Version/s: | 3.3.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Bryan Chan | Assignee: | Waley Chen |
| Resolution: | Done | Votes: | 0 |
| Labels: | z | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 10 (02/19/16) |
| Participants: |
| Description |
|
src/mongo/util/processinfo_linux.cpp counts the number of cores on a system by looking at /proc/cpuinfo, the format of which is architecture-dependent. On s390x, it looks like this:
Currently the code cannot parse this, and the number of cores remain zero, causing jstests/core/hostinfo.js to fail. |
| Comments |
| Comment by Githook User [ 16/Feb/16 ] |
|
Author: {u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}Message: |
| Comment by Githook User [ 08/Feb/16 ] |
|
Author: {u'username': u'WaleyChen', u'name': u'Waley', u'email': u'waley.chen@10gen.com'}Message: |
| Comment by Waley Chen [ 08/Feb/16 ] |
|
master@21d4e1be28ac08bb4c8bea1b6f5cd733e0b27a17 |
| Comment by Waley Chen [ 25/Jan/16 ] |
|
mira.carey@mongodb.com |