From: Ian Jackson Date: Fri, 22 Jan 2021 15:11:01 +0000 (+0000) Subject: make-flight: Stripy xenstored X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9c4730257941a5ba567f3a93c381d8f826a803dc;p=osstest.git make-flight: Stripy xenstored Previously, we let the Xen build system and startup scripts choose which xenstored to use. Before we upgraded to Debian buster, that gave us C xentored tests on ARM. Since then, armhf and arm64 have both had enough ocaml support and we haven't been testing C xenstored at all ! Change this, by selecting between C xenstored and Ocaml xenstored "at random". Actually, this is based on the job name. So the same job in different branches will use the same xenstored - which helps avoid confusion. I have diffed the output of standalone-generate-dump-flight-runvars. As expected, this addes a variable all_host_xenstored to every job. To make sure we have enough diversity, I eyeballed the results. In particular: * The smoke tests now have 2 C and 2 Ocaml, one of each on ARM and x86. * XTF tests have 2 oxenstored and 3 C xenstored. * The ovmf flight has one of each * The seabios and libvirt flights look reasonably mixed. Most other flights have enough jobs that I think things are diverse enough without looking at them all in detail. I think this lack of testing needs fixing for the Xen 4.15 release. So after review I intend to push this to osstest pretest, and may force push it even if shows regressions. CC: Edwin Török CC: Andrew Cooper CC: Jürgen Groß CC: Wei Liu Signed-off-by: Ian Jackson Release-Acked-by: Ian Jackson Acked-by: Christian Lindig --- diff --git a/mfi-common b/mfi-common index 35efd23..2834411 100644 --- a/mfi-common +++ b/mfi-common @@ -509,6 +509,13 @@ job_create_test () { xenbuildjob="${bfi}build-$xenarch$xsm_suffix" buildjob="${bfi}build-$dom0arch$xsm_suffix" + local xenstored="$xenstored" + if [ "$xenstored" = "" ]; then + stripy_rand "$job 2" xenstored xenstored oxenstored + # Without " ", all XTF jobs use oxenstored + # With " 1", All OVMF tests use xenstored + fi + job_create_test_filter_callback \ "$job" "$recipe" "$toolstack" "$xenarch" "$dom0arch" "$@" || return 0 @@ -529,7 +536,8 @@ job_create_test () { ./cs-job-create $flight $job $recipe toolstack=$toolstack \ $RUNVARS $TEST_RUNVARS $global_runvars $most_runvars \ - xenbuildjob=$xenbuildjob buildjob=$buildjob $tsbuildjob "$@" + xenbuildjob=$xenbuildjob buildjob=$buildjob \ + all_host_xenstored=$xenstored $tsbuildjob "$@" } usual_debianhvm_image () {