Skip to content

Commit 944cc1b

Browse files
committed
zfsvol: Mark test_xva_export_import as xfail until properly fixed
An issue has been observed while running storage tests: tests/storage/storage.py:227: in xva_export_import vm: VM | None = source_vm.clone() lib/vm.py:663: in clone uuid = self.host.xe('vm-clone', {'uuid': self.uuid, 'new-name-label': name}) lib/host.py:178: in xe return self.ssh(command, check=check, simple_output=True) lib/host.py:134: in ssh return commands.ssh(self.hostname_or_ip, cmd, check=check, simple_output=simple_output, E lib.commands.SSHCommandFailed: SSH command (xe vm-clone uuid=9b170db4-2914-1bc3-6680-d12539769e6b new-name-label='[jenkins] Alpine minimal for CI_clone_for_tests') failed with return code 1: There was an SR backend failure. E status: Exception E stdout: Only snapshots can be cloned! E stderr: <unknown> Related-to: XCPNG-3297 Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
1 parent 20d15c2 commit 944cc1b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/storage/zfsvol/test_zfsvol_sr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_invalid_vdi_size(self, zfsvol_sr: SR, image_format: ImageFormat):
9393
zfsvol_sr.create_vdi(virtual_size=MAX_VDI_SIZE[image_format] + 1)
9494
assert 'VDI Invalid size' in excinfo.value.stdout
9595

96+
@pytest.mark.xfail # Failing on Exception "Only snapshots can be cloned!"
9697
@pytest.mark.small_vm
9798
@pytest.mark.parametrize("compression", ["none", "gzip", "zstd"])
9899
def test_xva_export_import(self, vm_on_zfsvol_sr: VM, compression: XVACompression, temp_large_dir: str,

0 commit comments

Comments
 (0)