Bug#974344: don't display "Debci reports failed tests" for outdated package versions

2020-11-12 Thread Raphael Hertzog
Hi,

On Wed, 11 Nov 2020, Matthias Klose wrote:
> https://tracker.debian.org/pkg/bambam shows failed tests, and following the 
> link
> shows:
>unstable   testingstable
> amd64  1.0.1+dfsg-1 fail  1.0.2+dfsg-2 pass  No test data
> 
> The test result for the unstable test is out-of-date. Accoding to #debci, the
> reason for the outdated test is:
> 
>  doko: because that's the latest test result available; if britney
> didn't schedule a "pure unstable" test, then you don't get one. due to 
> capacity
> limitations we stopped scheduling pure unstable tests automatically
> 
> In this case, the tracker should not display the link to the failed tests.

Right we should filter out results that do not apply to the latest version
in each suite.

If anyone wants to have a look, it's in
distro_tracker/debci_status/tracker_tasks.py (in
UpdateDebciStatusTask.update_action_item and/or execute_main).

Cheers,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog 
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS



Bug#974344: don't display "Debci reports failed tests" for outdated package versions

2020-11-11 Thread gregor herrmann
On Wed, 11 Nov 2020 15:08:47 +0100, Matthias Klose wrote:

>  doko: because that's the latest test result available; if britney
> didn't schedule a "pure unstable" test, then you don't get one. due to 
> capacity
> limitations we stopped scheduling pure unstable tests automatically

As an unsolicited side note, I found the quick "pure unstable" tests
extremely helpful for catching regressions in reverse dependencies
early, and I hope the resource issues can be fixed in order to
re-enable them at some point.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: St Louis Jimmy Oden: Florida hurricane


signature.asc
Description: Digital Signature


Bug#974344: don't display "Debci reports failed tests" for outdated package versions

2020-11-11 Thread Matthias Klose
Package: tracker.debian.org

https://tracker.debian.org/pkg/bambam shows failed tests, and following the link
shows:
   unstable   testingstable
amd64  1.0.1+dfsg-1 fail  1.0.2+dfsg-2 pass  No test data

The test result for the unstable test is out-of-date. Accoding to #debci, the
reason for the outdated test is:

 doko: because that's the latest test result available; if britney
didn't schedule a "pure unstable" test, then you don't get one. due to capacity
limitations we stopped scheduling pure unstable tests automatically

In this case, the tracker should not display the link to the failed tests.