From: Dario Faggioli <dario.faggioli@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Wei Liu <wei.liu2@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Subject: [OSSTEST PATCH 2/2] make-flight: create the vNUMA HVM test job
Date: Fri, 02 Oct 2015 01:17:39 +0200 [thread overview]
Message-ID: <20151001231739.15271.2845.stgit@Solace.station> (raw)
In-Reply-To: <20151001230750.15271.26071.stgit@Solace.station>
as a variant of regular Debian HVM jobs.
For now, the vNUMA topology is just hardcoded
here, and it is 4 vCPUs and 2 vNUMA nodes. How
to split resources is left to the test
implementation (right now, it is just evenly
split them between the 2 virtual nodes).
Note that we do not yet support save/restore
and migration for vNUMA enabled guests, so
this test will fail (and in fact, it's added
to the non-blocking list).
Since I think we should, at some point, support
both, things are ok to be that way.
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
---
allow.all | 1 +
make-flight | 36 ++++++++++++++++++++++++++++++++++--
2 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/allow.all b/allow.all
index 8060595..983b279 100644
--- a/allow.all
+++ b/allow.all
@@ -6,3 +6,4 @@ test-@@-libvirt@@
test-@@-rumpuserxen@@ rumpuserxen-demo-xenstorels/xenstorels
test-@@-win7-@@ guest-stop
test-@@-rumpuserxen-@@ rumpuserxen-demo-xenstorels/xenstorels.repeat
+test-@@-vnuma@@ guest-saverestore
diff --git a/make-flight b/make-flight
index 70c909d..cc04e81 100755
--- a/make-flight
+++ b/make-flight
@@ -261,6 +261,7 @@ do_hvm_debian_test_one () {
bios=$3
xsm=$4 # 'false' or 'true'
stubdom=$5 # '' (or unset) or 'true'
+ vnuma=$6 # '' (or unset) or 'true'
local arch=$(branch_debianhvm_arch)
local testvars
@@ -280,10 +281,17 @@ do_hvm_debian_test_one () {
stubdom_runvar="debianhvm_stubdom=$stubdom"
fi
- job_create_test test-$xenarch$kern-$dom0arch-$toolstack$qemuu_suffix$stubdom_suffix-$testname-$arch\
+ vnuma_suffix=""
+ vnuma_runvars=""
+ if [ x$vnuma = xtrue ]; then
+ vnuma_suffix="-vnuma"
+ vnuma_runvars="guests_vcpus=4 guests_vnodes=2"
+ fi
+
+ job_create_test test-$xenarch$kern-$dom0arch-$toolstack$qemuu_suffix$stubdom_suffix-$testname$vnuma_suffix-$arch\
test-debianhvm $toolstack $xenarch $dom0arch $qemuu_runvar \
enable_xsm=$xsm \
- $stubdom_runvar $testvars \
+ $stubdom_runvar $vnuma_runvars $testvars \
debianhvm_image=debian-7.2.0-$arch-CD-1.iso \
debianhvm_iso_kernel=/$iso_dir/vmlinuz \
debianhvm_iso_ramdisk=/$iso_dir/initrd.gz \
@@ -341,6 +349,14 @@ do_hvm_rhel6_tests () {
done
}
+do_hvm_vnuma_tests() {
+ # amd64 and qemu-usptream only is enough, as vNUMA shouldn't
+ # really be bitness or emulator dependant.
+ if [ $xenarch = amd64 -a $dom0arch = amd64 -a "x$qemuu_suffix" == "x-qemuu" ]; then
+ do_hvm_debian_test_one debianhvm xl seabios false false true
+ fi
+}
+
do_credit2_tests () {
if [ $xenarch != $dom0arch ]; then
return
@@ -525,6 +541,18 @@ test_matrix_do_one () {
*) test_pvh=y ;;
esac
+ # HVM vNUMA tests for versions >= 4.6 only
+ case "$xenbranch" in
+ xen-3.*-testing) test_hvm_vnuma=n ;;
+ xen-4.0-testing) test_hvm_vnuma=n ;;
+ xen-4.1-testing) test_hvm_vnuma=n ;;
+ xen-4.2-testing) test_hvm_vnuma=n ;;
+ xen-4.3-testing) test_hvm_vnuma=n ;;
+ xen-4.4-testing) test_hvm_vnuma=n ;;
+ xen-4.5-testing) test_hvm_vnuma=n ;;
+ *) test_hvm_vnuma=y ;;
+ esac
+
do_rumpkernel_tests
# xend PV guest test on x86 only
@@ -571,6 +599,10 @@ test_matrix_do_one () {
do_hvm_debian_tests
+ if [ x$test_hvm_vnuma = xy ]; then
+ do_hvm_vnuma_tests
+ fi
+
done # qemuu_suffix
# Test live migration
next prev parent reply other threads:[~2015-10-01 23:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 23:17 [OSSTEST PATCH 0/2] Testcase for HVM vNUMA Dario Faggioli
2015-10-01 23:17 ` [OSSTEST PATCH 1/2] TestSupport.pm: allow creating vNUMA enabled HVM guest configs Dario Faggioli
2015-10-02 11:32 ` Wei Liu
2015-10-02 12:02 ` Dario Faggioli
2015-10-02 12:18 ` Wei Liu
2015-10-02 12:30 ` Dario Faggioli
2015-10-02 12:21 ` Wei Liu
2015-10-02 12:32 ` Dario Faggioli
2015-10-01 23:17 ` Dario Faggioli [this message]
2015-10-05 16:34 ` [OSSTEST PATCH 2/2] make-flight: create the vNUMA HVM test job Ian Jackson
2015-10-05 16:41 ` Wei Liu
2015-10-06 8:23 ` Ian Campbell
2015-10-06 8:33 ` Dario Faggioli
2015-10-06 9:03 ` Ian Campbell
2015-10-06 9:13 ` Dario Faggioli
2015-10-06 9:05 ` Wei Liu
2015-10-06 9:18 ` Ian Campbell
2015-10-09 14:42 ` Ian Campbell
2015-10-02 9:33 ` [OSSTEST PATCH 0/2] Testcase for HVM vNUMA Dario Faggioli
2015-10-02 10:15 ` Dario Faggioli
2015-10-02 11:40 ` 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=20151001231739.15271.2845.stgit@Solace.station \
--to=dario.faggioli@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=wei.liu2@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.