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

Re: [PATCH 4/6] CI: Express HYPERVISOR_ONLY in build.yml


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Wed, 4 Jan 2023 01:41:57 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=4zdzJlG75cMPxlVOfMNmGrXGm/DiNSso512V2M2wsXg=; b=XzmKaQ0Jhr9jx3/ix0AtrFdlk4WMnilSe5xWjzR3y9kaw71+TQCDtUaKRORUz88qf7dyEmDPzQdcUT+2pZIlHybEmYBzCTjEIyT2hz1iWa/DqdgVrnI80Fn2mDxkTSIx8FAVOQIvl1yP6yrHl8NlSIEB1aNvUqwC5IyG+5ULrAyYTfMJ+aSaDZp26Ve37F8xDIGtZiUaTftbw8k5tfs+eZSOqxNo3NzUVsIN7yKW2l7LD0LO76mtBJ011APaj/xmXPTbjndD5Qu3QIuoidt/SBJoFSGoWgZ0TAVRt9zZsZNgavbh+k4PHq1SI3RW5DXW9uPjEGF6QMQ7ZLU2vYysdg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NxsKbGibreGMl0Ag8UXh0EX3w+AkOqpvaEQ/KOWKsT8018MfPT+3W8kA2QVEBWkBcewcTIaw8HR55bvCZZL6BOFgwjgb1KnA6Rq8t/rbKiu85ykbTZmpLCPJ12CNsc4lWtytKtqdf34Lc92TJo1Y14u4OhLTh45p7kl8hGc+mfpfykElvxm0YqRA7SaAaGULjZqEDk7G6wSBDnApOWZrhSHtfxAzTZzv0/bqdTOa4HdKlhziOIVTz3TXiKAh8/MMyOi5QbjjA4taxtSew3tzDdjsa+MpZzpTBrHx4RBM4nnSkbeXj3xY6zDRcFYNbIe9mzf63oMc0M5R5vyM4EE0mA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
  • Delivery-date: Wed, 04 Jan 2023 01:42:22 +0000
  • Ironport-data: A9a23:D5rKf6skDRdWy6jlb1VcBm2FmefnVLZfMUV32f8akzHdYApBsoF/q tZmKTiEMvjZNDD1LYsgPInloBgEuJ/SmN9jSAo6qCoxQy5B+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVKiffHg0HVU/IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4bKj5lv0gnRkPaoQ5AaGzCFIZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwLS0rPyumoN2P6Y2HU65dh8ADMtLnM9ZK0p1g5Wmx4fcOZ7nmGv+PyfoGmTA6i4ZJAOrUY NcfZXx3dhPcbhZTO1ARTpUjgOOvgXq5eDpdwL6XjfNvvy6Pk0osgf60bou9lt+iHK25mm6xo G7c8nu/KRYdLNGFkhKO8262h/+JliT+MG4XPOzgrqcy2QPDroAVIEUuBUKinfSDs3W3HO1cF E4up3M2sZFnoSRHSfG4BXVUukWspQUAUtBdF+k77gClyafO5QudQG8eQVZpeNEg8cM7WzEu/ luIhM/yQyxitqWPTnCQ/avSqim9UQAeJHUOYiIsRgIf797u5oo0i3rnS9doEKexyNrvCzz06 zmPoG41gLB7pckP2qag/FGBgC+2oZPJTQkd6QDeX2bj5QR8DLNJfKSt4FnfqPpFcoCQSwDbu GBewpbPqucTEZuKiSqBBv0XG62k7OqENzuahkNzG54m9HKm/HvLkZ1s3QyS7XxBaq4sEQIFq meK0e+NzPe/5EeXUJI=
  • Ironport-hdrordr: A9a23:cvHzUKvYz8TGFkid6uE8edbF7skDstV00zEX/kB9WHVpm6yj+v xG/c5rsCMc7Qx6ZJhOo7+90cW7L080lqQFg7X5X43DYOCOggLBQL2KhbGI/9SKIVycygcy78 Zdm6gVMqyLMbB55/yKnTVRxbwbsaW6GKPDv5ag8590JzsaD52Jd21Ce36m+ksdfnggObMJUK Cyy+BgvDSadXEefq2AdwI4t7iqnaysqHr+CyR2fiIa1A==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHZG+cbFLjU6ViRqEqaO8BfTNldnq6NfEWAgAADPYCAAAKVgIAAAY8A
  • Thread-topic: [PATCH 4/6] CI: Express HYPERVISOR_ONLY in build.yml

On 04/01/2023 1:36 am, Stefano Stabellini wrote:
> On Wed, 4 Jan 2023, Andrew Cooper wrote:
>> On 04/01/2023 1:15 am, Stefano Stabellini wrote:
>>> On Fri, 30 Dec 2022, Andrew Cooper wrote:
>>>
>>>> Whether to build only Xen, or everything, is a property of container,
>>>> toolchain and/or testcase.  It is not a property of XEN_TARGET_ARCH.
>>>>
>>>> Capitalise HYPERVISOR_ONLY and have it set by the 
>>>> debian-unstable-gcc-arm32-*
>>>> testcases at the point that arm32 get matched with a container that can 
>>>> only
>>>> build Xen.
>>>>
>>>> For simplicity, retain the RANDCONFIG -> HYPERVISOR_ONLY implication.
>>>>
>>>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>>>> ---
>>>> CC: Doug Goldstein <cardoe@xxxxxxxxxx>
>>>> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx>
>>>> CC: Anthony PERARD <anthony.perard@xxxxxxxxxx>
>>>> CC: Michal Orzel <michal.orzel@xxxxxxx>
>>>> CC: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
>>>> ---
>>>>  automation/gitlab-ci/build.yaml |  2 ++
>>>>  automation/scripts/build        | 11 ++++-------
>>>>  2 files changed, 6 insertions(+), 7 deletions(-)
>>>>
>>>> diff --git a/automation/gitlab-ci/build.yaml 
>>>> b/automation/gitlab-ci/build.yaml
>>>> index 93d9ff69a9f2..e6a9357de3ef 100644
>>>> --- a/automation/gitlab-ci/build.yaml
>>>> +++ b/automation/gitlab-ci/build.yaml
>>>> @@ -516,11 +516,13 @@ debian-unstable-gcc-arm32:
>>>>    extends: .gcc-arm32-cross-build
>>>>    variables:
>>>>      CONTAINER: debian:unstable-arm32-gcc
>>>> +    HYPERVISOR_ONLY: y
>>>>  
>>>>  debian-unstable-gcc-arm32-debug:
>>>>    extends: .gcc-arm32-cross-build-debug
>>>>    variables:
>>>>      CONTAINER: debian:unstable-arm32-gcc
>>>> +    HYPERVISOR_ONLY: y
>>> can you move the setting of HYPERVISOR_ONLY to .arm32-cross-build-tmpl ?
>> Not really - that's the point I'm trying to make in the commit message.
>>
>>> I think that makes the most sense because .arm32-cross-build-tmpl is the
>>> one setting XEN_TARGET_ARCH and also the x86_64 tag.
>> It's not about x86_64; its about the container.
>>
>> Whether we can build just Xen, or everything, solely depends on the
>> contents in debian:unstable-arm32-gcc
>>
>> If we wanted to, we could update unstable-arm32-gcc's dockerfile to
>> install the arm32 cross user libs, and drop this HYPERVISOR_ONLY
>> restriction.
> If it is a property of the container, shouldn't HYPERVISOR_ONLY be set
> every time the debian:unstable-arm32-gcc container is used? Including
> debian-unstable-gcc-arm32-randconfig and
> debian-unstable-gcc-arm32-debug-randconfig?
>
> I realize that the other 2 jobs are randconfigs so HYPERVISOR_ONLY gets
> set anyway. But if HYPERVISOR_ONLY is a property of the specific
> container, then I think it would be best to be consistent and set
> HYPERVISOR_ONLY everywhere debian:unstable-arm32-gcc is used.
>
> E.g. one day we could just randconfigs to build also the tools with a
> simple change to the build script and otherwise we would need to
> remember to also add the HYPERVISOR_ONLY tag for the other 2 jobs using
> debian:unstable-arm32-gcc.

Ok, so we want 4 HYPERVISOR_ONLY's in total, one for each instance of
CONTAINER: debian:unstable-arm32-gcc ?

~Andrew

 


Rackspace

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