Public bug reported:

The automated bootspeed testing runs a command like this:
bootchart --quiet --format=png 
--crop-after=gnome-panel,mutter,unity-panel-service 
--annotate=ureadahead,mountall,hostname,hwclock --annotate=Xorg  
--annotate=gnome-session  --annotate-file=/var/lib/bootspeed-results/times 
--output=/var/lib/bootspeed-results/bootchart.png 
/var/lib/bootspeed-results/bootchart.tgz

It fails with this stderr:
    /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: 
could not open display
      warnings.warn(str(e), _gtk.Warning)
    Traceback (most recent call last):
      File "/usr/bin/bootchart", line 23, in <module>
        sys.exit(main())
      File "/usr/lib/pymodules/python2.7/pybootchartgui/main.py", line 111, in 
main
        options.crop_after, options.annotate)
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 248, 
in parse
        state = parse_paths(writer, ParserState(), paths)
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 237, 
in parse_paths
        state = _do_parse(writer, state, name, tf.extractfile(name))
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 201, 
in _do_parse
        state.ps_stats = _parse_proc_ps_log(writer, file)
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 78, 
in _parse_proc_ps_log
        userCpu, sysCpu, stime= int(tokens[13+offset]), int(tokens[14+offset]), 
int(tokens[21+offset])
    IndexError: list index out of range
    /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: 
could not open display
      warnings.warn(str(e), _gtk.Warning)
    Traceback (most recent call last):
      File "/usr/bin/bootchart", line 23, in <module>
        sys.exit(main())
      File "/usr/lib/pymodules/python2.7/pybootchartgui/main.py", line 111, in 
main
        options.crop_after, options.annotate)
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 248, 
in parse
        state = parse_paths(writer, ParserState(), paths)
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 237, 
in parse_paths
        state = _do_parse(writer, state, name, tf.extractfile(name))
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 201, 
in _do_parse
        state.ps_stats = _parse_proc_ps_log(writer, file)
      File "/usr/lib/pymodules/python2.7/pybootchartgui/parsing.py", line 78, 
in _parse_proc_ps_log
        userCpu, sysCpu, stime= int(tokens[13+offset]), int(tokens[14+offset]), 
int(tokens[21+offset])
    IndexError: list index out of range

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: bootchart 0.90.2-8ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
Uname: Linux 3.16.0-22-generic i686
ApportVersion: 2.14.7-0ubuntu6
Architecture: i386
Date: Tue Oct 14 18:34:38 2014
SourcePackage: bootchart
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: bootchart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 utopic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381177

Title:
  bootchart raises IndexError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bootchart/+bug/1381177/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to