Skip to content

Specify host and guest os version in runvars

Ian Campbell xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 4 repliesIn review
  2. v1 RFC12 patches 15 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Debian: Abolish $suite and $xopts{Suite} from preseed_* interfaces.Osstest/Debian.pm ts-debian-di-install ts-debian-hvm-install +1 more+9 -90 replies
2/12target_var: Support fallback to all_(guest|host)_$vnOsstest/TestSupport.pm+4 -10 replies
3/12mfi-common: Rename $suite_runvars as $hostos_runvarsmfi-common+14 -130 replies
4/12mfi-common: always add host suite to hostos_runvarsOsstest/TestSupport.pm mfi-common+3 -120 replies
5/12mfi-common: Always add debian_suite to debian_runvarsmfi-common+5 -51 reply
6/12ts-host-install: Support DiVersion coming from runvarsOsstest/TestSupport.pm ts-host-install+2 -10 replies
7/12ts-debian-di-install: Allow Di Version to come from runvarsOsstest/Debian.pm ts-debian-di-install+16 -21 reply
8/12make-flight: Set di_version runvar on d-i based test jobs.make-flight+4 -00 replies
9/12mfi-common: Set di_version for build & test host installmake-flight mfi-common+12 -71 reply
10/12Qualify TftpDiVersion with the suite.Osstest.pm make-flight production-config +1 more+14 -40 replies
11/12mfi-common: usual_debianhvm_image: derive version from $guestsuitemfi-common production-config production-config-cambridge+13 -10 replies
12/12make-flight: Use older Debian for host and guest OS with older Xenmake-flight+15 -21 reply

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchIan Jackson
1/12A-b
2/12A-b
3/12A-b
4/12A-b
5/12A-b
6/12A-b
7/12A-b
8/12A-b
9/12A-b
10/12A-b
11/12A-b
12/12A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH OSSTEST v2 00/12] Specify host and guest os version in runvars

The following series makes it possible to specify the OS used on the host and in guests (e.g. DebianSuite, d-i version, ISO image version) via runvars and causes the production configurations to always fully specify these rather than relying on test scripts picking up the defaults from the configuration (but retaining that as a fall back for adhoc and other uses).

There are two reasons for this, both of which were noticed during the recent update of osstest to use Debian Jessie in place of Debian Wheezy as the host and guest OS.

Firstly we noticed that bisection could be inconsistent if e.g. the baseline pass ran with Wheezy but the failure ran with Jessie. In this case prior to these changes the attempt to reproduce the baseline pass would then use DebianSuite=Jessie (from the config) but hostflags=suite-wheezy (copied from the template) and fail in various ways. After these changes the DebianSuite would come from the runvars in the template and therefore be Wheezy (i.e. consistent).

Secondly some older branches of Xen (e.g. 4.3 and earlier) do not build with the toolchain in Jessie, which has gained additional warnings etc. In at least one case the backport for that fix was considered too invasive for a stable branch. With these changes it is now possible for different branches to select a different DebianSuite and this is done for 4.3 and earlier.

Note that when configuring the DebianSuite it is also necessary to select a corresponding d-i version, this is handled here too. In general one also wants the Debian ISO used for debianhvm tests to match too, this is also handled here.

I have run standalone-generate-dump-flight-runvars at each step and satisfied myself the changes are correct but I have not yet actually run this. I intend to run adhoc flights with xen-unstable and xen-4.3-testing, in the meantime this is an RFC.

I didn't include the full runvar diff this time.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel