[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [for-4.17] automation: Do not use null scheduler for boot cpupools test


  • To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 24 Oct 2022 08:29:19 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BHGNyKFE2AC+GLgXEhXXxSBj4nMmw4mzOEhWJfF2H1E=; b=GV45z3thXmwAoykMpH6xSZCethwPzEi7P6uVjjPF3FRwLrGZFkWY4tUhZ6NwnH0yEzXSqqVQ/KfubpdRVBQVsrW5khZIMZ/h0FeCDDpX1L01y2SbxxWJyR23kMgcJc77FdZ/jfPXLR09PTRnPmBze72TcSc+zW7299PZ7jYIfHCyYYnHW8R4xHinttlrQjdMur/fRm86bkqGXvoSM/1wtRkIXYEQWmuEAfs3UcDakUKrWgoOvg1m2F8G4YdBP3S6lttm/KqwYdVhc6bxuwvM0NpyT0GHCtzCpZRRNdEmWvW7PQXSLMpv4ryBkDR2S2mSWLZKgN5RuUCz0aW/qcNxBg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AHnFws4d3EOXbZ5IUIxXiqQIkRh6dA5MtqwfgPryY4K52uVf6hTdqtOCyqeT2tDid2+07Z6rXuIBoOSzeTwFYLtPJ5yxB2LDvnGTmBJoLr2JnIvE+t7lMwKb++Q9GquiE6LLjtjdvk/j9vrEhvfvAQWV5JXofGS1z/Nd59hC1zmvLYaOQNO1i7UavzJh4D8ra7ACLaCymXUyW2dZWBfZTsSl12QsEitxoLuxyaFfeaWOImVyo0WNS7BzRWtsbOp7IlRSZGSOd9lrrrAFB9+1Nf/SI3DMLTgKyhJV7n18bjRzmkbjB6tb8o9uM5fgUYq4ReecvuZjjBvhym3+zFucCA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 24 Oct 2022 06:29:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 21.10.2022 19:21, Andrew Cooper wrote:
> On 21/10/2022 17:53, Michal Orzel wrote:
>> Null scheduler is not enabled on non-debug Xen builds so the current
>> test can lead to a failure on such jobs. We still want to test that we
>> can assign the cpupool to a domU with a different scheduler than default
>> one (credit2). Switch to credit as it is enabled by default.
>>
>> Fixes: 36e3f4158778 ("automation: Add a new job for testing boot time 
>> cpupools on arm64")
>> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
> 
> /sigh - I'm sure I nacked that stupidity to begin with.  apparently not...
> 
> It is totally bogus for CONFIG_DEBUG to influence logical chunks of
> functionality like this.  The CI script is good in its current form.

Assuming you mean defaults of settings, I'm afraid I see nothing bogus
there at all. What's wrong with enabling more functionality by default
in debug builds, for people to easily use/test them? Yet keeping
unsupported stuff off by default in release builds? That said, ...

> RTDS and ARINC should be default n.
> 
> NULL is more tricky.  PV_SHIM is explicitly security supported, and has
> been for years, so the "UNSUPPORTED" is bogus, whatever the default is.
> 
> As NULL is explicitly tested in CI, it's clearly supported, and probably
> ought to be on default.

... the state of the NULL scheduler wrt its use by the shim has been
puzzling me before.

> Please instead fix Kconfig to not be broken.  That will be a far better
> fix overall for people.
> 
> As a more general note, tests which are using non-default pieces of
> logic ought to activate them explicitly.

Imo _this_ is the immediate course of action to take. What the appropriate
settings are in Kconfig may be less straightforward to determine (see also
Stefano's and Julien's replies).

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.