Skip to content

RFC Testing CentOS as dom0 with osstest

Anthony PERARD xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest16 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16JobDB-Standalone.tcl: Fix read-runvartcl/JobDB-Standalone.tcl+1 -11 reply
2/16Osstest/TestSupport: In teditfileex, get the file with the requested userOsstest/TestSupport.pm+1 -11 reply
3/16Osstest/TestSupport: Add centos to package_install_cmdOsstest/TestSupport.pm+2 -01 reply
4/16TestSupport: In host_install_postboot, don't call update-rc.d on CentOSOsstest/TestSupport.pm+2 -11 reply
5/16TestSupport: Adapt target_https_mitm_proxy_setup to CentOSOsstest/TestSupport.pm+11 -21 reply
6/16Osstest/CentOS.pm: Introduce CentOS support, starting with kickstart_installcmdline_coreOsstest/CentOS.pm+51 -01 reply
7/16Osstest/CentOS: kickstart_create to generate an autoinstall recipeOsstest/CentOS.pm+215 -00 replies
8/16ts-centos-host-install: Install CentOS on a hostts-centos-host-install+154 -00 replies
9/16CentOS: Setup osstest-confirm-booted.serviceOsstest/CentOS.pm overlay-centos/etc/systemd/system/osstest-confirm-booted.service overlay-centos/etc/systemd/system/osstest.target+54 -01 reply
10/16ts-centos-xen-pkg-install: Install of Xen package on CentOSts-centos-xen-pkg-install+79 -01 reply
11/16ts-centos-xen-pkg-install: Adjust daemons configurationts-centos-xen-pkg-install+10 -01 reply
12/16ts-centos-xen-pkg-install: Create bridge configts-centos-xen-pkg-install+22 -00 replies
13/16WORKAROUND: Osstest/TestSupport: Make target_reboot works with systemdOsstest/TestSupport.pm+2 -11 reply
14/16sg-run-job: Select host install script based on all_host_os runvarsg-run-job+14 -21 reply
15/16make-centos-flight: Create a flight with CentOS as dom0make-centos-flight+524 -01 reply
16/16Osstest/TestSupport: Handle qemu-img location on CentOSOsstest/TestSupport.pm+2 -21 reply

Reviews trailers per patch

5 of 16 patches have a Reviewed-by or Acked-by.

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

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

Read the v1 thread

Cover letter [OSSTEST RFC 00/16] Testing CentOS as dom0 with osstest

Hi,

This patch series teach osstest how to install CentOS 7 on a host and how to install Xen via packages that have been built in the CentOS Community Build Service (or CBS).

For now, this is only usefull in standalone or to start ad-hoc flight, as there is nothing to build Xen.

It is based on Roger FreeBSD patch series, with the new all_host_os runvar.

The series is missing a lot of configuration options, it can only test the Xen 4.8 package on CentOS 7.

A branch can be found:
https://xenbits.xen.org/git-http/people/aperard/osstest.git
tag: centos-v1

In standalone mode, the different jobs can be created with:
OSSTEST_FLIGHT=standalone ./make-centos-flight centos xen-4.8-testing play

In an osstest instance, create a flight simply with:
./make-centos-flight centos xen-4.8-testing play

Anthony PERARD (16):
JobDB-Standalone.tcl: Fix read-runvar
Osstest/TestSupport: In teditfileex, get the file with the requested
user
Osstest/TestSupport: Add centos to package_install_cmd
TestSupport: In host_install_postboot, don't call update-rc.d on
CentOS
TestSupport: Adapt target_https_mitm_proxy_setup to CentOS Osstest/CentOS.pm: Introduce CentOS support, starting with
kickstart_installcmdline_core
Osstest/CentOS: kickstart_create to generate an autoinstall recipe
ts-centos-host-install: Install CentOS on a host
CentOS: Setup osstest-confirm-booted.service
ts-centos-xen-pkg-install: Install of Xen package on CentOS
ts-centos-xen-pkg-install: Adjust daemons configuration
ts-centos-xen-pkg-install: Create bridge config
WORKAROUND: Osstest/TestSupport: Make target_reboot works with systemd
sg-run-job: Select host install script based on all_host_os runvar
make-centos-flight: Create a flight with CentOS as dom0 Osstest/TestSupport: Handle qemu-img location on CentOS

 Osstest/CentOS.pm                                  | 273 +++++++++++
 Osstest/TestSupport.pm                             |  27 +-
 make-centos-flight                                 | 524 +++++++++++++++++++++
 .../systemd/system/osstest-confirm-booted.service  |  28 ++
 overlay-centos/etc/systemd/system/osstest.target   |  19 +
 sg-run-job                                         |  16 +-
 tcl/JobDB-Standalone.tcl                           |   2 +-
 ts-centos-host-install                             | 154 ++++++
 ts-centos-xen-pkg-install                          | 111 +++++
 9 files changed, 1144 insertions(+), 10 deletions(-)
 create mode 100644 Osstest/CentOS.pm
 create mode 100755 make-centos-flight
 create mode 100644 overlay-centos/etc/systemd/system/osstest-confirm-booted.service
 create mode 100644 overlay-centos/etc/systemd/system/osstest.target
 create mode 100755 ts-centos-host-install
 create mode 100755 ts-centos-xen-pkg-install
Signature · 7 lines
Anthony PERARD


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