All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: virt-ci-maint-team@redhat.com,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	qemu-devel@nongnu.org,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Willian Rampazzo" <wrampazz@redhat.com>,
	"Cleber Rosa" <crosa@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [RFC PATCH-for-5.2] gitlab-ci: Do not automatically run Avocado integration tests anymore
Date: Mon, 30 Nov 2020 10:25:22 +0000	[thread overview]
Message-ID: <20201130102522.GB2039965@redhat.com> (raw)
In-Reply-To: <5a854d27-ac95-76ff-5014-be80239de796@redhat.com>

On Mon, Nov 30, 2020 at 10:03:35AM +0100, Thomas Huth wrote:
> On 27/11/2020 19.46, Philippe Mathieu-Daudé wrote:
> > On 11/27/20 7:29 PM, Thomas Huth wrote:
> >> On 27/11/2020 18.57, Philippe Mathieu-Daudé wrote:
> >>> On 11/27/20 6:47 PM, Thomas Huth wrote:
> >>>> On 27/11/2020 18.41, Philippe Mathieu-Daudé wrote:
> >>>>> We lately realized that the Avocado framework was not designed
> >>>>> to be regularly run on CI environments. Therefore, as of 5.2
> >>>>> we deprecate the gitlab-ci jobs using Avocado. To not disrupt
> >>>>> current users, it is possible to keep the current behavior by
> >>>>> setting the QEMU_CI_INTEGRATION_JOBS_PRE_5_2_RELEASE variable
> >>>>> (see [*]).
> >>>>> From now on, using these jobs (or adding new tests to them)
> >>>>> is strongly discouraged.
> >>>>>
> >>>>> Tests based on Avocado will be ported to new job schemes during
> >>>>> the next releases, with better documentation and templates.
> >>>>
> >>>> Why should we disable the jobs by default as long as there is no replacement
> >>>> available yet?
> >>>
> >>> Why keep it enabled if it is failing randomly
> >>
> >> We can still disable single jobs if they are not stable, but that's no
> >> reason to disable all of them by default, is it?
> >>
> >>> if images hardcoded
> >>> in tests are being removed from public servers, etc...?
> >>
> >> That's independent from Avocado, you'll always have that problem if you want
> >> to test with external images, unless you mirror them into a repository on
> >> the same server (ie. gitlab), which, however, might not always be possible...
> >>
> >>> They are not disabled, they are still runnable manually or setting
> >>> QEMU_CI_INTEGRATION_JOBS_PRE_5_2_RELEASE...
> >>
> >> And who do you think is going to set that variable? Hardly anybody, I guess.
> > 
> > Does that mean nobody cares about these tests?
> 
> It's like with all the other tests: Most of the people do not really care
> about them (if they are not the author of a test) unless the test fails
> during "make check" / the gating CI of Peter. So IMHO the right way to go is
> to finally get these in the gating CI, otherwise, if you now even disable
> them in the gitlab-CI by default, they will bitrot completely.

That people don't care, and ignore it until Peter hits the failure during
merge is a tragedy of the commons in itself.

I think we need to set expectations that caring about tests is a key part
of every contributor's responsibility, with subsystem maintainers leading
by example:

   https://lists.gnu.org/archive/html/qemu-devel/2020-11/msg04897.html

We do need tests to be reliable though when we're treating them as gating.

Hiding unreliable tests behind an env variable you have to opt-in to
setting is not going to help that. IMHO unreliable tests should be
just disabled entirely. If someone genuinely does care about the test
then they can fix it and re-enable it at the same time. 

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



  parent reply	other threads:[~2020-11-30 10:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-27 17:41 [RFC PATCH-for-5.2] gitlab-ci: Do not automatically run Avocado integration tests anymore Philippe Mathieu-Daudé
2020-11-27 17:47 ` Thomas Huth
2020-11-27 17:57   ` Philippe Mathieu-Daudé
2020-11-27 18:29     ` Thomas Huth
2020-11-27 18:46       ` Philippe Mathieu-Daudé
2020-11-30  8:10         ` Cornelia Huck
2020-11-30  9:36           ` Philippe Mathieu-Daudé
2020-11-30 10:07             ` Cornelia Huck
2020-11-30  9:03         ` Thomas Huth
2020-11-30  9:52           ` Philippe Mathieu-Daudé
2020-11-30 10:25           ` Daniel P. Berrangé [this message]
2020-11-30 10:31       ` Daniel P. Berrangé
2020-11-30 16:45         ` Ademar Reis
2020-12-04 14:42       ` Wainer dos Santos Moschetta
2020-11-27 23:21     ` Niek Linnenbank
2020-11-27 19:36 ` Wainer dos Santos Moschetta
2020-11-30 21:42 ` Willian Rampazzo
2020-12-01  3:48 ` Cleber Rosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201130102522.GB2039965@redhat.com \
    --to=berrange@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=crosa@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=virt-ci-maint-team@redhat.com \
    --cc=wainersm@redhat.com \
    --cc=wrampazz@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.