Bug 16338

Summary: AB-INT: summarize_top_output: IndexError: list index out of range
Product: [Infrastructure] AutoBuilder Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: autobuilderAssignee: Yoann Congal <yoann.congal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: infras.ab.watcher, Infras.watcher, paul, richard.purdie, tim.orling, yoann.congal
Version: unspecified   
Target Milestone: 6.1   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2026-06-30 08:59:15 UTC
We got this failure on the autobuilder:

Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/meta-intel/yocto-autobuilder-helper/scripts/summarize_top_output.py", line 181, in <module>
    main()
    ~~~~^^
  File "/srv/pokybuild/yocto-worker/meta-intel/yocto-autobuilder-helper/scripts/summarize_top_output.py", line 178, in main
    short_summary, summary, kernel_summary, zombie_summary, other_build = summarize_top(outputs, target)
                                                                          ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/srv/pokybuild/yocto-worker/meta-intel/yocto-autobuilder-helper/scripts/summarize_top_output.py", line 66, in summarize_top
    cmd = line.split(maxsplit=max_cols)[-1]
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
IndexError: list index out of range

We might want to add some exception catching / traces if it does reproduce. But this file hasn't really changed since it was introduced in 2021.

https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/summarize_top_output.py#n66
Comment 1 Mathieu Dubois-Briand 2026-06-30 09:00:14 UTC
meta-intel fedora43-vk-1 mathieu/master-next completed at 2026-06-28 11:53:27+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/41/builds/3850/steps/17/logs/stdio
Comment 2 Tim Orling 2026-07-02 14:46:59 UTC
It might be time to remove some of the autobuilder intermittent analysis code.
Comment 3 Yoann Congal 2026-07-18 06:53:48 UTC
qemux86-64-ptest fedora44-vk-1 wrynose completed at 2026-07-18 02:54:35+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/73/builds/4055
qemux86-64-ptest rocky8-vk-1 wrynose completed at 2026-07-18 06:49:07+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4059
Comment 4 Yoann Congal 2026-07-18 07:59:00 UTC
qemux86-64-ptest ubuntu2604-vk-2 wrynose completed at 2026-07-18 07:29:59+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4061
Comment 5 Yoann Congal 2026-07-18 09:03:31 UTC
Patch sent:
[yocto-autobuilder-helper][PATCH] summarize_top_output: skip blank lines in top output - Yoann Congal
https://lore.kernel.org/all/20260718090159.3460055-2-yoann.congal@smile.fr/