logs-viewer.user.js userscript gets confused by autopkgtest autopkgtests
Bug #2071320 reported by
Paride Legovini
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.*: @@@@@@@
into (untested!):
case /^[0-9]+s autopkgtest.*: @@@@@@@
Related branches
~paride/autopkgtest-cloud:logs-viewer-support-nested
- Tim Andersson: Approve
-
Diff: 36 lines (+5/-5)1 file modifiedcharms/focal/autopkgtest-web/webcontrol/static/logs-viewer.user.js (+5/-5)
Changed in auto-package-testing: | |
importance: | Undecided → Low |
Changed in auto-package-testing: | |
assignee: | nobody → Paride Legovini (paride) |
To post a comment you must log in.