Skip to content

Cache/retry virtme-ng kernels #1333

Description

@Jake-Shadle

Right now the xdp integration test downloads multiple kernel versions via virtme-ng from the Ubuntu mainline builds repository, but that can occasionally fail, eg.

[Errno 2] No such file or directory: '/root/.cache/virtme-ng/v6.12/amd64/amd64/linux-image-unsigned-6.12.0-061200-generic_6.12.0-061200.202411220723_amd64.deb'

virtme-ng will sometimes just fail to write, though I believe this is a case where errors are not being propagated correctly (eg. failed to send/receive HTTP)

failed to retrieve content, error: 503

And sometimes the HTTP servers are just down.

To avoid these transient errors that are out of our control, but cause test failures, we should probably cache the various kernel versions we test against, though it's probably a bit more complicated than that because we do want to keep up with patches. Another option instead of using the kind of flaky Ubuntu builds would be to build the kernel from source ourselves and cache that, though that would probably take a bit more maintenance work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions