[pve-devel] [PATCH qemu-server] tests: mock storage locking for migration tests

Stefan Reiter s.reiter at proxmox.com
Mon Jan 11 14:08:35 CET 2021


On 1/11/21 1:34 PM, Fabian Ebner wrote:
> by doing it in a local directory instead of /var/lock/pve-manager, which is
> used by the installed/non-test PVE code. This also covers the shared case,
> which will become relevant after fixing #3229 (currently migration doesn't
> touch disks on shared storages).
> 
> Reported-by: Stefan Reiter <s.reiter at proxmox.com>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
Fixes the issue, though it still fails if you have previously made a 
build as root, since 'MigrationTest/run' will have the wrong 
permissions. Maybe include that dir in 'make clean'?





More information about the pve-devel mailing list