Project

General

Profile

Actions

action #159579

closed

[MinimalVM] vmware assets copy

Added by mloviska 9 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2024-04-24
Due date:
% Done:

100%

Estimated time:

Description

Observation

openQA test in scenario sle-micro-6.0-Default-VMware-x86_64-slem_docker@svirt-vmware70 fails in
bootloader_svirt

This code might be cleaned up as the assets copy is handled by the svirt backend[1] and therefore this part is not used any more.

--- a/tests/installation/bootloader_svirt.pm
+++ b/tests/installation/bootloader_svirt.pm
@@ -144,13 +144,6 @@ sub run {
             if ($hddpath =~ m/vmdk\.xz$/) {
                 my $nfs_ro = $hddpath;
                 $hddpath = "$vmware_openqa_datastore/$hdd" =~ s/vmdk\.xz/vmdk/r;
-                # do nothing if the image is already unpacked in datastore
-                if ($svirt->run_cmd("test -e $hddpath", domain => 'sshVMwareServer')) {
-                    my $ret = $svirt->run_cmd("cp $nfs_ro $vmware_openqa_datastore", domain => 'sshVMwareServer');
-                    die "Image copy to datastore failed!\n" if $ret;
-                    $ret = $svirt->run_cmd("xz --decompress --keep --verbose $vmware_openqa_datastore/$hdd", domain => 'sshVMwareServer');
-                    die "Image decompress in datastore failed!\n" if $ret;
-                }
             }
             $svirt->add_disk(

[1] https://github.com/os-autoinst/os-autoinst/blob/master/consoles/sshVirtsh.pm#L330

Actions #1

Updated by rbranco 9 months ago

  • Assignee set to rbranco
Actions #2

Updated by rbranco 9 months ago

  • Status changed from New to In Progress
Actions #3

Updated by rbranco 9 months ago

  • Status changed from In Progress to Workable
  • Assignee deleted (rbranco)
Actions #4

Updated by ph03nix 3 months ago

  • Priority changed from Normal to High
Actions #5

Updated by ph03nix 3 months ago

  • Tags set to MinimalVM
Actions #6

Updated by ph03nix 3 months ago

  • Tags changed from MinimalVM to slem
Actions #7

Updated by mloviska 3 months ago

  • Tags changed from slem to slem, MinimalVM
Actions #8

Updated by ph03nix 3 months ago

  • Tags changed from slem, MinimalVM to MinimalVM
Actions #9

Updated by ph03nix 3 months ago

  • Project changed from 208 to Containers and images
Actions #10

Updated by ph03nix 3 months ago

  • Subject changed from [enhancement][clean-up] vmware assets copy to [MinimalVM] vmware assets copy
Actions #11

Updated by ph03nix 3 months ago

See also https://bugzilla.suse.com/show_bug.cgi?id=1230996#c18, we might need to improve the asset cleanup as well.

Actions #12

Updated by rmarliere 2 months ago

  • Status changed from Workable to In Progress
  • Assignee set to rmarliere
Actions #14

Updated by rmarliere about 2 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF