--show-urls does not present urls for result logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ppa-dev-tools |
Fix Released
|
Medium
|
Bryce Harrington |
Bug Description
[ 2:39PM 10113 ] [ bdmurray@
$ scripts/ppa tests --show-urls -a armhf -r kinetic ppa:brian-
* Triggers:
- Source autopkgtest/
+ armhf: https:/
+ armhf: https:/
* Results:
- autopkgtest/
+ ✅ 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@
$ git rev-parse HEAD
321446afc19cda9
The urls are not presented regardless of whether or not I'm using screen.
Related branches
- Christian Ehrhardt (community): Approve
- Canonical Server MOTU reviewers: Pending requested
- Canonical Server packageset reviewers: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 101 lines (+14/-11)1 file modifiedscripts/ppa (+14/-11)
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 5.25ubuntu1. 1: Published /autopkgtest. ubuntu. com/request. cgi?release= kinetic& package= autopkgtest& arch=armhf& trigger= autopkgtest% 2F5.25ubuntu1. 1&ppa=brian- murray% 2Fautopkgtest♻️ /autopkgtest. ubuntu. com/request. cgi?release= kinetic& package= autopkgtest& arch=armhf& trigger= autopkgtest% 2F5.25ubuntu1. 1&ppa=brian- murray% 2Fautopkgtest💍
* Triggers:
- Source autopkgtest/
+ armhf: https:/
+ armhf: https:/
* Results: 5.25ubuntu1. 1 /autopkgtest. ubuntu. com/results/ autopkgtest- kinetic- brian-murray- autopkgtest/ kinetic/ armhf/a/ autopkgtest/ 20230125_ 162920_ 177cc@/ log.gz /autopkgtest. ubuntu. com/results/ autopkgtest- kinetic- brian-murray- autopkgtest/ kinetic/ armhf/a/ autopkgtest/ 20230125_ 163451_ 9a05a@/ log.gz
- autopkgtest/
+ ✅ autopkgtest on kinetic for armhf @ 25.01.23 16:29:20
• Log: https:/
+ ✅ autopkgtest on kinetic for armhf @ 25.01.23 16:34:51
• Log: https:/
* Running: (none)
* Waiting: (none)
MP will be up with this fix shortly.