See https://ci.suse.de/job/yast-storage-ng-master/42/display/redirect?page=chang...
Changes:
[jlopez] Fix documentation of new settings
------------------------------------------
[...truncated 553.97 KB...]
[ 187s] #multipath
[ 187s] asks the user whether to activate multipath
[ 187s] if the user accepts
[ 187s] returns true
[ 187s] if the user rejects
[ 187s] returns false
[ 187s]
[ 187s] Y2Storage::Callbacks::Commit
[ 187s] #error
[ 187s] displays the error to the user
[ 187s] asks the user whether to continue and returns the answer
[ 187s]
[ 187s] Y2Storage::Multipath
[ 187s] #preferred_ptable_type
[ 187s] returns gpt
[ 187s] #partition_table
[ 187s] for a device with a partition table
[ 187s] returns the corresponding PartitionTable object
[ 187s] for a completely empty multipath device
[ 187s] returns nil
[ 187s] #is?
[ 187s] returns true for values whose symbol is :multipath
[ 187s] returns false for a different string like "MultiPath"
[ 187s] returns false for different device names like :disk or :partition
[ 187s] returns true for a list of names containing :multipath
[ 187s] returns false for a list of names not containing :multipath
[ 187s] #parents
[ 187s] returns the disks grouped in the multipath device
[ 187s] #in_network?
[ 187s] if none of the disks in the device is a network device
[ 187s] returns false
[ 187s] if any of the disks in the device is a network device
[ 187s] returns true
[ 187s]
[ 187s] Y2Storage::PartitionTables::Dasd
[ 187s] #partition_id_for
[ 187s] returns LINUX partition id for swap
[ 187s] returns the same partition id in other cases
[ 187s]
[ 187s] Y2Storage::PartitionTables::Msdos
[ 187s] #partition_id_for
[ 187s] returns the same partition id
[ 187s]
[ 187s] Y2Storage::StorageClassWrapper
[ 187s] wrap_class
[ 187s] Y2Storage::LvmLv
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Filesystems::Nfs
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Filesystems::BlkFilesystem
[ 187s] specifies its direct children [Y2Storage::Filesystems::Btrfs] as downcastable
[ 187s] Y2Storage::Mountable
[ 187s] specifies its direct children [Y2Storage::Filesystems::Base, Y2Storage::BtrfsSubvolume] as downcastable
[ 187s] Y2Storage::Filesystems::Base
[ 187s] specifies its direct children [Y2Storage::Filesystems::Nfs, Y2Storage::Filesystems::BlkFilesystem] as downcastable
[ 187s] Y2Storage::LvmPv
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::BlkDevice
[ 187s] specifies its direct children [Y2Storage::LvmLv, Y2Storage::Partition, Y2Storage::Partitionable, Y2Storage::Encryption] as downcastable
[ 187s] Y2Storage::Device
[ 187s] specifies its direct children [Y2Storage::Mountable, Y2Storage::LvmPv, Y2Storage::BlkDevice, Y2Storage::PartitionTables::Base, Y2Storage::LvmVg] as downcastable
[ 187s] Y2Storage::Actiongraph
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Disk
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Partition
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Md
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Partitionable
[ 187s] specifies its direct children [Y2Storage::Disk, Y2Storage::Md, Y2Storage::Multipath, Y2Storage::Dasd, Y2Storage::DmRaid] as downcastable
[ 187s] Y2Storage::PartitionTables::PartitionSlot
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Multipath
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::PartitionTables::Dasd
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::PartitionTables::Gpt
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::PartitionTables::Msdos
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::PartitionTables::Base
[ 187s] specifies its direct children [Y2Storage::PartitionTables::Dasd, Y2Storage::PartitionTables::Gpt, Y2Storage::PartitionTables::Msdos] as downcastable
[ 187s] Y2Storage::Devicegraph
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::LvmVg
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::CompoundAction
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Region
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::ResizeInfo
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Dasd
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::DmRaid
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::BtrfsSubvolume
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Filesystems::Btrfs
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s] Y2Storage::Encryption
[ 187s] does not specify any downcastable class as it does not have a direct child
[ 187s]
[ 187s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 187s]
[ 187s] 1) Y2Storage::AutoinstProposal#propose removing partitions when only free space should be used raises an error if there is not enough space
[ 187s] # Not yet implemented
[ 187s] # ./test/y2storage/autoinst_proposal_test.rb:174
[ 187s]
[ 187s] 2) Y2Storage::AutoinstProfile::RaidOptionsSection.new_from_storage initializes device_order
[ 187s] # .new_from_storage is not fully implemented yet
[ 187s] # ./test/y2storage/autoinst_profile/raid_options_section_test.rb:125
[ 187s]
[ 187s] 3) Y2Storage::Proposal::SpaceMaker#delete_unwanted_partitions when deleting Linux partitions deletes partitions with id raid
[ 187s] # Let's wait until we have some meaningful RAID scenarios
[ 187s] # ./test/y2storage/proposal/space_maker_test.rb:113
[ 187s]
[ 187s] 4) Y2Storage::Proposal::DevicesPlannerStrategies::Ng#planned_devices when a volume is specified in <volumes> section and the volume is proposed to be created when it is planning a device with btrfs filesystem and snapshots is active and snapshots_size is a number considers it a percentage and increases the min and max sizes
[ 187s] # Temporarily skipped with xit
[ 187s] # ./test/y2storage/proposal/devices_planner_strategies/ng_test.rb:288
[ 187s]
[ 187s] 5) Y2Storage::Proposal::AutoinstDrivesMap#each when no suitable drive is found error?
[ 187s] # Not yet implemented
[ 187s] # ./test/y2storage/proposal/autoinst_drives_map_test.rb:74
[ 187s]
[ 187s] 6) Y2Storage::GuidedProposal#propose CaaSP in a PC with a small disk proposes the expected layout
[ 187s] # Temporarily skipped with xit
[ 187s] # ./test/y2storage/proposal_scenarios_caasp_test.rb:54
[ 187s]
[ 187s] 7) Y2Storage::Region#inside? if both regions have a different block size raises Storage::DifferentBlockSizes
[ 187s] # Temporarily skipped with xit
[ 187s] # ./test/y2storage/region_test.rb:79
[ 187s]
[ 187s] Failures:
[ 187s]
[ 187s] 1) Y2Storage::GuidedProposal#propose CaaSP in a PC with a big disk proposes the expected layout
[ 187s] Failure/Error: expect(proposal.devices.to_str).to eq expected.to_str
[ 187s]
[ 187s] expected: "[[[\"disk\",\n [[\"align_ofs\", \"0 B\"],\n [\"block_size\", \"0.5 KiB\"],\n [\"io_size\", \... \"16.5 KiB\"], [\"start\", \"52428783.5 KiB (50.00 GiB)\"]]]]]],\n [\"size\", \"50 GiB\"]]]]]\n"
[ 187s] got: "[[[\"disk\",\n [[\"align_ofs\", \"0 B\"],\n [\"block_size\", \"0.5 KiB\"],\n [\"io_size\", \... \"16.5 KiB\"], [\"start\", \"52428783.5 KiB (50.00 GiB)\"]]]]]],\n [\"size\", \"50 GiB\"]]]]]\n"
[ 187s]
[ 187s] (compared using ==)
[ 187s]
[ 187s] Diff:
[ 187s]
[ 187s]
[ 187s]
[ 187s]
[ 187s] @@ -10,28 +10,57 @@
[ 187s] [["partition",
[ 187s] [["btrfs",
[ 187s] [["default_subvolume", "@"],
[ 187s] - ["subvolumes", [[["subvolume", [["path", "@"]]]]]]]],
[ 187s] + ["subvolumes",
[ 187s] + [[["subvolume", [["path", "@"]]]],
[ 187s] + [["subvolume", [["nocow", "true"], ["path", "@/var/lib/mysql"]]]],
[ 187s] + [["subvolume", [["path", "@/var/tmp"]]]],
[ 187s] + [["subvolume", [["path", "@/var/log"]]]],
[ 187s] + [["subvolume", [["path", "@/var/spool"]]]],
[ 187s] + [["subvolume", [["path", "@/var/lib/machines"]]]],
[ 187s] + [["subvolume",
[ 187s] + [["nocow", "true"], ["path", "@/var/lib/mariadb"]]]],
[ 187s] + [["subvolume", [["path", "@/srv"]]]],
[ 187s] + [["subvolume", [["path", "@/tmp"]]]],
[ 187s] + [["subvolume",
[ 187s] + [["nocow", "true"], ["path", "@/var/lib/libvirt/images"]]]],
[ 187s] + [["subvolume", [["path", "@/boot/grub2/i386-pc"]]]],
[ 187s] + [["subvolume", [["nocow", "true"], ["path", "@/var/lib/pgsql"]]]],
[ 187s] + [["subvolume", [["path", "@/var/opt"]]]],
[ 187s] + [["subvolume", [["path", "@/var/lib/mailman"]]]],
[ 187s] + [["subvolume", [["path", "@/var/cache"]]]],
[ 187s] + [["subvolume", [["path", "@/usr/local"]]]],
[ 187s] + [["subvolume", [["path", "@/opt"]]]],
[ 187s] + [["subvolume", [["path", "@/boot/grub2/x86_64-efi"]]]],
[ 187s] + [["subvolume", [["path", "@/var/lib/named"]]]],
[ 187s] + [["subvolume", [["path", "@/var/crash"]]]]]]]],
[ 187s] ["file_system", "btrfs"],
[ 187s] ["id", "linux"],
[ 187s] ["mount_point", "/"],
[ 187s] ["name", "/dev/sda1"],
[ 187s] - ["size", "30 GiB"],
[ 187s] + ["size", "25805 MiB (25.20 GiB)"],
[ 187s] ["start", "1 MiB"],
[ 187s] ["type", "primary"]]]],
[ 187s] [["partition",
[ 187s] [["id", "bios_boot"],
[ 187s] ["name", "/dev/sda2"],
[ 187s] ["size", "1 MiB"],
[ 187s] - ["start", "30721 MiB (30.00 GiB)"],
[ 187s] + ["start", "25806 MiB (25.20 GiB)"],
[ 187s] ["type", "primary"]]]],
[ 187s] [["partition",
[ 187s] - [["btrfs", [["subvolumes", []]]],
[ 187s] - ["file_system", "btrfs"],
[ 187s] - ["id", "linux"],
[ 187s] - ["mount_point", "/var/lib/docker"],
[ 187s] + [["file_system", "swap"],
[ 187s] + ["id", "swap"],
[ 187s] + ["mount_point", "swap"],
[ 187s] ["name", "/dev/sda3"],
[ 187s] - ["size", "20969455.5 KiB (20.00 GiB)"],
[ 187s] - ["start", "30722 MiB (30.00 GiB)"],
[ 187s] + ["size", "2 GiB"],
[ 187s] + ["start", "25807 MiB (25.20 GiB)"],
[ 187s] + ["type", "primary"]]]],
[ 187s] + [["partition",
[ 187s] + [["file_system", "xfs"],
[ 187s] + ["id", "linux"],
[ 187s] + ["mount_point", "/home"],
[ 187s] + ["name", "/dev/sda4"],
[ 187s] + ["size", "23905263.5 KiB (22.80 GiB)"],
[ 187s] + ["start", "27855 MiB (27.20 GiB)"],
[ 187s] ["type", "primary"]]]],
[ 187s] [["free",
[ 187s] [["size", "16.5 KiB"], ["start", "52428783.5 KiB (50.00 GiB)"]]]]]],
[ 187s] # ./test/y2storage/proposal_scenarios_caasp_test.rb:46:in `block (4 levels) in