All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, "Fam Zheng" <fam@euphon.net>,
	qemu-block@nongnu.org, "Eric Blake" <eblake@redhat.com>,
	"Ed Maste" <emaste@freebsd.org>,
	"Christophe Fergeau" <cfergeau@redhat.com>,
	"Kevin Wolf" <kwolf@redhat.com>, "Max Reitz" <mreitz@redhat.com>,
	"Li-Wen Hsu" <lwhsu@freebsd.org>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 7/8] tests/qemu-iotests/group: Re-use the "auto" group for tests that can always run
Date: Wed, 01 May 2019 17:37:02 +0100	[thread overview]
Message-ID: <87sgty5dxt.fsf@zen.linaroharston> (raw)
In-Reply-To: <20190428155451.15653-8-thuth@redhat.com>


Thomas Huth <thuth@redhat.com> writes:

> Currently, all tests are in the "auto" group. This is a little bit pointless.
> OTOH, we need a group for the tests that we can automatically run during
> "make check" each time, too. Tests in this new group are supposed to run
> with every possible QEMU configuration, for example they must run with every
> QEMU binary (also non-x86), without failing when an optional features
> is

I'm curious as to what tests fail on non-x86? I was under the naive
impression that at least for Linux all the file-system relevant bits
where fairly uniformly implemented.

> missing (but reporting "skip" is ok), and be able to run on all kind of host
> filesystems and users (i.e. also as "nobody" or "root").
> So let's use the "auto" group for this class of tests now. The initial
> list has been determined by running the iotests with non-x86 QEMU targets
> and with our CI pipelines on Gitlab, Cirrus-CI and Travis (i.e. including
> macOS and FreeBSD).
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>



> ---
>  tests/qemu-iotests/group | 169 +++++++++++++++++++++------------------
>  1 file changed, 91 insertions(+), 78 deletions(-)
>
> diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
> index bae7718380..4d0b6ae256 100644
> --- a/tests/qemu-iotests/group
> +++ b/tests/qemu-iotests/group
> @@ -1,8 +1,21 @@
>  #
>  # QA groups control file
>  # Defines test groups
> +#
> +# Some notes about the groups:
> +#
>  # - do not start group names with a digit
>  #
> +# - quick : Tests in this group should finish within some few seconds.
> +#
> +# - img : Tests in this group can be used to excercise the qemu-img tool.
> +#
> +# - auto : Tests in this group are used during "make check" and should be
> +#   runnable in any case. That means they should run with every QEMU binary
> +#   (also non-x86), with every QEMU configuration (i.e. must not fail if
> +#   an optional feature is not compiled in - but reporting a "skip" is ok),
> +#   and work all kind of host filesystems and users (e.g. "nobody" or "root").
> +#
>
>  #
>  # test-group association ... one line per test
> @@ -32,11 +45,11 @@
>  023 rw auto
>  024 rw backing auto quick
>  025 rw auto quick
> -026 rw blkdbg auto
> +026 rw blkdbg
>  027 rw auto quick
>  028 rw backing auto quick

028 failed on an armhf host for me.

>  029 rw auto quick
> -030 rw auto backing
> +030 rw backing
<snip>
> +245 rw
> +246 rw quick
>  247 rw auto quick

And 247

> -248 rw auto quick
> +248 rw quick


--
Alex Bennée

WARNING: multiple messages have this Message-ID (diff)
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Thomas Huth <thuth@redhat.com>
Cc: "Fam Zheng" <fam@euphon.net>, "Kevin Wolf" <kwolf@redhat.com>,
	"Ed Maste" <emaste@freebsd.org>,
	qemu-block@nongnu.org,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	qemu-devel@nongnu.org, "Christophe Fergeau" <cfergeau@redhat.com>,
	"Max Reitz" <mreitz@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Li-Wen Hsu" <lwhsu@freebsd.org>,
	"Markus Armbruster" <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 7/8] tests/qemu-iotests/group: Re-use the "auto" group for tests that can always run
Date: Wed, 01 May 2019 17:37:02 +0100	[thread overview]
Message-ID: <87sgty5dxt.fsf@zen.linaroharston> (raw)
Message-ID: <20190501163702.NewiqtPOv4834i_9J4KEbZfyVFZxV22RRa7TY0WDi5g@z> (raw)
In-Reply-To: <20190428155451.15653-8-thuth@redhat.com>


Thomas Huth <thuth@redhat.com> writes:

> Currently, all tests are in the "auto" group. This is a little bit pointless.
> OTOH, we need a group for the tests that we can automatically run during
> "make check" each time, too. Tests in this new group are supposed to run
> with every possible QEMU configuration, for example they must run with every
> QEMU binary (also non-x86), without failing when an optional features
> is

I'm curious as to what tests fail on non-x86? I was under the naive
impression that at least for Linux all the file-system relevant bits
where fairly uniformly implemented.

> missing (but reporting "skip" is ok), and be able to run on all kind of host
> filesystems and users (i.e. also as "nobody" or "root").
> So let's use the "auto" group for this class of tests now. The initial
> list has been determined by running the iotests with non-x86 QEMU targets
> and with our CI pipelines on Gitlab, Cirrus-CI and Travis (i.e. including
> macOS and FreeBSD).
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>



> ---
>  tests/qemu-iotests/group | 169 +++++++++++++++++++++------------------
>  1 file changed, 91 insertions(+), 78 deletions(-)
>
> diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
> index bae7718380..4d0b6ae256 100644
> --- a/tests/qemu-iotests/group
> +++ b/tests/qemu-iotests/group
> @@ -1,8 +1,21 @@
>  #
>  # QA groups control file
>  # Defines test groups
> +#
> +# Some notes about the groups:
> +#
>  # - do not start group names with a digit
>  #
> +# - quick : Tests in this group should finish within some few seconds.
> +#
> +# - img : Tests in this group can be used to excercise the qemu-img tool.
> +#
> +# - auto : Tests in this group are used during "make check" and should be
> +#   runnable in any case. That means they should run with every QEMU binary
> +#   (also non-x86), with every QEMU configuration (i.e. must not fail if
> +#   an optional feature is not compiled in - but reporting a "skip" is ok),
> +#   and work all kind of host filesystems and users (e.g. "nobody" or "root").
> +#
>
>  #
>  # test-group association ... one line per test
> @@ -32,11 +45,11 @@
>  023 rw auto
>  024 rw backing auto quick
>  025 rw auto quick
> -026 rw blkdbg auto
> +026 rw blkdbg
>  027 rw auto quick
>  028 rw backing auto quick

028 failed on an armhf host for me.

>  029 rw auto quick
> -030 rw auto backing
> +030 rw backing
<snip>
> +245 rw
> +246 rw quick
>  247 rw auto quick

And 247

> -248 rw auto quick
> +248 rw quick


--
Alex Bennée


  reply	other threads:[~2019-05-01 16:37 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-28 15:54 [Qemu-devel] [PATCH v2 0/8] tests/qemu-iotests: Run basic iotests during "make check" Thomas Huth
2019-04-28 15:54 ` Thomas Huth
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 1/8] tests/qemu-iotests: Fix output of qemu-io related tests Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-05-01 10:24   ` Alex Bennée
2019-05-01 10:24     ` Alex Bennée
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 2/8] tests/qemu-iotests/005: Add a sanity check for large sparse file support Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-05-01 11:08   ` Alex Bennée
2019-05-01 11:08     ` Alex Bennée
2019-05-01 12:06     ` Eric Blake
2019-05-01 12:06       ` Eric Blake
2019-05-01 13:36       ` Thomas Huth
2019-05-01 13:36         ` Thomas Huth
2019-05-01 13:13     ` Thomas Huth
2019-05-01 13:13       ` Thomas Huth
2019-05-01 14:23       ` Alex Bennée
2019-05-01 14:23         ` Alex Bennée
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 3/8] tests/qemu-iotests/check: Pick a default machine if necessary Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-05-01  8:27   ` Alex Bennée
2019-05-01  8:27     ` Alex Bennée
2019-05-01 15:18   ` Philippe Mathieu-Daudé
2019-05-01 15:18     ` Philippe Mathieu-Daudé
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 4/8] tests/qemu-iotests: Do not hard-code the path to bash Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-05-01  8:27   ` Alex Bennée
2019-05-01  8:27     ` Alex Bennée
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 5/8] cirrus / travis: Add gnu-sed and bash for macOS and FreeBSD Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-04-30 21:54   ` Li-Wen Hsu
2019-04-30 21:54     ` Li-Wen Hsu
2019-05-01 11:09   ` Alex Bennée
2019-05-01 11:09     ` Alex Bennée
2019-05-01 15:19   ` Philippe Mathieu-Daudé
2019-05-01 15:19     ` Philippe Mathieu-Daudé
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 6/8] tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-05-01 11:10   ` Alex Bennée
2019-05-01 11:10     ` Alex Bennée
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 7/8] tests/qemu-iotests/group: Re-use the "auto" group for tests that can always run Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-05-01 16:37   ` Alex Bennée [this message]
2019-05-01 16:37     ` Alex Bennée
2019-05-02  5:44     ` Thomas Huth
2019-05-02  5:44       ` Thomas Huth
2019-04-28 15:54 ` [Qemu-devel] [PATCH v2 8/8] tests: Run the iotests during "make check" again Thomas Huth
2019-04-28 15:54   ` Thomas Huth
2019-04-28 16:10 ` [Qemu-devel] [PATCH v2 0/8] tests/qemu-iotests: Run basic iotests during "make check" no-reply
2019-04-28 16:10   ` no-reply
2019-04-29  5:25   ` Thomas Huth
2019-04-29  5:25     ` Thomas Huth
2019-04-29  3:47 ` no-reply
2019-04-29  3:47   ` no-reply
2019-04-29  5:30   ` Thomas Huth
2019-04-29  5:30     ` Thomas Huth
2019-05-01  8:30     ` Alex Bennée
2019-05-01  8:30       ` Alex Bennée
2019-05-01 10:04       ` Thomas Huth
2019-05-01 10:04         ` Thomas Huth
2019-05-01  8:30 ` Alex Bennée
2019-05-01  8:30   ` Alex Bennée

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=87sgty5dxt.fsf@zen.linaroharston \
    --to=alex.bennee@linaro.org \
    --cc=armbru@redhat.com \
    --cc=cfergeau@redhat.com \
    --cc=eblake@redhat.com \
    --cc=emaste@freebsd.org \
    --cc=fam@euphon.net \
    --cc=kwolf@redhat.com \
    --cc=lwhsu@freebsd.org \
    --cc=mreitz@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@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 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.