From: Kevin Wolf <kwolf@redhat.com>
To: Max Reitz <mreitz@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>, John Snow <jsnow@redhat.com>,
qemu-devel@nongnu.org, qemu-block@nongnu.org
Subject: Re: [PATCH v5 1/5] iotests: remove 'linux' from default supported platforms
Date: Wed, 2 Oct 2019 18:44:38 +0200 [thread overview]
Message-ID: <20191002164438.GD5819@localhost.localdomain> (raw)
In-Reply-To: <16eef993-c16e-3fd7-c60d-6d3c7bfb5148@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 4661 bytes --]
Not sure where in this thread to reply, but since my name is mentioned
in this mail, it might at least be not the worst one.
Am 02.10.2019 um 13:57 hat Max Reitz geschrieben:
> On 02.10.19 06:46, Thomas Huth wrote:
> > On 01/10/2019 20.44, Max Reitz wrote:
> > [...]
> >> As I have said, the conceptual problem is that the iotests now run as
> >> part of make check. As such, allowing auto tests to run on non-Linux
> >> platforms may introduce build failures that I cannot do anything about.
> >
> > Well, simply run "make vm-build-openbsd", "make vm-build-freebsd", ...
> > if something fails there, it likely should not be in the auto group.
>
> Then we come to Windows and macOS.
>
> What I’ve proposed to John on IRC was to simply skip the iotests in make
> check for non-Linux systems.
I think this really makes sense. Or at least have a blacklist of OSes
that we can't support iotests on, which would contain at least Windows
and OS X. Windows because I'm pretty sure that it doesn't work anyway,
and OS X because if something fails there, we have no way to reproduce.
The occasional build failures on OS X that must be fixed by blindly
guessing what could work without any way to test the fix are already bad
enough.
> > Max, I can understand that you are a little bit annoyed that this "make
> > check with iotests" caused some extra hurdles for you. But honestly,
> > removing that again would be quite egoistic by you. Try to put yourself
> > into the position of a "normal", non-blocklayer-maintainer QEMU
> > developer. For me, iotests were a *constant* source of frustration.
> > Often, when I ran them on top of my latest and greatest patches, to
> > check whether I caused a regression, the iotests simply failed. Then I
> > had to start debugging - did my patches cause the break, or is "master"
> > broken, too? In almost all cases, there was an issue in the master
> > branch already, either because they were failing on s390x, or because I
> > was using ext4 instead of xfs, or because I was using an older distro
> > than you, etc... . So while the iotests likely worked fine for the
> > limited set of systems that you, Kevin and the other hard-core block
> > layer developers are using, it's constantly broken for everybody else
> > who is not using the very same setup as you. The only way of *not*
> > getting upset about the iotests was to simply completely *ignore* them.
> > Is it that what you want?
>
> It usually worked fine for me because it’s rather rare that non-block
> patches broke the iotests.
I disagree. It happened all the time that someone else broke the iotests
in master and we needed to fix it up.
> Maybe my main problem is that I feel like now I have to deal with all of
> the fallout, even though adding the iotests to make check wasn’t my idea
> and neither me nor Kevin ever consented. (I don’t know whether Kevin
> consented implicitly, but I don’t see his name in bdd95e47844f2d8b.)
>
> You can’t just give me more responsibility without my consent and then
> call me egoistic for not liking it.
I think I may have implicitly consented by helping Alex with the changes
to 'check' that made its output fit better in 'make check'.
Basically, my stance is that I share your dislike for the effects on me
personally (also, I can't run 'make check' any more before a pull
request without testing half of the iotests twice because I still need a
full iotests run), but I also think that having iotests in 'make check'
is really the right thing for the project despite the inconvenience it
means for me.
> I know you’ll say that we just need to ensure we can add more tests,
> then. But for one thing, the most important tests are the ones that
> take the longest, like 041. And the other of course is that adding any
> more tests to make check just brings me more pain, so I won’t do it.
That's something that can be fixed by tweaking the auto group.
Can we run tests in 'auto' that require the system emulator? If so,
let's add 030 040 041 to the default set. They take long, but they are
among the most valuable tests we have. If this makes the tests take too
much time, let's remove some less important ones instead.
> [1] There is the recent case of Kevin’s pull request having been
> rejected because his test failed on anything but x64. I’m torn here,
> because I would have seen that failure on my -m32 build. So it isn’t
> like it would have evaded our view for long.
I messed up, so this pull request was rightly stopped. I consider this
one a feature, not a bug.
Kevin
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2019-10-02 16:45 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-17 23:45 [Qemu-devel] [PATCH v5 0/5] iotests: use python logging John Snow
2019-09-17 23:45 ` [Qemu-devel] [PATCH v5 1/5] iotests: remove 'linux' from default supported platforms John Snow
2019-09-18 13:16 ` Vladimir Sementsov-Ogievskiy
2019-09-23 13:09 ` Max Reitz
2019-09-23 17:21 ` John Snow
2019-09-27 23:35 ` John Snow
2019-10-01 18:44 ` Max Reitz
2019-10-02 4:46 ` Thomas Huth
2019-10-02 11:57 ` Max Reitz
2019-10-02 13:11 ` Thomas Huth
2019-10-02 13:36 ` Max Reitz
2019-10-02 14:26 ` Thomas Huth
2019-10-02 16:44 ` Kevin Wolf [this message]
2019-10-02 17:47 ` Max Reitz
2019-10-04 10:19 ` Kevin Wolf
2019-10-04 12:44 ` Max Reitz
2019-10-04 13:16 ` Peter Maydell
2019-10-04 13:50 ` Max Reitz
2019-10-04 14:05 ` Peter Maydell
2019-10-04 14:40 ` Max Reitz
2019-10-07 12:16 ` Thomas Huth
2019-10-07 12:38 ` Peter Maydell
2019-10-07 12:52 ` Max Reitz
2019-10-07 13:11 ` Thomas Huth
2019-10-07 16:28 ` Thomas Huth
2019-10-07 16:55 ` Max Reitz
2019-10-02 17:54 ` Thomas Huth
2019-10-03 0:16 ` John Snow
2019-09-17 23:45 ` [Qemu-devel] [PATCH v5 2/5] iotests: add script_initialize John Snow
2019-09-18 13:48 ` Vladimir Sementsov-Ogievskiy
2019-09-23 13:30 ` Max Reitz
2019-09-23 13:34 ` Max Reitz
2019-09-17 23:45 ` [Qemu-devel] [PATCH v5 3/5] iotest 258: use script_main John Snow
2019-09-23 13:33 ` Max Reitz
2019-09-17 23:45 ` [Qemu-devel] [PATCH v5 4/5] iotests: specify protocol support via initialization info John Snow
2019-09-23 13:35 ` Max Reitz
2019-09-17 23:45 ` [Qemu-devel] [PATCH v5 5/5] iotests: use python logging for iotests.log() John Snow
2019-09-18 14:52 ` Vladimir Sementsov-Ogievskiy
2019-09-18 17:11 ` John Snow
2019-09-23 13:57 ` Max Reitz
2019-10-04 15:39 ` [PATCH v5 0/5] iotests: use python logging Max Reitz
2019-10-11 23:39 ` John Snow
2020-02-24 11:15 ` Max Reitz
2020-02-25 21:50 ` John Snow
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=20191002164438.GD5819@localhost.localdomain \
--to=kwolf@redhat.com \
--cc=jsnow@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@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.