[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [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

-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.