mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-17 22:21:17 +00:00
When downloading results, check the ADT_TEST_TRIGGERS var in testinfo.json to get back the original trigger that previous britney runs requested the test run for. This allows us to much more precisely map a test result to an original test request. In order to tell apart test results which pass/fail depending on the package which triggers them (in particular, if that is a kernel), we must keep track of pass/fail results on a per-trigger granularity. Rearrange the results map accordingly. Keep the old "latest test result applies to all triggers of this pkg/version" logic around as long as we still have existing test results without testinfo.json. ATTENTION: This breaks the format of results.cache, so this needs to be removed when rolling this out.