logs-viewer.user.js userscript gets confused by autopkgtest autopkgtests

Bug #2071320 reported by Paride Legovini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Auto Package Testing
New
Low
Paride Legovini

Bug Description

When running autopkgtest autopgktests, we have nested autopkgtest output. This confuses the userscript, as it breaks the log into sections doing substring matching, and it is not able to tell some of the output is actually part of the test output.

This could probably by fixed by anchoring the substrings to beginning of lines. Something like turning:

case /autopkgtest.*: @@@@@@@@@@@@@@@@@@@@ test bed setup/.test(linedLog[line]):

into (untested!):

case /^[0-9]+s autopkgtest.*: @@@@@@@@@@@@@@@@@@@@ test bed setup/.test(linedLog[line]):

Related branches

Paride Legovini (paride)
Changed in auto-package-testing:
importance: Undecided → Low
Paride Legovini (paride)
Changed in auto-package-testing:
assignee: nobody → Paride Legovini (paride)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.