See <http://ci.opensuse.org/job/yast-storage-ng-master/515/display/redirect?page=changes> 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.98 KB...] [ 398s] #help [ 398s] produces a String [ 398s] #opt [ 398s] produces Symbols [ 398s] #handle [ 398s] produces a Symbol or nil [ 398s] #validate [ 398s] produces a Boolean (or nil) [ 398s] Y2Partitioner::Dialogs::BlkDeviceResize::CustomSizeWidget [ 398s] these methods are only tested if they exist [ 398s] #label [ 398s] produces a String [ 398s] #help [ 398s] produces a String [ 398s] #opt [ 398s] produces Symbols [ 398s] #handle [ 398s] produces a Symbol or nil [ 398s] #validate [ 398s] produces a Boolean (or nil) [ 398s] [ 398s] Y2Partitioner::Dialogs::PartitionType [ 398s] #contents [ 398s] produces a Term [ 398s] #title [ 398s] produces a String or nil [ 398s] #back_button [ 398s] produces a String or nil [ 398s] #abort_button [ 398s] produces a String or nil [ 398s] #next_button [ 398s] produces a String or nil [ 398s] #skip_store_for [ 398s] produces an Array [ 398s] [ 398s] Y2Partitioner::Dialogs::PartitionType::TypeChoice [ 398s] these methods are only tested if they exist [ 398s] #label [ 398s] produces a String [ 398s] #help [ 398s] produces a String [ 398s] #opt [ 398s] produces Symbols [ 398s] #handle [ 398s] produces a Symbol or nil [ 398s] #validate [ 398s] produces a Boolean (or nil) [ 398s] #items [ 398s] produces an array of pairs of strings [ 398s] #hspacing [ 398s] returns and Integer or a Float number if defined [ 398s] returns a positive number or zero if defined [ 398s] #vspacing [ 398s] returns and Integer or a Float number if defined [ 398s] returns a positive number or zero if defined [ 398s] [ 398s] Y2Partitioner::FilesystemErrors [ 398s] #filesystem_errors [ 398s] if no filesystem is given [ 398s] returns an empty list [ 398s] if a filesystem is given [ 398s] and the mode is not installation [ 398s] does not contain 'small for snapshots' error [ 398s] and the mode is installation [ 398s] and the filesystem is not btrfs [ 398s] does not contain 'small for snapshots' error [ 398s] and the filesystem is btrfs [ 398s] and it is not configured to have snapshots [ 398s] does not contain 'small for snapshots' error [ 398s] and it is configured to have snapshots [ 398s] and there is no volume specification for the device [ 398s] does not contain 'small for snapshots' error [ 398s] and there is a volume specification for the device [ 398s] and a specific new size is given [ 398s] and the given size is bigger than the specification size [ 398s] does not contain 'small for snapshots' error [ 398s] and the given size is equal to the specification size [ 398s] does not contain 'small for snapshots' error [ 398s] and the given size is less than the specification size [ 398s] contains 'small for snapshots' error [ 398s] and no specific new size is given [ 398s] and the filesystem size is bigger than the specification size [ 398s] does not contain 'small for snapshots' error [ 398s] and the filesystem size is equal to the specification size [ 398s] does not contain 'small for snapshots' error [ 398s] and the filesystem size is less than the specification size [ 398s] contains 'small for snapshots' error [ 398s] [ 398s] Y2Partitioner::SetupErrorsPresenter [ 398s] #to_html [ 398s] when there is no error [ 398s] returns an empty string [ 398s] when there are fatal errors [ 398s] contains messages only for fatal errors [ 398s] when there are errors [ 398s] contains a message for each error [ 398s] and there are boot errors [ 398s] contains a general error message for boot errors [ 398s] does not contain a general error message for product errors [ 398s] and there are product errors [ 398s] contains a general error message for product errors [ 398s] does not contain a general error message for boot errors [ 398s] and there are boot and product errors [ 398s] contains a general error message for boot errors [ 398s] contains a general error message for product errors [ 398s] [ 398s] Y2Partitioner::UIState [ 398s] .new [ 399s] cannot be used directly [ 399s] .instance [ 399s] returns the singleton object in subsequent calls [ 399s] .create_instance [ 399s] returns a new singleton UIState object [ 399s] #find_tree_node [ 399s] if the user has still not visited any node [ 399s] returns nil [ 399s] when the user has opened a partition page [ 399s] if the partition is still there after redrawing [ 399s] selects the partition page [ 399s] if the partition is not longer there after redrawing [ 399s] selects the corresponding disk page [ 399s] if the whole disk is not longer there after redrawing [ 399s] returns nil [ 399s] when the user has opened a disk page [ 399s] if the disk is still there after redrawing [ 399s] selects the correct disk page [ 399s] if the disk is not longer there after redrawing [ 399s] returns nil [ 399s] when the user has opened an MD RAID page [ 399s] if the RAID is still there after redrawing [ 400s] selects the RAID page [ 400s] if the RAID is not longer there after redrawing [ 400s] selects the general MD RAIDs page [ 400s] when the user has opened a LV page [ 400s] if the LV is still there after redrawing [ 400s] selects the LV page [ 400s] if the LV is not longer there after redrawing [ 400s] selects the corresponding VG page [ 400s] if the whole VG is not longer there after redrawing [ 400s] returns nil [ 400s] when the user has opened a VG page [ 400s] if the VG is still there after redrawing [ 400s] selects the correct VG page [ 400s] if the VG is not longer there after redrawing [ 400s] selects the general LVM page [ 400s] #find_tab [ 400s] if the user has still not clicked in any tab [ 400s] returns nil [ 400s] if the user has switched to a tab in the current tree node [ 401s] selects the corresponding page [ 401s] if the switched to a tab but then moved to a different tree node [ 401s] returns nil even if there is another tab with the same label [ 401s] #row_sid [ 401s] if the user has still not selected any row [ 401s] returns nil [ 401s] if the user had selected a row in the current node and tab [ 401s] selecting the row by device [ 401s] returns the sid of the device [ 401s] selecting the row by sid [ 401s] returns the sid of the device [ 401s] if the user had selected a row but then moved to a different tab [ 401s] returns nil [ 401s] if the user had selected a row but then moved to a different tree node [ 401s] returns nil [ 401s] [ 401s] Pending: (Failures listed here are expected and do not affect your suite's status) [ 401s] [ 401s] 1) Y2Storage::AutoinstProposal#propose removing partitions when only free space should be used raises an error if there is not enough space [ 401s] # Not yet implemented [ 401s] # ./test/y2storage/autoinst_proposal_test.rb:327 [ 401s] [ 401s] 2) 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 [ 401s] # Temporarily skipped with xcontext [ 401s] # ./test/y2storage/boot_requirements_errors_test.rb:86 [ 401s] [ 401s] 3) 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 [ 401s] # Temporarily skipped with xcontext [ 401s] # ./test/y2storage/boot_requirements_errors_test.rb:102 [ 401s] [ 401s] 4) 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 [ 401s] # Temporarily skipped with xcontext [ 401s] # ./test/y2storage/boot_requirements_errors_test.rb:92 [ 401s] [ 401s] 5) 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 [ 401s] # Temporarily skipped with xcontext [ 401s] # ./test/y2storage/boot_requirements_errors_test.rb:86 [ 401s] [ 401s] 6) Y2Storage::Proposal::SpaceMaker#delete_unwanted_partitions when deleting Linux partitions deletes partitions with id raid [ 401s] # Let's wait until we have some meaningful RAID scenarios [ 401s] # ./test/y2storage/proposal/space_maker_test.rb:113 [ 401s] [ 401s] 7) Y2Storage::Proposal::AutoinstDrivesMap#each when no suitable drive is found error? [ 401s] # Not yet implemented [ 401s] # ./test/y2storage/proposal/autoinst_drives_map_test.rb:163 [ 401s] [ 401s] 8) Y2Storage::Proposal::AutoinstSpaceMaker#cleaned_devicegraph when 'use' key is set to 'all' and a RAID device will be reused keeps the physical partition [ 401s] # Not yet implemented [ 401s] # ./test/y2storage/proposal/autoinst_space_maker_test.rb:101 [ 401s] [ 401s] 9) Y2Storage::AutoinstProfile::RaidOptionsSection.new_from_storage initializes device_order [ 401s] # .new_from_storage is not fully implemented yet [ 401s] # ./test/y2storage/autoinst_profile/raid_options_section_test.rb:131 [ 401s] [ 401s] 10) Y2Storage::Region#inside? if both regions have a different block size raises Storage::DifferentBlockSizes [ 401s] # Temporarily skipped with xit [ 401s] # ./test/y2storage/region_test.rb:81 [ 401s] [ 401s] Failures: [ 401s] [ 401s] 1) Y2Storage::StorageManager#default_mount_by= updates the default mount_by value [ 401s] Failure/Error: expect(manager.default_mount_by).to_not eq(mount_by_id) [ 401s] [ 401s] expected: value != #<Y2Storage::Filesystems::MountByType id> [ 401s] got: #<Y2Storage::Filesystems::MountByType id> [ 401s] [ 401s] (compared using ==) [ 401s] # ./test/y2storage/storage_manager_test.rb:405:in `block (3 levels) in <top (required)>' [ 401s] [ 401s] Finished in 6 minutes 31 seconds (files took 3.84 seconds to load) [ 401s] 4923 examples, 1 failure, 10 pending [ 401s] [ 401s] Failed examples: [ 401s] [ 401s] rspec ./test/y2storage/storage_manager_test.rb:402 # Y2Storage::StorageManager#default_mount_by= updates the default mount_by value [ 401s] [ 402s] rake aborted! [ 402s] Command failed with status (1): [rspec --color --format doc 'test/y2storage...] [ 402s] [ 402s] Tasks: TOP => test:unit [ 402s] (See full trace by running task with --trace) [ 402s] error: Bad exit status from /var/tmp/rpm-tmp.5tuTt4 (%check) [ 402s] [ 402s] [ 402s] RPM build errors: [ 402s] Bad exit status from /var/tmp/rpm-tmp.5tuTt4 (%check) [ 402s] [ 402s] yast-jenkins failed "build yast2-storage-ng.spec" at Mon Apr 9 11:11:19 UTC 2018. [ 402s] The buildroot was: /var/tmp/build-root-openSUSE_Factory rm -rf YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.opensuse.org/' b...] 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