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

Re: [PATCH v5 0/3] Yocto Gitlab CI


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Thu, 1 Dec 2022 08:52:25 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=Ry8aIQFsYD5zw2guxY3LkcXgZB9WbcfDbCo9iDWmyKQ=; b=EuZTKSaPLok/RyedGaka2Fvq7cgERfs2Rla07SNb4kOmjwW0x7hE/l3x8RaheHNhOTeP+Bkd6frrnXiM27+F2zBoaVnsmPfTwRj/JAmzB13/SZtwOzrSqMgkIiWLdfAoPA0xge6dOMg3L0NsHiy1fZ6Cd2VrmJUKdQysiozXkJt+bR9RkomlnDP2zUuAXDpw/xH1/KtGozj0aaVNj+s4KKNKnJWQdtRbF4pM1By77DIXTp6CpZfvbEuRBx0bWKbPBM6ZyDpw/tlsQ5KorX5UASS12L6wGe26s3y2d7FqV5YLEnUFnNMam0lRz8E6fzC8QvezdGbxuYASZuki+/YJEw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XydNvFx5pbA66zMVqNoFOut5WtAxgqOYNhTivA1jWdvdeTDLkHUX18YXm8TqL00qicuBwa/dp3Bc8EUmKrf+gd0ZpZSkHooJAxypnV5anDgYncpujErnfGjr2ssxExgmX91fBESJjdXjgNGju9thkSyl/GYxE+COC0P0EctShBn9DIqxR4pMFIBRmMi5O9hmZxMfxYHUKMjAgm7vaaDj1OfPU+kI1DJYrHDkSY/Vw7GpnY5V8MCoRBWvooeSCZnfxwAvUOjlPklOMHU83tRJs5cNm5IF48jN3+5YVqlSYifoZPXTcVeUtm6vxARveP9CL2+KOkG1oZPjfSRe/DnP5A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "michal.orzel@xxxxxxx" <michal.orzel@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
  • Delivery-date: Thu, 01 Dec 2022 08:52:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Thread-index: AQHZBLWAGwGw6fltyE6VAxC7RJU5cK5YaY6AgABRfQA=
  • Thread-topic: [PATCH v5 0/3] Yocto Gitlab CI

Hi Stefano,

> On 1 Dec 2022, at 04:00, Stefano Stabellini <sstabellini@xxxxxxxxxx> wrote:
> 
> The build of the qemux86-64 container still fails, logs attached.
> I tested the full gitlab-ci pipeline for qemuarm and qemuarm64 and they
> both succeeded.

This is actually because we build 4.16, this was fixed on master.
I will enforce to use the latest version of Xen available.
I will modify and test that today.

Cheers
Bertrand

> 
> On Wed, 30 Nov 2022, Bertrand Marquis wrote:
>> This patch series is a first attempt to check if we could use Yocto in
>> gitlab ci to build and run xen on qemu for arm, arm64 and x86.
>> 
>> The first patch is introducing a container template from which container
>> files can be generated for all combinations we want to support (qemu
>> arm, arm64 and x86 targets and hosts x86_64 and arm64).
>> It is also introducing a generic build script (build-yocto.sh) that is
>> used to create, build and run a Yocto project.
>> 
>> The second patch is adding a way to easily clean locally created
>> containers.
>> 
>> The third patch is introducing some gitlab CI templates and jobs so that
>> we can test a Xen source tree in gitlab-CI using Yocto.
>> 
>> This has been tested on a x86 host machine and on an arm host machine
>> (with mk_dsdt.c fix).
>> 
>> Changes in v5:
>> - automatic cleanup of generated docker files using INTERMEDIATE
>> - typo fixes
>> - rebase on Stefano's next branch
>> - remove clean rule cleaning all containers
>> 
>> Changes in v4:
>> - rework the container generation to support multiple hosts
>> - rework the container generation to use a single template for all
>>  docker files (make process is generating the docker files).
>> 
>> Changes in v3:
>> - limit number of jobs in yocto
>> - do not copy build script inside container
>> - add patch from Michal to create gitlab jobs
>> 
>> Changes in v2:
>> - remove gitignore patch which was merged
>> - add a --dump-log support in build-yocto.sh script and use it during
>>  container creation to see the error logs.
>> 
>> 
>> Bertrand Marquis (2):
>>  automation: Create Yocto docker images
>>  automation: Add a clean rule for containers
>> 
>> Michal Orzel (1):
>>  automation: Add CI test jobs for Yocto
>> 
>> automation/build/Makefile                  |  24 +-
>> automation/build/yocto/build-yocto.sh      | 351 +++++++++++++++++++++
>> automation/build/yocto/yocto.dockerfile.in | 114 +++++++
>> automation/build/yocto/yocto.inc           |  42 +++
>> automation/gitlab-ci/test.yaml             |  43 +++
>> 5 files changed, 572 insertions(+), 2 deletions(-)
>> create mode 100755 automation/build/yocto/build-yocto.sh
>> create mode 100644 automation/build/yocto/yocto.dockerfile.in
>> create mode 100644 automation/build/yocto/yocto.inc
>> 
>> -- 
>> 2.25.1
> <log.txt>




 


Rackspace

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