https://ci.suse.de/job/yast-bootloader-master/70/Changes:
[jreidinger] add language reader
[jreidinger] start using system locale to generate grub menu (bsc#998152)
[jreidinger] Changes
[jreidinger] make rubocop happy
[jreidinger] augeas workaround to stop failing at travis
[jreidinger] handle non existing language sysconfig file
[jreidinger] changes from review
[jreidinger] add note about potential future usage
------------------------------------------
[...truncated 1656 lines...]
[ 22s] write comments for attributes if it is not already written
[ 22s] #pre_write
[ 22s] writes attributes to sysconfig file on target system even if SCR is not switched
[ 22s] ensures that sysconfig exists on target system
[ 22s]
[ 22s] Bootloader::UdevMapping
[ 22s] .to_kernel_device
[ 22s] returns mapped raid name for partitioned devices
[ 22s] returns mapped raid name for non-partitioned devices
[ 22s] return argument for non-udev non-raid mapped device names
[ 22s] return kernel device name for udev mapped name
[ 22s] raise exception if udev link is not known
[ 22s] .to_mountby_device
[ 22s] returns udev link in same format as used to its mounting
[ 22s] respects partition specific mountby option
[ 22s] returns encrypted device name if device have it
[ 22s] returns kernel device name if requested udev mapping do not exists
[ 22s] returns kernel device name for non-disk devices like tmpfs
[ 22s] returns kernel device name if device is mounted by device name
[ 22s] returns its name if partition do not exists
[ 22s]
[ 22s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 22s]
[ 22s] 1) #Yast::BootArchClass:0x0000000232d9d8 .DefaultKernelParams on s390 does not add parameters from boot command line
[ 22s] # Not yet implemented
[ 22s] # ./test/boot_arch_test.rb:108
[ 22s]
[ 22s] 2) #Yast::BootStorageClass:0x000000028b61e8 .detect_disks sets ExtendedPartitionDevice variable to extended partition if boot is logical
[ 22s] # Not yet implemented
[ 22s] # ./test/boot_storage_test.rb:77
[ 22s]
[ 22s] 3) #Yast::BootloaderClass:0x00000001dfdbe8 .Import resets configuration
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:29
[ 22s]
[ 22s] 4) #Yast::BootloaderClass:0x00000001dfdbe8 .Import marks that configuration is read
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:31
[ 22s]
[ 22s] 5) #Yast::BootloaderClass:0x00000001dfdbe8 .Import marks that configuration is already proposed
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:33
[ 22s]
[ 22s] 6) #Yast::BootloaderClass:0x00000001dfdbe8 .Import marks that configuration is changed
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:35
[ 22s]
[ 22s] 7) #Yast::BootloaderClass:0x00000001dfdbe8 .Import marks that stage1 location changed
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:37
[ 22s]
[ 22s] 8) #Yast::BootloaderClass:0x00000001dfdbe8 .Import sets bootloader from key "loader_type"
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:39
[ 22s]
[ 22s] 9) #Yast::BootloaderClass:0x00000001dfdbe8 .Import sets proposed bootloader if not set in data
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:41
[ 22s]
[ 22s] 10) #Yast::BootloaderClass:0x00000001dfdbe8 .Import acts like missing if "loader_type" value is empty
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:43
[ 22s]
[ 22s] 11) #Yast::BootloaderClass:0x00000001dfdbe8 .Import pass initrd specific map to initrd module
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:45
[ 22s]
[ 22s] 12) #Yast::BootloaderClass:0x00000001dfdbe8 .Import sets passed "write_settings" map
[ 22s] # Not yet implemented
[ 22s] # ./test/bootloader_test.rb:59
[ 22s]
[ 22s] 13) Bootloader::DeviceMap#propose do not add to device map members of raids and multipath
[ 22s] # Not yet implemented
[ 22s] # ./test/device_map_test.rb:28
[ 22s]
[ 22s] 14) Bootloader::DeviceMap#propose propose order according to bios id
[ 22s] # Not yet implemented
[ 22s] # ./test/device_map_test.rb:38
[ 22s]
[ 22s] 15) Bootloader::DeviceMap#propose do not propose USB as first device
[ 22s] # Not yet implemented
[ 22s] # ./test/device_map_test.rb:41
[ 22s]
[ 22s] 16) Bootloader::DeviceMap#propose propose as first device disk containing /boot
[ 22s] # Not yet implemented
[ 22s] # ./test/device_map_test.rb:44
[ 22s]
[ 22s] 17) Bootloader::Stage1#available_locations on x86_64 returns map with :extended set to extended partition
[ 22s] # need to get target map with /boot on logical partition
[ 22s] Failure/Error: expect(subject.available_locations[:extended]).to eq "/dev/sda4"
[ 22s]
[ 22s] expected: "/dev/sda4"
[ 22s] got: nil
[ 22s]
[ 22s] (compared using ==)
[ 22s] # ./test/stage1_test.rb:211:in `block (4 levels) in '
[ 22s]
[ 22s] Failures:
[ 22s]
[ 22s] 1) Bootloader::Grub2EFI write setups protective mbr to real disks containing /boot/efi
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2efi.rb:35:in `write'
[ 22s] # ./test/grub2_efi_test.rb:35:in `block (3 levels) in '
[ 22s]
[ 22s] 2) Bootloader::Grub2EFI write calls grub2-install with respective secure boot configuration
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2efi.rb:35:in `write'
[ 22s] # ./test/grub2_efi_test.rb:45:in `block (3 levels) in '
[ 22s]
[ 22s] 3) Bootloader::Grub2EFI write writes secure boot configuration to bootloader sysconfig
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2efi.rb:35:in `write'
[ 22s] # ./test/grub2_efi_test.rb:57:in `block (3 levels) in '
[ 22s]
[ 22s] 4) Bootloader::Grub2 write writes stage1 location
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 22s] # ./test/grub2_test.rb:53:in `block (3 levels) in '
[ 22s]
[ 22s] 5) Bootloader::Grub2 write changes pmbr flag as specified in pmbr_action for all boot devices with gpt label
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 22s] # ./test/grub2_test.rb:70:in `block (3 levels) in '
[ 22s]
[ 22s] 6) Bootloader::Grub2 write runs grub2-install for all configured stage1 locations
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 22s] # ./test/grub2_test.rb:82:in `block (3 levels) in '
[ 22s]
[ 22s] 7) Bootloader::Grub2 write on s390 does not run mbr update for configured stage1 flags
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 22s] # ./test/grub2_test.rb:93:in `block (4 levels) in '
[ 22s]
[ 22s] 8) Bootloader::Grub2 write on other architectures runs mbr update for configured stage1 flags
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./src/lib/bootloader/grub2.rb:63:in `write'
[ 22s] # ./test/grub2_test.rb:107:in `block (4 levels) in '
[ 22s]
[ 22s] 9) Bootloader::Grub2Base write stores grub default config
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./test/grub2base_test.rb:47:in `block (3 levels) in '
[ 22s]
[ 22s] 10) Bootloader::Grub2Base write stores chosen default section
[ 22s] Failure/Error: subject.write
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./src/lib/bootloader/grub2base.rb:156:in `systemwide_locale'
[ 22s] # ./src/lib/bootloader/grub2base.rb:99:in `write'
[ 22s] # ./test/grub2base_test.rb:57:in `block (3 levels) in '
[ 22s]
[ 22s] 11) Bootloader::Language rc_lang returns value from parsed tree
[ 22s] Failure/Error: language.load
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./test/language_test.rb:13:in `block (3 levels) in '
[ 22s]
[ 22s] 12) Bootloader::Language rc_lang returns nil if value missing in parsed tree
[ 22s] Failure/Error: language.load
[ 22s] RuntimeError:
[ 22s] Augeas error Lens not found. Details: Can not find lens sysconfig.lns.
[ 22s] # ./test/language_test.rb:22:in `block (3 levels) in '
[ 22s]
[ 22s] Finished in 7.99 seconds (files took 1.43 seconds to load)
[ 22s] 456 examples, 12 failures, 17 pending
[ 22s]
[ 22s] Failed examples:
[ 22s]
[ 22s] rspec ./test/grub2_efi_test.rb:26 # Bootloader::Grub2EFI write setups protective mbr to real disks containing /boot/efi
[ 22s] rspec ./test/grub2_efi_test.rb:38 # Bootloader::Grub2EFI write calls grub2-install with respective secure boot configuration
[ 22s] rspec ./test/grub2_efi_test.rb:48 # Bootloader::Grub2EFI write writes secure boot configuration to bootloader sysconfig
[ 22s] rspec ./test/grub2_test.rb:48 # Bootloader::Grub2 write writes stage1 location
[ 22s] rspec ./test/grub2_test.rb:56 # Bootloader::Grub2 write changes pmbr flag as specified in pmbr_action for all boot devices with gpt label
[ 22s] rspec ./test/grub2_test.rb:73 # Bootloader::Grub2 write runs grub2-install for all configured stage1 locations
[ 22s] rspec ./test/grub2_test.rb:90 # Bootloader::Grub2 write on s390 does not run mbr update for configured stage1 flags
[ 22s] rspec ./test/grub2_test.rb:102 # Bootloader::Grub2 write on other architectures runs mbr update for configured stage1 flags
[ 22s] rspec ./test/grub2base_test.rb:39 # Bootloader::Grub2Base write stores grub default config
[ 22s] rspec ./test/grub2base_test.rb:50 # Bootloader::Grub2Base write stores chosen default section
[ 22s] rspec ./test/language_test.rb:8 # Bootloader::Language rc_lang returns value from parsed tree
[ 22s] rspec ./test/language_test.rb:18 # Bootloader::Language rc_lang returns nil if value missing in parsed tree
[ 22s]
[ 23s] rake aborted!
[ 23s] Command failed with status (1): [rspec --color --format doc 'test/boot_stor...]
[ 23s]
[ 23s] Tasks: TOP => test:unit
[ 23s] (See full trace by running task with --trace)
[ 23s] error: Bad exit status from /var/tmp/rpm-tmp.gs4Oyj (%check)
[ 23s]
[ 23s]
[ 23s] RPM build errors:
[ 23s] Bad exit status from /var/tmp/rpm-tmp.gs4Oyj (%check)
Building yast2-bootloader.spec for sle12_sp3/x86_64
Getting buildinfo from server and store to https://ci.suse.de/job/yast-bootloader-master/ws/Devel:YaST:Head/yast2-bootloader/.osc/_buildinfo-sle12_sp3-x86_64.xml
Getting buildconfig from server and store to https://ci.suse.de/job/yast-bootloader-master/ws/Devel:YaST:Head/yast2-bootloader/.osc/_buildconfig-sle12_sp3-x86_64
Updating cache of required packages
1.5% cache miss. 202/205 dependencies cached.
1/3 (Devel:YaST:Head) yast2-storage-3.1.105-1.6.x86_64.rpm
2/3 (Devel:YaST:Head) libstorage7-2.26.10-2.1.x86_64.rpm
3/3 (Devel:YaST:Head) libstorage-ruby-2.26.10-2.1.x86_64.rpm
Skipping verification of package signatures
Writing build configuration
Running build
The buildroot was: /var/tmp/build-root-sle12_sp3
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