]> xenbits.xensource.com Git - people/liuw/osstest.git/log
people/liuw/osstest.git
10 years agoproduction-config: Correct syntax for clearing OsstestUpstream.
Ian Campbell [Mon, 11 May 2015 10:37:33 +0000 (11:37 +0100)]
production-config: Correct syntax for clearing OsstestUpstream.

Previous syntax actually sets it to the literal string containing two
quotation marks.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agoallow.all: Ignore FreeBSD local migration failures
Ian Campbell [Mon, 11 May 2015 10:35:56 +0000 (11:35 +0100)]
allow.all: Ignore FreeBSD local migration failures

Until the issues with them are resolved

Rerunning sg-report-flight for 54309 results in:

@@ -5,11 +9,11 @@

 Tests which did not succeed and are blocking,
 including tests which could not be run:
- test-amd64-i386-freebsd10-amd64 13 guest-localmigrate     fail REGR. vs. 50405
  build-amd64-xsm               5 xen-build                 fail REGR. vs. 50405

 Regressions which are regarded as allowable (not blocking):
  test-armhf-armhf-xl-sedf-pin  3 host-install(3)         broken REGR. vs. 50405
+ test-amd64-i386-freebsd10-amd64 13 guest-localmigrate     fail REGR. vs. 50405
  test-amd64-i386-freebsd10-i386 13 guest-localmigrate           fail like 50405
  test-armhf-armhf-libvirt     11 guest-start                  fail   like 50405

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agoMerge branch 'from-cambridge/2015-05-05' of xenbits.xen.org:/home/xen/git/people...
Ian Jackson [Thu, 7 May 2015 14:06:59 +0000 (15:06 +0100)]
Merge branch 'from-cambridge/2015-05-05' of xenbits.xen.org:/home/xen/git/people/ianc/osstest into fast

10 years agocs-bisection-step: Abandon repro attempts after a bit
Ian Jackson [Wed, 6 May 2015 22:47:30 +0000 (23:47 +0100)]
cs-bisection-step: Abandon repro attempts after a bit

If we have had a number of attempts at a repro, and none of them have
produced a pass or fail, something is probably wrong and we should
give up rather than carrying on.

Handle this with the machinery we use for conflicting test results.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocs-bisection-step: Report conflict if basis pass/fail are wrong
Ian Jackson [Wed, 6 May 2015 22:41:00 +0000 (23:41 +0100)]
cs-bisection-step: Report conflict if basis pass/fail are wrong

It can happen that the (for example) supposed basis pass (originally
only tested on another host) failed (when reproduced, or for some
other reason).  When that happens do not attempt to get it to pass;
instead, treat it the same way we would if we had actually got
conflicting results at that revision.

(Conversely, do not attempt to get a basis fail if the basis fail has
already passed on the selected host.  This is, as it happens,
impossible in a bisection triggered by sg-report-flight with the
current invocation arrangements - but cs-bisection-step should
handle it correctly.)

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocs-bisection-step: Break out report_conflict
Ian Jackson [Wed, 6 May 2015 22:39:18 +0000 (23:39 +0100)]
cs-bisection-step: Break out report_conflict

We are going to want to reuse this.

Also, explicitly return 0 (for false) from conflicted_warning when it
doesn't apply.

No resulting functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agomake-flight: Drop qemut tests in qemuu branches
Ian Jackson [Tue, 5 May 2015 18:31:10 +0000 (19:31 +0100)]
make-flight: Drop qemut tests in qemuu branches

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agomake-flight: Drop unspecified-qemu tests
Ian Jackson [Tue, 5 May 2015 18:25:59 +0000 (19:25 +0100)]
make-flight: Drop unspecified-qemu tests

The default since 4.3 onwards is qemuu only, and we do not expect
it to change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agostandalone: noreinstall -> reinstall in help string
Wei Liu [Fri, 24 Apr 2015 10:08:25 +0000 (11:08 +0100)]
standalone: noreinstall -> reinstall in help string

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agosg-report-flight: Report stepno and testid of first worst fail
Ian Jackson [Fri, 1 May 2015 14:54:03 +0000 (15:54 +0100)]
sg-report-flight: Report stepno and testid of first worst fail

This makes reading the scoreboard considerably easier.

We abuse the local variable @worst slightly, pushing the extra info we
are going to print onto the end of it.

We also have to defer printing the cells, because we compute the cell
to duplicate in column order but we have to output them in row order.
For symmetry we accumulate both rows rather than only the second row.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
10 years agosg-report-flight: Include actual status in column-head cells
Ian Jackson [Fri, 1 May 2015 14:47:44 +0000 (15:47 +0100)]
sg-report-flight: Include actual status in column-head cells

Adjust the $cell_html anonymous sub to include the actual step status
unless it is told not to (by passing it a new $core_only argument).

Change the main body call site to pass this option.  As a result the
column headings now include the step status.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
10 years agosg-report-flight: Better choice of column-head cell
Ian Jackson [Fri, 1 May 2015 14:46:36 +0000 (15:46 +0100)]
sg-report-flight: Better choice of column-head cell

We are more interested in the first worst failure.  But if everything
passed, then the last pass.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
10 years agosg-report-flight: Break colour of out $cell_html->() results
Ian Jackson [Fri, 1 May 2015 13:40:07 +0000 (14:40 +0100)]
sg-report-flight: Break colour of out $cell_html->() results

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
10 years agosg-report-job-history: Avoid full runvars table scan (!)
Ian Jackson [Thu, 30 Apr 2015 15:23:56 +0000 (16:23 +0100)]
sg-report-job-history: Avoid full runvars table scan (!)

sg-report-job-history wants to know the potential names of runvars
relating to hosts.  To do this it tries to find a list of distinct
runvar names which exist in the flights it's processing.

However, it fails to limit the runvar query appropriately, and as a
result postgresql must scan almost the complete runvars table to
produce an answer.  This is very slow if the table is bigger than the
database server's RAM.

Fix this by limiting the runvars table query to relevant flights.

Specifically:

 * Break the `100' from the LIMIT clause on the flights search
   into a local variable $limit.
 * Break the bulk of the flights search sql statement text into
   a local variable $fromstuff.
 * In the runvars statement, add a condition on flights which uses
   LIMIT and OFFSET, based on results of the the flights query.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
10 years agocs-bisection-step: Use pbm tools, not graphicsmagick/imagemagick
Ian Jackson [Thu, 30 Apr 2015 15:20:51 +0000 (16:20 +0100)]
cs-bisection-step: Use pbm tools, not graphicsmagick/imagemagick

Graphicsmagick / imagemagick have very poor performance with images
with large pixel sizes.  The bisector can generate some very large
images.

In an example I have seen, a 21595x21048 png, occupying only 2.6Mby of
disk space.  An invocation of `convert' to resize this was using 3Gby
of RAM and lots of CPU.  Whereas, the pbm utilities can process this
with much less memory and a tiny fraction of the cpu time.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
10 years agoAutomerge of git://xenbits.xen.org/osstest.git master into production
xen.org [Mon, 4 May 2015 10:20:14 +0000 (11:20 +0100)]
Automerge of git://xenbits.xen.org/osstest.git master into production

10 years agots-kernel-build: Enable CONFIG_SCSI_SAS_ATA
Ian Jackson [Wed, 29 Apr 2015 15:06:29 +0000 (16:06 +0100)]
ts-kernel-build: Enable CONFIG_SCSI_SAS_ATA

(Some) SAS storage controller drivers do not recognise attached SATA
disks when this option is not set.  It is inexplicably not set by
default in Linux 3.14.36 (at least).

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agotarget_cmd_build: Delete build-ok-stamp before starting
Ian Jackson [Tue, 21 Apr 2015 16:39:24 +0000 (17:39 +0100)]
target_cmd_build: Delete build-ok-stamp before starting

Many of the callers of target_cmd_build use a build-ok-stamp idiom to
detect failed builds.  This idiom does not work if the stamp file
exists already, so delete it.

In the future we may move more of the test build-ok-stamp, echo ok,
into TestSupport, but this will do for now.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agots-kernel-build: Enable x86 IOMMU options
Ian Jackson [Tue, 21 Apr 2015 15:28:37 +0000 (16:28 +0100)]
ts-kernel-build: Enable x86 IOMMU options

This has a variety of beneficial implications:

 * The kernel becomes more like the kind of distro kernels that Xen
   users are probably using.

 * We are more likely to discover any bugs in Linux where Linux
   running under Xen (eg as dom0) fights with Xen for control of io
   mediation resources or otherwise mishandles the situation.

 * A pleasant side effect is that in a kernel which does not yet have
   "config: Enable NEED_DMA_MAP_STATE when SWIOTLB is selected"
   (a bugfix), enabling INTEL_IOMMU has the side effect of enabling
   NEED_DMA_MAP_STATE and thus working around the bug.

The list of options to enable was derived by eyeballing
drivers/iommu/Kconfig from 3.14.34.

I will leave the question of whether to enable any ARM IOMMU options
for the Xen ARM folks to consider.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>
CC: David Vrabel <david.vrabel@citrix.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
10 years agots-libvirt-build: set coredump ulimit to unlimited for libvirtd
Ian Campbell [Wed, 25 Mar 2015 11:30:36 +0000 (11:30 +0000)]
ts-libvirt-build: set coredump ulimit to unlimited for libvirtd

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agots-host-install: Arrange for ssh logins to have no corefile size limit
Ian Campbell [Wed, 25 Mar 2015 14:29:50 +0000 (14:29 +0000)]
ts-host-install: Arrange for ssh logins to have no corefile size limit

Collect the output of "cat /proc/self/limits" so we get some clue if
this isn't working for some reason.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoArrange for core dumps to be placed in /var/core and collect them
Ian Campbell [Tue, 24 Mar 2015 14:23:58 +0000 (14:23 +0000)]
Arrange for core dumps to be placed in /var/core and collect them

Refactor the $kvp_replace helper in ts-xen-install into a generic
helper (which requires using ::EO and ::EI for namespacing) for use
with target_editfile and use it to edit /etc/sysctl.conf to set
kernel.core_pattern on boot.

Tested in standalone mode by installing and running a C program
containing "*(int *)0 = 1;" which, after running "ulimit -c unlimited"
produces the expected core file. ts-logs-capture when run in
standalone mode then picks them up.

I've not yet figured out how to make the desired rlimit take affect
for all processes (including e.g. daemons spawned on boot). Likely
this will involve some combination of pam_limits.so PAM module and
adding explicit ulimit calls to the initscripts which we care about
(primarily xencommons and libvirt initscripts).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocambridge: Stop publishing logs to chiark
Ian Campbell [Wed, 1 Apr 2015 13:24:00 +0000 (14:24 +0100)]
cambridge: Stop publishing logs to chiark

http://osstest.cam.xci-test.com/~osstest/testlogs already exists and
points to the live logs directory, so switch PubBaseUrl to that in the
Cambridge config such that email reports etc contain it. This won't be
externally accessible but I think that won't matter now that the
master production instance is elsewhere.

Arrange that cr-publish-flight-logs doesn't publish the corresponding
thing if either LogsPublish or ResultsPublish is not set, and unset
them in the Cambridge config.

Likewise arrange that cr-ensure-disk-space doesn't do anything if the
configuration variable passed as an option is not set, and unset
Publish (the base for {Logs,Results}Publish) in the Cambridge config.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Check the config variable and not its name.
v3: Adjust for control VM move to xs.citrite.net

10 years agocambridge: Do not try to push harness to XenProject instance output
Ian Campbell [Wed, 1 Apr 2015 13:12:51 +0000 (14:12 +0100)]
cambridge: Do not try to push harness to XenProject instance output

By arranging for cr-publish-flight-logs to ignore --push-harness if
either of HarnessPublishGitRepoDir or HarnessPublishGitUserHost are
not specified

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v2:
 - Avoid logm which isn't available here, wasn't saying much of use
   anyway.
 - Syntax fix (is not a function, so exit not return)

Perhaps we should have our own tree for such things, but for now just
nobble it.

10 years agocambridge: Add a crontab
Ian Campbell [Wed, 1 Apr 2015 13:08:59 +0000 (14:08 +0100)]
cambridge: Add a crontab

Right now all it does is keep osstest itself up to date.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoHandle osstest's own local push gate in non-master production instances
Ian Campbell [Wed, 1 Apr 2015 12:50:50 +0000 (13:50 +0100)]
Handle osstest's own local push gate in non-master production instances

We want to arrange that the master XenProject instance continues to
test its own pretest branch while any downstream instances will pickup
changes from the master instance's production (i.e. tested) branch,
which is published at git://xenbits.xen.org/osstest.git#master. We
want to also be able to use local pretest for local changes (which may
or may not get merged back upstream).

Add a new configuration option OsstestUpstream which by default is
"git://xenbits.xen.org/osstest.git master" and which is cleared to
nothing on the master instance via production-config.

If the option is not set then the existing behaviour is unchanged.

If the option is set then osstest branch flights will still prefer to
test the local pretest branch, but if nothing is pending there then it
will proceed by merging the upstream branch into the local production
branch and testing the result.

This merge must be done:
 - in a clone not in the main testing.git in order to avoid inserting
   merge conflict markers into the active set of scripts.
 - in a non-bare repo because git merge requires it.

$repos/osstest is a bare repo which we want to keep that way because
using repo_tree_rev_fetch_git to fetch the remote branch is
convenient.

So we use $repos/osstest-merge as a temporary merge repo and reclone
from the active local repo each time.

All of this happens in ap-fetch-version.

As part of this arrange that the result is always left in the ap-fetch
branch of the for-osstest.git repo (even for existing cases) and the
sha1 is produced as output. Resetting to that revision is handled by
cr-daily-branch.

If the merge fails then manual intervention (i.e. a manual merge and
push to the _local_ pretest) will be required. Likewise if local
pretest and local production have diverged manual intervention will be
required.

In ap-push we stop pushing to xenbits#master except for the master
instance if an upstream is defined. At some point it might be useful
to add a configuration option for where to push to but I don't have
that requirement right now.

ap-fetch-version-old requires no changes.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
v4:
 - Use git update-ref properly, i.e. with the full ref name, otherwise
   it creates random .git/ap-fetch refs

v3:
 - Only merge from upstream if there is nothing pending locally.
 - Always update ap-fetch.

v2:
 - Arrange for $OSSTEST_USE_HEAD=y to take precendence
 - drop LOCALREV (which was wrong anyway) in favour of inline
   branchname
 - Rename OSSTEST_REVISION_MERGE as revision_merge to avoid implying
   it can be set and will be honoured.
 - Git in Debian Squeeze lacks -C and --no-edit, adjust accordingly.

full name to update-ref

10 years agoOsstest/Debian.pm: Use Fqdn hostprop when collecting host keys
Ian Campbell [Fri, 1 May 2015 10:20:45 +0000 (11:20 +0100)]
Osstest/Debian.pm: Use Fqdn hostprop when collecting host keys

Otherwise hosts which are not in the same DnsDomain are not processed,
resulting in log messages such as:

2015-05-01 10:06:19 Z skipping host key for nonexistent host marilith-n4.xs.citrite.net
2015-05-01 10:06:20 Z skipping host key for nonexistent host lace-bug.xs.citrite.net

The practical impact of this appears to be that the pair migration
tests can fail with:

2015-05-01 13:18:03 Z executing ssh ... root@10.80.250.26 xl migrate debian.guest.osstest moss-bug
Host key verification failed.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
10 years agocambridge: Switch configuration to use osstest.xs.citrite.net
Ian Campbell [Wed, 29 Apr 2015 10:14:58 +0000 (11:14 +0100)]
cambridge: Switch configuration to use osstest.xs.citrite.net

The VM has moved to different infrastructure and its new name is
osstest.citrite.net.

Update ExecutiveDbnamePat. The DB is still in the XC infrastructure so
using DnsDomain (the default) no longer works.

Set {Owner,Queue}DaemonHost to refer to the new VM host and not the
default ControlDaemonHost value of control-daemons.osstest.cam.xci-test.com
(which will be removed later).

We set both variables rather than just ControlDaemonHost in case we
ever want to move one but not the other.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
10 years agoallow instance specific settings
Ian Campbell [Wed, 1 Apr 2015 10:54:47 +0000 (11:54 +0100)]
allow instance specific settings

cri-args-hostlists and invoke-daemon now check for
$HOME/.xen-osstest/settings which can contain things like "export
OSSTEST_CONFIG=production-config-cambridge" to tailor things for a
particular instance of osstest running in production mode.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
[ ijc -- add invoke-daemon too and reword commit message accordingly ]

10 years agoFreeBSD: Cleanups relating to guest images and ts-freebsd-install script
Roger Pau Monne [Thu, 9 Apr 2015 15:11:13 +0000 (17:11 +0200)]
FreeBSD: Cleanups relating to guest images and ts-freebsd-install script

Remove some unused variables from ts-freebsd-install script. Also make the
third parameter of target_put_guest_image optional and fix both callers of
this function.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agoFreeBSD: Increase guest disk size
Roger Pau Monne [Tue, 14 Apr 2015 10:53:21 +0000 (12:53 +0200)]
FreeBSD: Increase guest disk size

New 10.1 images are larger than the previous 10.0 images, so change
the size of the LVM volume to accommodate them, in preparation.
Increase the size to 24000 in case of future increases upstream.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoFreeBSD: Update FreeBSD guests to 10.1
Roger Pau Monne [Thu, 9 Apr 2015 15:11:12 +0000 (17:11 +0200)]
FreeBSD: Update FreeBSD guests to 10.1

Update FreeBSD guests in OSSTest to FreeBSD 10.1. The following images
should be placed in the osstest images folder:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.1-RELEASE/amd64/Latest/FreeBSD-10.1-RELEASE-amd64.raw.xz
ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.1-RELEASE/i386/Latest/FreeBSD-10.1-RELEASE-i386.raw.xz

Since new images are in raw format rather than qcow2 remove the runes to
convert from qcow2 to raw.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoReduce guest ssh check up timeout to 10s
Ian Jackson [Tue, 31 Mar 2015 14:58:00 +0000 (14:58 +0000)]
Reduce guest ssh check up timeout to 10s

The default for target_cmd_root is 30s but 10s should be plenty.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoUse ssh -v when ssh'ing to guests to check they are up
Ian Jackson [Tue, 31 Mar 2015 14:55:20 +0000 (14:55 +0000)]
Use ssh -v when ssh'ing to guests to check they are up

* Make tcmd take an optional $extrasshopts argument
* Make target_cmd{,_root} pass this through
* Supply this with value [qw(-v)]

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocambridge: Set HostProp_DhcpWatchMethod back to woking
Ian Campbell [Thu, 2 Apr 2015 10:40:09 +0000 (11:40 +0100)]
cambridge: Set HostProp_DhcpWatchMethod back to woking

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
10 years agots-host-ping-check: Do not run if host is being reused
Ian Campbell [Wed, 1 Apr 2015 13:07:09 +0000 (14:07 +0100)]
ts-host-ping-check: Do not run if host is being reused

Assume it was done at install time.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agostandalone: Add --dry-run option for run-job.
Ian Campbell [Tue, 31 Mar 2015 15:06:47 +0000 (16:06 +0100)]
standalone: Add --dry-run option for run-job.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agotcl: Handle environment variables which are unset.
Ian Campbell [Tue, 31 Mar 2015 15:06:46 +0000 (16:06 +0100)]
tcl: Handle environment variables which are unset.

This allows wrappers such as the standalone wrapper to do
     OSSTEST_SIMULATE=$foo ./sg-run-job
and not worry if $foo is unset.

Do likewise for OSSTEST_TCL_JOBDB_DEBUG.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoMerge branch 'production' of osstest.test-lab:/home/osstest/testing into wip
Ian Jackson [Wed, 1 Apr 2015 10:12:14 +0000 (11:12 +0100)]
Merge branch 'production' of osstest.test-lab:/home/osstest/testing into wip

10 years agoproduction-config: Adjust LogsMinSpaceMby to not be half of the VM's disk
Ian Jackson [Wed, 1 Apr 2015 10:10:58 +0000 (11:10 +0100)]
production-config: Adjust LogsMinSpaceMby to not be half of the VM's disk

10 years agoMerge branch 'colo.2015-03-31' of xenbits.xen.org:/home/iwj/ext/osstest into queue
Ian Campbell [Tue, 31 Mar 2015 14:49:15 +0000 (15:49 +0100)]
Merge branch 'colo.2015-03-31' of xenbits.xen.org:/home/iwj/ext/osstest into queue

10 years agoproduction-config*: Set HostnameSortSwapWords as appropriate
Ian Campbell [Tue, 31 Mar 2015 14:39:19 +0000 (15:39 +0100)]
production-config*: Set HostnameSortSwapWords as appropriate

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
10 years ago(Re)Add production config for Cambridge instance
Ian Campbell [Tue, 31 Mar 2015 13:25:34 +0000 (14:25 +0100)]
(Re)Add production config for Cambridge instance

Although it is no longer the production instance I'd like to be able
to use it for ad-hoc testing.

Created with:
 $ cp production-config production-config-cambridge
 $ git diff origin/production origin-cam/incoming -- production-config | patch production-config-cambridge

Where origin is the new production colo, origin-cam is the old
instance and:
$ git rev-parse origin/production
dce745682f1e326a04519908f07c0d589bd0fc62
$ git rev-parse origin-cam/incoming
a623769cbac25ae716ff9d8251116f95e2ee2531

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
10 years agoOsstest.pm: Add "use IO::File"
Ian Campbell [Tue, 31 Mar 2015 14:38:52 +0000 (15:38 +0100)]
Osstest.pm: Add "use IO::File"

This is needed under Squeeze (but apparently not Wheezy)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
10 years agots-host-install: honour arch-specific boot append properties
Ian Jackson [Tue, 31 Mar 2015 13:51:42 +0000 (13:51 +0000)]
ts-host-install: honour arch-specific boot append properties

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agots-host-ping-check: New ubiquitous test step
Ian Jackson [Tue, 31 Mar 2015 13:50:43 +0000 (13:50 +0000)]
ts-host-ping-check: New ubiquitous test step

Check that packet loss is within acceptable levels.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agosg-report-flight: Produce better output for running jobs.
Ian Jackson [Tue, 31 Mar 2015 13:49:57 +0000 (13:49 +0000)]
sg-report-flight: Produce better output for running jobs.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agosg-report-flight: Sort email output by results, not job name
Ian Jackson [Tue, 31 Mar 2015 13:49:42 +0000 (13:49 +0000)]
sg-report-flight: Sort email output by results, not job name

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocs-adjust-flight: Support negation of foo-specs
Ian Jackson [Tue, 31 Mar 2015 13:48:15 +0000 (13:48 +0000)]
cs-adjust-flight: Support negation of foo-specs

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoconfig: turn off HostnameSortSwapWords by default
Ian Jackson [Tue, 31 Mar 2015 13:47:26 +0000 (13:47 +0000)]
config: turn off HostnameSortSwapWords by default

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agostart/stop the guest 10 times in the standard test jobs
Ian Campbell [Wed, 11 Mar 2015 10:08:57 +0000 (10:08 +0000)]
start/stop the guest 10 times in the standard test jobs

The recent libvirt failures seemed to happen after a couple of
stop/start pairs, so arrange to start/stop each guest 10 times.

By cribbing from the existing use of repeat-ts I hope I've arranged
for a new test with testid ts-guest-start/debian.repeat.

We already arrange by more adhoc means to repeat a localhost migration
10 times.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoREADME.dev: Document steps after restarting ms-ownerdaemon
Ian Campbell [Fri, 13 Mar 2015 16:00:20 +0000 (16:00 +0000)]
README.dev: Document steps after restarting ms-ownerdaemon

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agouboot: make flask loading address host property
Wei Liu [Tue, 24 Mar 2015 11:45:52 +0000 (11:45 +0000)]
uboot: make flask loading address host property

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: [ijc] Rebase over change to preceding patch

10 years agouboot: do not use readlink on xsm policy
Ian Campbell [Fri, 27 Mar 2015 10:46:31 +0000 (10:46 +0000)]
uboot: do not use readlink on xsm policy

The policy is not a symlink, so readlink will return nothing.

We cannot use readlink -f because that will return an absolute path
and we need a path relative to the filesystem root (in this case
/boot).

Keep flaskpolicy=$flaskpolicy as a shell variable rather than
unescaping the uses (so they are interpreted by Perl) to easy any
future changes.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoMerge remote-tracking branch 'origin/incoming' into wip.colo
Ian Jackson [Thu, 26 Mar 2015 18:49:27 +0000 (18:49 +0000)]
Merge remote-tracking branch 'origin/incoming' into wip.colo

10 years agoRemove passthrough tests
Ian Jackson [Thu, 26 Mar 2015 18:48:24 +0000 (18:48 +0000)]
Remove passthrough tests

These tests have never passed in the old infrastructure.  The new colo
does not have the SRIOV NICs required.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agoEmpty commit to force test run
Ian Jackson [Thu, 26 Mar 2015 12:52:50 +0000 (12:52 +0000)]
Empty commit to force test run

10 years agoConfigs: Replace xenbits.xensource.com with xenbits.xen.org
Ian Jackson [Thu, 26 Mar 2015 11:16:00 +0000 (11:16 +0000)]
Configs: Replace xenbits.xensource.com with xenbits.xen.org

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agomg-branch-setup: Make initial push optional in mg-branch-setup
Ian Jackson [Wed, 25 Mar 2015 16:49:48 +0000 (16:49 +0000)]
mg-branch-setup: Make initial push optional in mg-branch-setup

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
10 years agots-debian-install: Honour DebianMirrorProxy, HttpProxy
Ian Jackson [Wed, 25 Mar 2015 16:30:23 +0000 (16:30 +0000)]
ts-debian-install: Honour DebianMirrorProxy, HttpProxy

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoproduction-config: Configuration for new production colo
Ian Jackson [Fri, 6 Mar 2015 18:50:03 +0000 (18:50 +0000)]
production-config: Configuration for new production colo

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoBranches: Rename "incoming" branch to "production"
Ian Jackson [Sun, 8 Mar 2015 12:54:40 +0000 (12:54 +0000)]
Branches: Rename "incoming" branch to "production"

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoconfig defaults: Do not use woking for dhcp leases
Ian Jackson [Thu, 12 Mar 2015 19:07:05 +0000 (19:07 +0000)]
config defaults: Do not use woking for dhcp leases

This will probably break the Cambridge instance, where it will need to
be overridden.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agots-kernel-build: enable CONFIG_SCSI_HPSA
Ian Jackson [Tue, 24 Mar 2015 15:10:57 +0000 (15:10 +0000)]
ts-kernel-build: enable CONFIG_SCSI_HPSA

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v2: Set to `m' not `n' (!)
    Add s-o-b.

10 years agots-kernel-build: enable CONFIG_SCSI_ISCI
Ian Jackson [Fri, 13 Mar 2015 16:59:06 +0000 (16:59 +0000)]
ts-kernel-build: enable CONFIG_SCSI_ISCI

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agots-kernel-build: Document a hacky way to get CONFIG_... options
Ian Jackson [Fri, 13 Mar 2015 16:58:54 +0000 (16:58 +0000)]
ts-kernel-build: Document a hacky way to get CONFIG_... options

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoHostnameSortSwapWords: Make name order mangling configurable
Ian Jackson [Fri, 13 Mar 2015 15:19:43 +0000 (15:19 +0000)]
HostnameSortSwapWords: Make name order mangling configurable

We still default to having the mangling enabled.  Arguably this is
wrong I'm am minimising the number of things that will be wrong for
the existing Cambridge instance.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agomg-execute-flight: New -P (publish) option
Ian Jackson [Wed, 11 Mar 2015 12:12:29 +0000 (12:12 +0000)]
mg-execute-flight: New -P (publish) option

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Honour different config for published log expiry
Ian Jackson [Mon, 9 Mar 2015 16:25:22 +0000 (12:25 -0400)]
cr-ensure-disk-space: Honour different config for published log expiry

Break out references to $c{Logs...} into new dircfg() function, and
look up $c{${cfgbase}...} first.  No functional change with existing
config.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Operate locally entirely separately.
Ian Jackson [Mon, 9 Mar 2015 16:25:22 +0000 (12:25 -0400)]
cr-ensure-disk-space: Operate locally entirely separately.

Run cr-ensure-disk-space separately for local and remote directories.

Ie, do the local deletion in its own run (so removing the anomalous
separate invocation).

This makes little difference if the two disks are of roughly similar
sizes.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Permit argument to specify local directory.
Ian Jackson [Mon, 9 Mar 2015 16:22:58 +0000 (12:22 -0400)]
cr-ensure-disk-space: Permit argument to specify local directory.

If the argument is Logs rather than LogsPublish (ie, refers to a local
directory (without `:') rather than a remote one (with `:'), do things
locally (by invoking sh -ec so that we have identical quoting rules to
ssh).

No effectively functional change with the current configuration.

We still always do a local deletion.  This is anomalous and will
disappear shortly.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Fix -n option
Ian Jackson [Mon, 9 Mar 2015 16:17:44 +0000 (12:17 -0400)]
cr-ensure-disk-space: Fix -n option

This would not really do a dry run - instead it would stop after
deleting one flight's logs!

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Take argument for what to clean
Ian Jackson [Mon, 9 Mar 2015 16:16:52 +0000 (12:16 -0400)]
cr-ensure-disk-space: Take argument for what to clean

Currently always "LogsPublish" (so no functional change).

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Do listing of flights on target.
Ian Jackson [Mon, 9 Mar 2015 16:15:07 +0000 (12:15 -0400)]
cr-ensure-disk-space: Do listing of flights on target.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Do df check on target.
Ian Jackson [Mon, 9 Mar 2015 16:03:54 +0000 (12:03 -0400)]
cr-ensure-disk-space: Do df check on target.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Break out ontarget
Ian Jackson [Mon, 9 Mar 2015 16:03:31 +0000 (12:03 -0400)]
cr-ensure-disk-space: Break out ontarget

No functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Move LogsPublish decomposition up
Ian Jackson [Mon, 9 Mar 2015 15:51:29 +0000 (11:51 -0400)]
cr-ensure-disk-space: Move LogsPublish decomposition up

We are going to want this for the df.
No functional change yet.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agocr-ensure-disk-space: Emacs perl-mode syntax workaround
Ian Jackson [Mon, 9 Mar 2015 15:50:33 +0000 (11:50 -0400)]
cr-ensure-disk-space: Emacs perl-mode syntax workaround

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agodaemons: Allow QueueDaemon and OwnerDaemon to run on different hosts
Ian Jackson [Sun, 8 Mar 2015 12:20:34 +0000 (12:20 +0000)]
daemons: Allow QueueDaemon and OwnerDaemon to run on different hosts

We want the OwnerDaemon to run on the same host as the database (for
fate-sharing reasons).  OTOH the QueueDaemon is less critical if it
fails, and it generates reports etc., and wants to be more frequently
updated, so it should run on the osstest VM.

Permit this by:
 * Providing OwnerDaemonHost and QueueDaemonHost config settings
   which default to the value of ControlDaemonHost.
 * Using those everywhere.
 * In the daemons' Tcl code, have main-daemon take the string `Owner'
   or `Queue' so that it can look up both the host and port.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agotarget_cmd_build: Honour $c{HttpProxy}
Ian Jackson [Fri, 6 Mar 2015 21:33:03 +0000 (21:33 +0000)]
target_cmd_build: Honour $c{HttpProxy}

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoHostDB Executive: Option to suppress "configdb"
Ian Jackson [Fri, 6 Mar 2015 20:38:53 +0000 (20:38 +0000)]
HostDB Executive: Option to suppress "configdb"

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoreadglobalconfig: Support Include
Ian Jackson [Fri, 6 Mar 2015 19:19:11 +0000 (19:19 +0000)]
readglobalconfig: Support Include

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoreadglobalconfig: Break out $readcfg as a sub
Ian Jackson [Fri, 6 Mar 2015 19:04:47 +0000 (19:04 +0000)]
readglobalconfig: Break out $readcfg as a sub

And make it use anonymous filehandles, and be able to not tolerate
ENOENT.  This is preparation for making it recursive (`Include').

No functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoDebian mirrors: Support proxy, and default to ftp.debian.org if specified
Ian Jackson [Tue, 24 Mar 2015 18:50:14 +0000 (18:50 +0000)]
Debian mirrors: Support proxy, and default to ftp.debian.org if specified

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agopxe setup: mg-hosts mkpxedir has -n (dry run) option
Ian Jackson [Fri, 6 Mar 2015 18:45:38 +0000 (18:45 +0000)]
pxe setup: mg-hosts mkpxedir has -n (dry run) option

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agopxe setup: New TftpPxeTemplatesReal feature
Ian Jackson [Fri, 6 Mar 2015 18:39:44 +0000 (18:39 +0000)]
pxe setup: New TftpPxeTemplatesReal feature

Rather than having mg-hosts mkpxedir hardcode the strange thing done
in the XenClient test lab in the Citrix Cambridge office, provide a
somewhat more general and correct approach:

* Generalise host_pxefile to support [Tftp]PxeTemplatesReal as well
  as [Tftp]PxeTemplates.
* Default [Tftp]PxeTemplatesReal to ''

mg-hosts mkpxedir now uses these templates, as follow:
* Create the host's PxeTemplates-based pxe file's parent
  directories and make the parent directory be owned by PxeGroup.
* If the PxeTemplatesReal is specified and different, make a symlink
  named according to PxeTemplatesReal pointing at the previous file.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoOsstest: Default config: Use foreach for empty defaults
Ian Jackson [Fri, 6 Mar 2015 15:27:46 +0000 (10:27 -0500)]
Osstest: Default config: Use foreach for empty defaults

No functional change, but makes adding new empty defaults shorter.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agomg-hosts: Provide new "power" subcommand
Ian Jackson [Fri, 6 Mar 2015 15:32:40 +0000 (10:32 -0500)]
mg-hosts: Provide new "power" subcommand

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agopxe setup: Define %name% in templates
Ian Jackson [Fri, 6 Mar 2015 15:31:40 +0000 (10:31 -0500)]
pxe setup: Define %name% in templates

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoPDU: pdu-msw: Support APC v6 firmware
Ian Jackson [Thu, 5 Mar 2015 19:04:43 +0000 (14:04 -0500)]
PDU: pdu-msw: Support APC v6 firmware

APC PDUs with firmware 6.x have a different OID space for turning
ports on and off, to the one for querying.  The old namespace still
works to turn the port on and off but returns a genErr error response!

Support a new command-line option --apc6 to use this other OID.

Information about OIDs etc. obtained here:
  https://git.fedorahosted.org/cgit/fence-agents.git/commit/?id=55ccdd79f530092af06eea5b4ce6a24bd82c0875

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoPDU: pdu-msw: Split $read_oid and $write_oid
Ian Jackson [Thu, 5 Mar 2015 19:02:09 +0000 (14:02 -0500)]
PDU: pdu-msw: Split $read_oid and $write_oid

Some PDUs have a different OID space for turning ports on and off, to
the one for querying.  To make this easier to handle, split the
variable $oid into $read_oid and $write_oid.

Also move $baseoid settings earlier so that we can modify them with
command-line arguments.

No functional change in this patch.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agoPDU: msw: support arbitrary arguments
Ian Jackson [Thu, 5 Mar 2015 19:00:34 +0000 (14:00 -0500)]
PDU: msw: support arbitrary arguments

No functional change with existing host properties.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agomfi-common, make-flight: create XSM test jobs xsm-15
Wei Liu [Mon, 2 Feb 2015 19:57:13 +0000 (19:57 +0000)]
mfi-common, make-flight: create XSM test jobs

Duplicate Debian PV and HVM test jobs for XSM testing.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes in v8:
1. Make libvirtbuildjob = ${bfi}build-$dom0arch-libvirt

Changes in v6:
1. Skip generating xsm job for different platforms.
2. Use "xsms".
3. Reformat some long lines.

10 years agomake-flight: factor out do_pv_debian_tests
Wei Liu [Mon, 2 Feb 2015 19:53:26 +0000 (19:53 +0000)]
make-flight: factor out do_pv_debian_tests

Pure code motion. No effect on job generation.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 years agots-xen-install: install Xen with XSM support if requested
Wei Liu [Mon, 22 Sep 2014 13:13:41 +0000 (14:13 +0100)]
ts-xen-install: install Xen with XSM support if requested

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
Changes in v4:
1. Use "true" instead of "y"

10 years agoDebian.pm: load flask policy in uboot
Wei Liu [Fri, 12 Sep 2014 15:29:00 +0000 (16:29 +0100)]
Debian.pm: load flask policy in uboot

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes in v15:
1. Use new flask option "flask=enforcing".

Changes in v10:
1. Correctly get $flaskpolicy.

Changes in v9:
1. Add "xen,multiboot-module".

Changes in v8:
1. Append flask_enforcing=1 and flask_enabled=1.

10 years agoDebian.pm: pass in XSM configuration to bootloader setup routines
Wei Liu [Mon, 22 Sep 2014 13:11:51 +0000 (14:11 +0100)]
Debian.pm: pass in XSM configuration to bootloader setup routines

Change to Uboot will come in another patch. GRUB 1 is ignored, as
currently OSSTest only has Wheezy which has GRUB 2.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes in v6:
1. Wrap some overly long lines.

Changes in v4:
1. Modify callsite of debian_boot_setup to avoid regression.

10 years agomfi-common: create build-$arch-xsm job
Wei Liu [Mon, 8 Sep 2014 10:41:44 +0000 (11:41 +0100)]
mfi-common: create build-$arch-xsm job

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
Changes in v15:
1. Don't test xsm on 4.5.

Changes in v4:
1. Use "true" and "false" instead of "y" and "n".
2. Rename xenbranch_wants_xsm_tests to xenbranch_xsm_variants.

10 years agots-xen-build: only move hypervisor to xeninstall
Wei Liu [Mon, 23 Feb 2015 12:03:16 +0000 (12:03 +0000)]
ts-xen-build: only move hypervisor to xeninstall

... so that we can leave xenpolicy-* in tools tarball.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes in v13:
1. Use find rune to get list of files to move.

10 years agots-xen-build: build with XSM support if requested
Wei Liu [Mon, 8 Sep 2014 15:06:52 +0000 (16:06 +0100)]
ts-xen-build: build with XSM support if requested

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes in v14:
1. Use target_cmd_output instead of target_cmd_output_root.

Changes in v5:
1. Only set XSM_ENABLE when runvar is defined.
2. Fix inconsistent whitespace.

Changes in v4:
1. Use "true" instead of "y"