See <https://ci.suse.de/job/yast-storage-ng-master/289/display/redirect?page=changes> Changes: [jlopez] Fix tests ------------------------------------------ [...truncated 841.39 KB...] [ 352s] #is? [ 352s] returns true for values whose symbol is :multipath [ 352s] returns false for a different string like "MultiPath" [ 352s] returns false for different device names like :disk or :partition [ 352s] returns true for a list of names containing :multipath [ 352s] returns false for a list of names not containing :multipath [ 352s] #parents [ 352s] returns the disks grouped in the multipath device [ 352s] #in_network? [ 352s] if none of the disks in the device is a network device [ 352s] returns false [ 352s] if any of the disks in the device is a network device [ 352s] returns true [ 352s] [ 352s] Y2Storage::PartitionTables::ImplicitPt [ 352s] #partition [ 352s] returns the single partition [ 352s] if there is no partition [ 352s] raises an error [ 352s] #free_spaces [ 352s] if the single partition is in use [ 352s] returns an empty list [ 352s] if the single partition is not in use [ 352s] returns a list with only one free space [ 352s] returns a free space with the whole partition region [ 352s] returns a free space belonging to a reused partition [ 352s] [ 352s] Y2Storage::PartitionTables::Dasd [ 352s] #partition_id_for [ 352s] uses the LVM partition id for LVM [ 352s] uses the RAID partition id for RAID [ 352s] uses the LINUX partition id for swap [ 352s] maps other partition ids to LINUX [ 352s] #partition_id_supported? [ 352s] dasd can have a LINUX partition [ 352s] dasd can NOT have a WINDOWS_BASIC_DATA partition [ 352s] dasd can NOT have a DOS32 partition [ 352s] dasd can have an UNKNOWN partition [ 352s] dasd can NOT have partition id 0 [ 352s] #supported_partition_ids [ 352s] list includes the LINUX id [ 352s] list does not include the WINDOWS_BASIC_DATA id [ 352s] list does not include the UNKNOWN id [ 352s] [ 352s] Y2Storage::PartitionTables::Gpt [ 352s] #partition_id_for [ 352s] uses the WINDOWS_BASIC_DATA partition id for WINDOWS_BASIC_DATA [ 352s] uses the MICROSOFT_RESERVED partition id for MICROSOFT_RESERVED [ 352s] uses the SWAP partition id for SWAP [ 352s] uses the WINDOWS_BASIC_DATA partition id for NTFS [ 352s] uses the WINDOWS_BASIC_DATA partition id for DOS32 [ 352s] #partition_id_supported? [ 352s] gpt can have a LINUX partition [ 352s] gpt can have a WINDOWS_BASIC_DATA partition [ 352s] gpt can NOT have a DOS32 partition [ 352s] gpt can have an UNKNOWN partition [ 352s] gpt can NOT have partition id 0 [ 352s] #supported_partition_ids [ 352s] list includes the LINUX id [ 352s] list includes the WINDOWS_BASIC_DATA id [ 352s] list does not include the UNKNOWN id [ 352s] [ 352s] Y2Storage::PartitionTables::Msdos [ 352s] #partition_id_for [ 352s] returns the same partition id [ 352s] #partition_id_supported? [ 352s] ms-dos can have a LINUX partition [ 352s] ms-dos can NOT have a WINDOWS_BASIC_DATA partition [ 352s] ms-dos can have a DOS32 partition [ 352s] ms-dos can NOT have an UNKNOWN partition [ 352s] ms-dos can NOT have partition id 0 [ 352s] #supported_partition_ids [ 352s] list includes the LINUX id [ 352s] list includes the DOS32 id [ 352s] list does not include the UNKNOWN id [ 352s] [ 352s] Y2Storage::StorageClassWrapper [ 352s] wrap_class [ 352s] Y2Storage::Filesystems::BlkFilesystem [ 352s] specifies its direct children [Y2Storage::Filesystems::Btrfs] as downcastable [ 352s] Y2Storage::Filesystems::Base [ 352s] specifies its direct children [Y2Storage::Filesystems::BlkFilesystem, Y2Storage::Filesystems::Nfs] as downcastable [ 352s] Y2Storage::Partition [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::MdMember [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Md [ 352s] specifies its direct children [Y2Storage::MdMember, Y2Storage::MdContainer] as downcastable [ 352s] Y2Storage::Actiongraph [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::BtrfsSubvolume [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::LvmVg [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::LvmLv [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Filesystems::Nfs [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::DmRaid [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Device [ 352s] specifies its direct children [Y2Storage::LvmVg, Y2Storage::Mountable, Y2Storage::MountPoint, Y2Storage::BlkDevice, Y2Storage::PartitionTables::Base, Y2Storage::LvmPv] as downcastable [ 352s] Y2Storage::Mountable [ 352s] specifies its direct children [Y2Storage::Filesystems::Base, Y2Storage::BtrfsSubvolume] as downcastable [ 352s] Y2Storage::MountPoint [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::BlkDevice [ 352s] specifies its direct children [Y2Storage::Partition, Y2Storage::LvmLv, Y2Storage::Partitionable, Y2Storage::Encryption] as downcastable [ 352s] Y2Storage::Region [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::PartitionTables::Gpt [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::PartitionTables::Msdos [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::PartitionTables::Base [ 352s] specifies its direct children [Y2Storage::PartitionTables::Gpt, Y2Storage::PartitionTables::Msdos, Y2Storage::PartitionTables::ImplicitPt, Y2Storage::PartitionTables::Dasd] as downcastable [ 352s] Y2Storage::LvmPv [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::PartitionTables::ImplicitPt [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::PartitionTables::Dasd [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Disk [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Partitionable [ 352s] specifies its direct children [Y2Storage::Md, Y2Storage::DmRaid, Y2Storage::Disk, Y2Storage::Dasd, Y2Storage::Multipath] as downcastable [ 352s] Y2Storage::PartitionTables::PartitionSlot [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Devicegraph [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::CompoundAction [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Dasd [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::ResizeInfo [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Multipath [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::MdContainer [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Encryption [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::Filesystems::Btrfs [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] Y2Storage::SpaceInfo [ 352s] does not specify any downcastable class as it does not have a direct child [ 352s] [ 352s] Y2Storage::ResizeInfo [ 352s] #new [ 352s] does not crash and burn [ 352s] #libstorage_resize_blockers [ 352s] has content [ 352s] #reason_bits [ 352s] sets the correct reason bits [ 352s] #reasons [ 352s] has the correct reasons [ 352s] #reason? [ 352s] has the correct reasons [ 352s] #reason_texts [ 352s] has the correct messages [ 352s] #reason_text [ 352s] has a message for every known reason in libstorage_resize_blockers [ 352s] #REASON_TEXTS [ 352s] has only messages for reasons known to libstorage [ 352s] [ 352s] Pending: (Failures listed here are expected and do not affect your suite's status) [ 352s] [ 352s] 1) Y2Storage::AutoinstProposal#propose removing partitions when only free space should be used raises an error if there is not enough space [ 352s] # Not yet implemented [ 352s] # ./test/y2storage/autoinst_proposal_test.rb:327 [ 352s] [ 352s] 2) Y2Storage::AutoinstProfile::RaidOptionsSection.new_from_storage initializes device_order [ 352s] # .new_from_storage is not fully implemented yet [ 352s] # ./test/y2storage/autoinst_profile/raid_options_section_test.rb:131 [ 352s] [ 352s] 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 [ 352s] # Temporarily skipped with xcontext [ 352s] # ./test/y2storage/boot_requirements_errors_test.rb:86 [ 352s] [ 352s] 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 [ 352s] # Temporarily skipped with xcontext [ 352s] # ./test/y2storage/boot_requirements_errors_test.rb:102 [ 352s] [ 352s] 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 [ 352s] # Temporarily skipped with xcontext [ 352s] # ./test/y2storage/boot_requirements_errors_test.rb:92 [ 352s] [ 352s] 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 [ 352s] # Temporarily skipped with xcontext [ 352s] # ./test/y2storage/boot_requirements_errors_test.rb:86 [ 352s] [ 352s] 7) Y2Storage::Proposal::SpaceMaker#delete_unwanted_partitions when deleting Linux partitions deletes partitions with id raid [ 352s] # Let's wait until we have some meaningful RAID scenarios [ 352s] # ./test/y2storage/proposal/space_maker_test.rb:113 [ 352s] [ 352s] 8) Y2Storage::Proposal::AutoinstDrivesMap#each when no suitable drive is found error? [ 352s] # Not yet implemented [ 352s] # ./test/y2storage/proposal/autoinst_drives_map_test.rb:163 [ 352s] [ 352s] 9) Y2Storage::Proposal::AutoinstSpaceMaker#cleaned_devicegraph when 'use' key is set to 'all' and a RAID device will be reused keeps the physical partition [ 352s] # Not yet implemented [ 352s] # ./test/y2storage/proposal/autoinst_space_maker_test.rb:101 [ 352s] [ 352s] 10) Y2Storage::Region#inside? if both regions have a different block size raises Storage::DifferentBlockSizes [ 352s] # Temporarily skipped with xit [ 352s] # ./test/y2storage/region_test.rb:81 [ 353s] [ 353s] Failures: [ 353s] [ 353s] 1) Y2Storage::StorageManager#default_mount_by= updates the default mount_by value [ 353s] Failure/Error: expect(manager.default_mount_by).to_not eq(mount_by_id) [ 353s] [ 353s] expected: value != #<Y2Storage::Filesystems::MountByType id> [ 353s] got: #<Y2Storage::Filesystems::MountByType id> [ 353s] [ 353s] (compared using ==) [ 353s] # ./test/y2storage/storage_manager_test.rb:406:in `block (3 levels) in <top (required)>' [ 353s] [ 353s] Finished in 5 minutes 44 seconds (files took 4.05 seconds to load) [ 353s] 4923 examples, 1 failure, 10 pending [ 353s] [ 353s] Failed examples: [ 353s] [ 353s] rspec ./test/y2storage/storage_manager_test.rb:403 # Y2Storage::StorageManager#default_mount_by= updates the default mount_by value [ 353s] [ 353s] rake aborted! [ 353s] Command failed with status (1): [rspec --color --format doc 'test/y2partiti...] [ 353s] [ 353s] Tasks: TOP => test:unit [ 353s] (See full trace by running task with --trace) [ 353s] error: Bad exit status from /var/tmp/rpm-tmp.10b8O7 (%check) [ 353s] [ 353s] [ 353s] RPM build errors: [ 353s] Bad exit status from /var/tmp/rpm-tmp.10b8O7 (%check) [ 353s] [ 353s] yast-ci-worker-2 failed "build yast2-storage-ng.spec" at Mon Apr 9 13:37:35 UTC 2018. [ 353s] The buildroot was: /var/tmp/build-root-SUSE_SLE-15_GA rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Build step 'Execute shell' marked build as failure Not sending mail to unregistered user jlopez@suse.com