See <http://ci.opensuse.org/job/yast-storage-ng-master/43/changes>
Changes:
[ancor] boot_requirements_checher_test broken in smaller pieces
[ancor] Moved non-test RSpec files to /test/support (RSpec convention)
[ancor] Trailing whitespace removed
------------------------------------------
[...truncated 1799 lines...]
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal/space_maker_test.rb:34:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 49) Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions doesn't delete partitions listed in the 'keep' argument
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal/space_maker_test.rb:34:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 50) Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions raises a NoDiskSpaceError exception if deleting is not enough
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal/space_maker_test.rb:34:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 51) Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions doesn't delete empty extended partitions unless required
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal/space_maker_test.rb:34:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 52) Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions deletes empty extended partitions if the space is needed
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal/space_maker_test.rb:34:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 53) Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions has an UGLY BUG that deletes extended partitions leaving the logical there
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal/space_maker_test.rb:34:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 54) Yast::Storage::Proposal::VolumesGenerator#all_volumes swap volumes if the existing swap partition is not big enough includes a brand new swap volume and no swap reusing
[ 48s] Failure/Error: let(:swap_partitions) { [analyzer_part("/dev/sdaX", 1.GiB)] }
[ 48s] the ::Storage::Partition class does not implement the instance method: size_k
[ 48s] # ./test/support/storage_helpers.rb:50:in `analyzer_part'
[ 48s] # ./test/proposal/volumes_generator_test.rb:90:in `block (5 levels) in <top (required)>'
[ 48s] # ./test/proposal/volumes_generator_test.rb:57:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 55) Yast::Storage::Proposal::VolumesGenerator#all_volumes swap volumes if the existing swap partition is big enough includes a volume to reuse the existing swap and no new swap
[ 48s] Failure/Error: let(:swap_partitions) { [analyzer_part("/dev/sdaX", 3.GiB)] }
[ 48s] the ::Storage::Partition class does not implement the instance method: size_k
[ 48s] # ./test/support/storage_helpers.rb:50:in `analyzer_part'
[ 48s] # ./test/proposal/volumes_generator_test.rb:100:in `block (5 levels) in <top (required)>'
[ 48s] # ./test/proposal/volumes_generator_test.rb:57:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 56) Yast::Storage::Proposal#propose in a windows-only PC with a separate home proposes the expected layout
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 57) Yast::Storage::Proposal#propose in a windows-only PC without separate home proposes the expected layout
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 58) Yast::Storage::Proposal#propose in a windows/linux multiboot PC with a separate home proposes the expected layout
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 59) Yast::Storage::Proposal#propose in a windows/linux multiboot PC without separate home proposes the expected layout
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 60) Yast::Storage::Proposal#propose in a linux multiboot PC with a separate home runs out of primary partitions
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 61) Yast::Storage::Proposal#propose in a linux multiboot PC without separate home proposes the expected layout
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 62) Yast::Storage::Proposal#propose with pre-existing swap partitions reuses suitable swap partitions
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 63) Yast::Storage::Proposal#propose with pre-existing swap partitions reuses UUID and label of deleted swap partitions
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] 64) Yast::Storage::Proposal#propose with pre-existing swap partitions does not enforce any particular UUID or label for additional swaps
[ 48s] Failure/Error: fake_scenario(scenario)
[ 48s]
[ 48s] Storage::Exception:
[ 48s] Storage::Exception
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `create_devicegraph'
[ 48s] # ./src/lib/storage/storage_manager.rb:72:in `fake_from_yaml'
[ 48s] # ./test/support/storage_helpers.rb:42:in `fake_scenario'
[ 48s] # ./test/proposal_test.rb:38:in `block (3 levels) in <top (required)>'
[ 48s]
[ 48s] Finished in 0.21093 seconds (files took 0.33432 seconds to load)
[ 48s] 171 examples, 64 failures
[ 48s]
[ 48s] Failed examples:
[ 48s]
[ 48s] rspec ./test/boot_requirements_checker_ppc_test.rb:63 # Yast::Storage::BootRequirementsChecker#needed_partitions in a PPC64 system in a non-PowerNV system (KVM/LPAR) with a partitions-based proposal if the existent PReP partition is not in the target disk requires only a PReP partition
[ 48s] rspec ./test/boot_requirements_checker_ppc_test.rb:73 # Yast::Storage::BootRequirementsChecker#needed_partitions in a PPC64 system in a non-PowerNV system (KVM/LPAR) with a partitions-based proposal if there is already a PReP partition in the disk does not require any particular volume
[ 48s] rspec ./test/boot_requirements_checker_ppc_test.rb:96 # Yast::Storage::BootRequirementsChecker#needed_partitions in a PPC64 system in a non-PowerNV system (KVM/LPAR) with a LVM-based proposal if the existent PReP partition is not in the target disk requires /boot and PReP partitions
[ 48s] rspec ./test/boot_requirements_checker_ppc_test.rb:107 # Yast::Storage::BootRequirementsChecker#needed_partitions in a PPC64 system in a non-PowerNV system (KVM/LPAR) with a LVM-based proposal if there is already a PReP partition in the disk only requires a /boot partition
[ 48s] rspec ./test/boot_requirements_checker_x86_test.rb:76 # Yast::Storage::BootRequirementsChecker#needed_partitions in a x86 system using UEFI with a partitions-based proposal if there is already an EFI partition only requires to use the existing EFI partition
[ 48s] rspec ./test/boot_requirements_checker_x86_test.rb:101 # Yast::Storage::BootRequirementsChecker#needed_partitions in a x86 system using UEFI with a LVM-based proposal if there is already an EFI partition requires /boot and a reused /boot/efi partition
[ 48s] rspec ./test/boot_requirements_checker_x86_test.rb:205 # Yast::Storage::BootRequirementsChecker#needed_partitions in a x86 system not using UEFI (legacy PC) with an MS-DOS partition table with GPT partition table if there is already a GRUB partition in a partitions-based proposal does not require any particular volume
[ 48s] rspec ./test/boot_requirements_checker_x86_test.rb:213 # Yast::Storage::BootRequirementsChecker#needed_partitions in a x86 system not using UEFI (legacy PC) with an MS-DOS partition table with GPT partition table if there is already a GRUB partition in a LVM-based proposal only requires a /boot partition
[ 48s] rspec ./test/devices_list_test.rb:49 # devices lists Yast::Storage::DevicesList #with returns a list of the same class
[ 48s] rspec ./test/devices_list_test.rb:54 # devices lists Yast::Storage::DevicesList #with filters by a scalar value
[ 48s] rspec ./test/devices_list_test.rb:62 # devices lists Yast::Storage::DevicesList #with filters by nil values
[ 48s] rspec ./test/devices_list_test.rb:81 # devices lists Yast::Storage::DevicesList #with considers not found libstorage attributes as nil
[ 48s] rspec ./test/devices_list_test.rb:89 # devices lists Yast::Storage::DevicesList #with filters by an array of values
[ 48s] rspec ./test/devices_list_test.rb:98 # devices lists Yast::Storage::DevicesList #with filters by another list of values
[ 48s] rspec ./test/devices_list_test.rb:108 # devices lists Yast::Storage::DevicesList #with filters by any combination of scalars and lists
[ 48s] rspec ./test/devices_list_test.rb:118 # devices lists Yast::Storage::DevicesList #with filters by block
[ 48s] rspec ./test/devices_list_test.rb:129 # devices lists Yast::Storage::DevicesList #size returns the number of elements
[ 48s] rspec ./test/devices_list_test.rb:135 # devices lists Yast::Storage::DevicesList #to_a returns an array with the elements
[ 48s] rspec ./test/devices_list_test.rb:143 # devices lists Yast::Storage::DevicesList #empty? returns true if no elements are found
[ 48s] rspec ./test/devices_list_test.rb:148 # devices lists Yast::Storage::DevicesList #empty? returns false if some element is found
[ 48s] rspec ./test/devices_list_test.rb:158 # devices lists Yast::Storage::DisksList contains all disks by default
[ 48s] rspec ./test/devices_list_test.rb:164 # devices lists Yast::Storage::DisksList#partitions returns a filtered list of partitions
[ 48s] rspec ./test/devices_list_test.rb:175 # devices lists Yast::Storage::DisksList#filesystems returns a filtered list of filesystems
[ 48s] rspec ./test/devices_list_test.rb:186 # devices lists Yast::Storage::DisksList#free_disk_spaces returns a filtered list of FreeDiskSpace
[ 48s] rspec ./test/devices_list_test.rb:200 # devices lists Yast::Storage::PartitionsList contains all partitions by default
[ 48s] rspec ./test/devices_list_test.rb:206 # devices lists Yast::Storage::PartitionsList#filesystems returns a filtered list of filesystems
[ 48s] rspec ./test/devices_list_test.rb:220 # devices lists Yast::Storage::FilesystemsList contains all filesystems by default
[ 48s] rspec ./test/devices_list_test.rb:231 # devices lists Yast::Storage::FreeDiskSpacesList contains all spaces by default
[ 48s] rspec ./test/devices_list_test.rb:237 # devices lists Yast::Storage::FreeDiskSpacesList#disk_size returns to sum of all the spaces sizes
[ 48s] rspec ./test/proposal/partition_creator_test.rb:61 # Yast::Storage::Proposal::PartitionCreator#create_partitions when the exact space is available creates partitions matching the volume sizes
[ 48s] rspec ./test/proposal/partition_creator_test.rb:81 # Yast::Storage::Proposal::PartitionCreator#create_partitions when some extra space is available distributes the extra space
[ 48s] rspec ./test/proposal/partition_creator_test.rb:98 # Yast::Storage::Proposal::PartitionCreator#create_partitions when there is no enough space to allocate start of all partitions raises an error
[ 48s] rspec ./test/proposal/partition_creator_test.rb:112 # Yast::Storage::Proposal::PartitionCreator#create_partitions when some volume is marked as 'reuse' does not create the reused volumes
[ 48s] rspec ./test/proposal/partition_creator_test.rb:120 # Yast::Storage::Proposal::PartitionCreator#create_partitions when some volume is marked as 'reuse' distributes extra space between the new (not reused) volumes
[ 48s] rspec ./test/proposal/partition_creator_test.rb:139 # Yast::Storage::Proposal::PartitionCreator#create_partitions when a ms-dos type partition is used when the only available space is in an extended partition creates all partitions as logical
[ 48s] rspec ./test/proposal/partition_creator_test.rb:155 # Yast::Storage::Proposal::PartitionCreator#create_partitions when a ms-dos type partition is used when the only available space is completely unassigned creates primary/extended/logical partitions as needed
[ 48s] rspec ./test/proposal/space_maker_test.rb:54 # Yast::Storage::Proposal::SpaceMaker#make_space if the disk is not big enough raises a NoDiskSpaceError exception
[ 48s] rspec ./test/proposal/space_maker_test.rb:64 # Yast::Storage::Proposal::SpaceMaker#make_space if there are Windows and Linux partitions deletes some of the linux ones
[ 48s] rspec ./test/proposal/space_maker_test.rb:90 # Yast::Storage::Proposal::SpaceMaker#make_space if there is a Windows partition and no Linux ones with enough free space in the Windows partition shrinks the Windows partition by the required size
[ 48s] rspec ./test/proposal/space_maker_test.rb:96 # Yast::Storage::Proposal::SpaceMaker#make_space if there is a Windows partition and no Linux ones with enough free space in the Windows partition leaves other partitions untouched
[ 48s] rspec ./test/proposal/space_maker_test.rb:108 # Yast::Storage::Proposal::SpaceMaker#make_space if there is a Windows partition and no Linux ones with no enough free space in the Windows partition shrinks the Windows partition as much as possible
[ 48s] rspec ./test/proposal/space_maker_test.rb:114 # Yast::Storage::Proposal::SpaceMaker#make_space if there is a Windows partition and no Linux ones with no enough free space in the Windows partition removes other partitions
[ 48s] rspec ./test/proposal/space_maker_test.rb:145 # Yast::Storage::Proposal::SpaceMaker#make_space if there are two Windows partitions with at least one Windows partition having enough free space shrinks the less full Windows partition as needed
[ 48s] rspec ./test/proposal/space_maker_test.rb:151 # Yast::Storage::Proposal::SpaceMaker#make_space if there are two Windows partitions with at least one Windows partition having enough free space leaves other partitions untouched
[ 48s] rspec ./test/proposal/space_maker_test.rb:165 # Yast::Storage::Proposal::SpaceMaker#make_space if there are two Windows partitions with no partition having enough free space by itself shrinks the less full Windows partition as much as possible
[ 48s] rspec ./test/proposal/space_maker_test.rb:171 # Yast::Storage::Proposal::SpaceMaker#make_space if there are two Windows partitions with no partition having enough free space by itself shrinks the other Windows partition as needed
[ 48s] rspec ./test/proposal/space_maker_test.rb:177 # Yast::Storage::Proposal::SpaceMaker#make_space if there are two Windows partitions with no partition having enough free space by itself leaves other partitions untouched
[ 48s] rspec ./test/proposal/space_maker_test.rb:192 # Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions deletes the first partitions of the disk until reaching the goal
[ 48s] rspec ./test/proposal/space_maker_test.rb:201 # Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions doesn't delete partitions listed in the 'keep' argument
[ 48s] rspec ./test/proposal/space_maker_test.rb:210 # Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions raises a NoDiskSpaceError exception if deleting is not enough
[ 48s] rspec ./test/proposal/space_maker_test.rb:217 # Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions doesn't delete empty extended partitions unless required
[ 48s] rspec ./test/proposal/space_maker_test.rb:229 # Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions deletes empty extended partitions if the space is needed
[ 48s] rspec ./test/proposal/space_maker_test.rb:240 # Yast::Storage::Proposal::SpaceMaker#make_space when forced to delete partitions has an UGLY BUG that deletes extended partitions leaving the logical there
[ 48s] rspec ./test/proposal/volumes_generator_test.rb:92 # Yast::Storage::Proposal::VolumesGenerator#all_volumes swap volumes if the existing swap partition is not big enough includes a brand new swap volume and no swap reusing
[ 48s] rspec ./test/proposal/volumes_generator_test.rb:102 # Yast::Storage::Proposal::VolumesGenerator#all_volumes swap volumes if the existing swap partition is big enough includes a volume to reuse the existing swap and no new swap
[ 48s] rspec ./test/proposal_test.rb:77 # Yast::Storage::Proposal#propose in a windows-only PC with a separate home proposes the expected layout
[ 48s] rspec ./test/proposal_test.rb:86 # Yast::Storage::Proposal#propose in a windows-only PC without separate home proposes the expected layout
[ 48s] rspec ./test/proposal_test.rb:100 # Yast::Storage::Proposal#propose in a windows/linux multiboot PC with a separate home proposes the expected layout
[ 48s] rspec ./test/proposal_test.rb:109 # Yast::Storage::Proposal#propose in a windows/linux multiboot PC without separate home proposes the expected layout
[ 48s] rspec ./test/proposal_test.rb:124 # Yast::Storage::Proposal#propose in a linux multiboot PC with a separate home runs out of primary partitions
[ 48s] rspec ./test/proposal_test.rb:132 # Yast::Storage::Proposal#propose in a linux multiboot PC without separate home proposes the expected layout
[ 48s] rspec ./test/proposal_test.rb:163 # Yast::Storage::Proposal#propose with pre-existing swap partitions reuses suitable swap partitions
[ 48s] rspec ./test/proposal_test.rb:174 # Yast::Storage::Proposal#propose with pre-existing swap partitions reuses UUID and label of deleted swap partitions
[ 48s] rspec ./test/proposal_test.rb:192 # Yast::Storage::Proposal#propose with pre-existing swap partitions does not enforce any particular UUID or label for additional swaps
[ 48s]
[ 48s] rake aborted!
[ 48s] Command failed with status (1): [rspec --color --format doc 'test/disk_size...]
[ 48s]
[ 48s] Tasks: TOP => test:unit
[ 48s] (See full trace by running task with --trace)
[ 48s] error: Bad exit status from /var/tmp/rpm-tmp.3byP0A (%check)
[ 48s]
[ 48s]
[ 48s] RPM build errors:
[ 48s] Bad exit status from /var/tmp/rpm-tmp.3byP0A (%check)
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