Bug 699973

Summary: Doesn't work with 1000Hz sample rate
Product: [Fedora] Fedora Reporter: Elad Alfassa <elad>
Component: bootchartAssignee: Harald Hoyer <harald>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: harald
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 16:17:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Elad Alfassa 2011-04-27 06:56:45 UTC
Change the sample rate to 1000Hz, reboot, run bootchart:

No path given, trying /var/log/bootchart.tgz
parsing '/var/log/bootchart.tgz'
parsing 'header'
parsing 'cmdline2.log'
parsing 'paternity.log'
parsing 'proc_cpuinfo.log'
parsing 'proc_diskstats.log'
Traceback (most recent call last):
  File "/usr/bin/bootchart", line 23, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/pybootchartgui/main.py", line 120, in main
    res = parsing.Trace(writer, args, options)
  File "/usr/lib/python2.7/site-packages/pybootchartgui/parsing.py", line 46, in __init__
    parse_paths (writer, self, paths)
  File "/usr/lib/python2.7/site-packages/pybootchartgui/parsing.py", line 670, in parse_paths
    state = _do_parse(writer, state, name, tf.extractfile(name))
  File "/usr/lib/python2.7/site-packages/pybootchartgui/parsing.py", line 619, in _do_parse
    state.disk_stats = _parse_proc_disk_stat_log(file, get_num_cpus(state.headers))
  File "/usr/lib/python2.7/site-packages/pybootchartgui/parsing.py", line 433, in _parse_proc_disk_stat_log
    readTput = sums[0] / 2.0 * 100.0 / interval
ZeroDivisionError: float division by zero

Comment 1 Elad Alfassa 2011-04-27 07:01:48 UTC
Same for 900Hz and 500Hz

Comment 2 Fedora End Of Life 2012-08-07 16:17:10 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping