]> xenbits.xensource.com Git - osstest.git/log
osstest.git
11 years agomake-flight: Separate matrix iteration from test job creation
Ian Campbell [Mon, 20 Jan 2014 17:48:35 +0000 (17:48 +0000)]
make-flight: Separate matrix iteration from test job creation

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: refactor test case filter over $branch
Ian Campbell [Mon, 20 Jan 2014 17:47:15 +0000 (17:47 +0000)]
make-flight: refactor test case filter over $branch

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: refactor job_create_test into mfi-common
Ian Campbell [Mon, 20 Jan 2014 17:20:57 +0000 (17:20 +0000)]
make-flight: refactor job_create_test into mfi-common

Now that it uses a callback it can trivially be moved to mfi-common

Arguably the setting of *buildjob could also be a callback, but my intended use
case doesn't need that and it seems reasonable enough for now that users of the
common job_create_test also use the common create_build_jobs (or produce
something sufficiently similar).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: refactor job_create_test filters
Ian Campbell [Mon, 20 Jan 2014 17:18:22 +0000 (17:18 +0000)]
make-flight: refactor job_create_test filters

This will allow job_create_test to be moved mfi-common.

No (intentional) change to the set of jobs which are created.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: Remove md5sum based job filtering
Ian Campbell [Mon, 20 Jan 2014 16:48:11 +0000 (16:48 +0000)]
make-flight: Remove md5sum based job filtering

JOB_MD5_PATTERN was intended to allow making randomly smaller flights, but is
not used in practice.

The filtering of the qemmu*-win jobs was intended to reduce the number of
combinations but ended up suppressing only:
  test-amd64-i386-xl-qemuu-winxpsp3-vcpus1
  test-amd64-i386-xl-qemuu-win7-amd64

Both of which seem useful so allow them to be enabled.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomfi-common: restrict scope of local vars in create_build_jobs
Ian Campbell [Mon, 20 Jan 2014 15:47:01 +0000 (15:47 +0000)]
mfi-common: restrict scope of local vars in create_build_jobs

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomfi-common: Allow caller of create_build_jobs to include/exclude xend builds
Ian Campbell [Mon, 20 Jan 2014 15:43:12 +0000 (15:43 +0000)]
mfi-common: Allow caller of create_build_jobs to include/exclude xend builds

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Corect WANT_XEND test.

11 years agoRemove support for building the XCP kernel
Ian Campbell [Mon, 20 Jan 2014 15:38:26 +0000 (15:38 +0000)]
Remove support for building the XCP kernel

This kernel is well and truly dead.

I've left some of the general support for using other kernel types in place
even though it is now unused.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
11 years agomake-flight: refactor build job creation into mfi-common
Ian Campbell [Mon, 20 Jan 2014 15:32:27 +0000 (15:32 +0000)]
make-flight: refactor build job creation into mfi-common

This is pure code motion *except* I have aligned the backslash continuation
lines at the same time -- I was unable to resist doing so.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
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 flight-24458
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. flight-24450 flight-24455 flight-24457 flight-24459 flight-24462 flight-24465 flight-24466 flight-24469 flight-24470 flight-24471 flight-24473 flight-24474
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 flight-24352 flight-24357 flight-24363 flight-24364 flight-24365 flight-24366 flight-24367 flight-24368 flight-24369 flight-24370 flight-24371 flight-24373 flight-24375 flight-24376 flight-24377 flight-24378 flight-24379 flight-24380 flight-24381 flight-24382 flight-24383 flight-24384 flight-24385 flight-24386 flight-24387 flight-24388 flight-24389 flight-24390 flight-24391 flight-24392 flight-24393 flight-24394 flight-24395 flight-24396 flight-24397 flight-24399 flight-24400 flight-24401 flight-24402 flight-24403 flight-24404 flight-24405 flight-24406 flight-24407 flight-24408 flight-24409 flight-24410 flight-24411 flight-24412 flight-24413 flight-24414 flight-24415 flight-24416 flight-24417 flight-24418 flight-24419 flight-24420 flight-24421 flight-24422 flight-24423 flight-24424 flight-24425 flight-24426 flight-24427 flight-24428 flight-24429 flight-24431 flight-24433 flight-24434 flight-24435 flight-24436 flight-24437 flight-24438 flight-24439 flight-24440 flight-24441 flight-24442 flight-24443 flight-24444 flight-24445 flight-24446 flight-24447 flight-24448 flight-24449 flight-24452 flight-24453 flight-24454 flight-24456
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 flight-24346 flight-24353 flight-24354 flight-24355 flight-24356 flight-24358 flight-24359 flight-24360
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 flight-24321 flight-24327 flight-24339
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 flight-24287 flight-24288 flight-24289 flight-24293 flight-24294 flight-24296 flight-24298 flight-24299 flight-24300 flight-24301 flight-24302 flight-24303 flight-24306 flight-24308 flight-24309 flight-24310 flight-24311 flight-24312 flight-24313 flight-24314 flight-24315 flight-24316 flight-24317 flight-24318 flight-24319 flight-24320 flight-24322 flight-24323 flight-24324 flight-24325 flight-24326 flight-24328 flight-24329 flight-24330 flight-24331 flight-24332 flight-24333 flight-24334 flight-24335 flight-24336 flight-24338 flight-24340 flight-24341 flight-24342 flight-24343 flight-24344 flight-24345 flight-24347 flight-24348 flight-24349 flight-24350 flight-24351
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 flight-23910 flight-23937 flight-23979 flight-24009 flight-24030 flight-24073 flight-24084 flight-24094 flight-24109 flight-24119 flight-24144 flight-24146 flight-24177 flight-24187 flight-24197 flight-24212 flight-24220 flight-24246 flight-24250 flight-24279 flight-24284 flight-24286 flight-24295 flight-24297
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 flight-22465 flight-22467 flight-22468 flight-22471 flight-22472 flight-22473 flight-22477 flight-22486 flight-22495 flight-22512 flight-22524 flight-22543 flight-22547 flight-22553 flight-22559 flight-22561 flight-22568 flight-22574 flight-22580 flight-22586 flight-22592 flight-22599 flight-22604 flight-22605 flight-22610 flight-22629 flight-22634 flight-22639 flight-22640 flight-22641 flight-22642 flight-22644 flight-22646 flight-22652 flight-22653 flight-22656 flight-22658 flight-22663 flight-22666 flight-22668 flight-22669 flight-22670 flight-22672 flight-22683 flight-22686 flight-22687 flight-22690 flight-22691 flight-22694 flight-22720 flight-22747 flight-22768 flight-22776 flight-22779 flight-22780 flight-22795 flight-22826 flight-22832 flight-22863 flight-22873 flight-22885 flight-22893 flight-22904 flight-22932 flight-22934 flight-22966 flight-22977 flight-22987 flight-23003 flight-23010 flight-23035 flight-23037 flight-23070 flight-23079 flight-23090 flight-23168 flight-23187 flight-23203 flight-23211 flight-23237 flight-23269 flight-23289 flight-23312 flight-23368 flight-23378 flight-23691 flight-23699 flight-23724 flight-23725 flight-23759 flight-23767 flight-23778 flight-23794 flight-23802 flight-23827 flight-23829 flight-23862 flight-23873 flight-23882 flight-23897 flight-23905 flight-23933 flight-23938 flight-23967 flight-23980 flight-23990 flight-24005 flight-24014 flight-24041 flight-24042
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. flight-22413 flight-22423 flight-22427 flight-22429 flight-22431 flight-22432 flight-22436 flight-22439 flight-22442 flight-22444 flight-22446 flight-22448 flight-22449 flight-22451 flight-22453 flight-22455 flight-22457 flight-22458 flight-22460 flight-22461 flight-22463 flight-22464 flight-22466 flight-22469 flight-22470
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 flight-22384 flight-22391 flight-22398 flight-22406 flight-22407 flight-22408 flight-22409 flight-22410 flight-22412 flight-22414 flight-22415 flight-22416 flight-22417 flight-22418 flight-22419 flight-22421 flight-22424 flight-22425 flight-22426 flight-22428
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 flight-22289 flight-22299 flight-22305 flight-22310 flight-22314 flight-22315 flight-22316 flight-22322 flight-22323 flight-22325 flight-22326 flight-22327 flight-22328 flight-22329 flight-22330 flight-22331 flight-22332 flight-22333 flight-22334 flight-22335 flight-22336 flight-22337 flight-22338 flight-22339 flight-22340 flight-22341 flight-22342 flight-22343 flight-22344 flight-22345 flight-22346 flight-22347 flight-22348 flight-22349 flight-22350 flight-22351 flight-22352 flight-22353 flight-22354 flight-22355 flight-22356 flight-22357 flight-22358 flight-22359 flight-22360 flight-22361 flight-22362 flight-22363 flight-22364 flight-22365 flight-22366 flight-22367 flight-22368 flight-22369 flight-22370 flight-22371 flight-22372 flight-22373 flight-22374 flight-22375 flight-22376 flight-22377 flight-22378 flight-22380 flight-22381 flight-22382 flight-22383 flight-22385 flight-22386 flight-22389 flight-22390 flight-22392 flight-22393 flight-22394 flight-22395 flight-22396 flight-22397 flight-22399 flight-22400 flight-22402 flight-22404 flight-22405
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 flight-22221 flight-22232 flight-22243 flight-22261 flight-22273 flight-22275 flight-22276 flight-22277 flight-22278 flight-22279 flight-22281 flight-22282 flight-22283 flight-22284 flight-22285 flight-22286 flight-22287 flight-22290 flight-22291 flight-22292 flight-22293 flight-22294 flight-22295 flight-22296 flight-22297 flight-22298 flight-22300 flight-22301 flight-22302 flight-22303 flight-22304 flight-22306 flight-22307 flight-22308 flight-22309 flight-22311 flight-22312 flight-22313
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 flight-22178 flight-22187 flight-22215 flight-22222 flight-22223 flight-22224 flight-22226 flight-22228 flight-22230 flight-22231 flight-22233 flight-22234 flight-22235 flight-22236 flight-22237 flight-22238 flight-22239 flight-22240 flight-22241 flight-22242 flight-22244 flight-22245 flight-22246 flight-22247 flight-22248 flight-22249 flight-22250 flight-22251 flight-22252 flight-22253 flight-22254 flight-22255 flight-22256 flight-22257 flight-22258 flight-22259 flight-22260 flight-22262 flight-22263 flight-22264 flight-22266 flight-22267 flight-22268 flight-22269 flight-22270 flight-22271 flight-22272
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 flight-22173 flight-22179 flight-22180 flight-22181 flight-22182 flight-22183 flight-22184 flight-22186 flight-22188 flight-22189 flight-22190 flight-22191 flight-22192 flight-22201 flight-22211 flight-22212 flight-22213 flight-22214 flight-22216 flight-22217 flight-22218 flight-22219 flight-22220
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 flight-22136 flight-22139 flight-22140 flight-22145 flight-22148 flight-22149 flight-22150 flight-22151 flight-22152 flight-22153 flight-22154 flight-22155 flight-22156 flight-22157 flight-22158 flight-22159 flight-22161 flight-22162 flight-22163 flight-22164 flight-22165 flight-22166 flight-22167 flight-22168 flight-22169 flight-22170 flight-22171 flight-22172 flight-22174 flight-22175 flight-22176
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 flight-22111 flight-22121 flight-22133
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 flight-22075 flight-22079 flight-22080 flight-22081 flight-22082 flight-22083 flight-22084 flight-22085 flight-22087 flight-22088 flight-22089 flight-22090 flight-22091 flight-22092 flight-22093 flight-22094 flight-22095 flight-22096 flight-22097 flight-22098 flight-22099 flight-22100 flight-22101 flight-22105 flight-22106 flight-22107 flight-22108 flight-22109 flight-22112 flight-22113 flight-22114 flight-22115 flight-22116 flight-22117 flight-22119 flight-22120 flight-22122 flight-22123 flight-22124 flight-22125 flight-22126 flight-22131 flight-22132 flight-22134 flight-22135 flight-22137 flight-22138 flight-22142 flight-22144 flight-22146 flight-22147
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 flight-22067
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" flight-22002 flight-22003 flight-22004 flight-22005 flight-22006 flight-22007 flight-22008 flight-22009 flight-22010 flight-22011 flight-22013 flight-22017 flight-22018 flight-22019 flight-22020 flight-22021 flight-22022 flight-22023 flight-22024 flight-22025 flight-22026 flight-22027 flight-22028 flight-22029 flight-22030 flight-22031 flight-22033 flight-22034 flight-22035 flight-22036 flight-22037 flight-22038 flight-22039 flight-22040 flight-22041 flight-22042 flight-22043 flight-22044 flight-22045 flight-22046 flight-22047 flight-22048 flight-22049 flight-22050 flight-22053 flight-22054 flight-22055 flight-22056 flight-22057 flight-22058 flight-22059 flight-22060 flight-22061 flight-22062 flight-22063 flight-22064 flight-22065 flight-22066 flight-22069 flight-22073 flight-22076 flight-22077 flight-22078
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... flight-21860 flight-21870 flight-21871 flight-21872 flight-21873 flight-21874 flight-21875 flight-21876 flight-21877 flight-21878 flight-21879 flight-21880 flight-21881 flight-21882 flight-21883 flight-21884 flight-21885 flight-21886 flight-21887 flight-21888 flight-21889 flight-21890 flight-21891 flight-21892 flight-21893 flight-21894 flight-21895 flight-21896 flight-21897 flight-21898 flight-21900 flight-21904 flight-21905 flight-21906 flight-21907 flight-21908 flight-21909 flight-21910 flight-21911 flight-21912 flight-21913 flight-21914 flight-21915 flight-21916 flight-21917 flight-21918 flight-21919 flight-21920 flight-21921 flight-21922 flight-21923 flight-21924 flight-21925 flight-21926 flight-21927 flight-21928 flight-21929 flight-21930 flight-21931 flight-21932 flight-21933 flight-21934 flight-21935 flight-21936 flight-21937 flight-21938 flight-21939 flight-21940 flight-21941 flight-21942 flight-21943 flight-21944 flight-21945 flight-21946 flight-21947 flight-21948 flight-21949 flight-21950 flight-21951 flight-21952 flight-21953 flight-21956 flight-21957 flight-21959 flight-21960 flight-21961 flight-21962 flight-21963 flight-21964 flight-21965 flight-21966 flight-21967 flight-21969 flight-21970 flight-21971 flight-21972 flight-21973 flight-21974 flight-21975 flight-21976 flight-21977 flight-21978 flight-21979 flight-21980 flight-21981 flight-21982 flight-21983 flight-21984 flight-21985 flight-21986 flight-21987 flight-21988 flight-21989 flight-21990 flight-21991 flight-21992 flight-21993 flight-21994 flight-21995 flight-21996 flight-21997 flight-21998 flight-21999 flight-22000 flight-22001
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 flight-21546 flight-21555 flight-21556 flight-21557 flight-21558 flight-21559 flight-21560 flight-21561 flight-21562 flight-21563 flight-21564 flight-21565 flight-21566 flight-21567 flight-21568 flight-21569 flight-21570 flight-21571 flight-21572 flight-21573 flight-21574 flight-21575 flight-21576 flight-21577 flight-21578 flight-21579 flight-21580 flight-21581 flight-21582 flight-21583 flight-21584 flight-21585 flight-21586 flight-21587 flight-21588 flight-21589 flight-21590 flight-21591 flight-21592 flight-21593 flight-21594 flight-21595 flight-21596 flight-21597 flight-21598 flight-21599 flight-21600 flight-21601 flight-21602 flight-21603 flight-21604 flight-21605 flight-21606 flight-21607 flight-21608 flight-21609 flight-21610 flight-21611 flight-21612 flight-21613 flight-21614 flight-21615 flight-21616 flight-21617 flight-21618 flight-21619 flight-21620 flight-21621 flight-21622 flight-21623 flight-21624 flight-21625 flight-21626 flight-21628 flight-21629 flight-21630 flight-21631 flight-21632 flight-21633 flight-21634 flight-21635 flight-21636 flight-21637 flight-21638 flight-21639 flight-21641 flight-21846 flight-21847 flight-21848 flight-21849 flight-21850 flight-21851 flight-21852 flight-21853 flight-21854 flight-21856 flight-21857 flight-21859 flight-21861 flight-21862 flight-21863 flight-21864 flight-21865 flight-21866 flight-21867 flight-21868 flight-21869
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 :-( flight-21479 flight-21488 flight-21497 flight-21498 flight-21499 flight-21500 flight-21501 flight-21502 flight-21503 flight-21504 flight-21505 flight-21506 flight-21507 flight-21509 flight-21510 flight-21511 flight-21512 flight-21513 flight-21514 flight-21515 flight-21516 flight-21517 flight-21518 flight-21519 flight-21520 flight-21521 flight-21522 flight-21523 flight-21524 flight-21525 flight-21526 flight-21527 flight-21528 flight-21529 flight-21530 flight-21531 flight-21532 flight-21533 flight-21534 flight-21535 flight-21536 flight-21537 flight-21538 flight-21539 flight-21540 flight-21541 flight-21542 flight-21543 flight-21544 flight-21545 flight-21547 flight-21548 flight-21549 flight-21550 flight-21551 flight-21552 flight-21553 flight-21554
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+ flight-21389 flight-21392 flight-21394 flight-21396 flight-21398 flight-21399 flight-21400 flight-21401 flight-21402 flight-21403 flight-21404 flight-21405 flight-21406 flight-21407 flight-21408 flight-21409 flight-21410 flight-21411 flight-21412 flight-21413 flight-21414 flight-21415 flight-21416 flight-21417 flight-21418 flight-21419 flight-21420 flight-21421 flight-21422 flight-21423 flight-21424 flight-21425 flight-21426 flight-21427 flight-21428 flight-21429 flight-21430 flight-21431 flight-21432 flight-21433 flight-21434 flight-21435 flight-21436 flight-21437 flight-21438 flight-21439 flight-21440 flight-21441 flight-21442 flight-21443 flight-21444 flight-21445 flight-21478 flight-21480 flight-21481 flight-21482 flight-21483 flight-21484 flight-21485 flight-21486 flight-21487 flight-21489 flight-21490 flight-21491 flight-21492 flight-21493 flight-21494 flight-21495 flight-21496
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 flight-21368 flight-21371 flight-21377 flight-21384
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 flight-21366 flight-21369 flight-21370 flight-21372 flight-21373 flight-21374 flight-21375 flight-21376 flight-21378 flight-21379 flight-21380 flight-21382 flight-21383 flight-21385 flight-21386 flight-21387 flight-21388 flight-21390 flight-21391 flight-21393 flight-21395 flight-21397
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 flight-21000 flight-21004 flight-21005 flight-21009 flight-21010 flight-21011 flight-21012 flight-21013 flight-21014 flight-21015 flight-21016 flight-21017 flight-21018 flight-21019 flight-21020 flight-21021 flight-21022 flight-21023 flight-21024 flight-21025 flight-21026 flight-21027 flight-21028 flight-21029 flight-21030 flight-21031 flight-21032 flight-21033 flight-21034 flight-21035 flight-21036 flight-21037 flight-21038 flight-21039 flight-21040 flight-21041 flight-21042 flight-21043 flight-21044 flight-21045 flight-21046 flight-21047 flight-21048 flight-21049 flight-21050 flight-21051 flight-21052 flight-21053 flight-21054 flight-21055 flight-21056 flight-21060 flight-21061 flight-21062 flight-21063 flight-21064 flight-21065 flight-21066 flight-21067 flight-21068 flight-21069 flight-21070 flight-21071 flight-21072 flight-21073 flight-21074 flight-21075 flight-21076 flight-21077 flight-21078 flight-21079 flight-21080 flight-21081 flight-21082 flight-21083 flight-21084 flight-21085 flight-21086 flight-21087 flight-21088 flight-21089 flight-21090 flight-21091 flight-21092 flight-21093 flight-21094 flight-21095 flight-21096 flight-21097 flight-21098 flight-21099 flight-21100 flight-21101 flight-21102 flight-21103 flight-21104 flight-21105 flight-21106 flight-21107 flight-21108 flight-21110 flight-21192 flight-21193 flight-21194 flight-21195 flight-21196 flight-21197 flight-21198 flight-21199 flight-21200 flight-21201 flight-21202 flight-21203 flight-21204 flight-21205 flight-21206 flight-21207 flight-21208 flight-21209 flight-21210 flight-21211 flight-21212 flight-21213 flight-21214 flight-21215 flight-21216 flight-21217 flight-21218 flight-21219 flight-21220 flight-21221 flight-21222 flight-21223 flight-21224 flight-21225 flight-21226 flight-21227 flight-21228 flight-21229 flight-21230 flight-21231 flight-21232 flight-21233 flight-21234 flight-21235 flight-21236 flight-21237 flight-21238 flight-21239 flight-21240 flight-21241 flight-21242 flight-21243 flight-21244 flight-21245 flight-21246 flight-21247 flight-21248 flight-21249 flight-21250 flight-21251 flight-21252 flight-21253 flight-21254 flight-21255 flight-21256 flight-21258 flight-21259 flight-21261 flight-21262 flight-21263 flight-21265 flight-21266 flight-21267 flight-21268 flight-21269 flight-21270 flight-21271 flight-21272 flight-21273 flight-21274 flight-21275 flight-21276 flight-21277 flight-21278 flight-21279 flight-21280 flight-21281 flight-21282 flight-21283 flight-21284 flight-21285 flight-21286 flight-21287 flight-21288 flight-21289 flight-21290 flight-21291 flight-21292 flight-21293 flight-21294 flight-21295 flight-21296 flight-21297 flight-21298 flight-21299 flight-21300 flight-21341 flight-21342 flight-21343 flight-21344 flight-21345 flight-21346 flight-21347 flight-21348 flight-21349 flight-21350 flight-21351 flight-21352 flight-21353 flight-21354 flight-21355 flight-21356 flight-21357 flight-21358 flight-21359 flight-21360 flight-21361 flight-21362 flight-21363 flight-21364 flight-21365 flight-21367
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 flight-20871 flight-20943 flight-20972 flight-20981 flight-20984 flight-20986 flight-20987 flight-20988 flight-20989 flight-20990 flight-20992 flight-20993 flight-20994 flight-20995 flight-20996 flight-20997 flight-20998 flight-20999 flight-21001 flight-21002 flight-21003
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 flight-20850 flight-20852 flight-20854 flight-20855 flight-20856 flight-20857 flight-20858 flight-20859 flight-20860 flight-20861 flight-20862 flight-20863 flight-20864 flight-20865 flight-20866 flight-20867 flight-20868 flight-20869 flight-20870 flight-20872 flight-20873 flight-20874 flight-20875 flight-20876 flight-20877 flight-20878 flight-20879 flight-20880 flight-20881 flight-20882 flight-20883 flight-20884 flight-20885 flight-20886 flight-20887 flight-20888 flight-20889 flight-20890 flight-20891 flight-20892 flight-20893 flight-20894 flight-20895 flight-20896 flight-20897 flight-20898 flight-20899 flight-20900 flight-20901 flight-20902 flight-20903 flight-20904 flight-20905 flight-20906 flight-20907 flight-20908 flight-20909 flight-20910 flight-20911 flight-20912 flight-20913 flight-20914 flight-20915 flight-20916 flight-20917 flight-20918 flight-20919 flight-20920 flight-20921 flight-20922 flight-20923 flight-20924 flight-20925 flight-20926 flight-20927 flight-20928 flight-20929 flight-20930 flight-20931 flight-20932 flight-20933 flight-20934 flight-20935 flight-20936 flight-20937 flight-20938 flight-20939 flight-20940 flight-20941 flight-20942 flight-20944 flight-20945 flight-20946 flight-20947 flight-20948 flight-20949 flight-20950 flight-20951 flight-20952 flight-20953 flight-20954 flight-20955 flight-20956 flight-20957 flight-20958 flight-20959 flight-20960 flight-20961 flight-20962 flight-20963 flight-20964 flight-20965 flight-20966 flight-20967 flight-20968 flight-20976 flight-20979 flight-20980 flight-20982 flight-20983
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 flight-20812 flight-20820 flight-20821 flight-20822 flight-20823 flight-20824 flight-20825 flight-20826 flight-20827 flight-20828 flight-20829 flight-20830 flight-20831 flight-20832 flight-20833 flight-20834 flight-20835 flight-20836 flight-20837 flight-20838 flight-20839 flight-20840 flight-20841 flight-20842 flight-20843 flight-20844 flight-20845 flight-20846 flight-20847 flight-20848 flight-20849 flight-20851 flight-20853
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 flight-20178 flight-20362 flight-20363 flight-20364 flight-20365 flight-20366 flight-20367 flight-20368 flight-20369 flight-20666 flight-20667 flight-20668 flight-20669 flight-20670 flight-20671 flight-20672 flight-20673 flight-20674 flight-20675 flight-20676 flight-20677 flight-20678 flight-20806 flight-20807 flight-20808 flight-20809 flight-20810 flight-20811 flight-20813 flight-20814 flight-20815 flight-20816 flight-20817 flight-20819
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 flight-19874 flight-19875 flight-19876 flight-19877 flight-19878 flight-19879 flight-19880 flight-19882 flight-19883 flight-19884 flight-19885 flight-19887 flight-19888 flight-19889 flight-19890 flight-19891 flight-19895 flight-19896 flight-19907 flight-19908 flight-19961 flight-19962 flight-20032 flight-20033 flight-20034 flight-20035 flight-20048 flight-20049 flight-20050 flight-20051 flight-20052 flight-20054 flight-20056 flight-20059 flight-20060 flight-20063 flight-20064 flight-20065 flight-20066 flight-20067 flight-20068 flight-20069 flight-20070 flight-20074 flight-20077 flight-20078 flight-20079 flight-20080 flight-20082 flight-20083 flight-20084 flight-20085 flight-20086 flight-20088 flight-20089 flight-20090 flight-20091 flight-20092 flight-20093 flight-20094 flight-20095 flight-20096 flight-20097 flight-20098 flight-20099 flight-20100 flight-20101 flight-20102 flight-20115 flight-20116 flight-20139 flight-20140 flight-20141 flight-20167 flight-20168 flight-20177 flight-20179 flight-20180 flight-20181
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 flight-19851 flight-19867 flight-19868 flight-19869 flight-19870 flight-19871 flight-19873
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 flight-19844
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 flight-19801 flight-19809 flight-19826 flight-19837
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 flight-19784 flight-19788 flight-19792 flight-19793 flight-19795 flight-19796 flight-19797 flight-19798 flight-19799 flight-19800 flight-19802 flight-19803 flight-19804 flight-19805 flight-19806 flight-19807 flight-19808 flight-19811 flight-19812 flight-19813 flight-19815 flight-19816 flight-19817 flight-19818 flight-19819 flight-19820 flight-19821 flight-19822 flight-19825 flight-19828 flight-19829 flight-19830 flight-19832 flight-19833 flight-19834 flight-19835 flight-19836 flight-19838 flight-19839 flight-19840 flight-19841 flight-19842 flight-19843 flight-19845 flight-19846 flight-19847
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 flight-19782
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 flight-19779 flight-19780 flight-19781 flight-19783 flight-19785 flight-19786 flight-19787 flight-19789 flight-19790 flight-19791 flight-19794
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 flight-19775 flight-19777 flight-19778
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 flight-19771 flight-19772 flight-19773 flight-19774 flight-19776
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 flight-19759 flight-19763 flight-19770
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 flight-19754
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 flight-19735 flight-19744
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.