Skip to content

ci: handle an inactive libvirt network for local runs - #422

Open
fwiesel wants to merge 1 commit into
test/integration-guest-teardownfrom
ci/integration-libvirt-network
Open

fwiesel wants to merge 1 commit into
test/integration-guest-teardownfrom
ci/integration-libvirt-network

Conversation

@fwiesel

@fwiesel fwiesel commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

virsh net-info succeeds for a defined network that is inactive, so a local run
stopped before any hypervisor booted. The action reads the Active: field and
starts the network only when the value is no.

It adds the two fixed DHCP reservations by MAC only when they are absent, so a
rerun adds none and a local run matches the hosted runners.

Start an inactive libvirt network and restore its reservations, so local
runs match the hosted runners.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
@fwiesel
fwiesel force-pushed the ci/integration-libvirt-network branch from 9b319d2 to e2d59d7 Compare November 16, 2026 12:30

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant