You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the test framework saves the instance on the runner's state it does not account for the instance provisioner. That causes the runner to reuse an existing instance multipass instance even though ogc is selected as instance provisioner and vice versa
How to reproduce:
Make sure there is not existing instances, run: mage integration:clean
Run a test using multipass: AGENT_VERSION=8.12.0-SNAPSHOT AGENT_KEEP_INSTALLED=true INSTANCE_PROVISIONER="multipass" SNAPSHOT=true TEST_PLATFORMS="linux/amd64" mage integration:single TestFleetAirGapedUpgrade
Everything works, a multipass instance is created.
Run the same test using ogc: AGENT_VERSION=8.12.0-SNAPSHOT AGENT_KEEP_INSTALLED=true INSTANCE_PROVISIONER="ogc" SNAPSHOT=true TEST_PLATFORMS="linux/amd64" mage integration:single TestFleetAirGapedUpgrade
The multipass instance is reused
The text was updated successfully, but these errors were encountered:
When the test framework saves the instance on the runner's state it does not account for the instance provisioner. That causes the runner to reuse an existing instance
multipass
instance even thoughogc
is selected as instance provisioner and vice versaHow to reproduce:
mage integration:clean
AGENT_VERSION=8.12.0-SNAPSHOT AGENT_KEEP_INSTALLED=true INSTANCE_PROVISIONER="multipass" SNAPSHOT=true TEST_PLATFORMS="linux/amd64" mage integration:single TestFleetAirGapedUpgrade
AGENT_VERSION=8.12.0-SNAPSHOT AGENT_KEEP_INSTALLED=true INSTANCE_PROVISIONER="ogc" SNAPSHOT=true TEST_PLATFORMS="linux/amd64" mage integration:single TestFleetAirGapedUpgrade
The text was updated successfully, but these errors were encountered: