]>
xenbits.xensource.com Git - people/iwj/osstest.git/log
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)
Ian Jackson [Thu, 17 Oct 2013 14:36:02 +0000 (15:36 +0100)]
mg-hosts: manual-task-create option
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
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
Ian Jackson [Tue, 15 Oct 2013 17:56:40 +0000 (18:56 +0100)]
mg-blockage: new tool
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>
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>
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>
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>
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>
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.
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.
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)
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.
Ian Campbell [Wed, 9 Oct 2013 09:03:41 +0000 (10:03 +0100)]
TestSupport: allow multiple host serial methods
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.
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
Ian Campbell [Wed, 9 Oct 2013 12:06:22 +0000 (13:06 +0100)]
TestSupport: fix warning about cacheing_git when !no-reinstall
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.
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.
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.
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.
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.
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.
Ian Campbell [Mon, 23 Sep 2013 14:51:07 +0000 (15:51 +0100)]
production-config: Newer DI bits which includes armhf-wheezy
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.
Ian Campbell [Sun, 22 Sep 2013 14:13:55 +0000 (15:13 +0100)]
xenuse: Configurable path to xenuse
Ian Campbell [Sat, 21 Sep 2013 15:12:18 +0000 (16:12 +0100)]
ts-xen-build: only enable xend for x86 builds
Ian Campbell [Fri, 20 Sep 2013 13:27:09 +0000 (14:27 +0100)]
ts-leak-check: suppress xm deprecation warning stampfile
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
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
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.
Ian Campbell [Wed, 18 Sep 2013 16:04:23 +0000 (17:04 +0100)]
Debian: more corrections to arm u-boot runes.
We should not pass an initrd to the bootz command -- this is in a boot module
Log what we are loading, as we load it, to aid debugging.
Ian Jackson [Tue, 17 Sep 2013 14:01:05 +0000 (15:01 +0100)]
ts-xen-build-prep: actually honour build_lvextend_max
Ian Jackson [Tue, 17 Sep 2013 14:41:05 +0000 (15:41 +0100)]
ts-xen-build-prep: install bc
Ian Jackson [Tue, 17 Sep 2013 10:56:58 +0000 (11:56 +0100)]
cr-daily-branch, make-flight: use ${...:-...} not ${...-...}, to treat empty values the same as unset; fixes regression
Ian Jackson [Tue, 17 Sep 2013 10:25:43 +0000 (11:25 +0100)]
standalone-reset: set BUILD_LVEXTEND_MAX to 50 (50G) by default
Ian Jackson [Tue, 17 Sep 2013 10:25:03 +0000 (11:25 +0100)]
make-flight: honour BUILD_LVEXTEND_MAX env var to set build_lvextend_max
Ian Jackson [Tue, 17 Sep 2013 10:20:11 +0000 (11:20 +0100)]
ts-xen-build-prep: honour build_lvextend_max runvar
Ian Jackson [Tue, 17 Sep 2013 10:19:53 +0000 (11:19 +0100)]
ts-xen-build-prep: break out gb2pe
Ian Jackson [Tue, 17 Sep 2013 10:19:18 +0000 (11:19 +0100)]
ts-xen-build-prep: make pe_size global
Ian Jackson [Mon, 16 Sep 2013 14:52:45 +0000 (15:52 +0100)]
cr-daily-branch: use "linux-arm-xen" for arm tests unless this is a linux branch
Ian Jackson [Mon, 16 Sep 2013 13:53:25 +0000 (14:53 +0100)]
crontab etc.: fix Ian Campbell's email address
Ian Jackson [Fri, 13 Sep 2013 16:46:56 +0000 (17:46 +0100)]
crontab etc.: email Ian Campbell too
Ian Jackson [Fri, 13 Sep 2013 16:18:18 +0000 (17:18 +0100)]
make-flight et al: support linux-arm-xen
Ian Jackson [Fri, 13 Sep 2013 14:52:42 +0000 (15:52 +0100)]
make-flight: get tree location for tested/ right
Ian Jackson [Fri, 13 Sep 2013 14:25:04 +0000 (15:25 +0100)]
make-flight: in 4.2 and later, use xl for pair tests
Ian Jackson [Fri, 13 Sep 2013 14:13:24 +0000 (15:13 +0100)]
cr-publish-flight-logs: do not push harness by default, only when invoked by cr* scripts
Ian Campbell [Thu, 12 Sep 2013 15:18:20 +0000 (16:18 +0100)]
Debian: correct ARM u-boot boot runes
We currently need a comptible node of "xen,multiboot-module" as well as the
specific type. Also make sure the /chosen node specifies the number of address
and size-cells we will be using in the modules, otherwise Xen cannot parse
them.
Load Xen a bit higher up and use a variable so we don't need to update two
places.
Log some stuff as we go as well, so we can tell what was going on more easily.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Ian Jackson [Thu, 12 Sep 2013 14:37:19 +0000 (15:37 +0100)]
Merge branch 'pretest' of /export/home/osstest/testing.git/ into wip
Ian Jackson [Thu, 12 Sep 2013 14:35:55 +0000 (15:35 +0100)]
mg-hosts: replace copy command with create-like
Ian Campbell [Thu, 12 Sep 2013 11:15:49 +0000 (12:15 +0100)]
ts-kernel-build: Honour the homedir property
Untested but following ts-xen-build.
Ian Campbell [Thu, 12 Sep 2013 14:05:36 +0000 (15:05 +0100)]
ts-xen-build: enable xend at configure time if necessary
Ian Jackson [Wed, 11 Sep 2013 16:15:20 +0000 (17:15 +0100)]
Merge branch 'calxeda-midway-v4' of git://xenbits.xen.org/people/ianc/osstest into wip
Ian Campbell [Wed, 11 Sep 2013 09:22:46 +0000 (10:22 +0100)]
PDU: Refactor magic IPMI commands from xenuse module
These are now in a separate ipmiextra module. The correct PowerMethod config
for a marilith machine is:
ipmiextra on admin admin chassis bootdev pxe;xenuse
Ian Campbell [Wed, 11 Sep 2013 08:32:13 +0000 (09:32 +0100)]
make-flight: Be more explicit about xen/dom0 combinations to test
In particular avoid amd64/armhf combo.
Ian Jackson [Tue, 10 Sep 2013 17:34:20 +0000 (18:34 +0100)]
mg-execute-flight: need cri-getconfig
Ian Jackson [Tue, 10 Sep 2013 17:22:09 +0000 (18:22 +0100)]
ap-common, make-flight: use linux base branch by default
In ap-common, when defaulting TREE_LINUX, set DEFAULT_REVISION_LINUX
to the default base branch. In make-flight, use this to default
REVISION_LINUX if nothing has set it yet.
Ian Jackson [Tue, 10 Sep 2013 16:06:39 +0000 (17:06 +0100)]
sg-report-flight: provide --html-dir arg to sg-report-flight
Ian Campbell [Mon, 9 Sep 2013 10:18:46 +0000 (11:18 +0100)]
Debian.pm: Fix thinko
Ian Campbell [Mon, 9 Sep 2013 09:55:49 +0000 (10:55 +0100)]
ts-xen-build: Warn strongly against using early printk
Ian Campbell [Mon, 9 Sep 2013 09:29:19 +0000 (10:29 +0100)]
ts-xen-install: fix installation of libyajl[12]
qw doesn't interpolate so it was trying to install $yajl, which was eaten by
the shell on the target.
Also flip the condition round and install yajl1 on squeeze and yajl2
otherwise, which is a little more future proof.
Ian Campbell [Mon, 9 Sep 2013 09:16:18 +0000 (10:16 +0100)]
PDU::xenuse: Make use of ipmpi 'chassis bootdev pxe' conditional on a flag
Ian Campbell [Mon, 9 Sep 2013 09:11:18 +0000 (10:11 +0100)]
README: Document Build_Make_Flags
Ian Campbell [Mon, 9 Sep 2013 09:09:41 +0000 (10:09 +0100)]
Massage spaces in host proprties into underscores.
'-' is intended to bind more tightly than ' '.
Ian Campbell [Mon, 9 Sep 2013 08:57:32 +0000 (09:57 +0100)]
Debian.pm: Restrict installation on u-boot-tools
Squeeze doesn't have this package, so only install it on platforms which need
a u-boot boot.scr, which necessarily must be using Wheezy.
Ian Campbell [Mon, 9 Sep 2013 08:52:27 +0000 (09:52 +0100)]
Debian.pm: Unconfuse emacs perl-mode
Ian Campbell [Fri, 6 Sep 2013 14:22:32 +0000 (15:22 +0100)]
ts-xen-install: setup xen on arm platforms
Support for generating a u-boot boot.scr which loads Xen
Support per-host xen console settings.
Ian Campbell [Fri, 6 Sep 2013 13:51:08 +0000 (14:51 +0100)]
TestSupport: Do not clobber existing symlinks when unttarring
Otherwise Wheezy's /var/run -> /run symlink gets nuked, breaking sshd:
fatal: Missing privilege separation directory: /var/run/sshd
because the directory is actually in /run/sshd
Ian Campbell [Fri, 6 Sep 2013 13:15:28 +0000 (14:15 +0100)]
Rename SerialConsole property to LinuxSerialConsole
The naming is OS specific.
Ian Campbell [Fri, 6 Sep 2013 13:05:42 +0000 (14:05 +0100)]
ts-xen-build: allow per-host CONFIG_EARLY_PRINTK
This relies on the build and install machines being the same so in practice is
only likely to be useful for standalone use of osstest.
Ian Campbell [Fri, 6 Sep 2013 13:05:13 +0000 (14:05 +0100)]
ts-xen-install: correctly determine want_kernver and actually pass it
Ian Campbell [Fri, 6 Sep 2013 13:04:41 +0000 (14:04 +0100)]
ts-kernel-build: Ensure CONFIG_SYSVIPC and CONFIG_BLK_DEV_LOOP are enabled
Ian Campbell [Fri, 6 Sep 2013 11:28:07 +0000 (12:28 +0100)]
osstest-confirm-booted: Fix for Wheezy
Under Wheezy /dev/sym is a symlink to /run/shm which is where the tmpfs is
mounted.
Ian Jackson [Fri, 6 Sep 2013 11:05:39 +0000 (12:05 +0100)]
ts-logs-capture: retry log capture after doing power cycle
Ian Campbell [Fri, 6 Sep 2013 10:51:58 +0000 (11:51 +0100)]
Do not require /sbin/bootlogd to be installed.
Ian Jackson [Fri, 6 Sep 2013 10:51:18 +0000 (11:51 +0100)]
ap-*: linux linux 3.4.y stable branch by default
Ian Campbell [Fri, 6 Sep 2013 09:43:43 +0000 (10:43 +0100)]
ts-kernel-build: Ensure that LVM is enabled
LVM is not in the ARM defconfig.
Ian Campbell [Fri, 6 Sep 2013 09:05:52 +0000 (10:05 +0100)]
Merge branch 'wip.for-ijc' of xenbits.xen.org:/home/iwj/ext/osstest
Adds kernel_ver runvar from build jobs.
Ian Campbell [Fri, 6 Sep 2013 09:03:04 +0000 (10:03 +0100)]
Debian: Remove ARM naming quirk.
The machines had DNS entries for each network port as FOO-p0 and -p1, with FOO
being an alias. This meant Debian installer picked up the -p0 name for the
volume group. DNS has been fixed so that the primary host name omits the -p0
suffix and therefore matches e.g. the xenuse and osstest naming.
Ian Campbell [Thu, 5 Sep 2013 15:22:52 +0000 (16:22 +0100)]
ts-xen-build: Installed binary is /boot/xen on ARM
Ian Campbell [Thu, 5 Sep 2013 15:10:48 +0000 (16:10 +0100)]
Debian: Abstract away bootloader configuration refresh (update-grub)
Ian Jackson [Thu, 5 Sep 2013 18:36:53 +0000 (19:36 +0100)]
cs-adjust-flight: fix bug with copying individual jobs
Ian Jackson [Thu, 5 Sep 2013 18:29:30 +0000 (19:29 +0100)]
Debian: fix typo in setupboot_grub2
Ian Jackson [Thu, 5 Sep 2013 18:26:04 +0000 (19:26 +0100)]
Debian: provide kernel version check for grub2, die for grub1
Ian Jackson [Thu, 5 Sep 2013 18:25:39 +0000 (19:25 +0100)]
Debian: plumb $want_kernver through in debian_boot_setup
Ian Jackson [Thu, 5 Sep 2013 18:26:15 +0000 (19:26 +0100)]
ts-kernel-build: store kernel_ver runvar
Ian Jackson [Thu, 5 Sep 2013 16:27:42 +0000 (17:27 +0100)]
ts-kernel-build: workaround for perl-mode quirk
Ian Campbell [Thu, 5 Sep 2013 15:06:39 +0000 (16:06 +0100)]
ts-xen-install: wheezy has libyajl2 not 1
Ian Campbell [Thu, 5 Sep 2013 13:56:53 +0000 (14:56 +0100)]
ts-kernel-build: adjust for armhf
Requires per-arch defconfig and kernel image settings.
Add a kernel build phase to make-flight.
Ian Campbell [Thu, 5 Sep 2013 12:56:58 +0000 (13:56 +0100)]
standalone-reset: Read standalone.config on start
So it can contains e.g.:
export TREE_XEN=/root/git/xen.git
export TREE_LINUX=/root/git/linux-stable.git
export REVISION_LINUX=
6e4664525b1db28f8c4e1130957f70a94c19213e # v3.11
export TREE_LINUXFIRMWARE=/root/git/linux-firmware.git
Ian Campbell [Thu, 5 Sep 2013 12:56:01 +0000 (13:56 +0100)]
TestSupport: Massage host props with space in them
So that e.g. "build make flags" can be written in .xen-osstest/config as
HostProp_<HOST>_BuildMakeFlags.
Ian Campbell [Thu, 5 Sep 2013 12:04:43 +0000 (13:04 +0100)]
Debian: install ntp and ntpdate
The Calxeda boxes don't have an RTC so they boot up at the epoch, which can
lead to clock skew warnings etc.
Ian Campbell [Thu, 5 Sep 2013 11:24:30 +0000 (12:24 +0100)]
PDU: support for xenuse controlled machines
xenuse is a Citrix internal utility for rebooting machines and accessing their
consoles etc. So this is more of a proof of concept for folks outside our
infrastructure.
Ian Campbell [Wed, 4 Sep 2013 16:39:40 +0000 (17:39 +0100)]
make-flight: make an armhf flight
Ian Campbell [Wed, 4 Sep 2013 16:36:29 +0000 (17:36 +0100)]
Debian: New host flag "no-di-kernel"
This squashes the installers messages about not being able to find kernel
module udebs in the archive for the kernel running the installer. This will
likely be the case if the need-kernel-deb-foo flag is used (perhaps this
functionality could be keyed off this instead?)
Ian Campbell [Wed, 4 Sep 2013 16:34:00 +0000 (17:34 +0100)]
Debian: New host flag need-uboot-bootstr
At the moment this only generates the necessary script for a Calxeda Midway
system. It will no doubt need to be made cleverer in the future...
u-boot-tools are installed unconditionally, they are harmless unless you
explicitly invoke one of them
Ian Campbell [Wed, 4 Sep 2013 16:29:56 +0000 (17:29 +0100)]
Debian: Honour need-kernel-deb- flag in the installed system too
Ian Campbell [Wed, 4 Sep 2013 16:11:06 +0000 (17:11 +0100)]
ts-host-install: Add need-kernel-deb host flag
This can be used to request a specific kernel binary and initrd overlay (for
modules). These are already collected and created by
mg-debian-installer-update for the armhf "armmp" flavour.
Ian Campbell [Wed, 4 Sep 2013 16:08:33 +0000 (17:08 +0100)]
ts-host-install: Support for different console devices
Subsumes NoSerial host property as well.