containers / bootc

Boot and upgrade via container images
https://containers.github.io/bootc/
Apache License 2.0
692 stars 78 forks source link

How to run `make test-tmt` locally? #857

Open evan-goode opened 5 days ago

evan-goode commented 5 days ago

What steps are needed to get make test-tmt to run locally on Fedora 41? I've tried:

dnf install -y tmt+all
dnf builddep -y bootc

in a few different environments (Fedora VM, rootless podman container, rootful podman container, bare metal Fedora) and make test-tmt or sudo make test-tmt always fail with something like

        progress: booting...
        fail: Failed to boot testcloud instance (Instance tmt-012-PqiGkQiA has failed to boot in 1200 seconds).
    finish
        warn: Nothing to finish, no guests provisioned.

The VM does boot, but it seems like TMT can't connect for some reason.

Is there something I'm missing? Can anyone reproduce this on a clean Fedora system?

cgwalters commented 5 days ago

I think we broke this 😢 @ckyrouac was looking at it

ckyrouac commented 5 days ago

ah sorry, I meant to copy over the latest tmt plugin code but got distracted by other stuff. https://github.com/containers/bootc/pull/858 should fix this.