CI: Cleanup/Upgrade of Linux used for testing
cover CI: Cleanup/Upgrade of Linux used for testing
Switch fully on to test-artefacts for Linux.
Patch 3 is a repost. Patch 1 supercedes a prior posting.
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1762221755
Andrew Cooper (3):
CI: Update x86 tests from Linux 6.1.19 to 6.6.56
CI: Update ARM64 tests from Linux 6.6.74 to 6.6.86
CI: Drop stale test-artifacts/alpine/3.18.dockerfile
automation/gitlab-ci/build.yaml | 24 ------- automation/gitlab-ci/test.yaml | 8 ++- .../tests-artifacts/alpine/3.18.dockerfile | 67 ------------------- .../tests-artifacts/kernel/6.1.19.dockerfile | 41 ------------ .../kernel/6.6.74-arm64v8.dockerfile | 38 ----------- 5 files changed, 6 insertions(+), 172 deletions(-) delete mode 100644 automation/tests-artifacts/alpine/3.18.dockerfile delete mode 100644 automation/tests-artifacts/kernel/6.1.19.dockerfile delete mode 100644 automation/tests-artifacts/kernel/6.6.74-arm64v8.dockerfile
Signature · 1 line
2.39.5
PATCH 1/3 CI: Update x86 tests from Linux 6.1.19 to 6.6.56
Linux 6.6.56 was already added to test-artifacts for the argo testing, and this removes one moving part while cleaning things up.
Drop the associated export job, and dockerfile.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
Also, somewhere between 6.6.56 and 6.6.74, PVH stops working
--- automation/gitlab-ci/build.yaml | 13 ------ automation/gitlab-ci/test.yaml | 4 +- .../tests-artifacts/kernel/6.1.19.dockerfile | 41 ------------------- 3 files changed, 3 insertions(+), 55 deletions(-) delete mode 100644 automation/tests-artifacts/kernel/6.1.19.dockerfile
automation/gitlab-ci/build.yaml +0 -13
@@ -308,19 +308,6 @@ qemu-system-aarch64-6.0.0-arm32-export: tags: - arm64 -# x86_64 test artifacts - -kernel-6.1.19-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:6.1.19 - script: - - mkdir binaries && cp /bzImage binaries/bzImage - artifacts: - paths: - - binaries/bzImage - tags: - - x86_64 - # Jobs below this line # Build jobs needed for tests
automation/gitlab-ci/test.yaml +3 -1
@@ -16,7 +16,9 @@ - qemu-system-aarch64-6.0.0-arm32-export .x86-64-test-needs: &x86-64-test-needs - - kernel-6.1.19-export + - project: xen-project/hardware/test-artifacts + job: linux-6.6.56-x86_64 + ref: master - project: xen-project/hardware/test-artifacts job: x86_64-rootfs-alpine-3.18 ref: master
automation/tests-artifacts/kernel/6.1.19.dockerfile deleted +0 -41
41 lines not on this page · raw message
Signature · 1 line
2.39.5
Re: [PATCH 1/3] CI: Update x86 tests from Linux 6.1.19 to 6.6.56
Quoted 6 lines · Andrew Cooper
Linux 6.6.56 was already added to test-artifacts for the argo testing, and this removes one moving part while cleaning things up.
Drop the associated export job, and dockerfile.
Signed-off-by Andrew Cooper <[email protected]>
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
PATCH 2/3 CI: Update ARM64 tests from Linux 6.6.74 to 6.6.86
In reply to Andrew CooperSwitch over to test-artifacts.
Drop the associated export job, and dockerfile.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
--- automation/gitlab-ci/build.yaml | 11 ------ automation/gitlab-ci/test.yaml | 4 +- .../kernel/6.6.74-arm64v8.dockerfile | 38 ------------------- 3 files changed, 3 insertions(+), 50 deletions(-) delete mode 100644 automation/tests-artifacts/kernel/6.6.74-arm64v8.dockerfile
automation/gitlab-ci/build.yaml +0 -11
@@ -275,17 +275,6 @@ alpine-3.18-arm64-rootfs-export: tags: - arm64 -kernel-6.6.74-arm64-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:6.6.74-arm64v8 - script: - - mkdir binaries && cp /Image binaries/Image - artifacts: - paths: - - binaries/Image - tags: - - arm64 - qemu-system-aarch64-6.0.0-arm64-export: extends: .test-jobs-artifact-common image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8
automation/gitlab-ci/test.yaml +3 -1
@@ -8,8 +8,10 @@ - when: on_success .arm64-test-needs: &arm64-test-needs + - project: xen-project/hardware/test-artifacts + job: linux-6.6.86-arm64 + ref: master - alpine-3.18-arm64-rootfs-export - - kernel-6.6.74-arm64-export - qemu-system-aarch64-6.0.0-arm64-export .arm32-test-needs: &arm32-test-needs
automation/tests-artifacts/kernel/6.6.74-arm64v8.dockerfile deleted +0 -38
@@ -1,38 +0,0 @@ -# syntax=docker/dockerfile:1 -FROM --platform=linux/arm64/v8 debian:bookworm -LABEL maintainer.name="The Xen Project" \ - maintainer.email="[email protected]" - -ENV DEBIAN_FRONTEND=noninteractive -ENV LINUX_VERSION=6.6.74 -ENV USER root - -RUN mkdir /build -WORKDIR /build - -# build depends -RUN apt-get update && \ - apt-get --quiet --yes install \ - build-essential \ - bc \ - curl \ - flex \ - bison \ - libssl-dev \ - && \ - \ - # Build the kernel - curl -fsSLO https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-"$LINUX_VERSION".tar.xz && \ - tar xvJf linux-"$LINUX_VERSION".tar.xz && \ - cd linux-"$LINUX_VERSION" && \ - make defconfig && \ - sed -i 's/CONFIG_IPV6=m/CONFIG_IPV6=y/g' .config && \ - sed -i 's/CONFIG_BRIDGE=m/CONFIG_BRIDGE=y/g' .config && \ - sed -i 's/# CONFIG_XEN_NETDEV_BACKEND is not set/CONFIG_XEN_NETDEV_BACKEND=y/g' .config && \ - make -j$(nproc) Image.gz && \ - cp arch/arm64/boot/Image / && \ - cd /build && \ - rm -rf linux-"$LINUX_VERSION"* && \ - apt-get autoremove -y && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
Signature · 1 line
2.39.5
Re: [PATCH 2/3] CI: Update ARM64 tests from Linux 6.6.74 to 6.6.86
Quoted 5 lines · Andrew Cooper
Switch over to test-artifacts.
Drop the associated export job, and dockerfile.
Signed-off-by Andrew Cooper <[email protected]>
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
PATCH 3/3 CI: Drop stale test-artifacts/alpine/3.18.dockerfile
In reply to Andrew CooperThis should have been dropped too, as the authoritative copy lives in another repo now.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
Repost
--- .../tests-artifacts/alpine/3.18.dockerfile | 67 ------------------- 1 file changed, 67 deletions(-) delete mode 100644 automation/tests-artifacts/alpine/3.18.dockerfile
automation/tests-artifacts/alpine/3.18.dockerfile deleted +0 -67
@@ -1,67 +0,0 @@ -# syntax=docker/dockerfile:1 -FROM --platform=linux/amd64 alpine:3.18 -LABEL maintainer.name="The Xen Project" \ - maintainer.email="[email protected]" - -ENV USER root - -RUN mkdir /build -WORKDIR /build - -RUN \ - # apk - apk update && \ - \ - # xen runtime deps - apk add musl && \ - apk add libgcc && \ - apk add openrc && \ - apk add busybox && \ - apk add sudo && \ - apk add dbus && \ - apk add bash && \ - apk add python3 && \ - apk add zlib && \ - apk add ncurses && \ - apk add yajl && \ - apk add libaio && \ - apk add xz && \ - apk add util-linux && \ - apk add argp-standalone && \ - apk add libfdt && \ - apk add glib && \ - apk add pixman && \ - apk add curl && \ - apk add udev && \ - apk add pciutils && \ - apk add libelf && \ - \ - # Xen - cd / && \ - # Minimal ramdisk environment in case of cpio output - rc-update add udev && \ - rc-update add udev-trigger && \ - rc-update add udev-settle && \ - rc-update add loopback sysinit && \ - rc-update add bootmisc boot && \ - rc-update add devfs sysinit && \ - rc-update add dmesg sysinit && \ - rc-update add hostname boot && \ - rc-update add hwclock boot && \ - rc-update add hwdrivers sysinit && \ - rc-update add modules boot && \ - rc-update add killprocs shutdown && \ - rc-update add mount-ro shutdown && \ - rc-update add savecache shutdown && \ - rc-update add local default && \ - cp -a /sbin/init /init && \ - echo "ttyS0" >> /etc/securetty && \ - echo "hvc0" >> /etc/securetty && \ - echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab && \ - echo "hvc0::respawn:/sbin/getty -L hvc0 115200 vt100" >> /etc/inittab && \ - echo > /etc/modules && \ - passwd -d "root" root && \ - \ - # Create rootfs - cd / && \ - tar cvzf /initrd.tar.gz bin dev etc home init lib mnt opt root sbin usr var
Signature · 1 line
2.39.5
Re: [PATCH 3/3] CI: Drop stale test-artifacts/alpine/3.18.dockerfile
Quoted 5 lines · Andrew Cooper
This should have been dropped too, as the authoritative copy lives in another repo now.
Fixes babe11b46c1a ("CI: Drop alpine-3.18-rootfs-export and use test-artefacts")Signed-off-by Andrew Cooper <[email protected]>
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab