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
Describe a NixOS VM test that uses emptyDiskImages on more than one VM, and run it via nixosTests.testName.
Observe it works with the perl test driver, but fails with the python test driver.
The python test code shows something like this:
qemu-system-x86_64: -drive file=/build /empty0.qcow2,id=drive2,if=none,index=2,werror=report: Failed to get "write" lock
This seems to be caused due to some differences in passing around environment to the startVM script created in qemu-vm.nix, which causes it to not create the empty$idx.qcow2 images in a per-vm tmpdir, but all in the same location (and by that, trying to use empty0.qcow2 from two different VMs at once.
Describe a NixOS VM test that uses
emptyDiskImages
on more than one VM, and run it vianixosTests.testName
.Observe it works with the perl test driver, but fails with the python test driver.
The python test code shows something like this:
This seems to be caused due to some differences in passing around environment to the
startVM
script created inqemu-vm.nix
, which causes it to not create theempty$idx.qcow2
images in a per-vm tmpdir, but all in the same location (and by that, trying to useempty0.qcow2
from two different VMs at once.cc @tfc @Mic92 @worldofpeace
The text was updated successfully, but these errors were encountered: