Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 872B3ECE58C for ; Mon, 7 Oct 2019 12:32:53 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4B7C721835 for ; Mon, 7 Oct 2019 12:32:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B7C721835 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHSC4-0003sE-C7 for qemu-devel@archiver.kernel.org; Mon, 07 Oct 2019 08:32:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49198) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHRwO-00081G-7w for qemu-devel@nongnu.org; Mon, 07 Oct 2019 08:16:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHRwM-0006zL-Pj for qemu-devel@nongnu.org; Mon, 07 Oct 2019 08:16:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38028) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iHRwJ-0006yd-IW; Mon, 07 Oct 2019 08:16:35 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BC703316D8D1; Mon, 7 Oct 2019 12:16:34 +0000 (UTC) Received: from thuth.remote.csb (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id E83165C22F; Mon, 7 Oct 2019 12:16:30 +0000 (UTC) Subject: Re: [PATCH v5 1/5] iotests: remove 'linux' from default supported platforms To: Max Reitz , Kevin Wolf References: <20190917234549.22910-1-jsnow@redhat.com> <20190917234549.22910-2-jsnow@redhat.com> <450a1f52-9589-cb98-88cb-1d3fcd5f506a@redhat.com> <778487c5-566e-d133-6395-d3908db66adc@redhat.com> <62cf912a-8ee9-d023-84c2-1ad6ea94e3b8@redhat.com> <16eef993-c16e-3fd7-c60d-6d3c7bfb5148@redhat.com> <20191002164438.GD5819@localhost.localdomain> <20191004101952.GC5491@linux.fritz.box> From: Thomas Huth Openpgp: preference=signencrypt Autocrypt: addr=thuth@redhat.com; prefer-encrypt=mutual; keydata= mQINBFH7eUwBEACzyOXKU+5Pcs6wNpKzrlJwzRl3VGZt95VCdb+FgoU9g11m7FWcOafrVRwU yYkTm9+7zBUc0sW5AuPGR/dp3pSLX/yFWsA/UB4nJsHqgDvDU7BImSeiTrnpMOTXb7Arw2a2 4CflIyFqjCpfDM4MuTmzTjXq4Uov1giGE9X6viNo1pxyEpd7PanlKNnf4PqEQp06X4IgUacW tSGj6Gcns1bCuHV8OPWLkf4hkRnu8hdL6i60Yxz4E6TqlrpxsfYwLXgEeswPHOA6Mn4Cso9O 0lewVYfFfsmokfAVMKWzOl1Sr0KGI5T9CpmRfAiSHpthhHWnECcJFwl72NTi6kUcUzG4se81 O6n9d/kTj7pzTmBdfwuOZ0YUSqcqs0W+l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cwXdUTLGxc4/Z/VRH1PZSvfQxdxMGmNTGaXVNfdFZjm4fz0mz+OUi6AHC4CZpwnsliGV ODqwX8Y1zic9viSTbKS01ZNp175POyWViUk9qisPZB7ypfSIVSEULrL347qY/hm9ahhqmn17 Ng255syASv3ehvX7iwWDfzXbA0/TVaqwa1YIkec+/8miicV0zMP9siRcYQkyTqSzaTFBBmqD oiT+z+/E59qj/EKfyce3sbC9XLjXv3mHMrq1tKX4G7IJGnS989E/fg6crv6NHae9Ckm7+lSs IQu4bBP2GxiRQ+NV3iV/KU3ebMRzqIC//DCOxzQNFNJAKldPe/bKZMCxEqtVoRkuJtNdp/5a yXFZ6TfE1hGKrDBYAm4vrnZ4CXFSBDllL59cFFOJCkn4Xboj/aVxxJxF30bn Organization: Red Hat Message-ID: Date: Mon, 7 Oct 2019 14:16:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aBhqxpJs5WbP1hPQ5LzVfwsEyDTgvEOZ6" X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Mon, 07 Oct 2019 12:16:34 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Snow , qemu-devel@nongnu.org, qemu-block@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aBhqxpJs5WbP1hPQ5LzVfwsEyDTgvEOZ6 Content-Type: multipart/mixed; boundary="Zn0bmlUf3RNbb1q4GHcnASFEvDXuqeW2e"; protected-headers="v1" From: Thomas Huth To: Max Reitz , Kevin Wolf Cc: John Snow , qemu-devel@nongnu.org, qemu-block@nongnu.org Message-ID: Subject: Re: [PATCH v5 1/5] iotests: remove 'linux' from default supported platforms References: <20190917234549.22910-1-jsnow@redhat.com> <20190917234549.22910-2-jsnow@redhat.com> <450a1f52-9589-cb98-88cb-1d3fcd5f506a@redhat.com> <778487c5-566e-d133-6395-d3908db66adc@redhat.com> <62cf912a-8ee9-d023-84c2-1ad6ea94e3b8@redhat.com> <16eef993-c16e-3fd7-c60d-6d3c7bfb5148@redhat.com> <20191002164438.GD5819@localhost.localdomain> <20191004101952.GC5491@linux.fritz.box> In-Reply-To: --Zn0bmlUf3RNbb1q4GHcnASFEvDXuqeW2e Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/10/2019 14.44, Max Reitz wrote: > On 04.10.19 12:19, Kevin Wolf wrote: >> Am 02.10.2019 um 19:47 hat Max Reitz geschrieben: >>> On 02.10.19 18:44, Kevin Wolf wrote: >>>> Am 02.10.2019 um 13:57 hat Max Reitz geschrieben: >>>>> It usually worked fine for me because it=E2=80=99s rather rare that= non-block >>>>> patches broke the iotests. >>>> >>>> I disagree. It happened all the time that someone else broke the iot= ests >>>> in master and we needed to fix it up. >>> >>> OK. >>> >>> (In my experience, it=E2=80=99s still mostly block patches, only that= they tend >>> to go through non-block trees.) >> >> Fair enough, it's usually code that touches block code. I assumed "blo= ck >> patches" to mean patches that go through one of the block trees and fo= r >> which iotests are run before sending a pull request. >> >> In the end, I don't care what code these patches touched. I do an >> innocent git pull, and when I finally see that it's master that breaks= >> iotests and not my patches on top of it, I'm annoyed. >=20 > Hm. Part of my point was that this still happens all the time. >=20 > Which is why I=E2=80=99d prefer more tests to run in CI than a handful = of not > very useful ones in make check. Ok, so let's try to add some more useful test to the "auto" group. Kevin mentioned 030, 040 and 041, and I think it should be ok to enable them (IIRC the only issue was that they run a little bit longer, but if they are very useful, we should include them anyway). Do you have any other tests in mind which could be very useful? [...] >> So if you merge that revert, when iotests break in master, I take it I= >> can rely on you to fix it up before it impacts my working branch? >=20 > This is not a game, I=E2=80=99m talking purely from my standpoint: > (I talked wrongly, but more on that below) >=20 > Whenever make check fails, it=E2=80=99s urgent. Without iotests runnin= g in make > check, we had some time to sort the situation out. That=E2=80=99s no l= onger the > case. > > That means we need to take care of everything immediately. And I purel= y > want help with that. While that sounds noble at a first glance, I think you've maybe got too high expectations at yourself here? I mean, all other maintainers of other subsystems with tests have the same "problem" if the tests for their subsystem run in "make check". The "normal" behavior that I've seen so far (and which I think is the right way to deal with it): 1) If a pull request gets rejected due to a "make check" failure, simply drop the offending patches from the pull request, send a v2 pull req without them, and tell the author of the offending patches to fix the problem (unless the fix is completely trivial and could immediately be applied to the v2 pull req). You really don't have to fix each and every issue on your own as a maintainer and can redirect this to the patch authors again. 2) If a test fails occasionally during "make check" (due to race conditions or whatever), it gets disabled from "make check" if it can't be fixed easily (e.g. in the qtests it gets moved to the "SPEED=3Dslow" category, or in iotests it would get removed from the "auto" group). >> Yes, making iotests stable on CI probably involves some pain, especial= ly >> initially. However, if we don't fix them upstream, they'll end up on o= ur >> desk again downstream because people run tests neither on your nor on = my >> laptop. >> >> I think we might actually save time by fixing them once and for all, >> even if they are problems in the test cases and not in QEMU, and makin= g >> new test cases portable from the start, instead of getting individual >> reports one at a time and having to look at the same test cases again >> and again. >=20 > You should really know I=E2=80=99m all for that and that I=E2=80=99ve d= one my share of > work there. >=20 > But from my perspective we=E2=80=99ve said and tried that for six years= and we > aren=E2=80=99t there still. So to me =E2=80=9CWe should just fix it=E2= =80=9D of course sounds > correct, but I also don=E2=80=99t believe it=E2=80=99ll happen any time= soon. Mostly > because we generally don=E2=80=99t know what to fix before it breaks, b= ut also > because that=E2=80=99s exactly what we=E2=80=99ve tried to do for at le= ast six years. Well, I guess we won't ever get there if we don't try. And the hurdles will rather get higher over the years since more and more tests are added ... > OTOH, keeping the iotests in make check means we have to act on failure= > reports immediately. For example, someone=E2=84=A2 needs to investigat= e the 130 > failure Peter has reported. I=E2=80=99ve just replied =E2=80=9CI don=E2= =80=99t know=E2=80=9D, CC=E2=80=99d > Thomas, and waited whether anyone else would do anything. Nobody did, > and that can=E2=80=99t work. (I also wrote that I wouldn=E2=80=99t act= on it, precisely > because I didn=E2=80=99t see the point. I assumed that if anyone disag= reed with > that statement, they would have said something.) >=20 > So acting on such reports means pain, too. I consider it greater than > the previous kind of pain, because I prefer =E2=80=9CThis sucks, I=E2=80= =99ll have to > fix it this week or so=E2=80=9D to =E2=80=9COh crap, I=E2=80=99ll have = to investigate now, > reproduce it, write an email as soon as possible, and fix it=E2=80=9D. I think that "I have to investigate now ..." mindset is not the right way to handle these kind of issues. If a test is shaky and can not be fixed easily, we should simply disable it from the "auto" group again. So if you like, I can send a patch to remove 130 from the "auto" group (personally, I'd rather wait to see if it fails anytime soon again, or if this was maybe rather a one-time issue due to a non-clean test system =2E..) Thomas --Zn0bmlUf3RNbb1q4GHcnASFEvDXuqeW2e-- --aBhqxpJs5WbP1hPQ5LzVfwsEyDTgvEOZ6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAl2bLJ4ACgkQLtnXdP5w LbX08A//dUX/kFMXyMQMVu62UW2pfgOeLDag1MlVozcYDg4PckgnF0JPtpP29H8q Vdv31YvNmLf4C8JGJCzhFmhXPpTFgi99RcWpWkjIlvNeqLo14I8wSmFkjWMgRPWc Wo0vd50H1SXfZUl03e331wW4A6E5q0eTRCRlX9DuKnOvUdYYs+rLtX+gF/2hjJAj +cdq3EWx7KD/nrkcQ11xaC5e49czm5OWHargbFVL/vSwBjMdp+2sFJtNcYd2e9E2 i9KbXhos0CuE6xW/2Eo9DBBo3h/PLvEdaNP9j2Lyv+oR+6oGUQEA7IvYbNrgl9J/ t+xNRIPZG17eHmZN5tX1ZAeebop1NO4+U1clvrqxhplxE0BLI2Sh5ErThHKhX5Ku Z2QakUZ5fAVafkFzgm9jhCZT55pmu9l/rwietk4tBPSDCN6hLW1QUtOJdTX7GXvh aJAiKgA4YS3rwQeqvp0JS5ufT/So03du4JzkPzEw5+AKLWB88aI3P4QdnElfxTrs D8Yzrd7PJvwdydTF3COS4QaD34GrR4Z4UTfI3nFZjt1Ic8JU9YlQJ8bLh8h6yYFV Jbngm7e/o5l/SE8EXaUcHbN6qs7gOdBTl3On0vVolZLNSCq6oOXP2euNzcUQn9d9 T14cTypnL3y3JcmmPvp6Y3nHHm1qJ6Df4VftErscchW+TwZRVWU= =tYgs -----END PGP SIGNATURE----- --aBhqxpJs5WbP1hPQ5LzVfwsEyDTgvEOZ6--