]> xenbits.xensource.com Git - people/dariof/osstest.git/log
people/dariof/osstest.git
11 years agomake-flight: Drop obsolete/unused xenrt_images variable.
Ian Campbell [Mon, 20 Jan 2014 15:12:24 +0000 (15:12 +0000)]
make-flight: Drop obsolete/unused xenrt_images variable.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: refactor common function "stripy" into helper library
Ian Campbell [Mon, 20 Jan 2014 15:07:18 +0000 (15:07 +0000)]
make-flight: refactor common function "stripy" into helper library

Will be useful for other make-flight variants.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: expand hard tabs
Ian Campbell [Mon, 20 Jan 2014 13:48:35 +0000 (13:48 +0000)]
make-flight: expand hard tabs

Run expand on the file.

Add an emacs magic var block disabling indent-tabs-mode and setting the sh
mode basic offset to 2 (which appears to be the common, but not universal,
case).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agostandalone: Correct arguments to JobDB flight_create
Ian Campbell [Tue, 21 Jan 2014 16:44:29 +0000 (16:44 +0000)]
standalone: Correct arguments to JobDB flight_create

The real jobdb takes $intended and $branch in the other order, meaning that
the standalone db ends up with them backwards.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoRemove obsolete scripts.
Ian Campbell [Mon, 20 Jan 2014 12:43:58 +0000 (12:43 +0000)]
Remove obsolete scripts.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agots-kernel-build: override kernel config from runvars
Ian Campbell [Fri, 10 Jan 2014 14:58:32 +0000 (14:58 +0000)]
ts-kernel-build: override kernel config from runvars

Use this to build EXT4 into the kernel statically for armhf build to work
around the lack of guest initrd support on ARM at the moment.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agomake-flight: override the Debian guest suite on armhf
Ian Campbell [Fri, 10 Jan 2014 11:41:47 +0000 (11:41 +0000)]
make-flight: override the Debian guest suite on armhf

We already override the host Debian suite but we need to override the guest too
(since armhf doesn't exist in squeeze).

Consolidate the Debian guest vars in to one place and add  debian_suite runvar
when appropriate.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agomake-flight: Adjust buildjob runvar for xend vs non-xend tests
Ian Campbell [Fri, 10 Jan 2014 09:55:10 +0000 (09:55 +0000)]
make-flight: Adjust buildjob runvar for xend vs non-xend tests

Currently we only do so for xenbuildjob which only contains the hypervisor and
not the tools, for those we need buildjob. In principal the xenbuildjob output
should be identical for both xend and non-xend builds, but we use a matching
set of consistency.

This adds a xend suffix to buildjob for exactly test-amd64-i386-pv,
test-amd64-amd64-pv, test-amd64-i386-xend-winxpsp3,
test-amd64-i386-xend-qemut-winxpsp3 which is the expected set of xend jobs.

11 years agodo not install xend for xl tests
Ian Campbell [Fri, 20 Dec 2013 12:35:27 +0000 (12:35 +0000)]
do not install xend for xl tests

We need to check that xl works correctly when xend is not even installed (in
case we are subtly relying on some file which xend installs).

Therefore for xen 4.4 onwards never build xend in the default build job and
instead create two new build jobs (for i386 and amd64) with xend enabled.
Update the tests to use the correct xenbuildjob.

Tested only to the extent of running make-flight for xen-4.{2,3,4}-testing and
xen-unstable and observing that the jobs do not differ for 4.2 and 4.3 and the
4.4 and unstable have gained the new build-{i386,and64}-xend jobs and that the
relevant tests have switched their xenbuildjob runvar to have the suffix.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agocs-bisection-step: Use tree URLs from latest flight, not basis pass
Ian Jackson [Mon, 6 Jan 2014 13:52:58 +0000 (13:52 +0000)]
cs-bisection-step: Use tree URLs from latest flight, not basis pass

We (both in adhoc-revtuple-generator and in the eventual build job)
(when using git) clone a particular url and then expect that the
resulting tree has all of the relevant revisions in it.

If a push gate has a different input tree to output tree, it is
necessary to use the output tree.  And, if the tree has moved, it is
probably more useful to use the new url than the old.

So it is more proper to use the tree url from the last flight found,
rather than that from the basis pass.  Do that.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agoap-common: arm: set TREE_LINUX_ARM_THIS and TAG_LINUX_ARM_THIS too
Ian Jackson [Thu, 2 Jan 2014 19:20:41 +0000 (19:20 +0000)]
ap-common: arm: set TREE_LINUX_ARM_THIS and TAG_LINUX_ARM_THIS too

11 years agots-debian-install: work around xen-create-image reliance on xend
Ian Campbell [Wed, 18 Dec 2013 09:32:04 +0000 (09:32 +0000)]
ts-debian-install: work around xen-create-image reliance on xend

The xen-tools script contains some sanity checks of the xend configuration and
fails if the configuration file is not present. This issue has been reported
upstream http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732456.

Workaround this issue by creating a dummy xend-config.sxp if it does not
already exist. Include network- and vif- script options to keep the sanity
checks happy.

The workaround is enabled for all releases up to and including Wheezy in the
hopes that this will be fixed by the time Jessie is released, if not then the
osstest pushgate will hopefully catch this when Jessie is pushed to it.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: disable OVMF build for 4.3.
Ian Jackson [Thu, 12 Dec 2013 16:31:33 +0000 (16:31 +0000)]
make-flight: disable OVMF build for 4.3.

11 years agomake-flight, ts-xen-build: Build OVMF for Xen-unstable
Wei Liu [Tue, 10 Dec 2013 17:19:33 +0000 (17:19 +0000)]
make-flight, ts-xen-build: Build OVMF for Xen-unstable

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agofreebsd: run ts-guest-start, as ts-freebsd-install just prepares the disk
Ian Jackson [Wed, 4 Dec 2013 18:15:05 +0000 (18:15 +0000)]
freebsd: run ts-guest-start, as ts-freebsd-install just prepares the disk

11 years agotarget_guest_lv_name: move into TestSupport; fix FreeBSD test
Roger Pau Monné [Mon, 2 Dec 2013 15:22:53 +0000 (16:22 +0100)]
target_guest_lv_name: move into TestSupport; fix FreeBSD test

Move from lvm_lv_name in Debian.pm, and use it where appropriate in
ts-freebsd-install.  This will fix the bug where ts-freebsd-install
fails on hsots with "-" in their hostname (and hence their vg name).

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agotarget_file_exists: Use non-root access for this check
Ian Jackson [Thu, 28 Nov 2013 18:20:04 +0000 (18:20 +0000)]
target_file_exists: Use non-root access for this check

The new call of this in built_stash_file makes ts-*-build require root
access, which is not desirable.

The only other caller of target_file_exists is in ts-xen-install where
it is called on
                        /etc/default/xencommons
                        /etc/sysconfig/xencommons
                        /etc/default/xend
                        /etc/sysconfig/xend
all of which should be accessible as a normal user in a default config.

So change the access to use target_cmd_output rather than
target_cmd_output_root.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agotarget_cmd_build: honour DistccHosts host property
Ian Jackson [Thu, 28 Nov 2013 18:05:56 +0000 (18:05 +0000)]
target_cmd_build: honour DistccHosts host property

If this property is set then the environment variable
 (a) DISTCC_HOSTS is set to the value of the host property
 (a) CCACHE_PREFIX is set to "distcc"
which will result in distcc being used as configured.

distcc had better be installed for such hosts.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agots-hosts-allocate-Executive: crash if no hostflags specified
Ian Jackson [Thu, 28 Nov 2013 16:06:21 +0000 (16:06 +0000)]
ts-hosts-allocate-Executive: crash if no hostflags specified

Rather than picking a machine at random.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agomake-flight: freebsd: include hostflags in job creation
Ian Jackson [Thu, 28 Nov 2013 15:46:31 +0000 (15:46 +0000)]
make-flight: freebsd: include hostflags in job creation

Otherwise we can pick totally unsuitable hosts.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agocrontab: Run most branches half-hourly with -q rather than infrequently with -w
Ian Jackson [Thu, 21 Nov 2013 12:27:51 +0000 (12:27 +0000)]
crontab: Run most branches half-hourly with -q rather than infrequently with -w

Hopefully this won't implode too badly.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agocr-for-branches: when doing pre-pull from incoming, take out lock correctly
Ian Jackson [Thu, 21 Nov 2013 12:26:43 +0000 (12:26 +0000)]
cr-for-branches: when doing pre-pull from incoming, take out lock correctly

I.e. with -f if caller specified -q, rather than always using -w.  -q
would make the script carry on if it didn't manage to get the lock and
do the pull, which would be wrong.  -w is wrong because it can block
for another long-running script.

11 years agocri-common, ap-*: use >&2 with git-clone, git-fetch to avoid ap-* producing spurious...
Ian Jackson [Thu, 21 Nov 2013 12:24:06 +0000 (12:24 +0000)]
cri-common, ap-*: use >&2 with git-clone, git-fetch to avoid ap-* producing spurious messages on stdout

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoTestSupport: fix a call to target_put_guest_image to call the right function
Ian Jackson [Tue, 26 Nov 2013 11:22:46 +0000 (11:22 +0000)]
TestSupport: fix a call to target_put_guest_image to call the right function

This call site mentioned target_transfer_guest_image which was my
first name for this function; the function was renamed before I
committed.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agots-freebsd-install: remove unused $xl setting
Roger Pau Monne [Thu, 21 Nov 2013 18:29:23 +0000 (18:29 +0000)]
ts-freebsd-install: remove unused $xl setting

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agosg-run-job: prototype test-freebsd recipe
Ian Jackson [Thu, 21 Nov 2013 18:23:40 +0000 (18:23 +0000)]
sg-run-job: prototype test-freebsd recipe

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agots-freebsd-install: sort out image handling by using target_put_guest_image, and...
Ian Jackson [Thu, 21 Nov 2013 18:23:21 +0000 (18:23 +0000)]
ts-freebsd-install: sort out image handling by using target_put_guest_image, and use job-specific local filenames

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agoTestSupport: break out target_put_guest_image
Ian Jackson [Thu, 21 Nov 2013 18:22:31 +0000 (18:22 +0000)]
TestSupport: break out target_put_guest_image

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agots-freebsd-install: split big setup command into three chunks
Ian Jackson [Thu, 21 Nov 2013 18:00:01 +0000 (18:00 +0000)]
ts-freebsd-install: split big setup command into three chunks

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-freebsd-install: say set -ex at appropriate point
Ian Jackson [Thu, 21 Nov 2013 17:58:35 +0000 (17:58 +0000)]
ts-freebsd-install: say set -ex at appropriate point

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-*: make all target_cmd[_root] set -e (or +e)
Ian Jackson [Thu, 21 Nov 2013 17:55:57 +0000 (17:55 +0000)]
ts-*: make all target_cmd[_root] set -e (or +e)

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-freebsd-install: fix mode to be +x
Ian Jackson [Thu, 21 Nov 2013 17:50:20 +0000 (17:50 +0000)]
ts-freebsd-install: fix mode to be +x

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agomake-flight: freebsd jobs
Ian Jackson [Thu, 21 Nov 2013 16:04:31 +0000 (16:04 +0000)]
make-flight: freebsd jobs

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-freebsd-install: honour <guest>_image runvar
Ian Jackson [Thu, 21 Nov 2013 16:04:17 +0000 (16:04 +0000)]
ts-freebsd-install: honour <guest>_image runvar

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-freebsd-install: Style fixes
Ian Jackson [Thu, 21 Nov 2013 15:18:43 +0000 (15:18 +0000)]
ts-freebsd-install: Style fixes

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
11 years agots-freebsd-install: add FreeBSD PVHVM installer
Roger Pau Monne [Thu, 21 Nov 2013 11:48:14 +0000 (12:48 +0100)]
ts-freebsd-install: add FreeBSD PVHVM installer

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
11 years agomore_prepareguest_hvm: honour xopt NoCdromImage
Ian Jackson [Wed, 20 Nov 2013 11:56:05 +0000 (11:56 +0000)]
more_prepareguest_hvm: honour xopt NoCdromImage

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-kernel-build: add UFS rw support to pvops kernel
Roger Pau Monne [Thu, 21 Nov 2013 11:48:13 +0000 (12:48 +0100)]
ts-kernel-build: add UFS rw support to pvops kernel

This is needed in order to mount and modify the FreeBSD VM images.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoMerge branch 'master' of ssh://woking/export/home/osstest/testing.git/ into pretest
Ian Campbell [Thu, 21 Nov 2013 08:42:53 +0000 (08:42 +0000)]
Merge branch 'master' of ssh://woking/export/home/osstest/testing.git/ into pretest

11 years agoMake libfdt available at build and runtime.
Ian Campbell [Wed, 20 Nov 2013 09:24:11 +0000 (09:24 +0000)]
Make libfdt available at build and runtime.

This library is only available from Wheezy onwards and is only used by ARM.
Since ARM tests require Wheezy just install on Wheezy onwards. The presence of
this library would be harmless if x86 were using Wheezy (but it currently uses
Squeeze so is totally unaffected)

11 years agocr-cleanup-tmps: actually do stuff properly
Ian Jackson [Mon, 18 Nov 2013 16:13:45 +0000 (16:13 +0000)]
cr-cleanup-tmps: actually do stuff properly

11 years agocr-cleanup-tmps: actually do stuff
Ian Jackson [Mon, 18 Nov 2013 16:13:15 +0000 (16:13 +0000)]
cr-cleanup-tmps: actually do stuff

11 years agocr-cleanup-tmps: new script
Ian Jackson [Mon, 18 Nov 2013 16:10:51 +0000 (16:10 +0000)]
cr-cleanup-tmps: new script

11 years agoRevert "allow.all: ignore all arm regressions"
Ian Jackson [Mon, 18 Nov 2013 11:03:59 +0000 (11:03 +0000)]
Revert "allow.all: ignore all arm regressions"

This reverts commit 861e49338c95cea94d2ecee6bfac4075be2a37df.

11 years agoallow.all: ignore all arm regressions
Ian Jackson [Mon, 18 Nov 2013 11:00:29 +0000 (11:00 +0000)]
allow.all: ignore all arm regressions

11 years agogit caching: abolish cacheing-git, and replace with use of chiark-utils git-cache...
Ian Jackson [Mon, 11 Nov 2013 15:58:20 +0000 (15:58 +0000)]
git caching: abolish cacheing-git, and replace with use of chiark-utils git-cache-proxy

11 years agoREADME: Document the RebootTimeExtra host property
Dario Faggioli [Wed, 6 Nov 2013 15:15:47 +0000 (15:15 +0000)]
README: Document the RebootTimeExtra host property

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
11 years agots-kernel-build: Enable MegaRAID SAS support
Dario Faggioli [Wed, 6 Nov 2013 15:13:46 +0000 (15:13 +0000)]
ts-kernel-build: Enable MegaRAID SAS support

when building linux, by adding the proper setopt
in $config_hardware in.

This is required for having the ultralisk big box
in the Cambridge office to properly boot.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
11 years agoproduction-config: reduce min log expire age from 7d to 4d :-(
Ian Jackson [Tue, 5 Nov 2013 17:03:42 +0000 (17:03 +0000)]
production-config: reduce min log expire age from 7d to 4d :-(

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agomg-debian-installer-update: restrict armhf to Wheezy+
Ian Campbell [Thu, 31 Oct 2013 13:12:34 +0000 (13:12 +0000)]
mg-debian-installer-update: restrict armhf to Wheezy+

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agostandalone-reset: fix check for existing d-i and creation of symlink
Ian Campbell [Fri, 1 Nov 2013 09:33:08 +0000 (09:33 +0000)]
standalone-reset: fix check for existing d-i and creation of symlink

We need to check for "$diver-$suite" not just "$diver" now

Also when creating the current symlink only do so if
mg-debian-installer-update did something, since it will now silently ignore
unavailable combinations (e.g. armhf on Squeeze)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-xen-build: make collection on xen-syms optional
Ian Campbell [Fri, 1 Nov 2013 12:55:38 +0000 (12:55 +0000)]
ts-xen-build: make collection on xen-syms optional

Fixes things on i386 for branches which no longer build an i386 hypervisor.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoPDU/xenuse: Support xenuse on machine not locked by current user
Ian Campbell [Fri, 25 Oct 2013 10:29:42 +0000 (11:29 +0100)]
PDU/xenuse: Support xenuse on machine not locked by current user

xenuse checks that whoever is trying to reboot a machine "owns" that machine
via a locking mechanism. This is usually fine doesn't work well when one wants
to book a machine out of the osstest pool for adhoc testing. In this case
machine ownership is maintained by osstest ahd the machine remains locked to
osstest as far as xenuse is concerned.

Therefore add a global configuration option and perhost override to override
$USER (which xenuse obeys) to osstest.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoStash debug symbols for build results
Ian Campbell [Thu, 31 Oct 2013 16:53:15 +0000 (16:53 +0000)]
Stash debug symbols for build results

Specifically xen-syms (<1M compressed) and the vmlinux (~13M compressed) files.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoTestSupport: Add interface to compress stash files
Ian Campbell [Thu, 31 Oct 2013 16:53:14 +0000 (16:53 +0000)]
TestSupport: Add interface to compress stash files

Use it in ts-logs-capture

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agots-kernel-build: Enable CONFIG_DEBUG_INFO_REDUCED
Ian Campbell [Thu, 31 Oct 2013 16:53:13 +0000 (16:53 +0000)]
ts-kernel-build: Enable CONFIG_DEBUG_INFO_REDUCED

This makes the resulting vmlinux file with debug symbols much more manageable
without compromising the usefulness for converting addresses into line numbers
etc.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoDebian: Allow per-host additional u-boot script commands
Ian Campbell [Thu, 31 Oct 2013 16:43:48 +0000 (16:43 +0000)]
Debian: Allow per-host additional u-boot script commands

On marilith boxes an appropriate setting is:

HostProp_marilith-n4_UBootScriptEarlyCommands fdt set /soc/ethernet@fff50000 dma-coherent;fdt set /soc/ethernet@fff51000 dma-coherent

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agoarm boot fixes and improvements
Ian Campbell [Fri, 25 Oct 2013 10:40:31 +0000 (11:40 +0100)]
arm boot fixes and improvements

Correct prototype for setupboot_uboot.

Add some additional logging to the u-boot script creation process as well as
the resulting script, to aid debugging

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agostandalone-reset: Add -$suite to current symlink
Ian Campbell [Thu, 31 Oct 2013 09:45:54 +0000 (09:45 +0000)]
standalone-reset: Add -$suite to current symlink

Required after ef3a6f2162ce "Add -$suite suffix to TftpDiVersion in code"

Written by: Ian Campbell <Ian.Campbell@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
11 years agocs-adjust-flight, mg-show-flight-runvars: support standalone mode (keying off whether...
Ian Jackson [Tue, 29 Oct 2013 18:08:09 +0000 (18:08 +0000)]
cs-adjust-flight, mg-show-flight-runvars: support standalone mode (keying off whether the flight is a pure number)

11 years agomg-hosts: manual-task-create option
Ian Jackson [Thu, 17 Oct 2013 14:36:02 +0000 (15:36 +0100)]
mg-hosts: manual-task-create option

11 years agoExecutive: properly rewind allocations in all cases of queue-server trouble; also...
Ian Jackson [Thu, 17 Oct 2013 14:35:52 +0000 (15:35 +0100)]
Executive: properly rewind allocations in all cases of queue-server trouble; also improve unwinding message

11 years agoExecutive: alloc_resources resourcecall must return 0 or 1 as recognised in 34ac49df0...
Ian Jackson [Thu, 17 Oct 2013 14:02:20 +0000 (15:02 +0100)]
Executive: alloc_resources resourcecall must return 0 or 1 as recognised in 34ac49df0a45; in fact everything does; remove all references to $ok=2

11 years agomg-blockage: new tool
Ian Jackson [Tue, 15 Oct 2013 17:56:40 +0000 (18:56 +0100)]
mg-blockage: new tool

11 years agots-debian-install: pass 'Mb' as memory / swap size
Wei Liu [Fri, 20 Sep 2013 08:49:50 +0000 (09:49 +0100)]
ts-debian-install: pass 'Mb' as memory / swap size

The original code passed 'M' to memory which triggers Debian bug #691320
in Wheezy.

Passing 'Mb' should work both for Squeeze and Wheezy.

Also pass 'Mb' to swap size for consistency.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
11 years agots-debian-fixup: remove dead code
Wei Liu [Tue, 17 Sep 2013 19:12:33 +0000 (20:12 +0100)]
ts-debian-fixup: remove dead code

Per c7910040 ("Osstest.pm, toolstack()->; always use "cfg", not separate
xl configs"), we only pick the config file with .cfg suffix.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
11 years agoDebian: install libc6-dev-i386 for Wheezy amd64
Wei Liu [Fri, 20 Sep 2013 09:10:42 +0000 (10:10 +0100)]
Debian: install libc6-dev-i386 for Wheezy amd64

Wheezy introduces multilib, which makes i386 headers not available on
amd64 by default.

We need to install libc6-dev-i386, otherwise the test code for 32bit
instruction decoder/emulator fails.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
11 years agoREADME: describe job dependence
Wei Liu [Mon, 16 Sep 2013 14:48:28 +0000 (15:48 +0100)]
README: describe job dependence

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
11 years agoREADME: add curl and netcat to requirement list
Wei Liu [Mon, 16 Sep 2013 14:36:49 +0000 (15:36 +0100)]
README: add curl and netcat to requirement list

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
11 years agoSerial/http: use mkdtemp instead of File::Temp->newdir
Ian Campbell [Wed, 9 Oct 2013 10:57:13 +0000 (11:57 +0100)]
Serial/http: use mkdtemp instead of File::Temp->newdir

The latter is not available in Squeeze's File::Temp.

11 years agoSerial: new module to send debug keys via xenuse
Ian Campbell [Fri, 11 Oct 2013 14:39:38 +0000 (15:39 +0100)]
Serial: new module to send debug keys via xenuse

No log retreival here, that is handled via a separate conserver.

11 years agoSerial: collect serial logs from an http server
Ian Campbell [Tue, 8 Oct 2013 17:27:26 +0000 (18:27 +0100)]
Serial: collect serial logs from an http server

This relies on wget and httpd colluding to set the mtimes on the downloaded
files, which works with at least the one server I care about (the apache on
the conserver handling the marilith boxes)

11 years agoSerial: Refactor debug key sending into separate request_debug function
Ian Campbell [Fri, 11 Oct 2013 15:27:05 +0000 (16:27 +0100)]
Serial: Refactor debug key sending into separate request_debug function

This puts the list of keys to send into common code.

11 years agoTestSupport: allow multiple host serial methods
Ian Campbell [Wed, 9 Oct 2013 09:03:41 +0000 (10:03 +0100)]
TestSupport: allow multiple host serial methods

11 years agoStandalone: Collect logs modified in the last hour
Ian Campbell [Thu, 10 Oct 2013 13:45:50 +0000 (14:45 +0100)]
Standalone: Collect logs modified in the last hour

On failure, when the console may have been silent for a considerable time, 1s is not long enough ago.

11 years agoDebian: set FANCYTTY=0 so serial logs aren't full of escape chars on Wheezy
Ian Campbell [Wed, 9 Oct 2013 10:56:45 +0000 (11:56 +0100)]
Debian: set FANCYTTY=0 so serial logs aren't full of escape chars on Wheezy

11 years agoTestSupport: fix warning about cacheing_git when !no-reinstall
Ian Campbell [Wed, 9 Oct 2013 12:06:22 +0000 (13:06 +0100)]
TestSupport: fix warning about cacheing_git when !no-reinstall

11 years agots-leak-check: Allow /var/run/xm-deprecation-long-warning
Ian Campbell [Fri, 11 Oct 2013 11:50:37 +0000 (12:50 +0100)]
ts-leak-check: Allow /var/run/xm-deprecation-long-warning

This replaces /tmp/xm-deprecation-long-warning but we are a bit stuck with the
former for bisection purposes.

11 years agots-xen-install: only update xend config if the toolstack is xend
Ian Campbell [Tue, 8 Oct 2013 07:23:01 +0000 (08:23 +0100)]
ts-xen-install: only update xend config if the toolstack is xend

On ARM xend is not installed.

11 years agoipmiextra: Allow explicit specification of the IPMI mgmt hostname
Ian Campbell [Sun, 29 Sep 2013 07:01:33 +0000 (08:01 +0100)]
ipmiextra: Allow explicit specification of the IPMI mgmt hostname

Mention openipmi as an optional dependency in the README.

11 years agomake-flight: further reduce unwanted combinations
Ian Campbell [Fri, 27 Sep 2013 12:17:27 +0000 (13:17 +0100)]
make-flight: further reduce unwanted combinations

Drop armhf build and test jobs from tests of branches:
  - qemu-upstream-unstable
  - qemu-upstream-4.2-testing
  - qemu-upstream-4.3-testing
  - linux-3.10
  - linux-3.4

In principal these are harmless but in practice they are stretching our
available armhf build resources very thin. In addition spurious armhf failures
now won't affect these branches.

Drop non-armhf arch builds and tests from linux-arm-xen.

11 years agoTestSupport: enable cacheing git on no-reinstall hosts
Ian Campbell [Fri, 27 Sep 2013 09:03:15 +0000 (10:03 +0100)]
TestSupport: enable cacheing git on no-reinstall hosts

Host must be manually configured to have the cacheing-git script installed as
$ho-{Homedir}/bin/git and to mount the hosts git cache directory on
/volatile/git-cache.

11 years agomake-flight: correct use of $xenbranch
Ian Campbell [Wed, 25 Sep 2013 12:59:15 +0000 (13:59 +0100)]
make-flight: correct use of $xenbranch

This variable has the form xen-X.Y-testing or xen-unstable, not just unstable
or X.Y.

The affect of this change is to:

  - Drop from 4.2 and earlier:
    - build-armhf
    - build-armhf-pvops

  - Drop from 4.1 and earlier:
    - test-i386-i386-xl-qemuu-winxpsp3
    - test-amd64-amd64-xl-qemuu-win7-amd64
    - test-amd64-amd64-xl-qemuu-winxpsp3
    - test-amd64-i386-qemuu-rhel6hvm-amd
    - test-amd64-i386-qemuu-rhel6hvm-intel
    - test-i386-i386-xl-qemuu-winxpsp3

  - Drop the runvars associated with all the above

  - On 4.1 and sooner:
    - Switch test-*-*-pair toolstack runvar from xl to xend.

11 years agoproduction-config: Newer DI bits which includes armhf-wheezy
Ian Campbell [Mon, 23 Sep 2013 14:51:07 +0000 (15:51 +0100)]
production-config: Newer DI bits which includes armhf-wheezy

11 years agoAdd -$suite suffix to TftpDiVersion in code
Ian Campbell [Mon, 23 Sep 2013 09:14:02 +0000 (10:14 +0100)]
Add -$suite suffix to TftpDiVersion in code

The suite differs by $arch but the config file arrangements only allow for a
single TftpDiVersion setting.

11 years agoxenuse: Configurable path to xenuse
Ian Campbell [Sun, 22 Sep 2013 14:13:55 +0000 (15:13 +0100)]
xenuse: Configurable path to xenuse

11 years agots-xen-build: only enable xend for x86 builds
Ian Campbell [Sat, 21 Sep 2013 15:12:18 +0000 (16:12 +0100)]
ts-xen-build: only enable xend for x86 builds

11 years agots-leak-check: suppress xm deprecation warning stampfile
Ian Campbell [Fri, 20 Sep 2013 13:27:09 +0000 (14:27 +0100)]
ts-leak-check: suppress xm deprecation warning stampfile

11 years agomake-flight: configure host_suite=wheezy runvar for armhf runs
Ian Campbell [Thu, 19 Sep 2013 20:50:24 +0000 (21:50 +0100)]
make-flight: configure host_suite=wheezy runvar for armhf runs

Otherwise: http://www.chiark.greenend.org.uk/~xensrcts/logs/19744/build-armhf/3.ts-xen-build-prep.log:

2013-09-19 11:09:37 Z host: selected army <unknown-ether> 10.80.246.74 - shared build-wheezy-armhf 0073b3e489cf150d3f1c4eb3f3a4f942197f0932 prep 1
resource host army shared build-wheezy-armhf 0073b3e489cf150d3f1c4eb3f3a4f942197f0932 not build-squeeze-armhf 0073b3e489cf150d3f1c4eb3f3a4f942197f0932 at Osstest/Executive.pm line 608.

+ rc=255

11 years agoMerge branch 'for-ianc' of git://xenbits.xen.org/people/liuw/osstest
Ian Campbell [Thu, 19 Sep 2013 15:34:30 +0000 (16:34 +0100)]
Merge branch 'for-ianc' of git://xenbits.xen.org/people/liuw/osstest

11 years agomake-flight: Set a per-suite host flag on each job
Ian Campbell [Wed, 18 Sep 2013 19:41:51 +0000 (20:41 +0100)]
make-flight: Set a per-suite host flag on each job

For armhf tests we hardcode wheezy while for everything else we continue to use
the default (currently squeeze). This can be removed once osstest moves to
Wheezy as the default.

11 years agoDebian: more corrections to arm u-boot runes.
Ian Campbell [Wed, 18 Sep 2013 16:04:23 +0000 (17:04 +0100)]
Debian: more corrections to arm u-boot runes.

We should not pass an initrd to the bootz command -- this is in a boot module

Log what we are loading, as we load it, to aid debugging.

11 years agots-xen-build-prep: actually honour build_lvextend_max
Ian Jackson [Tue, 17 Sep 2013 14:01:05 +0000 (15:01 +0100)]
ts-xen-build-prep: actually honour build_lvextend_max

11 years agots-xen-build-prep: install bc
Ian Jackson [Tue, 17 Sep 2013 14:41:05 +0000 (15:41 +0100)]
ts-xen-build-prep: install bc

11 years agocr-daily-branch, make-flight: use ${...:-...} not ${...-...}, to treat empty values...
Ian Jackson [Tue, 17 Sep 2013 10:56:58 +0000 (11:56 +0100)]
cr-daily-branch, make-flight: use ${...:-...} not ${...-...}, to treat empty values the same as unset; fixes regression

11 years agostandalone-reset: set BUILD_LVEXTEND_MAX to 50 (50G) by default
Ian Jackson [Tue, 17 Sep 2013 10:25:43 +0000 (11:25 +0100)]
standalone-reset: set BUILD_LVEXTEND_MAX to 50 (50G) by default

11 years agomake-flight: honour BUILD_LVEXTEND_MAX env var to set build_lvextend_max
Ian Jackson [Tue, 17 Sep 2013 10:25:03 +0000 (11:25 +0100)]
make-flight: honour BUILD_LVEXTEND_MAX env var to set build_lvextend_max

11 years agots-xen-build-prep: honour build_lvextend_max runvar
Ian Jackson [Tue, 17 Sep 2013 10:20:11 +0000 (11:20 +0100)]
ts-xen-build-prep: honour build_lvextend_max runvar

11 years agots-xen-build-prep: break out gb2pe
Ian Jackson [Tue, 17 Sep 2013 10:19:53 +0000 (11:19 +0100)]
ts-xen-build-prep: break out gb2pe

11 years agots-xen-build-prep: make pe_size global
Ian Jackson [Tue, 17 Sep 2013 10:19:18 +0000 (11:19 +0100)]
ts-xen-build-prep: make pe_size global