Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1960348

Summary: on s390x cpu reporting is broken
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dgilmore>
Component: cockpitAssignee: Martin Pitt <mpitt>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: dan, dperpeet, mmarusak, mpitt, patrick, pvolpe, stefw
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    
Attachments:
Description Flags
screenshot of cockpit none

Description Dennis Gilmore 2021-05-13 17:16:18 UTC
Created attachment 1782828 [details]
screenshot of cockpit

Description of problem:
on an s390x machine the cpu reports infinity of 0 with a red line.

Version-Release number of selected component (if applicable):
cockpit-243-2.fc34.s390x

How reproducible:
always 

Steps to Reproduce:
1.log into cockpit
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Dan Horák 2021-05-13 17:29:02 UTC
reproduced also with cockpit-244-1.fc34.s390x

Comment 2 Matej Marušák 2021-05-14 06:32:55 UTC
Can you please provide output of `cat /proc/stat | grep cpu`?

Comment 3 Dan Horák 2021-05-14 06:44:35 UTC
[sharkcz@rock-kvmlp-fedora ~]$ cat /proc/stat | grep cpu
cpu  5431 819 11557 38329815 3254 2661 3272 671 0 0
cpu0 888 198 2274 4789533 708 511 563 78 0 0
cpu1 527 0 959 4792332 439 190 187 38 0 0
cpu2 851 0 1765 4790906 228 411 405 106 0 0
cpu3 587 0 1053 4792190 294 235 217 96 0 0
cpu4 1058 158 2028 4789962 365 515 507 78 0 0
cpu5 310 59 805 4792788 343 149 180 37 0 0
cpu6 892 179 2026 4789369 355 570 1129 152 0 0
cpu7 314 222 644 4792732 518 76 82 83 0 0