qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	QEMU Developers <qemu-devel@nongnu.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Stefan Hajnoczi" <stefanha@redhat.com>,
	"Daniel Henrique Barboza" <danielhb413@gmail.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>
Subject: Re: Getting rid of the last bits of QEMU's 'ad-hoc CI' for merges
Date: Mon, 16 May 2022 16:30:31 +0200	[thread overview]
Message-ID: <5132a3d1-de12-a306-c64e-56cfd2c40a42@redhat.com> (raw)
In-Reply-To: <CAFEAcA_SSJ9BBryV0iuXi1G30e6HoMeuNbSpKDh4_+y2oxTLJw@mail.gmail.com>

On 16/05/2022 14.43, Peter Maydell wrote:
> We've made pretty good progress on transitioning our pre-merge CI
> from running ad-hoc on machines the person doing the merge has access to
> to all CI being driven by the Gitlab CI infrastructure. For this (7.1) release
> cycle I think ideally we should try to get rid of the last few bits
> of ad-hoc CI so that for 7.2 we are using only the gitlab CI. (This
> will help in handing over merge request management to Stefan for 7.2.)
> 
> I think the last setups I have been using ad-hoc scripting for are:
> 
> (1) PPC64 big-endian Linux
> (2) NetBSD (x86)
> (3) OpenBSD (x86)
> 
> I think we can get away with just dropping ppc64be -- we have
> coverage for it as a cross-compile setup, and hopefully the
> s390x CI runner will catch the various "fails tests on big-endian host"
> issues. (Alternatively if anybody has a ppc64be machine they'd like
> to let us run a gitlab CI runner on, we could do that :-))

Ack, that should cover most scenarios already. (tcg backend is the only one 
that would not get any coverage anymore)

> For the BSDs, the ad-hoc CI is just running the tests/vm
> "make vm-build-netbsd" etc. Is there some way we can get
> coverage of this into the gitlab CI setup? (I think we
> have FreeBSD via Cirrus CI, so I have not listed that one.)

A simple setup is already there, running NetBSD and OpenBSD via KVM on the 
Cirrus-CI, see e.g.:

  https://gitlab.com/thuth/qemu/-/jobs/2411943817#L1973

Caveats:
- The jobs are currently marked as "manual only" since the double
   indirect setup (via cirrus-run and KVM) is not that reliable.
   Also we can not run that many cirrus-ci jobs in parallel, so
   we likely don't want to enable these by default.
- Compilation is not very fast, the jobs often run longer than
   1h, though the --target-list is very short already.

Anyway, this should show that running NetBSD and OpenBSD is very well 
possible in our CI - we just need a more powerful x86 host with KVM enabled 
for this.

  Thomas



  parent reply	other threads:[~2022-05-16 15:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-16 12:43 Getting rid of the last bits of QEMU's 'ad-hoc CI' for merges Peter Maydell
2022-05-16 13:51 ` Cédric Le Goater
2022-05-16 13:55   ` Peter Maydell
2022-05-16 14:50     ` Cédric Le Goater
2022-05-16 15:58       ` Daniel P. Berrangé
2022-05-16 14:26 ` Paolo Bonzini
2022-05-16 14:30 ` Thomas Huth [this message]
2022-05-16 14:35   ` Peter Maydell
2022-05-16 15:25     ` Stefan Hajnoczi

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=5132a3d1-de12-a306-c64e-56cfd2c40a42@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=bleal@redhat.com \
    --cc=danielhb413@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=stefanha@redhat.com \
    --cc=wainersm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).