http://ci.opensuse.org/job/yast-bootloader-master/568/Changes:
[Josef Reidinger] add language reader
[Josef Reidinger] start using system locale to generate grub menu (bsc#998152)
[Josef Reidinger] Changes
[Josef Reidinger] make rubocop happy
[Josef Reidinger] augeas workaround to stop failing at travis
[Josef Reidinger] handle non existing language sysconfig file
[Josef Reidinger] changes from review
[Josef Reidinger] add note about potential future usage
------------------------------------------
[...truncated 1800 lines...]
[ 73s] if id contain disable it disabled respective key
[ 73s] it returns "workflow sequence" with :next
[ 73s] sets to true that proposed cfg changed
[ 73s] gui id is passed
[ 73s] returns as workflow sequence result of GUI
[ 73s] sets to true that poposed cfg changed if GUI changes are confirmed
[ 73s] restores previous configuration if GUI is canceled
[ 73s] #make_proposal
[ 73s] returns map with links set to single click actions
[ 73s] returns map with raw_proposal set to respective bootloader summary
[ 73s] do not check installation errors if install on nfs
[ 74s] report warning if no bootloader selected
[ 74s] report error if bootloader is not installable
[ 74s] reports error if system setup is not supported
[ 74s] call bootloader propose in common installation
[ 74s] reproprose from scrach during update if old bootloader is not grub2
[ 74s] do not propose during update if if old bootloader is none
[ 74s] propose no change if old bootloader is grub2
[ 74s] resets configuration if not automode and force_reset passed
[ 74s] do not resets configuration in automode and even if force_reset passed
[ 74s]
[ 74s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 74s]
[ 74s] 1) #Yast::BootloaderClass:0x000000033fb170 .Import resets configuration
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:29
[ 74s]
[ 74s] 2) #Yast::BootloaderClass:0x000000033fb170 .Import marks that configuration is read
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:31
[ 74s]
[ 74s] 3) #Yast::BootloaderClass:0x000000033fb170 .Import marks that configuration is already proposed
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:33
[ 74s]
[ 74s] 4) #Yast::BootloaderClass:0x000000033fb170 .Import marks that configuration is changed
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:35
[ 74s]
[ 74s] 5) #Yast::BootloaderClass:0x000000033fb170 .Import marks that stage1 location changed
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:37
[ 74s]
[ 74s] 6) #Yast::BootloaderClass:0x000000033fb170 .Import sets bootloader from key "loader_type"
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:39
[ 74s]
[ 74s] 7) #Yast::BootloaderClass:0x000000033fb170 .Import sets proposed bootloader if not set in data
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:41
[ 74s]
[ 74s] 8) #Yast::BootloaderClass:0x000000033fb170 .Import acts like missing if "loader_type" value is empty
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:43
[ 74s]
[ 74s] 9) #Yast::BootloaderClass:0x000000033fb170 .Import pass initrd specific map to initrd module
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:45
[ 74s]
[ 74s] 10) #Yast::BootloaderClass:0x000000033fb170 .Import sets passed "write_settings" map
[ 74s] # Not yet implemented
[ 74s] # ./test/bootloader_test.rb:59
[ 74s]
[ 74s] 11) Bootloader::Stage1#available_locations on x86_64 returns map with :extended set to extended partition
[ 74s] # need to get target map with /boot on logical partition
[ 74s] Failure/Error: expect(subject.available_locations[:extended]).to eq "/dev/sda4"
[ 74s]
[ 74s] expected: "/dev/sda4"
[ 74s] got: nil
[ 74s]
[ 74s] (compared using ==)
[ 74s] # ./test/stage1_test.rb:211:in `block (4 levels) in '
[ 74s]
[ 74s] 12) Bootloader::DeviceMap#propose do not add to device map members of raids and multipath
[ 74s] # Not yet implemented
[ 74s] # ./test/device_map_test.rb:28
[ 74s]
[ 74s] 13) Bootloader::DeviceMap#propose propose order according to bios id
[ 74s] # Not yet implemented
[ 74s] # ./test/device_map_test.rb:38
[ 74s]
[ 74s] 14) Bootloader::DeviceMap#propose do not propose USB as first device
[ 74s] # Not yet implemented
[ 74s] # ./test/device_map_test.rb:41
[ 74s]
[ 74s] 15) Bootloader::DeviceMap#propose propose as first device disk containing /boot
[ 74s] # Not yet implemented
[ 74s] # ./test/device_map_test.rb:44
[ 74s]
[ 74s] 16) #Yast::BootStorageClass:0x00000002d41578 .detect_disks sets ExtendedPartitionDevice variable to extended partition if boot is logical
[ 74s] # Not yet implemented
[ 74s] # ./test/boot_storage_test.rb:77
[ 74s]
[ 74s] 17) #Yast::BootArchClass:0x000000037717a0 .DefaultKernelParams on s390 does not add parameters from boot command line
[ 74s] # Not yet implemented
[ 74s] # ./test/boot_arch_test.rb:108
[ 74s]
[ 74s] Failures:
[ 74s]
[ 74s] 1) Bootloader::Language rc_lang returns value from parsed tree
[ 74s] Failure/Error: language.load
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./test/language_test.rb:13:in `block (3 levels) in '
[ 74s]
[ 74s] 2) Bootloader::Language rc_lang returns nil if value missing in parsed tree
[ 74s] Failure/Error: language.load
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./test/language_test.rb:22:in `block (3 levels) in '
[ 74s]
[ 74s] 3) Bootloader::Grub2EFI write setups protective mbr to real disks containing /boot/efi
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2efi.rb:35:in `write'
[ 74s] # ./test/grub2_efi_test.rb:35:in `block (3 levels) in '
[ 74s]
[ 74s] 4) Bootloader::Grub2EFI write calls grub2-install with respective secure boot configuration
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2efi.rb:35:in `write'
[ 74s] # ./test/grub2_efi_test.rb:45:in `block (3 levels) in '
[ 74s]
[ 74s] 5) Bootloader::Grub2EFI write writes secure boot configuration to bootloader sysconfig
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2efi.rb:35:in `write'
[ 74s] # ./test/grub2_efi_test.rb:57:in `block (3 levels) in '
[ 74s]
[ 74s] 6) Bootloader::Grub2Base write stores grub default config
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./test/grub2base_test.rb:47:in `block (3 levels) in '
[ 74s]
[ 74s] 7) Bootloader::Grub2Base write stores chosen default section
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./test/grub2base_test.rb:57:in `block (3 levels) in '
[ 74s]
[ 74s] 8) Bootloader::Grub2 write writes stage1 location
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 74s] # ./test/grub2_test.rb:53:in `block (3 levels) in '
[ 74s]
[ 74s] 9) Bootloader::Grub2 write changes pmbr flag as specified in pmbr_action for all boot devices with gpt label
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 74s] # ./test/grub2_test.rb:70:in `block (3 levels) in '
[ 74s]
[ 74s] 10) Bootloader::Grub2 write runs grub2-install for all configured stage1 locations
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 74s] # ./test/grub2_test.rb:82:in `block (3 levels) in '
[ 74s]
[ 74s] 11) Bootloader::Grub2 write on s390 does not run mbr update for configured stage1 flags
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 74s] # ./test/grub2_test.rb:93:in `block (4 levels) in '
[ 74s]
[ 74s] 12) Bootloader::Grub2 write on other architectures runs mbr update for configured stage1 flags
[ 74s] Failure/Error: subject.write
[ 74s]
[ 74s] RuntimeError:
[ 74s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 74s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 74s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 74s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 74s] # ./test/grub2_test.rb:107:in `block (4 levels) in '
[ 74s]
[ 74s] Finished in 6.54 seconds (files took 1.12 seconds to load)
[ 74s] 456 examples, 12 failures, 17 pending
[ 74s]
[ 74s] Failed examples:
[ 74s]
[ 74s] rspec ./test/language_test.rb:8 # Bootloader::Language rc_lang returns value from parsed tree
[ 74s] rspec ./test/language_test.rb:18 # Bootloader::Language rc_lang returns nil if value missing in parsed tree
[ 74s] rspec ./test/grub2_efi_test.rb:26 # Bootloader::Grub2EFI write setups protective mbr to real disks containing /boot/efi
[ 74s] rspec ./test/grub2_efi_test.rb:38 # Bootloader::Grub2EFI write calls grub2-install with respective secure boot configuration
[ 74s] rspec ./test/grub2_efi_test.rb:48 # Bootloader::Grub2EFI write writes secure boot configuration to bootloader sysconfig
[ 74s] rspec ./test/grub2base_test.rb:39 # Bootloader::Grub2Base write stores grub default config
[ 74s] rspec ./test/grub2base_test.rb:50 # Bootloader::Grub2Base write stores chosen default section
[ 74s] rspec ./test/grub2_test.rb:48 # Bootloader::Grub2 write writes stage1 location
[ 74s] rspec ./test/grub2_test.rb:56 # Bootloader::Grub2 write changes pmbr flag as specified in pmbr_action for all boot devices with gpt label
[ 74s] rspec ./test/grub2_test.rb:73 # Bootloader::Grub2 write runs grub2-install for all configured stage1 locations
[ 74s] rspec ./test/grub2_test.rb:90 # Bootloader::Grub2 write on s390 does not run mbr update for configured stage1 flags
[ 74s] rspec ./test/grub2_test.rb:102 # Bootloader::Grub2 write on other architectures runs mbr update for configured stage1 flags
[ 74s]
[ 74s] rake aborted!
[ 74s] Command failed with status (1): [rspec --color --format doc 'test/bootloade...]
[ 74s]
[ 74s] Tasks: TOP => test:unit
[ 74s] (See full trace by running task with --trace)
[ 74s] error: Bad exit status from /var/tmp/rpm-tmp.NPiCT8 (%check)
[ 74s]
[ 74s]
[ 74s] RPM build errors:
[ 74s] Bad exit status from /var/tmp/rpm-tmp.NPiCT8 (%check)
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