Skip to contentSkip to conversation

make-flight: do_hvm_debian_test_one: new testname_sfx and testvars args

PATCH In review Ian Jackson 2 participants 3 messages Apr 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 make-flight: do_hvm_debian_test_one: new testname_sfx and testvars args

Currently no callers pass these, so no functional change.

---
 make-flight | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
make-flight +3 -2
index 7cde5c2..1a8f0a6 100755
@@ -396,9 +396,10 @@ do_hvm_debian_test_one () {
   bios=$3
   xsm=$4 # 'false' or 'true'
   stubdom=$5 # '' (or unset) or 'true'
+  testname_sfx=$6
+  testvars=$7
 
   local arch=$(branch_debianhvm_arch)
-  local testvars
 
   case "$arch" in
     amd64) iso_dir='install.amd' ;;
@@ -415,7 +416,7 @@ 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\
+  job_create_test test-$xenarch$kern-$dom0arch-$toolstack$qemuu_suffix$stubdom_suffix-$testname-$arch$testname_sfx\
     test-debianhvm $toolstack $xenarch $dom0arch $qemuu_runvar \
     enable_xsm=$xsm                             \
     $stubdom_runvar $testvars                   \
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

PATCH 2/2 make-flight: Run some shadow paging tests (`hap=false')

Add four tests to most flights:

    test-amd64-amd64-xl-shadow
    test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow
    test-amd64-i386-xl-shadow
    test-amd64-i386-xl-qemuu-debianhvm-amd64-shadow

These are the same as the corresponding ones without -shadow, except that they set xen_boot_append to `hap=false', so that that will be passed to the hypervisor to force shadow paging.

CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC George Dunlap <[email protected]>
---
 make-flight | 12 ++++++++++++
 1 file changed, 12 insertions(+)
make-flight +12 -0
index 1a8f0a6..6b53c94 100755
@@ -500,6 +500,16 @@ do_rtds_tests () {
             $debian_runvars all_hostflags=$most_hostflags
 }
 
+do_shadow_tests () {
+  job_create_test test-$xenarch$kern-$dom0arch-xl-shadow              \
+       test-debian xl $xenarch $dom0arch                              \
+            guests_vcpus=4 xen_boot_append='hap=false'                \
+            $debian_runvars all_hostflags=$most_hostflags
+
+  do_hvm_debian_test_one debianhvm xl seabios false '' -shadow \
+                         "xen_boot_append=hap=false"
+}
+
 do_xtf_tests () {
   if ! branch_wants_xtf_tests; then
       return
@@ -848,6 +858,8 @@ test_matrix_do_one () {
   do_pygrub_tests
   do_pvgrub_tests
 
+  do_shadow_tests
+
   do_xtf_tests
   do_livepatch_tests
 }
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#2 lore raw

Re: [OSSTEST PATCH 2/2] make-flight: Run some shadow paging tests (`hap=false')

Quoted 7 lines · Ian Jackson

Add four tests to most flights:

    test-amd64-amd64-xl-shadow
    test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow
    test-amd64-i386-xl-shadow
    test-amd64-i386-xl-qemuu-debianhvm-amd64-shadow
Quoted 8 lines

These are the same as the corresponding ones without -shadow, except that they set xen_boot_append to `hap=false', so that that will be passed to the hypervisor to force shadow paging.

CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC George Dunlap <[email protected]>

hap=false is correct.

Quoted 42 lines
---
 make-flight | 12 ++++++++++++
 1 file changed, 12 insertions(+)
make-flight +12 -0
index 1a8f0a6..6b53c94 100755
@@ -500,6 +500,16 @@ do_rtds_tests () {
             $debian_runvars all_hostflags=$most_hostflags
 }
 
+do_shadow_tests () {
+  job_create_test test-$xenarch$kern-$dom0arch-xl-shadow              \
+       test-debian xl $xenarch $dom0arch                              \
+            guests_vcpus=4 xen_boot_append='hap=false'                \
+            $debian_runvars all_hostflags=$most_hostflags
+
+  do_hvm_debian_test_one debianhvm xl seabios false '' -shadow \
+                         "xen_boot_append=hap=false"
+}
+
 do_xtf_tests () {
   if ! branch_wants_xtf_tests; then
       return
@@ -848,6 +858,8 @@ test_matrix_do_one () {
   do_pygrub_tests
   do_pvgrub_tests
 
+  do_shadow_tests
+
   do_xtf_tests
   do_livepatch_tests
 }
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel