[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 16:32:04 +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=yM3HIDm85n8qkkEkG7xtgzz+b/Am+ZT80vERxF7D4JI=; b=LYdKtfsCWL+9Y6GzGee7uos5cmXMk9nXCVnBVWNYGGPR7MLkzj8Fa/Ji1yRISeiCkZKGaDpFUxE5AkQGx5vhGwNx5kAwURwwvGiHjh0j80b6bDMMA9ZYBCouL7/E83hTgwg15N+0TK/5hEdSPhdRuxVqHaTowCmUUq6m2nz5S6tArFcrflOf0M0U1jvMdA0PIYstEuC6YnH+mQcDuQkyUrZfwevq/Ucaz68UlLokWU5EvNAh6eBFZlQKJ7aW95EvM6GJduDgGV6g4NDyCkFM9cFrK8dvumeZr1qK5/0tG7jJOh3MRYsCXS3IS279CKGwu8x1PGhCHASNlkDw55kItQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LJ2KliLCJsANIGHW60bMto0YvJfm7Z/FDj6YLh8Xey0F1WKKQVjfeNBik07fM2FCszj9tbd2gakSCro9cbhqFl0GSAFIhWP+rKhhOpKHgoRzjQUEbMCRfAwOE6jmIJ+t/GTKhcmDR42I1Jae4Q1R/xY2h3eg5M+Tybx7jlsRgHZoCSXmPWbCIX0THFikCtnMMfpOXCoGcRYFAnHpV+Gk61bI7HDwAvX8QU9qq5IyYNwMvJKpEpFpd2jphL3P2/XCks+fDUKFduqT+RnNUOsWvFe6p+O4uanGR9aOLlwf0dS9eXzgZ4WDP9FE5/6/8GqJ+QxJpKmvkkvAIp/W1R1Iuw==
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>
  • Delivery-date: Fri, 21 Oct 2022 14:32:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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://gitlab.com/xen-project/people/morzel/xen-orzelmichal/-/pipelines/673396949

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...

> 
> ~Andrew

~Michal



 


Rackspace

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