--show-urls does not present urls for result logs

Bug #2006400 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ppa-dev-tools
Fix Released
Medium
Bryce Harrington

Bug Description

[ 2:39PM 10113 ] [ bdmurray@impulse:~/source-trees/ppa-dev-tools(main✗) ]
 $ scripts/ppa tests --show-urls -a armhf -r kinetic ppa:brian-murray/autopkgtest
* Triggers:
  - Source autopkgtest/5.25ubuntu1.1: Published
    + armhf: https://autopkgtest.ubuntu.com/request.cgi?release=kinetic&package=autopkgtest&arch=armhf&trigger=autopkgtest%2F5.25ubuntu1.1&ppa=brian-murray%2Fautopkgtest♻️
    + armhf: https://autopkgtest.ubuntu.com/request.cgi?release=kinetic&package=autopkgtest&arch=armhf&trigger=autopkgtest%2F5.25ubuntu1.1&ppa=brian-murray%2Fautopkgtest💍

* Results:
  - autopkgtest/5.25ubuntu1.1
    + ✅ autopkgtest on kinetic for armhf @ 25.01.23 16:29:20
    + ✅ autopkgtest on kinetic for armhf @ 25.01.23 16:34:51

* Running: (none)
* Waiting: (none)

[ 2:39PM 10118 ] [ bdmurray@impulse:~/source-trees/ppa-dev-tools(main✗) ]
 $ git rev-parse HEAD
321446afc19cda9b835c1e2514605a97eb42e6f2

The urls are not presented regardless of whether or not I'm using screen.

Related branches

Revision history for this message
Bryce Harrington (bryce) wrote (last edit ):

Confirmed reproducing this.

This is interesting in that I assumed people wouldn't be as interested in looking at passing tests, so I explicitly omitted the log urls to avoid clutter. However, --show-urls is a pretty good sign that the user does indeed want urls shown... can't argue that point!

Furthermore, when not using --show-urls, the clickable ansi hyperlink is constructed for the line, so the user does have access to the log that way even if the url is not explicitly shown. Since there wasn't access with --show-urls, that's rather inconsistent.

Anyway, with the fix the output looks like:

$ ./scripts/ppa tests --show-urls -a armhf -r kinetic ppa:brian-murray/autopkgtest
* Triggers:
  - Source autopkgtest/5.25ubuntu1.1: Published
    + armhf: https://autopkgtest.ubuntu.com/request.cgi?release=kinetic&package=autopkgtest&arch=armhf&trigger=autopkgtest%2F5.25ubuntu1.1&ppa=brian-murray%2Fautopkgtest♻️
    + armhf: https://autopkgtest.ubuntu.com/request.cgi?release=kinetic&package=autopkgtest&arch=armhf&trigger=autopkgtest%2F5.25ubuntu1.1&ppa=brian-murray%2Fautopkgtest💍

* Results:
  - autopkgtest/5.25ubuntu1.1
    + ✅ autopkgtest on kinetic for armhf @ 25.01.23 16:29:20
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic-brian-murray-autopkgtest/kinetic/armhf/a/autopkgtest/20230125_162920_177cc@/log.gz
    + ✅ autopkgtest on kinetic for armhf @ 25.01.23 16:34:51
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic-brian-murray-autopkgtest/kinetic/armhf/a/autopkgtest/20230125_163451_9a05a@/log.gz

* Running: (none)
* Waiting: (none)

MP will be up with this fix shortly.

Changed in ppa-dev-tools:
status: New → In Progress
assignee: nobody → Bryce Harrington (bryce)
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

This fix is included in the 0.4.0 release.

Changed in ppa-dev-tools:
status: In Progress → Fix Released
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.