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

Re: [Xen-devel] [OSSTEST PATCH v3 20/25] mfi-common: create xtf build job for 4.4 onwards



On Tue, Sep 06, 2016 at 03:06:02PM +0100, Ian Jackson wrote:
> Wei Liu writes ("[OSSTEST PATCH v3 20/25] mfi-common: create xtf build job 
> for 4.4 onwards"):
> > Xen 4.4 is the oldest one that we still provide security support at this
> > point in time.
> > 
> > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> 
> This ought to come with a diff, showing the change to the output of
> standalone-generate-dump-flight-runvars.  (Consider use of `eatmydata'
> and AP_FETCH_MEMO_KEEP=1, as discussed in 74d81dca.)
> 
> Thanks,
> Ian.

The following fixup patch is required to properly filter out unnecessary
branches.

There will be one further fixup patch to another patch to switch to use
branch_wants_xtf_tests. I will post that separately.

From 074237a5b152d7f772b53594732bcc6946dc31ed Mon Sep 17 00:00:00 2001
From: Wei Liu <wei.liu2@xxxxxxxxxx>
Date: Thu, 8 Sep 2016 17:50:14 +0100
Subject: [OSSTEST PATCH] fixup! mfi-common: create xtf build job for 4.4
 onwards
Cc: ian.jackson@xxxxxxxxxxxxx

---
 mfi-common | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/mfi-common b/mfi-common
index 0864266..00921c4 100644
--- a/mfi-common
+++ b/mfi-common
@@ -67,15 +67,16 @@ xenbranch_xsm_variants () {
     esac
 }
 
-xenbranch_wants_xtf_tests () {
-    case "$xenbranch" in
-    xen-3.*-testing) return 1;;
-    xen-4.0-testing) return 1;;
-    xen-4.1-testing) return 1;;
-    xen-4.2-testing) return 1;;
-    xen-4.3-testing) return 1;;
-    *) return 0;;
-    esac
+branch_wants_xtf_tests () {
+  case "$branch" in
+    xen-3.*-testing) return 1 ;;
+    xen-4.0-testing) return 1 ;;
+    xen-4.1-testing) return 1 ;;
+    xen-4.2-testing) return 1 ;;
+    xen-4.3-testing) return 1 ;;
+    xen-*) return 0;;
+    *) return 1 ;;
+  esac
 }
 
 job_create_build () {
@@ -276,7 +277,7 @@ create_build_jobs () {
 
     fi
 
-    if xenbranch_wants_xtf_tests; then
+    if branch_wants_xtf_tests; then
         # Only x86, build once for amd64 and use the same result for
         # both amd64 and i386
         if [ x$arch = xamd64 ] ; then
-- 
2.1.4


And now the diff of new stuff in database:


--- /proc/self/fd/11    2016-09-08 17:59:55.664055563 +0100
+++ /proc/self/fd/12    2016-09-08 17:59:55.664055563 +0100
@@ -18554,6 +18554,13 @@
 xen-4.4-testing            build-amd64-xend                          tree_qemu 
              git://xenbits.xen.org/qemu-xen-traditional.git                    
     
 xen-4.4-testing            build-amd64-xend                          
tree_qemuu              git://xenbits.xen.org/qemu-xen.git                      
               
 xen-4.4-testing            build-amd64-xend                          tree_xen  
              git://xenbits.xen.org/xen.git                                     
     
+xen-4.4-testing            build-amd64-xtf                           
all_host_di_version     current                                                 
               
+xen-4.4-testing            build-amd64-xtf                           
all_host_suite          wheezy                                                  
               
+xen-4.4-testing            build-amd64-xtf                           arch      
              amd64                                                             
     
+xen-4.4-testing            build-amd64-xtf                           
build_lvextend_max      50                                                      
               
+xen-4.4-testing            build-amd64-xtf                           
host_hostflags          
share-build-wheezy-amd64,arch-amd64,suite-wheezy,purpose-build         
+xen-4.4-testing            build-amd64-xtf                           
revision_xtf                                                                    
               
+xen-4.4-testing            build-amd64-xtf                           tree_xtf  
              git://xenbits.xen.org/people/liuw/xtf.git                         
     
 xen-4.4-testing            build-armhf                               
all_host_di_version     current                                                 
               
 xen-4.4-testing            build-armhf                               
all_host_suite          wheezy                                                  
               
 xen-4.4-testing            build-armhf                               arch      
              armhf                                                             
     
@@ -19441,6 +19448,13 @@
 xen-4.5-testing            build-amd64                               
tree_qemuu              git://xenbits.xen.org/qemu-xen.git                      
               
 xen-4.5-testing            build-amd64                               
tree_seabios                                                                    
               
 xen-4.5-testing            build-amd64                               tree_xen  
              git://xenbits.xen.org/xen.git                                     
     
+xen-4.5-testing            build-amd64-xtf                           
all_host_di_version     current                                                 
               
+xen-4.5-testing            build-amd64-xtf                           
all_host_suite          wheezy                                                  
               
+xen-4.5-testing            build-amd64-xtf                           arch      
              amd64                                                             
     
+xen-4.5-testing            build-amd64-xtf                           
build_lvextend_max      50                                                      
               
+xen-4.5-testing            build-amd64-xtf                           
host_hostflags          
share-build-wheezy-amd64,arch-amd64,suite-wheezy,purpose-build         
+xen-4.5-testing            build-amd64-xtf                           
revision_xtf                                                                    
               
+xen-4.5-testing            build-amd64-xtf                           tree_xtf  
              git://xenbits.xen.org/people/liuw/xtf.git                         
     
 xen-4.5-testing            build-armhf                               
all_host_di_version     current                                                 
               
 xen-4.5-testing            build-armhf                               
all_host_suite          wheezy                                                  
               
 xen-4.5-testing            build-armhf                               arch      
              armhf                                                             
     
@@ -20415,6 +20429,13 @@
 xen-4.6-testing            build-amd64-xsm                                     
  tree_qemuu              git://xenbits.xen.org/qemu-xen.git                    
                 
 xen-4.6-testing            build-amd64-xsm                                     
  tree_seabios                                                                  
                 
 xen-4.6-testing            build-amd64-xsm                                     
  tree_xen                git://xenbits.xen.org/xen.git                         
                 
+xen-4.6-testing            build-amd64-xtf                                     
  all_host_di_version     current                                               
                 
+xen-4.6-testing            build-amd64-xtf                                     
  all_host_suite          wheezy                                                
                 
+xen-4.6-testing            build-amd64-xtf                                     
  arch                    amd64                                                 
                 
+xen-4.6-testing            build-amd64-xtf                                     
  build_lvextend_max      50                                                    
                 
+xen-4.6-testing            build-amd64-xtf                                     
  host_hostflags          
share-build-wheezy-amd64,arch-amd64,suite-wheezy,purpose-build         
+xen-4.6-testing            build-amd64-xtf                                     
  revision_xtf                                                                  
                 
+xen-4.6-testing            build-amd64-xtf                                     
  tree_xtf                git://xenbits.xen.org/people/liuw/xtf.git             
                 
 xen-4.6-testing            build-armhf                                         
  all_host_di_version     current                                               
                 
 xen-4.6-testing            build-armhf                                         
  all_host_suite          wheezy                                                
                 
 xen-4.6-testing            build-armhf                                         
  arch                    armhf                                                 
                 
@@ -21642,6 +21663,13 @@
 xen-4.7-testing            build-amd64-xsm                                     
  tree_qemuu              git://xenbits.xen.org/qemu-xen.git                    
                 
 xen-4.7-testing            build-amd64-xsm                                     
  tree_seabios                                                                  
                 
 xen-4.7-testing            build-amd64-xsm                                     
  tree_xen                git://xenbits.xen.org/xen.git                         
                 
+xen-4.7-testing            build-amd64-xtf                                     
  all_host_di_version     current                                               
                 
+xen-4.7-testing            build-amd64-xtf                                     
  all_host_suite          wheezy                                                
                 
+xen-4.7-testing            build-amd64-xtf                                     
  arch                    amd64                                                 
                 
+xen-4.7-testing            build-amd64-xtf                                     
  build_lvextend_max      50                                                    
                 
+xen-4.7-testing            build-amd64-xtf                                     
  host_hostflags          
share-build-wheezy-amd64,arch-amd64,suite-wheezy,purpose-build         
+xen-4.7-testing            build-amd64-xtf                                     
  revision_xtf                                                                  
                 
+xen-4.7-testing            build-amd64-xtf                                     
  tree_xtf                git://xenbits.xen.org/people/liuw/xtf.git             
                 
 xen-4.7-testing            build-armhf                                         
  all_host_di_version     current                                               
                 
 xen-4.7-testing            build-armhf                                         
  all_host_suite          wheezy                                                
                 
 xen-4.7-testing            build-armhf                                         
  arch                    armhf                                                 
                 
@@ -22878,6 +22906,13 @@
 xen-unstable               build-amd64-xsm                                     
  tree_qemuu              git://xenbits.xen.org/qemu-xen.git                    
                 
 xen-unstable               build-amd64-xsm                                     
  tree_seabios                                                                  
                 
 xen-unstable               build-amd64-xsm                                     
  tree_xen                git://xenbits.xen.org/xen.git                         
                 
+xen-unstable               build-amd64-xtf                                     
  all_host_di_version     current                                               
                 
+xen-unstable               build-amd64-xtf                                     
  all_host_suite          wheezy                                                
                 
+xen-unstable               build-amd64-xtf                                     
  arch                    amd64                                                 
                 
+xen-unstable               build-amd64-xtf                                     
  build_lvextend_max      50                                                    
                 
+xen-unstable               build-amd64-xtf                                     
  host_hostflags          
share-build-wheezy-amd64,arch-amd64,suite-wheezy,purpose-build         
+xen-unstable               build-amd64-xtf                                     
  revision_xtf                                                                  
                 
+xen-unstable               build-amd64-xtf                                     
  tree_xtf                git://xenbits.xen.org/people/liuw/xtf.git             
                 
 xen-unstable               build-armhf                                         
  all_host_di_version     current                                               
                 
 xen-unstable               build-armhf                                         
  all_host_suite          wheezy                                                
                 
 xen-unstable               build-armhf                                         
  arch                    armhf                                                 
                 

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

 


Rackspace

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