From d2ad562bdf2d827f5ef4832bb9a4c1fc677d2330 Mon Sep 17 00:00:00 2001 From: hanwenli Date: Thu, 10 Jul 2025 11:24:36 -0700 Subject: [PATCH] [test] Fix Github system tests on Ubuntu This commit fixes the following issue: 1. On Ubuntu 24 mock a kernel version that is actually from Ubuntu 24 instead of 22 2. Upgrade Chef version in system test to fix an known issue https://github.com/chef/chef/pull/14928, which was failing for both Ubuntu22 and Ubuntu 24 Signed-off-by: Hanwen --- kitchen.docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitchen.docker.yml b/kitchen.docker.yml index 40d461ff7..7cad74a8e 100644 --- a/kitchen.docker.yml +++ b/kitchen.docker.yml @@ -3,7 +3,7 @@ driver: name: dokken platform: linux/amd64 pull_platform_image: false # Use the local images, prevent pull of docker images from Docker Hub, - chef_version: 18.7.3 # Chef version aligned with the one used to build the images + chef_version: 18.7.10 chef_image: cincproject/cinc env: # Since the kernel version of the docker images is not in the expected pattern, @@ -59,7 +59,7 @@ platforms: cluster: base_os: ubuntu2404 # Since the kernel version of the docker images is not compatible (6.2.0-1016-azure), set a fake kernel value to permit to install Lustre on docker. - kernel_release: '5.15.0-1028-aws' + kernel_release: '6.8.0-1031-aws' - name: rhel8 driver: image: <% if ENV['KITCHEN_RHEL8_IMAGE'] %> <%= ENV['KITCHEN_RHEL8_IMAGE'] %> <% else %> registry.access.redhat.com/ubi8/ubi <% end %>