Provide a way to disable updating results.cache

Bug #1537868 reported by Robert Bruce Park
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bileto
Fix Released
Undecided
Robert Bruce Park
britney
Fix Released
Undecided
Martin Pitt

Bug Description

Many packages have autopkgtests that fail for various reasons, and one thing that can sometimes happen is during development, the code can change in a way that results in a false positive pass, eg, autopkgtest reports a success incorrectly. When the incorrect success is then corrected back to the expected failure, the silo build treats this as a regression, even though the autopkgtests never succeeded in distro.

This is incorrect behavior, "regression" should only be reported for tests that regress against distro, not for tests that regress within a silo.

Please tweak results.cache so that it never contains silo results, only distro results.

Changed in britney:
assignee: nobody → Martin Pitt (pitti)
Changed in bileto:
assignee: nobody → Robert Bruce Park (robru)
Revision history for this message
Martin Pitt (pitti) wrote :

So I think what you want (and we talked about that on IRC) is some way to disable updating results.cache. Then every run will re-download the latest result from the PPA and compare it to the status quo in Ubuntu. Then you could also share results.cache between all silo instances.

We could make this implicit by not failing if results.cache is not writable (it might be a symlink to a read-only file, or a file owned by a different user), or explicit with a new ADT_RESULTS_UPDATE=no option. Do you have any preference?

Changed in britney:
status: New → Incomplete
summary: - Silos should not store any autopkgtest history.
+ Provide a way to diable updating results.cache
summary: - Provide a way to diable updating results.cache
+ Provide a way to disable updating results.cache
Revision history for this message
Robert Bruce Park (robru) wrote : Re: [Bug 1537868] Re: Silos should not store any autopkgtest history.

I think explicit would be better, but what do you think of having a key
like SHARED_RESULTS_CACHE_PATH that provides a path to the shared cache
file? If blank use the current behavior, if set, switch to non-updating
mode.

This would be consistent with all the other path-specifying options and
would save me having to do symlink trickery.

Thanks.
On Jan 26, 2016 5:45 AM, "Martin Pitt" <email address hidden> wrote:

> So I think what you want (and we talked about that on IRC) is some way
> to disable updating results.cache. Then every run will re-download the
> latest result from the PPA and compare it to the status quo in Ubuntu.
> Then you could also share results.cache between all silo instances.
>
> We could make this implicit by not failing if results.cache is not
> writable (it might be a symlink to a read-only file, or a file owned by
> a different user), or explicit with a new ADT_RESULTS_UPDATE=no option.
> Do you have any preference?
>
> ** Changed in: britney
> Status: New => Incomplete
>
> ** Summary changed:
>
> - Silos should not store any autopkgtest history.
> + Provide a way to diable updating results.cache
>
> ** Summary changed:
>
> - Provide a way to diable updating results.cache
> + Provide a way to disable updating results.cache
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1537868
>
> Title:
> Provide a way to disable updating results.cache
>
> Status in Bileto:
> New
> Status in britney:
> Incomplete
>
> Bug description:
> Many packages have autopkgtests that fail for various reasons, and one
> thing that can sometimes happen is during development, the code can
> change in a way that results in a false positive pass, eg, autopkgtest
> reports a success incorrectly. When the incorrect success is then
> corrected back to the expected failure, the silo build treats this as
> a regression, even though the autopkgtests never succeeded in distro.
>
> This is incorrect behavior, "regression" should only be reported for
> tests that regress against distro, not for tests that regress within a
> silo.
>
> Please tweak results.cache so that it never contains silo results,
> only distro results.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/bileto/+bug/1537868/+subscriptions
>

Revision history for this message
Martin Pitt (pitti) wrote :

Roger, let's do that then.

Changed in britney:
status: Incomplete → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Committed in http://bazaar.launchpad.net/~ubuntu-release/britney/britney2-ubuntu/revision/567 .

The new option is ADT_SHARED_RESULTS_CACHE, added to britney.conf with a comment. Point that to the downloaded results.cache and it won't be touched.

Changed in britney:
status: In Progress → Fix Released
Changed in bileto:
status: New → 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.