See http://ci.opensuse.org/job/yast-storage-ng-master/126/display/redirect?page=... Changes: [wfeldt] add qt-ui screen shots ------------------------------------------ [...truncated 189.33 KB...] [ 40s] can sort nils at start [ 40s] uses the next attribute in the list to break ties [ 40s] respects the original order in case of full tie [ 40s] #distribute_space [ 40s] does not distribute more space than available [ 40s] #enforced_last [ 40s] returns nil if all the volumes are divisible by min_grain [ 40s] returns nil if the space is big enough for any order [ 40s] returns nil if the volumes don't fit into the space [ 40s] returns the volume that must be placed at the end [ 40s] [ 40s] devices lists [ 40s] Y2Storage::DevicesLists::Base [ 40s] #with [ 40s] returns a list of the same class [ 40s] filters by a scalar value [ 40s] filters by nil values [ 40s] considers not found libstorage attributes as nil [ 40s] filters by an array of values [ 40s] filters by another list of values [ 40s] filters by any combination of scalars and lists [ 40s] filters by block [ 40s] #size [ 40s] returns the number of elements [ 40s] #to_a [ 40s] returns an array with the elements [ 40s] #empty? [ 40s] returns true if no elements are found [ 40s] returns false if some element is found [ 40s] #+ [ 40s] raises an error if the lists are of a different type [ 40s] raises a new list [ 40s] returns an equivalent object if the other list is empty [ 40s] concatenates elements from both lists in the same order [ 40s] does not remove duplicates [ 41s] does not modify the operands [ 41s] Y2Storage::DevicesLists::DisksList [ 41s] contains all disks by default [ 41s] #partitions [ 41s] returns a filtered list of partitions [ 41s] #filesystems [ 41s] returns a filtered list of filesystems [ 41s] #free_disk_spaces [ 41s] returns a filtered list of FreeDiskSpace [ 41s] #with_name_or_partition [ 41s] returns a list of disks [ 41s] filters by a single disk name [ 41s] filters by a single partition name [ 41s] filters by a set of names [ 41s] returns an empty list if nothing matches [ 41s] Y2Storage::DevicesLists::PartitionsList [ 41s] contains all partitions by default [ 41s] #filesystems [ 41s] returns a filtered list of filesystems [ 41s] #disks [ 41s] returns a filtered list of disks [ 41s] Y2Storage::DevicesLists::FilesystemsList [ 41s] contains all filesystems by default [ 41s] #with_mountpoint [ 41s] returns a list of filesystems [ 41s] filters by a single mount point [ 41s] filters by a set of mount points [ 41s] returns an empty list if nothing matches [ 41s] #partitions [ 41s] returns a filtered list of partitions [ 41s] #disks [ 41s] returns a filtered list of disks [ 41s] #lvm_lvs [ 41s] returns a filtered list of logical volumes [ 41s] #lvm_vgs [ 41s] returns a filtered list of volume groups [ 41s] Y2Storage::DevicesLists::FreeDiskSpacesList [ 41s] contains all spaces by default [ 41s] #disk_size [ 41s] returns to sum of all the spaces sizes [ 41s] #disks [ 41s] returns a filtered list of disks [ 41s] Y2Storage::DevicesLists::LvmVgsList [ 41s] contains all volume groups by default [ 41s] #lvm_pvs [ 41s] returns a filtered list of physical volumes [ 41s] #lvm_lvs [ 41s] returns a filtered list of logical volumes [ 41s] #filesystems [ 41s] returns a filtered list of filesystems [ 41s] #partitions [ 41s] returns a filtered list of partitions [ 41s] #disks [ 41s] returns a filtered list of disks [ 41s] Y2Storage::DevicesLists::LvmPvsList [ 41s] contains all physical volumes by default [ 41s] #lvm_vgs [ 41s] returns a filtered list of volume groups [ 41s] #partitions [ 41s] returns a filtered list of partitions [ 41s] #disks [ 41s] returns a filtered list of disks [ 41s] Y2Storage::DevicesLists::LvmLvsList [ 41s] contains all logical volumes by default [ 41s] #lvm_vgs [ 41s] returns a filtered list of volume groups [ 41s] #filesystems [ 41s] returns a filtered list of filesystems [ 41s] [ 41s] Y2Storage::Subvol [ 41s] #new [ 41s] Simple subvol with defaults [ 41s] has the correct path [ 41s] is COW [ 41s] is not arch-specific [ 41s] matches arch 'fake' [ 41s] NoCOW subvol [ 41s] is NoCOW [ 41s] is not arch-specific [ 41s] simple arch-specific subvol [ 41s] is arch specific [ 41s] does not match the current arch [ 41s] arch-specific subvol for current arch [ 41s] is arch specific [ 41s] matches the current arch [ 41s] arch-specific subvol for everything except the current arch [ 41s] does not match the current arch [ 41s] .create_from_xml [ 41s] Fully specified subvol [ 41s] has the correct path [ 41s] is NoCOW [ 41s] is tolerant against whitespace in the archs list [ 41s] matches arch 'fake' [ 41s] matches arch 'ppc' [ 41s] does not match arch 'foo' [ 41s] does not match arch 'bar' [ 41s] Minimalistic subvol [ 41s] has the correct path [ 41s] is COW [ 41s] is not arch-specific [ 41s] matches arch 'fake' [ 41s] #<=> [ 41s] Sorting subvol arrays [ 41s] sorts by path [ 41s] .fallback_list [ 41s] var/cache subvolume [ 41s] is in the fallback list [ 41s] is COW [ 41s] is not arch-specific [ 41s] var/lib/mariadb subvolume [ 41s] is in the fallback list [ 41s] is NoCOW [ 41s] is not arch-specific [ 41s] [ 41s] Y2Storage::FakeDeviceFactory [ 41s] reads yaml of simple disk and partition setup [ 41s] reads yaml of simple lvm setup [ 41s] [ 41s] Y2Storage::ExistingFilesystem [ 41s] #mount_and_check [ 41s] mounts the device [ 41s] executes the passed block with the mount point as argument [ 41s] umounts the device [ 41s] returns the result of the passed block [ 41s] returns nil if mounting fails [ 41s] returns nil if unmounting fails [ 41s] [ 41s] Y2Storage::BootRequirementsChecker [ 41s] #needed_partitions in a PPC64 system [ 41s] in a non-PowerNV system (KVM/LPAR) [ 41s] with a partitions-based proposal [ 41s] if there are no PReP partitions [ 41s] requires only a PReP partition [ 41s] if the existent PReP partition is not in the target disk [ 41s] requires only a PReP partition [ 41s] if there is already a PReP partition in the disk [ 41s] does not require any particular volume [ 41s] with a LVM-based proposal [ 41s] if there are no PReP partitions [ 41s] requires /boot and PReP partitions [ 41s] if the existent PReP partition is not in the target disk [ 41s] requires /boot and PReP partitions [ 41s] if there is already a PReP partition in the disk [ 41s] requires only a /boot partition [ 41s] in bare metal (PowerNV) [ 41s] with a partitions-based proposal [ 41s] does not require any particular volume [ 41s] with a LVM-based proposal [ 41s] requires only a /boot partition [ 41s] when proposing a boot partition [ 41s] requires /boot to be ext4 with at least 100 MiB [ 41s] requires /boot to be in the system disk out of LVM [ 41s] recommends /boot to be 200 MiB [ 41s] when proposing a PReP partition [ 41s] requires it to be between 256KiB and 8MiB, despite the alignment [ 41s] recommends it to be 1 MiB [ 41s] requires it to be out of LVM [ 41s] requires it to be bootable (ms-dos partition table) [ 41s] [ 41s] Failures: [ 41s] [ 41s] 1) Y2Storage::Proposal::SpaceMaker#make_space when forced to delete partitions doesn't delete partitions marked to be reused [ 41s] Failure/Error: expect(result[:devicegraph].partitions.map(&:name)).to include "/dev/sda6" [ 41s] expected ["/dev/sda1", "/dev/sda2", "/dev/sda3", "/dev/sda4", "/dev/sda5"] to include "/dev/sda6" [ 41s] # ./test/proposal/space_maker_test.rb:264:in `block (4 levels) in <top (required)>' [ 41s] [ 41s] 2) Y2Storage::Proposal::SpaceMaker#make_space when deleting a partition which belongs to a LVM deletes also other partitions of the same volume group [ 41s] Failure/Error: expect(partitions.map(&:name)).to_not include "/dev/sda5" [ 41s] expected ["/dev/sda1", "/dev/sda2", "/dev/sda3", "/dev/sda5", "/dev/sda6", "/dev/sda7"] not to include "/dev/sda5" [ 41s] # ./test/proposal/space_maker_test.rb:407:in `block (4 levels) in <top (required)>' [ 41s] [ 41s] 3) Y2Storage::Proposal::SpaceMaker#make_space when a LVM VG is going to be reused does not delete partitions belonging to the reused VG [ 41s] Failure/Error: expect(partitions.map(&:name)).to include "/dev/sda9" [ 41s] expected ["/dev/sda1", "/dev/sda2", "/dev/sda3", "/dev/sda5", "/dev/sda6", "/dev/sda7", "/dev/sda8"] to include "/dev/sda9" [ 41s] # ./test/proposal/space_maker_test.rb:446:in `block (4 levels) in <top (required)>' [ 41s] [ 41s] 4) Y2Storage::Proposal::SpaceMaker#make_space when a LVM VG is going to be reused does nothing special about partitions from other VGs [ 41s] Failure/Error: expect(partitions.map(&:name)).to_not include "/dev/sda7" [ 41s] expected ["/dev/sda1", "/dev/sda2", "/dev/sda3", "/dev/sda5", "/dev/sda6", "/dev/sda7"] not to include "/dev/sda7" [ 41s] # ./test/proposal/space_maker_test.rb:458:in `block (4 levels) in <top (required)>' [ 41s] [ 41s] Finished in 35.52 seconds (files took 0.89251 seconds to load) [ 41s] 498 examples, 4 failures [ 41s] [ 41s] Failed examples: [ 41s] [ 41s] rspec ./test/proposal/space_maker_test.rb:258 # Y2Storage::Proposal::SpaceMaker#make_space when forced to delete partitions doesn't delete partitions marked to be reused [ 41s] rspec ./test/proposal/space_maker_test.rb:402 # Y2Storage::Proposal::SpaceMaker#make_space when deleting a partition which belongs to a LVM deletes also other partitions of the same volume group [ 41s] rspec ./test/proposal/space_maker_test.rb:440 # Y2Storage::Proposal::SpaceMaker#make_space when a LVM VG is going to be reused does not delete partitions belonging to the reused VG [ 41s] rspec ./test/proposal/space_maker_test.rb:452 # Y2Storage::Proposal::SpaceMaker#make_space when a LVM VG is going to be reused does nothing special about partitions from other VGs [ 41s] [ 41s] rake aborted! [ 41s] Command failed with status (1): [rspec --color --format doc 'test/disk_size...] [ 41s] [ 41s] Tasks: TOP => test:unit [ 41s] (See full trace by running task with --trace) [ 41s] error: Bad exit status from /var/tmp/rpm-tmp.IciA8M (%check) [ 41s] [ 41s] [ 41s] RPM build errors: [ 41s] Bad exit status from /var/tmp/rpm-tmp.IciA8M (%check) [ 41s] [ 41s] yast-jenkins failed "build yast2-storage-ng.spec" at Tue Feb 7 13:01:02 UTC 2017. [ 41s] The buildroot was: /var/tmp/build-root-openSUSE_Factory rm -rf YaST:storage-ng rake aborted! Command failed with status (1): [yes | osc -A 'https://api.opensuse.org/' b...] Tasks: TOP => osc:commit => osc:build (See full trace by running task with --trace) cleaning Build step 'Execute shell' marked build as failure