cpuinfo parser returns incorrect cpu count on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Support Library |
Fix Released
|
High
|
Jeff Lane |
Bug Description
the cpuinfo resource runs on s390x and returns incorrect processor counts.
z13:
ubuntu@hwe0008:~$ cat /proc/cpuinfo
vendor_id : IBM/S390
# processors : 4
bogomips per cpu: 3033.00
max thread id : 0
features : esan3 zarch stfle msa ldisp eimm dfp etf3eh highgprs sie
cache0 : level=1 type=Data scope=Private size=128K line_size=256 associativity=8
cache1 : level=1 type=Instruction scope=Private size=96K line_size=256 associativity=6
cache2 : level=2 type=Data scope=Private size=2048K line_size=256 associativity=8
cache3 : level=2 type=Instruction scope=Private size=2048K line_size=256 associativity=8
cache4 : level=3 type=Unified scope=Shared size=65536K line_size=256 associativity=16
cache5 : level=4 type=Unified scope=Shared size=491520K line_size=256 associativity=30
processor 0: version = FF, identification = 128F67, machine = 2964
processor 1: version = FF, identification = 128F67, machine = 2964
processor 2: version = FF, identification = 128F67, machine = 2964
processor 3: version = FF, identification = 128F67, machine = 2964
cpu number : 0
cpu MHz dynamic : 5000
cpu MHz static : 5000
cpu number : 1
cpu MHz dynamic : 5000
cpu MHz static : 5000
cpu number : 2
cpu MHz dynamic : 5000
cpu MHz static : 5000
cpu number : 3
cpu MHz dynamic : 5000
cpu MHz static : 5000
ubuntu@hwe0008:~$ /usr/lib/
bogomips: -1
cache: -1
count: 1
model: s390x
platform: s390x
speed: -2
type: s390x
Related branches
- Maciej Kisielewski: Approve
-
Diff: 13 lines (+1/-1)1 file modifiedcheckbox_support/parsers/cpuinfo.py (+1/-1)
Changed in checkbox-support: | |
status: | In Progress → Fix Committed |
Changed in checkbox-support: | |
milestone: | future → 0.36.0 |
Changed in checkbox-support: | |
status: | Fix Committed → Fix Released |
looks to be a very short/simple fix. the key is incorrect in the parser.