From: "Jan Beulich" Subject: Re: osstest "short fast" tests of xen-unstable proposal Date: Mon, 06 Jul 2015 16:41:38 +0100 Message-ID: <559ABDD2020000780008CD8B@mail.emea.novell.com> References: <21906.54785.722368.502689@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZC8Wd-0004SY-WB for xen-devel@lists.xenproject.org; Mon, 06 Jul 2015 15:41:44 +0000 In-Reply-To: <21906.54785.722368.502689@mariner.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Andrew Cooper , xen-devel@lists.xenproject.org, Ian Campbell , StefanoStabellini List-Id: xen-devel@lists.xenproject.org >>> On 30.06.15 at 19:46, wrote: > osstest's test coverage is improving, which means that the tests keep > taking longer. Even with ongoing expansion of the test facility, the > overall time between a bad push and getting results can be quite long > - currently perhaps 12-36h depending on circumstances. > > It would be better if we could get quicker notification of build > breakages and other kinds of very basic breakage. > > I propose: > > > Invent a new `xen-unstable-smoke' flight (in osstest terminology, a > `branch'). > > This would be a push gate for xen.git. Its input would be > xen.git#staging. Its output would be a new branch, xen.git#smoked. > The existing `xen-unstable' flights would take xen.git#smoked as > input. So there would be a two-stage push gate, > > staging -[xen-unstable-smoke test]-> smoked -[xen-unstable test]-> master > > This would apply to xen-unstable only, not to stable braches, nor to > any other codebase (eg, qemu or Linux). It would aim to run every 2h. > > Arrangements would be made to reuse the outputs of most recent builds > of qemuu and the currently favoured Linux branch.[5] > > If any test failed, the flight would be automatically aborted and > report immediately [6]. Unlike most flights, tests would not be > `sticky' to failing hosts, nor (when succeding) prefer hosts which > they hadn't run on for a while [6], so they would take the first > available machine. > > > The new flights would contain only: > x86 ARM [1] > > build-amd64 800s > build-armhf 800s > > test-amd64-amd64-xl 2300s > test-armhf-armhf-xl 2500s > > test-amd64-amd64-xl-qemuu-debianhvm-i386 [2] 3200s > > ----- ----- > 6300s 3300s > > > Total machine resources for each run would be about 2h of x86 capacity > and 1h of ARM capacity, with the infrastructure as currently > configured. We currently have 19 x86 machines live out of a planned > 24, and 5 ARM machines out of a planned 8 [3]. > > The ARM machines are much less heavily used because they have a much > smaller variety of tests (no HVM, no Windows, no RHEL, etc). > > So thinking about x86, doing a test like this about every 2h would > take ~5% of our current capacity, which would be well worthwhile. > Doing it much more often would be tricky because of resource > allocation delays: we have to wait for another test to finish, and we > may need to reinstall a build box.[4] > > > Comments welcome. Yes, please. Thanks, Jan