cloud-hypervisor / cloud-hypervisor

A Virtual Machine Monitor for modern Cloud workloads. Features include CPU, memory and device hotplug, support for running Windows and Linux guests, device offload with vhost-user and a minimal compact footprint. Written in Rust with a strong focus on security.
https://www.cloudhypervisor.org
3.98k stars 445 forks source link

test_vdpa_net failing after worker kernel upgrade #5756

Open rbradford opened 1 year ago

rbradford commented 1 year ago

Worker kernel has moved from 5.15 to 6.2

Before https://cloud-hypervisor-jenkins.westus.cloudapp.azure.com/job/cloud-hypervisor/job/main/545/consoleText after https://cloud-hypervisor-jenkins.westus.cloudapp.azure.com/job/cloud-hypervisor/job/main/546/consoleText (look at kernel checkout for vdpa testing for version information)

Since the vdpa test relies on a special kernel module it's likely that that changed and so the test needs adapting.

likebreath commented 1 year ago

Thank you Rob for opening the issue and point out the potential root cause.

For future reference, we build the specific kernel module to be used for this test from https://github.com/cloud-hypervisor/cloud-hypervisor/blob/main/scripts/prepare_vdpa.sh, which is a part of our Jenkin pipeline "Prepare Environment". Its log also clearly showed that the Azure VM kernel version bumped from linux-azure-5.15.0 [1] to linux-azure-6.2-6.2.0 [2].

[1] https://cloud-hypervisor-jenkins.westus.cloudapp.azure.com/blue/rest/organizations/jenkins/pipelines/cloud-hypervisor/branches/main/runs/545/nodes/143/steps/144/log/?start=0 [2] https://cloud-hypervisor-jenkins.westus.cloudapp.azure.com/blue/rest/organizations/jenkins/pipelines/cloud-hypervisor/branches/main/runs/546/nodes/126/steps/127/log/?start=0