BMO e2e cleanup potentially leaving VMs? #1531
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue is ready to be actively worked on.
What steps did you take and what happened:
See https://jenkins.nordix.org/view/Metal3/job/metal3-bmo-e2e-test-pull/214/
Anything else you would like to add:
My suspicion is that there is an issue with the cleanup script that somehow left a VM behind from the previous job. Then when this job started we got the conflict.
I could easily be mistaken though. Perhaps minikube somehow happened to get exactly the same MAC as we are giving the BMH VM? 🤯
Edit:
I think I found the issue now!
baremetal-operator/hack/clean-e2e.sh
Line 11 in 53281e6
This is not using the
qemu:///system
socket so it will not find the VMs.I don't think we should select all VMs either. Somehow I missed that while reviewing.
We should instead do as here. In fact we should probably reuse that script and just take the prefix for what VMs to delete from a variable.
/kind bug
The text was updated successfully, but these errors were encountered: