
See <https://ci.suse.de/job/yast-storage-ng-master/4/display/redirect?page=changes> Changes: [jlopez] Add Btrfs#auto_deleted_subvols for the partitioner [jlopez] Add Btrfs methods for shadowing [jlopez] Add methods to BtrfsSubvolume for shadowing [jlopez] Add Mountable#root? [jlopez] Fix fake device factory [jlopez] Adapt CanBeMounted mixing [jlopez] Add methods to SubvolSpecification [jlopez] Create planned subvolumes as shadowable [jlopez] Create proposed subvolumes in expert partitioner [jlopez] Validate shadowing for new subvolumes [jlopez] Add validation for mount point [jlopez] Refresh shadowing when deleting partition [jlopez] Fix some tests [jlopez] Rename methods [jlopez] Fix comment [jlopez] Update version and changelog [jlopez] Fix doc [jlopez] Refac to kill Planned::BtrfsSubvolume [jlopez] Update version [jlopez] Fix doc [jlopez] Fix docker image [jlopez] Ignore .pot files [jlopez] Add missing test [jlopez] Delete unused method [jlopez] Fix doc ------------------------------------------ [...truncated 333.15 KB...] [ 14s] #skip_store_for [ 14s] produces an Array [ 14s] #contents [ 14s] has an input field for the subvolume path [ 14s] has a checkbox for the subvolume nocow attribute [ 14s] Y2Partitioner::Dialogs::BtrfsSubvolume::SubvolumePath [ 14s] these methods are only tested if they exist [ 14s] #label [ 14s] produces a String [ 14s] #help [ 14s] produces a String [ 14s] #opt [ 14s] produces Symbols [ 14s] #handle [ 14s] produces a Symbol or nil [ 14s] #validate [ 14s] produces a Boolean (or nil) [ 14s] #store [ 14s] saves the entered value [ 14s] #validate [ 14s] when no path is entered [ 14s] shows an error message [ 14s] returns false [ 14s] when a path is entered [ 14s] and the default subvolume is the top level one [ 14s] and the entered path is an absolute path [ 14s] removes extra slashes [ 14s] and the path does not start with default subvolume path [ 14s] shows an error message [ 14s] removes extra slashes and prepend the default subvolume path [ 14s] and there is no subvolume with that path [ 14s] and the mount point already exists [ 14s] shows an error message [ 14s] returns false [ 14s] and the mount point does not exist yet [ 14s] returns true [ 14s] and there is a subvolume with that path [ 14s] shows an error message [ 14s] returns false [ 14s] and the subvolume is shadowed [ 14s] shows an error message [ 14s] returns false [ 14s] Y2Partitioner::Dialogs::BtrfsSubvolume::SubvolumeNocow [ 14s] these methods are only tested if they exist [ 14s] #label [ 14s] produces a String [ 14s] #help [ 14s] produces a String [ 14s] #opt [ 14s] produces Symbols [ 14s] #handle [ 14s] produces a Symbol or nil [ 14s] #validate [ 14s] produces a Boolean (or nil) [ 14s] #store [ 14s] saves the entered value [ 14s] [ 14s] Y2Partitioner::Dialogs::FormatAndMount [ 14s] #contents [ 14s] produces a Term [ 14s] #title [ 14s] produces a String or nil [ 14s] #back_button [ 14s] produces a String or nil [ 14s] #abort_button [ 14s] produces a String or nil [ 14s] #next_button [ 14s] produces a String or nil [ 14s] #skip_store_for [ 14s] produces an Array [ 14s] [ 14s] Y2Partitioner::Dialogs::PartitionType [ 14s] #contents [ 14s] produces a Term [ 14s] #title [ 14s] produces a String or nil [ 14s] #back_button [ 14s] produces a String or nil [ 14s] #abort_button [ 14s] produces a String or nil [ 14s] #next_button [ 14s] produces a String or nil [ 14s] #skip_store_for [ 14s] produces an Array [ 14s] [ 14s] Y2Partitioner::Dialogs::PartitionType::TypeChoice [ 14s] these methods are only tested if they exist [ 14s] #label [ 14s] produces a String [ 14s] #help [ 14s] produces a String [ 14s] #opt [ 14s] produces Symbols [ 14s] #handle [ 14s] produces a Symbol or nil [ 14s] #validate [ 14s] produces a Boolean (or nil) [ 14s] #items [ 14s] produces an array of pairs of strings [ 14s] #hspacing [ 14s] returns and Integer or a Float number if defined [ 14s] returns a positive number or zero if defined [ 14s] #vspacing [ 14s] returns and Integer or a Float number if defined [ 14s] returns a positive number or zero if defined [ 14s] [ 14s] Y2Partitioner::Dialogs::FstabOptions [ 14s] #contents [ 14s] produces a Term [ 14s] #title [ 14s] produces a String or nil [ 14s] #back_button [ 14s] produces a String or nil [ 14s] #abort_button [ 14s] produces a String or nil [ 14s] #next_button [ 14s] produces a String or nil [ 14s] #skip_store_for [ 14s] produces an Array [ 14s] [ 14s] Y2Partitioner::Dialogs::PartitionRole [ 14s] #contents [ 14s] produces a Term [ 14s] #title [ 14s] produces a String or nil [ 14s] #back_button [ 14s] produces a String or nil [ 14s] #abort_button [ 14s] produces a String or nil [ 14s] #next_button [ 14s] produces a String or nil [ 14s] #skip_store_for [ 14s] produces an Array [ 14s] [ 14s] Y2Partitioner::Dialogs::EncryptPassword [ 14s] #contents [ 14s] produces a Term [ 14s] #title [ 14s] produces a String or nil [ 14s] #back_button [ 14s] produces a String or nil [ 14s] #abort_button [ 14s] produces a String or nil [ 14s] #next_button [ 14s] produces a String or nil [ 14s] #skip_store_for [ 14s] produces an Array [ 14s] [ 14s] Y2Partitioner::Dialogs::BtrfsSubvolumes [ 14s] #contents [ 14s] produces a Term [ 14s] #title [ 14s] produces a String or nil [ 14s] #back_button [ 14s] produces a String or nil [ 14s] #abort_button [ 14s] produces a String or nil [ 14s] #next_button [ 14s] produces a String or nil [ 14s] #skip_store_for [ 14s] produces an Array [ 14s] #contents [ 14s] has a btrfs subvolumes widget [ 14s] #run [ 14s] when the result is accepted [ 14s] keeps the devicegraph with all its changes [ 14s] when the result is not accepted [ 14s] restores the initial devicegraph [ 14s] [ 14s] Y2Partitioner::FormatMount::Options [ 14s] #initialize [ 14s] sets the defauts options [ 14s] when a specific role is given [ 14s] also set options for the specific role [ 14s] when a specific partition is given [ 14s] also set options for the specific partition [ 14s] #options_for_role [ 14s] when the given role is :swap [ 14s] sets the partition_id as Y2Storage::PartitionId::SWAP [ 14s] sets the filesystem as swap [ 14s] sets the mount_point as swap [ 14s] when the given role is :efi_boot [ 14s] sets the partition_id as Y2Storage::PartitionId::ESP [ 14s] sets the filesystem as VFAT [ 14s] sets the mount_point as /boot/efi [ 14s] when the given role is :system [ 14s] sets the partition_id as Y2Storage::PartitionId::LINUX [ 14s] sets the filesystem with the default [ 14s] #options_for_partition [ 14s] given a partition [ 14s] sets the name, type and partition_id options from the partition [ 14s] sets the rest of options based on its filesystem [ 14s] [ 14s] Y2Partitioner::FormatMount::Base [ 14s] #apply_options! [ 14s] sets the partition id [ 14s] applies format options over the partition [ 14s] applies mount options over the partition [ 14s] #apply_format_options! [ 14s] when the partition has not been set to be formated or encrypted [ 14s] returns false [ 14s] when the partition has been set to be formated or encrypted [ 14s] removes all partition descendants [ 14s] encrypts the partition if encrypted has been selected [ 14s] creates a new filesystem with the filesystem type configured if formated [ 14s] returns true [ 14s] and the filesystem is btrfs [ 14s] ensures a default btrfs subvolume [ 14s] #apply_mount_options! [ 14s] when the partiton has not filesystem [ 14s] returns false [ 14s] when the partition has a filesystem [ 14s] returns true [ 14s] and the filesystem is not mounted [ 14s] and the filesystem was not mounted [ 14s] does not set the mount point [ 14s] and the filesystem was mounted [ 14s] unmounts the filesystem [ 14s] and the filesystem is mounted [ 14s] and the mount point has not changed [ 14s] does not set the mount point [ 14s] and the mount point has changed [ 14s] sets the new mount point [ 14s] and the filesystem is Btrfs [ 14s] deletes the not probed subvolumes (FAILED - 1) [ 15s] rake aborted! [ 15s] Command failed with status (): [rspec --color --format doc 'test/y2partiti...] [ 15s] [ 15s] Tasks: TOP => test:unit [ 15s] (See full trace by running task with --trace) [ 15s] error: Bad exit status from /var/tmp/rpm-tmp.NFerbP (%check) [ 15s] [ 15s] [ 15s] RPM build errors: [ 15s] Bad exit status from /var/tmp/rpm-tmp.NFerbP (%check) [ 15s] [ 15s] vm-yast-ci-worker failed "build yast2-storage-ng.spec" at Thu Aug 24 12:19:43 UTC 2017. [ 15s] 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