xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: Andrii Anisov <andrii_anisov@epam.com>
Cc: Julien Grall <julien.grall@arm.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Xen Devel <xen-devel@lists.xen.org>
Subject: Re: [TESTDAY] Test report
Date: Tue, 23 May 2017 13:14:55 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.10.1705231310350.18759@sstabellini-ThinkPad-X260> (raw)
In-Reply-To: <e5774175-3f30-7b04-1b4c-0866884087a9@epam.com>

On Tue, 23 May 2017, Andrii Anisov wrote:
> Raisin is not functional as described [2]:
> 
>     root@salvator-x-domx:/raisin# ./raise test
>     No config file found, copying default config
>     [raisin] I don't know distro unknown. It might be missing packages.
>     [raisin] I don't know distro unknown. It might be missing packages.
>     [raisin] I don't know distro unknown. Cannot install packages.
> 
> [1] http://elinux.org/R-Car/Boards/Yocto-Gen3
> [2] https://wiki.xenproject.org/wiki/Xen_ARM_Manual_Smoke_Test

Hi Andrii,

thanks for testing! I have just run `raise test` on ARM64 to double
check: it works OK as long as it can recognize the distro and find the
host kernel and initrd appropriately (for example, as I was using a
custom built xen and dom0 kernel I had to use the appended patch).

In your case the problem is that you are using yocto and basically there
is no yocto support in raisin at the moment: it cannot recognize it as a
distro, therefore it cannot figure out if bridge-utils is already
installed for example. It would be nice to have yocto support for it
though, I don't think it would be hard to come up with a patch and it
gives you a very quick way to do testing! ;-)


diff --git a/lib/common-tests.sh b/lib/common-tests.sh
index c07bb18..80b61d5 100644
--- a/lib/common-tests.sh
+++ b/lib/common-tests.sh
@@ -163,20 +163,11 @@ function check_guest_alive() {
 }
 
 function get_host_kernel() {
-    echo "/boot/vmlinuz-`uname -r`"
+    echo "/boot/kernel"
 }
 
 function get_host_initrd() {
-    if [[ $DISTRO = "Debian" ]]
-    then
-        echo "/boot/initrd.img-`uname -r`"
-    elif [[ $DISTRO = "Fedora" ]]
-    then
-        echo "/boot/initramfs-`uname -r`".img
-    else
-        echo "$PREPEND I don't know how to find the initrd" >&2
-        exit 1
-    fi
+    echo ""
 }
 
 function cirros_network_init() {


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-05-23 20:14 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 17:03 [TESTDAY] Test report Andrii Anisov
2017-05-23 20:14 ` Stefano Stabellini [this message]
2017-05-25 10:17 ` Julien Grall
2017-05-25 18:41   ` Stefano Stabellini
  -- strict thread matches above, loose matches on Subject: below --
2016-05-13 20:34 Edgar E. Iglesias
2016-05-14 18:15 ` Julien Grall
2016-05-14 19:04   ` Edgar E. Iglesias
2016-05-16  9:58     ` Wei Liu
2016-05-16 13:20     ` Julien Grall
2016-05-16 13:41       ` Edgar E. Iglesias
2016-05-16 13:43         ` Julien Grall
2016-05-13 15:14 Tamas K Lengyel
2015-10-01 16:59 Tamas K Lengyel
2015-10-01 17:04 ` Wei Liu
2014-10-30 10:54 Jan Vejvalka
2014-10-30 14:39 ` Ian Campbell
2014-10-31  6:35   ` Jan Vejvalka
2014-10-30 14:58 ` Roger Pau Monné
2014-01-20 22:49 Don Slutz
2014-01-20 23:35 ` Konrad Rzeszutek Wilk
2014-01-23 10:51   ` Ian Campbell
2014-01-23 22:03   ` Don Slutz
2014-01-24 14:58     ` Konrad Rzeszutek Wilk
2014-01-24 16:43       ` Don Slutz
2014-01-24 19:06         ` Don Slutz
2014-01-24 19:20           ` Konrad Rzeszutek Wilk
2014-01-27  1:15           ` herbert cland
2012-09-19  7:04 Dariusz Krempa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1705231310350.18759@sstabellini-ThinkPad-X260 \
    --to=sstabellini@kernel.org \
    --cc=andrii_anisov@epam.com \
    --cc=julien.grall@arm.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).