[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH v2 00/19] Upgrade to Stretch



Hi Wei,

On 31/10/17 13:51, Wei Liu wrote:
> First version of this series can be found at [0].
> 
> This version contains workaround for Arndale boards. They are now functional.

I need the following patch [1] to use that branch on Arm64 boxes.

Also, on Thunder-X I needed a hack to keep the interface name
consistent between the installer and Debian (see discussion on
patch #7). Looking at the discussion I am not sure what is the
way forward to fix it.

Cheers,

[1]

commit 26badf528e343d3fc540b61490011d391f2360a8
Author: Julien Grall <julien.grall@xxxxxxx>
Date:   Tue Feb 20 11:54:51 2018 +0000

    stretch: Use chainloading when booting using GRUB on Arm64
    
    The GRUB package in Stretch is not able to boot Xen on Arm64.
    Use chainloading as we did for Jessie for the time being.
    
    Note that a bug has been filled on Debian to integrate Xen
    pactches for the next release (see [1]).
    
    [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884770
    
    Signed-off-by: Julien Grall <julien.grall@xxxxxxx>

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index b2d5007..2a2efa0 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -437,7 +437,7 @@ sub setupboot_grub2 ($$$$) {
     # Grub2 on Jessie/arm* doesn't do multiboot, so we must chainload.
     my $need_uefi_chainload =
         get_host_property($ho, "firmware", "") eq "uefi" &&
-        $ho->{Suite} =~ m/jessie/ && $r{arch} =~ m/^arm/;
+        $ho->{Suite} =~ m/jessie|stretch/ && $r{arch} =~ m/^arm/;
 
     my $parsemenu= sub {
         my $f= bl_getmenu_open($ho, $rmenu, "$stash/$ho->{Name}--grub.cfg.1");

> 
> A bunch of test cases failed:
> 
> 1. Rumpkernel tests -- I've sent an email to Antti for advice.
> 2. Windows tests -- They don't look different from normal flights.
> 3. memdisk-try-append -- Osstest couldn't find some file. I don't think it is
>     related to the code I modified.
> 4. guest-localmigrate/x10 for xl-qcow2 test -- Guest kernel bug.
> 5. nested hvm amd, pvhv2 -- Expected failure.
> 
> Example flight:
> http://logs.test-lab.xenproject.org/osstest/logs/115404/
> 
> The armhf d-i failure is fixed with an additional patch ("Skip bootloader
> installaion for arm32 on Stretch) on top of the code for 15404, in:
> 
> http://logs.test-lab.xenproject.org/osstest/logs/115404/
> 
> Cc: Julien Grall <julien.grall@xxxxxxx>
> 
> [0] <20171020103840.32762-1-wei.liu2@xxxxxxxxxx>
> 
> Wei Liu (19):
>    gitignore: ignore vim swap file
>    ts-xen-build-prep: only install w3c-dtd-xhtml for suites <Stretch
>    ts-xen-build-prep: install packages for suites >jessie
>    ts-xen-install: install some packages on stretch
>    Debian.pm: use sysvinit-core instead of systemd
>    ts-leak-check: suppress systemd-shim, which leaks in stretch
>    ts-host-install: don't use the new nic naming scheme
>    ts-guests-nbd-mirror: use target_{get,put}file_root to transfter cfg
>    ts-debian-fixup: merge origin extra= to our own
>    ts-debian-fixup: use correct resume device
>    ts-debian-hvm-install: disable new nic naming scheme
>    ts-xen-build-prep: install e2fslibs-dev
>    TestSupport: add dpkg option when installing packages
>    ts-guests-nbd-mirror: make it work with stretch
>    Add clk_ignore_unused for stretch for arm hosts
>    Set mac address in interfaces(5) if force-mac-address is set
>    Skip bootloader installation for arm32 in Stretch
>    make-flight: don't test pvgrub for Xen XXX
>    Switch to Debian Stretch
> 
>   .gitignore             |  1 +
>   Osstest.pm             |  2 +-
>   Osstest/Debian.pm      | 19 ++++++++++++++++--
>   Osstest/TestSupport.pm |  3 ++-
>   make-flight            | 17 +++++++++++++++-
>   production-config      |  2 ++
>   ts-debian-fixup        | 14 ++++++++++++-
>   ts-debian-hvm-install  | 13 ++++++++++++
>   ts-guests-nbd-mirror   | 54 
> ++++++++++++++++++++++++++++++++++++++++++++------
>   ts-host-install        |  4 ++++
>   ts-leak-check          |  1 +
>   ts-xen-build-prep      | 15 +++++++++++++-
>   ts-xen-install         |  3 +++
>   13 files changed, 135 insertions(+), 13 deletions(-)
> 

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.