Skip to contentSkip to conversation

155699: regressions - FAIL

xen-unstable-smoke test osstest service owner 1 participant 1 message Oct 11, 2020

lore
Share & tools
lore

osstest service owner

author Reviewed-by Andrew Cooper Reviewed-by Jan Beulich Acked-by Jan Beulich Reviewed-by Jan Beulich Acked-by Roger Pau Monné Acked-by Jan Beulich
#0 lore raw

flight 155699 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/155699/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-arm64-arm64-xl-xsm 8 xen-boot fail REGR. vs. 155584

Tests which did not succeed, but are not blocking:

 test-amd64-amd64-libvirt     15 migrate-support-check        fail   never pass
 test-armhf-armhf-xl          15 migrate-support-check        fail   never pass
 test-armhf-armhf-xl          16 saverestore-support-check    fail   never pass

version targeted for testing:
xen 8a62dee9ceff3056c7e0bd9632bac39bee2a51b3
baseline version:
xen 25849c8b16f2a5b7fcd0a823e80a5f1b590291f9

Last test of basis   155584  2020-10-09 02:01:25 Z    2 days
Testing same since   155612  2020-10-09 18:01:22 Z    2 days   15 attempts

------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]>
Jan Beulich <[email protected]>
Roger Pau Monné <[email protected]>
Trammell Hudson <[email protected]>

jobs:

 build-arm64-xsm                                              pass    
 build-amd64                                                  pass    
 build-armhf                                                  pass    
 build-amd64-libvirt                                          pass    
 test-armhf-armhf-xl                                          pass    
 test-arm64-arm64-xl-xsm                                      fail    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-amd64-libvirt                                     pass    

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

Not pushing.

------------------------------------------------------------
commit 8a62dee9ceff3056c7e0bd9632bac39bee2a51b3

Author: Jan Beulich <[email protected]>
Date:   Fri Oct 2 12:30:34 2020 +0200

x86/vLAPIC: don't leak regs page from vlapic_init() upon error

Fixes 8a981e0bf25e ("Make map_domain_page_global fail")

commit 8a71d50ed40bfa78c37722dc11995ac2563662c3

Author: Trammell Hudson <[email protected]>
Date:   Fri Oct 2 07:18:21 2020 -0400

efi: Enable booting unified hypervisor/kernel/initrd images

This patch adds support for bundling the xen.efi hypervisor, the xen.cfg configuration file, the Linux kernel and initrd, as well as the XSM, and architectural specific files into a single "unified" EFI executable. This allows an administrator to update the components independently without requiring rebuilding xen, as well as to replace the components in an existing image.

The resulting EFI executable can be invoked directly from the UEFI Boot Manager, removing the need to use a separate loader like grub as well as removing dependencies on local filesystem access. And since it is a single file, it can be signed and validated by UEFI Secure Boot without requring the shim protocol.

It is inspired by systemd-boot's unified kernel technique and borrows the function to locate PE sections from systemd's LGPL'ed code. During EFI boot, Xen looks at its own loaded image to locate the PE sections for the Xen configuration (.config), dom0 kernel (.kernel), dom0 initrd (.ramdisk), and XSM config (.xsm), which are included after building xen.efi using objcopy to add named sections for each input file.

For x86, the CPU ucode can be included in a section named .ucode, which is loaded in the efi_arch_cfg_file_late() stage of the boot process.

On ARM systems the Device Tree can be included in a section named .dtb, which is loaded during the efi_arch_cfg_file_early() stage of the boot process.

Note that the system will fall back to loading files from disk if the named sections do not exist. This allows distributions to continue with the status quo if they want a signed kernel + config, while still allowing a user provided initrd (which is how the shim protocol currently works as well).

This patch also adds constness to the section parameter of efi_arch_cfg_file_early() and efi_arch_cfg_file_late(), changes pe_find_section() to use a const CHAR16 section name, and adds pe_name_compare() to match section names.

[Fix ARM build by including pe.init.o]

commit 4dced5df761e36fa2561f6f0f6563b3580d95e7f

Author: Trammell Hudson <[email protected]>
Date:   Fri Oct 2 07:18:20 2020 -0400

efi/boot.c: add handle_file_info()

Add a separate function to display the address ranges used by the files and call efi_arch_handle_module() on the modules.

commit 04be2c3a067899a3860fc2c7bc7a1599502ed1c5

Author: Trammell Hudson <[email protected]>
Date:   Fri Oct 2 07:18:19 2020 -0400

efi/boot.c: add file.need_to_free

The config file, kernel, initrd, etc should only be freed if they are allocated with the UEFI allocator. On x86 the ucode, and on ARM the dtb, are also marked as need_to_free when allocated or expanded.

This also fixes a memory leak in ARM fdt_increase_size() if there is an error in building the new device tree.

commit afef39241b66df7d5fd66b07dc13350370a4991a

Author: Andrew Cooper <[email protected]>
Date:   Wed Apr 1 15:51:08 2020 +0100

x86/ucode: Trivial further cleanup

* Drop unused include in private.h.
* Used explicit width integers for Intel header fields.
* Adjust comment to better describe the extended header.
* Drop unnecessary __packed attribute for AMD header.
* Fix types and style.

No functional change.

commit 8d255609930bed04c6436974bd895be9a405d0c1

Author: Andrew Cooper <[email protected]>
Date:   Fri Oct 2 12:20:44 2020 +0100

x86/hvm: Correct error message in check_segment()

The error message is wrong (given AMD's older interpretation of what a NUL segment should contain, attribute wise), and actively unhelpful because you only get it in response to a hypercall where the one piece of information you cannot provide is the segment selector.

Fix the message to talk about segment attributes, rather than the selector.

(qemu changes not included)