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

[Xen-devel] [PATCH OSSTEST] mfi-common: Only override the pvops kernel repo for linux-arm-xen branch (Was: Re: [linux-linus test] 24817: regressions - FAIL)



On Sun, 2014-02-09 at 16:04 +0000, xen.org wrote:
> 
>  build-armhf-pvops             4 kernel-build                 fail   never 
> pass 

+ git checkout 494479038d97f1b9f76fc633a360a681acdf035c
fatal: reference is not a tree: 494479038d97f1b9f76fc633a360a681acdf035c

This is because it is using git://xenbits.xen.org/linux-pvops.git
instead of the tree it should be testing...

The following fixes it for me, but although the results are as I wanted
I'm not 100% sure about this override in the first place. In my
experiments with cr-daily-branch I see:

        Branch          $TREE_LINUX             $TREE_LINUX_ARM
        
        xen-unstable    pvops                   pvops
        linux-linus     torvalds                pvops
        linux-arm-xen   arm-xen                 arm-xen

        Key:
        [arm-xen] 
git://git.kernel.org/pub/scm/linux/kernel/git/sstabellini/xen.git
        [torvalds] 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
        [pvops] git://xenbits.xen.org/linux-pvops.git
        
IOW $TREE_LINUX is always correct.

When invoking make-flight directly both are always "pvops".

8<---------------------------------------

From 344b0ca5e623d8212ee9d5452f19aba2df2c97fe Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Mon, 10 Feb 2014 09:33:00 +0000
Subject: [PATCH] mfi-common: Only override the pvops kernel repo for
 linux-arm-xen branch

Otherwise e.g. linux-linus tries to use the wrong tree and fails.

I have confirmed that for flights on xen-unstable, linux-linus and
linux-arm-xen the only difference in the runvars is
linux-linux.build-armhf-pvops.tree_linus which changes from
git://xenbits.xen.org/linux-pvops.git to
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git as
expected.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 mfi-common | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/mfi-common b/mfi-common
index 8f56092..f7f981e 100644
--- a/mfi-common
+++ b/mfi-common
@@ -44,6 +44,11 @@ create_build_jobs () {
 
     if [ "x$arch" = xdisable ]; then continue; fi
 
+    pvops_kernel="
+      tree_linux=$TREE_LINUX
+      revision_linux=${REVISION_LINUX:-${DEFAULT_REVISION_LINUX}}
+    "
+
     case "$arch" in
     armhf)
       case "$branch" in
@@ -59,10 +64,13 @@ create_build_jobs () {
       xen-4.1-testing) continue;;
       xen-4.2-testing) continue;;
       esac
-      pvops_kernel="
-        tree_linux=$TREE_LINUX_ARM
-        revision_linux=${REVISION_LINUX_ARM:-${DEFAULT_REVISION_LINUX_ARM}}
-      "
+
+      if [ "$branch" = "linux-arm-xen" ]; then
+        pvops_kernel="
+          tree_linux=$TREE_LINUX_ARM
+          revision_linux=${REVISION_LINUX_ARM:-${DEFAULT_REVISION_LINUX_ARM}}
+        "
+      fi
       pvops_kconfig_overrides="
         kconfig_override_y=CONFIG_EXT4_FS
       "
@@ -71,10 +79,6 @@ create_build_jobs () {
       case "$branch" in
       linux-arm-xen) continue;;
       esac
-      pvops_kernel="
-        tree_linux=$TREE_LINUX
-        revision_linux=${REVISION_LINUX:-${DEFAULT_REVISION_LINUX}}
-      "
       ;;
     esac
 
-- 
1.8.5.2




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


 


Rackspace

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