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

Re: [for-4.17] automation: Build Xen according to the type of the job


  • To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 21 Oct 2022 18:20:49 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=citrix.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); 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=ODAHQoqaVA/zNiZHnEHhtbbtF5AEf8NrJip2WZhnx+Y=; b=bsRP7uFc3Ds4dfcE441RBVLAEsxhIqGkk+IRAO58/pjmOpcIDyVUU5V8E/aPk8PVda6nwan98AFZw+KBdicwAESosgrjQXgGs2of8mbnJezXIYlnA+WB/movWsQbMjZmc9rXxzVBHWV7RoUEF02XZqraHE0VuVveiW3KSqrpS3ThI066HO47N9VA2QtX2v+TdxxzvdANB6IJRGP+BJrbA1Egfa63bdo2G3CFN5KpMnOL2RyNP6+8q4dJAL7LJou8fdlBrRG5C38q9tuwUfx0+OhItNRpxgARGk+NwNUcn2winakp4HVGIBZIub6XfNpy01SyLAzH6/9+r4otuIQFOg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KsE+dxReofOzdV6f/MZG5vWOBCavjGPBJNmPweJxGiefccyTmSWAjSHXhZ0sIwKSR+uYmduwwl5jtBS1jC3iKZuenwFhKHnZcz+eGRVQqyWrkwB0wX5sSQ/YnOv0ePuTw+kmP4txtdX6NlDREwexdQLJLlEvsL+UaZiZhGyKFzK+fdOplRvf9yhmJ99FydhX9IdpKMfAacJmUleuU/sdwWIcwu7qQSwbNKAlnLDY/1lbMPKV5ynGE0zwCRzz8l5edj3hgrfbLkZSrNsxa6jKKuEC7J3bSV2N49Qz7wbDDDRthorUmaskJregyoDo+Mgw0tcPMoLI70zmwGja1dr5nw==
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>
  • Delivery-date: Fri, 21 Oct 2022 16:21:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 21/10/2022 16:32, Michal Orzel wrote:
> 
> 
> Hi Andrew,
> 
> On 21/10/2022 15:31, Andrew Cooper wrote:
>>
>>
>> On 21/10/2022 14:22, Michal Orzel wrote:
>>> All the build jobs exist in two flavors: debug and non-debug, where the
>>> former sets 'debug' variable to 'y' and the latter to 'n'. This variable
>>> is only being recognized by the toolstack, because Xen requires
>>> enabling/disabling debug build via e.g. menuconfig/config file.
>>> As a corollary, we end up building/testing Xen with CONFIG_DEBUG always
>>> set to a default value ('y' for unstable and 'n' for stable branches),
>>> regardless of the type of the build job.
>>>
>>> Fix this behavior by setting CONFIG_DEBUG according to the 'debug' value.
>>>
>>> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
>>> ---
>>> Xen used debug variable to control the build type before switching to 
>>> Kconfig.
>>> Support for GitLab CI was added later, which means that this issue was 
>>> always
>>> present. This is a low risk for 4.17 with a benefit of being able to test 
>>> Xen
>>> in both debug and non-debug versions.
>>
>> Both series were floating around for ages before being accepted.  It's
>> quite possible that one bitrotted around the other.
>>
>> This should be backported, and therefore should be considered for 4.17
>> at this point.
>>
>> Is there a Gitlab CI run which includes this patch?
> 
> I submitted the one here not long ago:
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fxen-project%2Fpeople%2Fmorzel%2Fxen-orzelmichal%2F-%2Fpipelines%2F673396949&amp;data=05%7C01%7Cmichal.orzel%40amd.com%7Cd091891dbc3a4144356d08dab37120ae%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C638019595719666762%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=r6qIERShnnovl57xvY%2Fo8eKozAy9NBlqyj0le56ZClY%3D&amp;reserved=0
> 
> and there is already one failure in Arm boot-cpupools test because the script 
> sets null
> scheduler for the domain which is not present in non-debug build...

The CI finished running the pipeline and it looks like the null sched issue is 
the only one (at least this means that this patch is worth having).
I will push a fix for the boot-cpupools test (I will also mark it as for-4.17).

> 
>>
>> ~Andrew
> 
> ~Michal
> 

~Michal



 


Rackspace

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