https://ci.suse.de/job/yast-bootloader-master/85/Changes:
[jreidinger] enable again test
------------------------------------------
[...truncated 106.19 KB...]
[ 24s] activate and generic mbr is disabled
[ 24s] do not write generic mbr anywhere
[ 24s] do not set boot and legacy boot flag anywhere
[ 24s] when generic mbr is enabled
[ 24s] do nothing if mbr_disk is in Bootloader devices, so we install there bootloader stage1
[ 24s] rewrites mbr_disk with generic code
[ 24s] always uses real devices
[ 24s] install syslinux if not on initial stage
[ 24s] install gpt generic code if disk is gpt
[ 24s] when activate is enabled
[ 24s] do not set any flag on old DOS MBR for logical partitions
[ 24s] disk label is DOS mbr
[ 24s] sets boot flag on all stage1 partitions
[ 24s] resets all old boot flags on disk before set boot flag
[ 24s] sets boot flag on boot device with the lowest bios id when stage1 partition is on md
[ 24s] disk label is GPT
[ 24s] sets legacy_boot flag on all partitions in Bootloader devices
[ 24s] resets all old boot flags on disk before set boot flag
[ 24s]
[ 24s] Bootloader::NoneBootloader
[ 24s] #name
[ 24s] returns "none"
[ 24s] #summary
[ 24s] returns array with single element
[ 24s] #packages
[ 24s] live-installation
[ 24s] returns empty package list
[ 24s] kexec_reboot flag is not set
[ 24s] returns empty package list
[ 24s] kexec_reboot flag is set
[ 24s] returns list containing kexec-tools package
[ 24s]
[ 24s] Bootloader::Sections
[ 24s] #all
[ 24s] returns list of all available sections
[ 24s] #default
[ 24s] gets name of default section stored in grub2
[ 24s] gets first section if nothing stored in grub2
[ 24s] gets value written by #default=
[ 24s] #default=
[ 24s] sets new value for default
[ 24s] raises exception if section do not exists
[ 24s] handles localized grub.cfg (FAILED - 1)
[ 24s] #write
[ 24s] writes default value
[ 24s] converts default value to its path
[ 24s]
[ 24s] Bootloader::SerialConsole
[ 24s] .load_from_kernel_args
[ 24s] returns nil if no console configuration found
[ 24s] returns nil if console configuration is not for serial one
[ 24s] returns nil if serial console configuration is not the last one
[ 24s] loads configuration if found
[ 24s] loads also partial configuration using defaults for rest
[ 24s] .load_from_console_args
[ 24s] returns nil if configuration is not valid
[ 24s] loads configuration if found
[ 24s] loads also partial configuration using defaults for rest
[ 24s] #kernel_args
[ 24s] returns kernel argument usable with terminal key
[ 24s] uses ttyAMA for aarch64
[ 24s] #console_args
[ 24s] returns serial command usable for grub2
[ 24s] skips word parameter if it is empty
[ 24s]
[ 24s] Bootloader::Stage1Device
[ 24s] #real_devices
[ 24s] returns itself in single element array for physical device as argument
[ 24s] returns underlaying disks where lvm partition lives for lvm disk
[ 24s] returns partitions where lvm lives for lvm partition
[ 24s] returns disks where lives /boot partitions for md raid disk
[ 24s] returns partitions which creates md raid for md raid partition
[ 24s] returns physical partitions where md raid lives for lvm partition on md raid
[ 24s] returns physical disks where md raid lives for lvm disk on md raid
[ 24s] returns underlayed devices for dm main device
[ 25s] returns underlayed devices for dm part device
[ 25s] skips disks used as partitionless lvm devices
[ 25s]
[ 25s] Bootloader::Stage1
[ 25s] #propose
[ 25s] sets devices to proposed locations
[ 25s] sets underlaying disks for md raid setup
[ 25s] do not set generic_mbr if proposed boot from mbr
[ 25s] sets no device for s390
[ 25s] raise exception on unsupported architecture
[ 25s] on ppc64
[ 25s] tries to use newly created partition at first
[ 25s] then it tries to use partition on same disk as /boot
[ 25s] sets to device first available prep partition as fallback
[ 25s] activate partition if it is on DOS partition table
[ 25s] does not activate partition if it is on GPT
[ 25s] #add_udev_device
[ 25s] adds underlayed disk device for lvm disk
[ 25s] adds underlayed partition devices for lvm partition
[ 25s] #can_use_boot?
[ 25s] returns false if boot partition fs is xfs
[ 25s] returns true otherwise
[ 25s] #available_locations
[ 25s] on x86_64
[ 25s] returns map with :extended set to extended partition (PENDING: need to get target map with /boot on logical partition)
[ 25s] returns map with :root if separated /boot is not available
[ 25s] returns map with :boot if separated /boot is available
[ 25s] returns map without :boot nor :root when xfs used
[ 25s]
[ 25s] Bootloader::Sysconfig
[ 25s] .from_system
[ 25s] reads value from file on system
[ 25s] x86_64
[ 25s] defaults secure_boot to true if not set
[ 25s] on other architectures
[ 25s] defaults secure_boot to false if not set
[ 25s] #write
[ 25s] writes attributes to sysconfig file
[ 25s] write comments for attributes if it is not already written
[ 25s] #pre_write
[ 25s] writes attributes to sysconfig file on target system even if SCR is not switched
[ 25s] ensures that sysconfig exists on target system
[ 25s]
[ 25s] Bootloader::UdevMapping
[ 25s] .to_kernel_device
[ 25s] returns mapped raid name for partitioned devices
[ 25s] returns mapped raid name for non-partitioned devices
[ 25s] return argument for non-udev non-raid mapped device names
[ 25s] return kernel device name for udev mapped name
[ 25s] raise exception if udev link is not known
[ 25s] .to_mountby_device
[ 25s] returns udev link in same format as used to its mounting
[ 25s] respects partition specific mountby option
[ 25s] returns encrypted device name if device have it
[ 25s] returns kernel device name if requested udev mapping do not exists
[ 25s] returns kernel device name for non-disk devices like tmpfs
[ 25s] returns kernel device name if device is mounted by device name
[ 25s] returns kernel device if mount by label is used for disk
[ 25s] returns its name if partition do not exists
[ 25s]
[ 25s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 25s]
[ 25s] 1) #Yast::BootArchClass:0x00000001f9f7f8 .DefaultKernelParams on s390 does not add parameters from boot command line
[ 25s] # Not yet implemented
[ 25s] # ./test/boot_arch_test.rb:108
[ 25s]
[ 25s] 2) #Yast::BootStorageClass:0x0000000248dfd0 .detect_disks sets ExtendedPartitionDevice variable to extended partition if boot is logical
[ 25s] # Not yet implemented
[ 25s] # ./test/boot_storage_test.rb:77
[ 25s]
[ 25s] 3) #Yast::BootloaderClass:0x00000002804e98 .Import resets configuration
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:29
[ 25s]
[ 25s] 4) #Yast::BootloaderClass:0x00000002804e98 .Import marks that configuration is read
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:31
[ 25s]
[ 25s] 5) #Yast::BootloaderClass:0x00000002804e98 .Import marks that configuration is already proposed
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:33
[ 25s]
[ 25s] 6) #Yast::BootloaderClass:0x00000002804e98 .Import marks that configuration is changed
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:35
[ 25s]
[ 25s] 7) #Yast::BootloaderClass:0x00000002804e98 .Import marks that stage1 location changed
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:37
[ 25s]
[ 25s] 8) #Yast::BootloaderClass:0x00000002804e98 .Import sets bootloader from key "loader_type"
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:39
[ 25s]
[ 25s] 9) #Yast::BootloaderClass:0x00000002804e98 .Import sets proposed bootloader if not set in data
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:41
[ 25s]
[ 25s] 10) #Yast::BootloaderClass:0x00000002804e98 .Import acts like missing if "loader_type" value is empty
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:43
[ 25s]
[ 25s] 11) #Yast::BootloaderClass:0x00000002804e98 .Import pass initrd specific map to initrd module
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:45
[ 25s]
[ 25s] 12) #Yast::BootloaderClass:0x00000002804e98 .Import sets passed "write_settings" map
[ 25s] # Not yet implemented
[ 25s] # ./test/bootloader_test.rb:59
[ 25s]
[ 25s] 13) Bootloader::DeviceMap#propose do not add to device map members of raids and multipath
[ 25s] # Not yet implemented
[ 25s] # ./test/device_map_test.rb:28
[ 25s]
[ 25s] 14) Bootloader::DeviceMap#propose propose order according to bios id
[ 25s] # Not yet implemented
[ 25s] # ./test/device_map_test.rb:38
[ 25s]
[ 25s] 15) Bootloader::DeviceMap#propose do not propose USB as first device
[ 25s] # Not yet implemented
[ 25s] # ./test/device_map_test.rb:41
[ 25s]
[ 25s] 16) Bootloader::DeviceMap#propose propose as first device disk containing /boot
[ 25s] # Not yet implemented
[ 25s] # ./test/device_map_test.rb:44
[ 25s]
[ 25s] 17) Bootloader::Stage1#available_locations on x86_64 returns map with :extended set to extended partition
[ 25s] # need to get target map with /boot on logical partition
[ 25s] Failure/Error: expect(subject.available_locations[:extended]).to eq "/dev/sda4"
[ 25s]
[ 25s] expected: "/dev/sda4"
[ 25s] got: nil
[ 25s]
[ 25s] (compared using ==)
[ 25s] # ./test/stage1_test.rb:211:in `block (4 levels) in