See https://ci.suse.de/job/yast-storage-ng-master/287/display/redirect?page=chan...
Changes:
[jlopez] Add callbacks to initialize storage
[jlopez] Add support for system lock
[jlopez] Adapt partitioner to always setup in rw mode
[jlopez] Adapt client for manual testing
[jlopez] Update version and changelog
[jlopez] Fix tests
[jlopez] Fix texts
[jlopez] Add explanation
[jlopez] Add specific error
[jlopez] Improve method
[jlopez] Use AbortException
[jlopez] Use Report
[jlopez] Update client for testing
[jlopez] Focus correct button
[jlopez] Improve headline
[jlopez] Fix comment and text
------------------------------------------
[...truncated 841.39 KB...]
[ 343s] #is?
[ 343s] returns true for values whose symbol is :multipath
[ 343s] returns false for a different string like "MultiPath"
[ 343s] returns false for different device names like :disk or :partition
[ 343s] returns true for a list of names containing :multipath
[ 343s] returns false for a list of names not containing :multipath
[ 343s] #parents
[ 343s] returns the disks grouped in the multipath device
[ 343s] #in_network?
[ 343s] if none of the disks in the device is a network device
[ 343s] returns false
[ 343s] if any of the disks in the device is a network device
[ 343s] returns true
[ 343s]
[ 343s] Y2Storage::PartitionTables::ImplicitPt
[ 343s] #partition
[ 343s] returns the single partition
[ 343s] if there is no partition
[ 343s] raises an error
[ 343s] #free_spaces
[ 343s] if the single partition is in use
[ 343s] returns an empty list
[ 343s] if the single partition is not in use
[ 343s] returns a list with only one free space
[ 343s] returns a free space with the whole partition region
[ 343s] returns a free space belonging to a reused partition
[ 343s]
[ 343s] Y2Storage::PartitionTables::Dasd
[ 343s] #partition_id_for
[ 343s] uses the LVM partition id for LVM
[ 343s] uses the RAID partition id for RAID
[ 343s] uses the LINUX partition id for swap
[ 343s] maps other partition ids to LINUX
[ 343s] #partition_id_supported?
[ 343s] dasd can have a LINUX partition
[ 343s] dasd can NOT have a WINDOWS_BASIC_DATA partition
[ 343s] dasd can NOT have a DOS32 partition
[ 343s] dasd can have an UNKNOWN partition
[ 344s] dasd can NOT have partition id 0
[ 344s] #supported_partition_ids
[ 344s] list includes the LINUX id
[ 344s] list does not include the WINDOWS_BASIC_DATA id
[ 344s] list does not include the UNKNOWN id
[ 344s]
[ 344s] Y2Storage::PartitionTables::Gpt
[ 344s] #partition_id_for
[ 344s] uses the WINDOWS_BASIC_DATA partition id for WINDOWS_BASIC_DATA
[ 344s] uses the MICROSOFT_RESERVED partition id for MICROSOFT_RESERVED
[ 344s] uses the SWAP partition id for SWAP
[ 344s] uses the WINDOWS_BASIC_DATA partition id for NTFS
[ 344s] uses the WINDOWS_BASIC_DATA partition id for DOS32
[ 344s] #partition_id_supported?
[ 344s] gpt can have a LINUX partition
[ 344s] gpt can have a WINDOWS_BASIC_DATA partition
[ 344s] gpt can NOT have a DOS32 partition
[ 344s] gpt can have an UNKNOWN partition
[ 344s] gpt can NOT have partition id 0
[ 344s] #supported_partition_ids
[ 344s] list includes the LINUX id
[ 344s] list includes the WINDOWS_BASIC_DATA id
[ 344s] list does not include the UNKNOWN id
[ 344s]
[ 344s] Y2Storage::PartitionTables::Msdos
[ 344s] #partition_id_for
[ 344s] returns the same partition id
[ 344s] #partition_id_supported?
[ 344s] ms-dos can have a LINUX partition
[ 344s] ms-dos can NOT have a WINDOWS_BASIC_DATA partition
[ 344s] ms-dos can have a DOS32 partition
[ 344s] ms-dos can NOT have an UNKNOWN partition
[ 344s] ms-dos can NOT have partition id 0
[ 344s] #supported_partition_ids
[ 344s] list includes the LINUX id
[ 344s] list includes the DOS32 id
[ 344s] list does not include the UNKNOWN id
[ 344s]
[ 344s] Y2Storage::StorageClassWrapper
[ 344s] wrap_class
[ 344s] Y2Storage::Filesystems::BlkFilesystem
[ 344s] specifies its direct children [Y2Storage::Filesystems::Btrfs] as downcastable
[ 344s] Y2Storage::Filesystems::Base
[ 344s] specifies its direct children [Y2Storage::Filesystems::BlkFilesystem, Y2Storage::Filesystems::Nfs] as downcastable
[ 344s] Y2Storage::Partition
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Multipath
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::MdMember
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Dasd
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Md
[ 344s] specifies its direct children [Y2Storage::MdMember, Y2Storage::MdContainer] as downcastable
[ 344s] Y2Storage::Actiongraph
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::LvmVg
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::LvmLv
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Filesystems::Nfs
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Mountable
[ 344s] specifies its direct children [Y2Storage::Filesystems::Base, Y2Storage::BtrfsSubvolume] as downcastable
[ 344s] Y2Storage::Device
[ 344s] specifies its direct children [Y2Storage::LvmVg, Y2Storage::Mountable, Y2Storage::MountPoint, Y2Storage::BlkDevice, Y2Storage::PartitionTables::Base, Y2Storage::LvmPv] as downcastable
[ 344s] Y2Storage::MountPoint
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::BlkDevice
[ 344s] specifies its direct children [Y2Storage::Partition, Y2Storage::LvmLv, Y2Storage::Partitionable, Y2Storage::Encryption] as downcastable
[ 344s] Y2Storage::Region
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::PartitionTables::Msdos
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::PartitionTables::Base
[ 344s] specifies its direct children [Y2Storage::PartitionTables::Msdos, Y2Storage::PartitionTables::ImplicitPt, Y2Storage::PartitionTables::Dasd, Y2Storage::PartitionTables::Gpt] as downcastable
[ 344s] Y2Storage::LvmPv
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::PartitionTables::ImplicitPt
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::PartitionTables::Dasd
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Disk
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::PartitionTables::Gpt
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Partitionable
[ 344s] specifies its direct children [Y2Storage::Multipath, Y2Storage::Dasd, Y2Storage::Md, Y2Storage::Disk, Y2Storage::DmRaid] as downcastable
[ 344s] Y2Storage::PartitionTables::PartitionSlot
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::CompoundAction
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Devicegraph
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::ResizeInfo
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::MdContainer
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::DmRaid
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::BtrfsSubvolume
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Filesystems::Btrfs
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::Encryption
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s] Y2Storage::SpaceInfo
[ 344s] does not specify any downcastable class as it does not have a direct child
[ 344s]
[ 344s] Y2Storage::ResizeInfo
[ 344s] #new
[ 344s] does not crash and burn
[ 344s] #libstorage_resize_blockers
[ 344s] has content
[ 344s] #reason_bits
[ 344s] sets the correct reason bits
[ 344s] #reasons
[ 344s] has the correct reasons
[ 344s] #reason?
[ 344s] has the correct reasons
[ 344s] #reason_texts
[ 344s] has the correct messages
[ 344s] #reason_text
[ 344s] has a message for every known reason in libstorage_resize_blockers
[ 344s] #REASON_TEXTS
[ 344s] has only messages for reasons known to libstorage
[ 344s]
[ 344s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 344s]
[ 344s] 1) Y2Storage::AutoinstProposal#propose removing partitions when only free space should be used raises an error if there is not enough space
[ 344s] # Not yet implemented
[ 344s] # ./test/y2storage/autoinst_proposal_test.rb:327
[ 344s]
[ 344s] 2) Y2Storage::AutoinstProfile::RaidOptionsSection.new_from_storage initializes device_order
[ 344s] # .new_from_storage is not fully implemented yet
[ 344s] # ./test/y2storage/autoinst_profile/raid_options_section_test.rb:131
[ 344s]
[ 344s] 3) Y2Storage::BootRequirementsChecker#errors in a PPC64 system in a non-PowerNV system (KVM/LPAR) with a Software RAID proposal there is a PReP partition does not contain an error
[ 344s] # Temporarily skipped with xcontext
[ 344s] # ./test/y2storage/boot_requirements_errors_test.rb:86
[ 344s]
[ 344s] 4) Y2Storage::BootRequirementsChecker#errors in a PPC64 system in a non-PowerNV system (KVM/LPAR) with a Software RAID proposal PReP partition missing contains an error for missing PReP partition
[ 344s] # Temporarily skipped with xcontext
[ 344s] # ./test/y2storage/boot_requirements_errors_test.rb:102
[ 344s]
[ 344s] 5) Y2Storage::BootRequirementsChecker#errors in a PPC64 system in bare metal (PowerNV) with a Software RAID proposal and there is no /boot partition in the system contains an error for missing boot partition
[ 344s] # Temporarily skipped with xcontext
[ 344s] # ./test/y2storage/boot_requirements_errors_test.rb:92
[ 344s]
[ 344s] 6) Y2Storage::BootRequirementsChecker#errors in a PPC64 system in bare metal (PowerNV) with a Software RAID proposal and there is a /boot partition in the system does not contain an error
[ 344s] # Temporarily skipped with xcontext
[ 344s] # ./test/y2storage/boot_requirements_errors_test.rb:86
[ 344s]
[ 344s] 7) Y2Storage::Proposal::SpaceMaker#delete_unwanted_partitions when deleting Linux partitions deletes partitions with id raid
[ 344s] # Let's wait until we have some meaningful RAID scenarios
[ 344s] # ./test/y2storage/proposal/space_maker_test.rb:113
[ 344s]
[ 344s] 8) Y2Storage::Proposal::AutoinstDrivesMap#each when no suitable drive is found error?
[ 344s] # Not yet implemented
[ 344s] # ./test/y2storage/proposal/autoinst_drives_map_test.rb:163
[ 344s]
[ 344s] 9) Y2Storage::Proposal::AutoinstSpaceMaker#cleaned_devicegraph when 'use' key is set to 'all' and a RAID device will be reused keeps the physical partition
[ 344s] # Not yet implemented
[ 344s] # ./test/y2storage/proposal/autoinst_space_maker_test.rb:101
[ 344s]
[ 344s] 10) Y2Storage::Region#inside? if both regions have a different block size raises Storage::DifferentBlockSizes
[ 344s] # Temporarily skipped with xit
[ 344s] # ./test/y2storage/region_test.rb:81
[ 344s]
[ 344s] Failures:
[ 344s]
[ 344s] 1) Y2Storage::StorageManager#default_mount_by= updates the default mount_by value
[ 344s] Failure/Error: expect(manager.default_mount_by).to_not eq(mount_by_id)
[ 344s]
[ 344s] expected: value != #