containers / bootc

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

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

Closed evan-goode closed 3 weeks ago

evan-goode commented 1 month 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 1 month ago

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

ckyrouac commented 1 month 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.

cgwalters commented 3 weeks ago

I believe this is fixed, please reopen if not!