From: Jens Axboe <axboe@kernel.dk>
To: Vincent Fu <vincentfu@gmail.com>, Sitsofe Wheeler <sitsofe@gmail.com>
Cc: fio <fio@vger.kernel.org>, Vincent Fu <vincent.fu@wdc.com>
Subject: Re: [PATCH 0/9] testing patches
Date: Mon, 16 Dec 2019 15:13:54 -0700 [thread overview]
Message-ID: <107d2829-3650-565a-32d4-079b3d2c21dc@kernel.dk> (raw)
In-Reply-To: <948efdcd-f039-25dd-0f1c-eee5671b1e6f@kernel.dk>
On 12/11/19 8:54 PM, Jens Axboe wrote:
> On 12/11/19 1:10 PM, Vincent Fu wrote:
>> On 12/11/19 2:57 PM, Jens Axboe wrote:
>>> On 12/11/19 12:53 PM, Vincent Fu wrote:
>>>> On 12/10/19 4:32 PM, Sitsofe Wheeler wrote:
>>>>> On Tue, 10 Dec 2019 at 17:56, <vincentfu@gmail.com> wrote:
>>>>>>
>>>>>> From: Vincent Fu <vincent.fu@wdc.com>
>>>>>>
>>>>>> Jens, please consider this series of patches related to testing.
>>>>>>
>>>>>> The patches improve t/run-fio-tests.py in various ways, most prominently
>>>>>> adding support for Windows and macOS.
>>>>>>
>>>>>> Also included are travis and appveyor patches that add run-fio-tests.py
>>>>>> as a step. Currently both the travis and appveyor build processes
>>>>>> complete in less than four minutes. Adding run-fio-tests.py increases
>>>>>> this to about 20 minutes for travis and 14 minutes for appveyor.
>>>>>
>>>>> In general I think this work is fantastic and much needed (you can
>>>>> search through the fio commit logs using "git log --grep 'size='" to
>>>>> find jobs files that have caused issues in the past and may be worth
>>>>> turning into tests at some point). However, I think making the builds
>>>>> so slow may be a disadvantage rather than a benefit. I agree with
>>>>> nearly all the patch set bar running this by default with
>>>>> travis/appveyor...
>>>>>
>>>>
>>>> Many thanks for the feedback, Sitsofe. I agree that the build times are
>>>> uncomfortably long, but since I had done the work I thought I would
>>>> offer the patches to Jens.
>>>>
>>>> Jens, what do you think? Would you like me to re-send the patch series
>>>> without the appveyor and travis changes?
>>>
>>> Looks like it's about 20 min, I'm not so sure we need faster turn-around
>>> than that. I would personally much rather see a pull request with 20 min
>>> delay on whether it passes or not, rather than have to run it manually.
>>> That's how things get missed.
>>>
>>> So I'd be leaning towards just making it run it by default. Is 20 min
>>> really that big of an issue? It's not like it's holding anyone up.
>>>
>>
>> I think the main difference is that at 4 minutes, it's easy enough to
>> wait around to check that the build has succeeded, whereas at 20 minutes
>> one has moved onto another task and will have to make a context switch
>> to come back to check on the build. Also, if people add more tests the
>> build times will become even longer.
>>
>> All that said, it's easy enough to revert the patch if adding the tests
>> hurts the workflow too much.
>
> I don't disagree that it's a long time. But the idea is that you push
> it out to a branch, and then you get a notification some time later
> if it worked or failed. As long as the notification works for both
> cases, then I don't think it's much of an issue. Even 4 minutes will not
> have people sitting around waiting for it to finish, at least not me.
> I'd be on to other stuff the second I push it out.
>
> Let's try this out and see how it goes. If it doesn't work so well, then
> we always have the option of slimming down the default run, or whatever
> else we can do to make it faster.
It seems to fail, though:
https://travis-ci.org/axboe/fio/jobs/625901116?utm_medium=notification&utm_source=email
--
Jens Axboe
next prev parent reply other threads:[~2019-12-16 22:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-10 17:54 [PATCH 0/9] testing patches vincentfu
2019-12-10 17:54 ` [PATCH 1/9] .gitignore: ignore zbd test output files vincentfu
2019-12-10 17:54 ` [PATCH 2/9] t/run-fio-tests: a few small improvements vincentfu
2019-12-10 17:54 ` [PATCH 3/9] t/run-fio-tests: detect requirements and skip tests accordingly vincentfu
2019-12-10 17:54 ` [PATCH 4/9] t/run-fio-tests: improve Windows support vincentfu
2019-12-10 17:54 ` [PATCH 5/9] t/run-fio-tests: identify test id for debug messages vincentfu
2019-12-10 17:54 ` [PATCH 6/9] t/steadystate_tests: use null ioengine for tests vincentfu
2019-12-10 17:54 ` [PATCH 7/9] .travis.yml: run t/run-fio.tests.py as part of build vincentfu
2019-12-10 17:54 ` [PATCH 8/9] .appveyor.yml: run run-fio-tests.py vincentfu
2019-12-10 17:54 ` [PATCH 9/9] t/run-fio-tests: relax acceptance criterion for t0011 vincentfu
2019-12-10 21:32 ` [PATCH 0/9] testing patches Sitsofe Wheeler
2019-12-11 19:53 ` Vincent Fu
2019-12-11 19:57 ` Jens Axboe
2019-12-11 20:10 ` Vincent Fu
2019-12-12 3:54 ` Jens Axboe
2019-12-12 8:37 ` Sitsofe Wheeler
2019-12-16 22:13 ` Jens Axboe [this message]
2019-12-16 22:42 ` Vincent Fu
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=107d2829-3650-565a-32d4-079b3d2c21dc@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=sitsofe@gmail.com \
--cc=vincent.fu@wdc.com \
--cc=vincentfu@gmail.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