xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
	Wei Liu <wei.liu2@citrix.com>
Subject: Re: [OSSTEST PATCH v3 20/25] mfi-common: create xtf build job for 4.4 onwards
Date: Thu, 8 Sep 2016 18:00:21 +0100	[thread overview]
Message-ID: <20160908170021.GA19633@citrix.com> (raw)
In-Reply-To: <22478.52554.459776.962587@mariner.uk.xensource.com>

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@citrix.com>
> 
> 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@citrix.com>
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@eu.citrix.com

---
 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@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-09-08 17:00 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 13:09 [OSSTEST PATCH v3 00/25] Integrate XTF into OSSTest Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 01/25] Executive: Previous duration estimator: use overall time, not sum of steps Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 02/25] ts-hosts-allocate-Executive: Replace some odd commas with semicolons Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 03/25] sg-run-job: Add emacs mode comment Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 04/25] step status skip: Ignore in cs-bisection-step Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 05/25] step status skip: Ignore in report_run_getinfo Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 06/25] step status skip: Implement in sg-report-flight Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 07/25] ts-hosts-allocate-Executive: pass $plan to hid_find_possibilities Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 08/25] ts-hosts-allocate-Executive: Support diverse-CLASS hostflag Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 09/25] DO NOT APPLY make-flight-diverse-test: test case for " Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 10/25] Executive: Support substeps Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 11/25] DO NOT APPLY make-flight-substep-test Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 12/25] DO NOT APPLY provide ts-substep-test Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 13/25] ts-xen-build: always compile in FEP support Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 14/25] ap-common: add xtf tree Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 15/25] DO NOT APPLY point xtf to my personal tree Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 16/25] BuildSupport: move buildcmd_stamped_logged here Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 17/25] Introduce ts-xtf-build Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 18/25] sg-run-job: create xtf build recipe Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 19/25] Introduce ts-xtf-install Wei Liu
2016-09-06 14:01   ` Ian Jackson
2016-09-06 13:09 ` [OSSTEST PATCH v3 20/25] mfi-common: create xtf build job for 4.4 onwards Wei Liu
2016-09-06 14:06   ` Ian Jackson
2016-09-08 17:00     ` Wei Liu [this message]
2016-09-08 17:41       ` Ian Jackson
2016-09-08 18:11         ` Wei Liu
2016-09-09 10:09           ` Ian Jackson
2016-09-06 13:09 ` [OSSTEST PATCH v3 21/25] Introduce ts-xtf-fep Wei Liu
2016-09-06 14:07   ` Ian Jackson
2016-09-06 13:09 ` [OSSTEST PATCH v3 22/25] Introduce ts-xtf-run Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 23/25] sg-run-job: test-xtf recipe Wei Liu
2016-09-06 13:09 ` [OSSTEST PATCH v3 24/25] make-flight: create 5 xtf jobs Wei Liu
2016-09-08 17:01   ` Wei Liu
2016-09-08 17:41     ` Ian Jackson
2016-09-06 13:09 ` [OSSTEST PATCH v3 25/25] Create XTF branch Wei Liu
2016-09-06 14:03   ` Ian Jackson
2016-09-06 19:16     ` Wei Liu
2016-09-08 14:47       ` Ian Jackson
2016-09-08 17:07         ` Wei Liu
2016-09-08 17:45           ` Ian Jackson
2016-09-08 18:07             ` Wei Liu
2016-09-09 10:04               ` Ian Jackson
2016-09-06 19:14   ` Wei Liu

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=20160908170021.GA19633@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.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).