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
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 <andrew.cooper3@citrix.com>
---
CC: Anthony PERARD <anthony.perard@vates.tech>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Michal Orzel <michal.orzel@amd.com>
CC: Doug Goldstein <cardoe@cardoe.com>
CC: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1760198654
---
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
diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index 169bebe3c775..ab758243c1ec 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -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
diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
index d05b9a98afa6..58620b32da5d 100644
--- a/automation/gitlab-ci/test.yaml
+++ b/automation/gitlab-ci/test.yaml
@@ -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: x86_64-kernel-linux-6.6.56
+ ref: master
- project: xen-project/hardware/test-artifacts
job: x86_64-rootfs-alpine-3.18
ref: master
diff --git a/automation/tests-artifacts/kernel/6.1.19.dockerfile b/automation/tests-artifacts/kernel/6.1.19.dockerfile
deleted file mode 100644
index 073eaa0e11fa..000000000000
--- a/automation/tests-artifacts/kernel/6.1.19.dockerfile
+++ /dev/null
@@ -1,41 +0,0 @@
-# syntax=docker/dockerfile:1
-FROM --platform=linux/amd64 debian:bookworm
-LABEL maintainer.name="The Xen Project" \
- maintainer.email="xen-devel@lists.xenproject.org"
-
-ENV DEBIAN_FRONTEND=noninteractive
-ENV LINUX_VERSION=6.1.19
-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 \
- libelf-dev \
- && \
- apt-get autoremove -y && \
- apt-get clean && \
- rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
-
-# Build the kernel
-RUN 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 && \
- make xen.config && \
- scripts/config --enable BRIDGE && \
- scripts/config --enable IGC && \
- scripts/config --enable TUN && \
- cp .config .config.orig && \
- cat .config.orig | grep XEN | grep =m |sed 's/=m/=y/g' >> .config && \
- make -j$(nproc) bzImage && \
- cp arch/x86/boot/bzImage / && \
- cd /build && \
- rm -rf linux-"$LINUX_VERSION"*
base-commit: 59bb316ea89e7f9461690fe00547d7d2af96321d
--
2.39.5
On Wed, Apr 09, 2025 at 02:05:05PM +0100, Andrew Cooper wrote: > 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. My hw12 runner series adds CONFIG_USB_RTL8152, there are also other series that needs extending kernel config. Is there some better way of handling such series than sending patches to two repositories? Maybe test-artifacts.git scripts could pull some parts from xen.git? But the committing order would still be weird (commit kernel change into xen.git, rebuild test-artifacts, commit the rest to xen.git)... > Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> > --- > CC: Anthony PERARD <anthony.perard@vates.tech> > CC: Stefano Stabellini <sstabellini@kernel.org> > CC: Michal Orzel <michal.orzel@amd.com> > CC: Doug Goldstein <cardoe@cardoe.com> > CC: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> > > https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1760198654 This still waits in the queue for adl and kbl. But should be good, given it worked also with 6.12. -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
On 09/04/2025 2:28 pm, Marek Marczykowski-Górecki wrote: > On Wed, Apr 09, 2025 at 02:05:05PM +0100, Andrew Cooper wrote: >> 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. > My hw12 runner series adds CONFIG_USB_RTL8152, there are also other > series that needs extending kernel config. Is there some better way of > handling such series than sending patches to two repositories? Maybe > test-artifacts.git scripts could pull some parts from xen.git? But the > committing order would still be weird (commit kernel change into > xen.git, rebuild test-artifacts, commit the rest to xen.git)... Yes, I'm aware. I'm trying to get us down to 1 way of doing artefacts, rather than continuing the hybrid scheme. I have a *lot* of changes to test-artefacts to post too. When that's done, updating the config (or another aspect of the artefact) should just be a change to test-artefacts, with no change to Xen. Updating the versions will require a patch to test-artefacts first, then one to Xen to start using it. > >> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> >> --- >> CC: Anthony PERARD <anthony.perard@vates.tech> >> CC: Stefano Stabellini <sstabellini@kernel.org> >> CC: Michal Orzel <michal.orzel@amd.com> >> CC: Doug Goldstein <cardoe@cardoe.com> >> CC: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> >> >> https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1760198654 > This still waits in the queue for adl and kbl. But should be good, given > it worked also with 6.12. > It worked in local smoke tests too. ~Andrew
© 2016 - 2025 Red Hat, Inc.