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

[Xen-devel] [OSSTEST PATCH 6/7] Extend README for standalone mode



Things I've learned when setting it up myself.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
---
 README | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/README b/README
index 4e4066a..a4520c8 100644
--- a/README
+++ b/README
@@ -305,6 +305,12 @@ To run osstest in standalone mode:
      ipmitool -- for hosts which use IPMI for power control
      grub-common -- for mg-netgrub-loader-update
 
+ - Setup TFTP server (see 'TftpPath' setting below), copy pxelinux
+   files there (pxelinux.0, ldlinux.c32, libcom32.c32), setup your
+   DHCP server to point PXE clients at it
+
+ - Setup HTTP server (see 'Webspace*' settings below)
+
  - Write a config file
     ~/.xen-osstest/config
    See below.
@@ -338,9 +344,16 @@ To run osstest in standalone mode:
 
    However, as test-amd64-{i386,amd64}-xl and other tests depends on
    some runtime variables generated by build-* jobs, you can run
-   build-* jobs before running actual test jobs. If you don't want to do
-   so you need to insert those missing runvars into standalone.db with
-   sqlite3.
+   build-* jobs before running actual test jobs. The error message will
+   look like this:
+
+       2018-12-04 20:56:52 Z checking builds ...
+       2018-12-04 20:56:52 Z checking buildjob path_dist
+       need path_dist in build-i386 at Osstest/TestSupport.pm line 327.
+                         ^^^^^^^^^^ name of build job to run
+
+   If you don't want to do so you need to insert those missing runvars
+   into standalone.db with sqlite3.
 
  - Don't forget to set the machine to netboot in the BIOS.
 
@@ -407,6 +420,10 @@ HostProp_<testbox>_Ether
    MAC address of the box <testbox>.  Only needed if you want
    to use the osstest host and Xen installer.
 
+HostProp_<testbox>_IpAddr
+   IP address of the box <testbox>.  Only needed if
+   <testbox>.<DnsDomain> does not resolve to the correct IP.
+
 HostProp_<testbox>_Build_Make_Flags
    Extra flags to pass to "make". e.g. "-j<SOMETHING>"
 
@@ -511,6 +528,10 @@ HostProp_DhcpWatchMethod
       where <format> is dhcp3 or dnsmasq
             <source> is filename (with slash) or <host>:<port>
 
+   When using <host>:<port> syntax, connecting to it should return the
+   whole dhcp leases file. For example use socat on the DHCP server host:
+     socat -U TCP-LISTEN:5556,fork,reuseaddr EXEC:'cat 
/var/lib/dhcpd/dhcpd.leases'
+
 AuthorizedKeysFiles
      :-separated list of files to concatenate into authorized_keys
 AuthorizedKeysAppend
@@ -520,7 +541,7 @@ The keys in ~/.ssh/id_{rsa,dsa}.pub and 
~/.ssh/authorized_keys
 
 TestHostKeypairPath
 
-Platforms<Arch>
+Platforms   <Arch>
    List of platforms (i.e. distinct host types) to run a basic test on.
 
 HostProp_GenEtherPrefixBase 5e:36:0e:f5
-- 
git-series 0.9.1

_______________________________________________
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®.