]> xenbits.xensource.com Git - osstest.git/log
osstest.git
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.

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

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

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

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

11 years agots-xen-build-prep: install bc flight-19709 flight-19711 flight-19715 flight-19716 flight-19717 flight-19720 flight-19721 flight-19722 flight-19723 flight-19724 flight-19725 flight-19726 flight-19727 flight-19728 flight-19729 flight-19730 flight-19731 flight-19732 flight-19733 flight-19734 flight-19736 flight-19737 flight-19738 flight-19739 flight-19740 flight-19741 flight-19742 flight-19743 flight-19745 flight-19746 flight-19747 flight-19748 flight-19749 flight-19750 flight-19751 flight-19752 flight-19753 flight-19755 flight-19756 flight-19757 flight-19758 flight-19760 flight-19761 flight-19762 flight-19764 flight-19765 flight-19769
Ian Jackson [Tue, 17 Sep 2013 14:41:05 +0000 (15:41 +0100)]
ts-xen-build-prep: install bc

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

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

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

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

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

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

11 years agocr-daily-branch: use "linux-arm-xen" for arm tests unless this is a linux branch flight-19690 flight-19696 flight-19697 flight-19698 flight-19699 flight-19700 flight-19701 flight-19702 flight-19703 flight-19704 flight-19705 flight-19706
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

11 years agocrontab etc.: fix Ian Campbell's email address
Ian Jackson [Mon, 16 Sep 2013 13:53:25 +0000 (14:53 +0100)]
crontab etc.: fix Ian Campbell's email address

11 years agocrontab etc.: email Ian Campbell too
Ian Jackson [Fri, 13 Sep 2013 16:46:56 +0000 (17:46 +0100)]
crontab etc.: email Ian Campbell too

11 years agomake-flight et al: support linux-arm-xen flight-19267 flight-19282 flight-19283 flight-19284 flight-19285 flight-19286 flight-19287 flight-19288 flight-19289 flight-19290 flight-19291 flight-19292 flight-19293 flight-19294 flight-19295 flight-19296 flight-19297 flight-19298 flight-19299 flight-19300 flight-19301 flight-19302 flight-19303 flight-19304 flight-19305 flight-19306 flight-19307 flight-19308 flight-19492 flight-19493 flight-19494 flight-19495 flight-19496 flight-19497 flight-19498 flight-19499 flight-19500 flight-19501 flight-19522 flight-19553 flight-19554 flight-19555 flight-19556 flight-19557 flight-19558 flight-19559 flight-19560 flight-19561 flight-19562 flight-19563 flight-19564 flight-19565 flight-19566 flight-19567 flight-19568 flight-19569 flight-19570 flight-19571 flight-19572 flight-19573 flight-19574 flight-19575 flight-19576 flight-19577 flight-19578 flight-19579 flight-19580 flight-19581 flight-19676 flight-19677 flight-19678 flight-19679 flight-19680 flight-19681 flight-19682 flight-19683 flight-19684 flight-19685 flight-19686 flight-19687 flight-19688 flight-19689 flight-19691 flight-19692 flight-19693 flight-19694 flight-19695
Ian Jackson [Fri, 13 Sep 2013 16:18:18 +0000 (17:18 +0100)]
make-flight et al: support linux-arm-xen

11 years agomake-flight: get tree location for tested/ right
Ian Jackson [Fri, 13 Sep 2013 14:52:42 +0000 (15:52 +0100)]
make-flight: get tree location for tested/ right

11 years agomake-flight: in 4.2 and later, use xl for pair tests
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

11 years agocr-publish-flight-logs: do not push harness by default, only when invoked by cr*...
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

11 years agoDebian: correct ARM u-boot boot runes flight-19206 flight-19210 flight-19211 flight-19212 flight-19213 flight-19214 flight-19215 flight-19216 flight-19217 flight-19218 flight-19225 flight-19226 flight-19228 flight-19229 flight-19230 flight-19231 flight-19232 flight-19266 flight-19268 flight-19269 flight-19270 flight-19271 flight-19272 flight-19273 flight-19274 flight-19275 flight-19276 flight-19277 flight-19278 flight-19279 flight-19280 flight-19281
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>
11 years agoMerge branch 'pretest' of /export/home/osstest/testing.git/ into wip flight-19205
Ian Jackson [Thu, 12 Sep 2013 14:37:19 +0000 (15:37 +0100)]
Merge branch 'pretest' of /export/home/osstest/testing.git/ into wip

11 years agomg-hosts: replace copy command with create-like
Ian Jackson [Thu, 12 Sep 2013 14:35:55 +0000 (15:35 +0100)]
mg-hosts: replace copy command with create-like

11 years agots-kernel-build: Honour the homedir property
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.

11 years agots-xen-build: enable xend at configure time if necessary
Ian Campbell [Thu, 12 Sep 2013 14:05:36 +0000 (15:05 +0100)]
ts-xen-build: enable xend at configure time if necessary

11 years agoMerge branch 'calxeda-midway-v4' of git://xenbits.xen.org/people/ianc/osstest into wip flight-19199 flight-19200 flight-19201 flight-19202 flight-19203 flight-19204 flight-19207 flight-19208 flight-19209
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

11 years agoPDU: Refactor magic IPMI commands from xenuse module
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

11 years agomake-flight: Be more explicit about xen/dom0 combinations to test
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.

11 years agomg-execute-flight: need cri-getconfig flight-19185 flight-19187 flight-19189 flight-19198
Ian Jackson [Tue, 10 Sep 2013 17:34:20 +0000 (18:34 +0100)]
mg-execute-flight: need cri-getconfig

11 years agoap-common, make-flight: use linux base branch by default
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.

11 years agosg-report-flight: provide --html-dir arg to sg-report-flight
Ian Jackson [Tue, 10 Sep 2013 16:06:39 +0000 (17:06 +0100)]
sg-report-flight: provide --html-dir arg to sg-report-flight

11 years agoDebian.pm: Fix thinko
Ian Campbell [Mon, 9 Sep 2013 10:18:46 +0000 (11:18 +0100)]
Debian.pm: Fix thinko

11 years agots-xen-build: Warn strongly against using early printk
Ian Campbell [Mon, 9 Sep 2013 09:55:49 +0000 (10:55 +0100)]
ts-xen-build: Warn strongly against using early printk

11 years agots-xen-install: fix installation of libyajl[12]
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.

11 years agoPDU::xenuse: Make use of ipmpi 'chassis bootdev pxe' conditional on a flag
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

11 years agoREADME: Document Build_Make_Flags
Ian Campbell [Mon, 9 Sep 2013 09:11:18 +0000 (10:11 +0100)]
README: Document Build_Make_Flags

11 years agoMassage spaces in host proprties into underscores.
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 ' '.

11 years agoDebian.pm: Restrict installation on u-boot-tools
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.

11 years agoDebian.pm: Unconfuse emacs perl-mode
Ian Campbell [Mon, 9 Sep 2013 08:52:27 +0000 (09:52 +0100)]
Debian.pm: Unconfuse emacs perl-mode

11 years agots-xen-install: setup xen on arm platforms
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.

11 years agoTestSupport: Do not clobber existing symlinks when unttarring
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

11 years agoRename SerialConsole property to LinuxSerialConsole
Ian Campbell [Fri, 6 Sep 2013 13:15:28 +0000 (14:15 +0100)]
Rename SerialConsole property to LinuxSerialConsole

The naming is OS specific.

11 years agots-xen-build: allow per-host CONFIG_EARLY_PRINTK
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.

11 years agots-xen-install: correctly determine want_kernver and actually pass it
Ian Campbell [Fri, 6 Sep 2013 13:05:13 +0000 (14:05 +0100)]
ts-xen-install: correctly determine want_kernver and actually pass it

11 years agots-kernel-build: Ensure CONFIG_SYSVIPC and CONFIG_BLK_DEV_LOOP are enabled
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

11 years agoosstest-confirm-booted: Fix for Wheezy
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.

11 years agots-logs-capture: retry log capture after doing power cycle flight-19081 flight-19082 flight-19085 flight-19091 flight-19098 flight-19110 flight-19118 flight-19135 flight-19140 flight-19141 flight-19142 flight-19143 flight-19144 flight-19145 flight-19146 flight-19147 flight-19148 flight-19149 flight-19150 flight-19151 flight-19152 flight-19153 flight-19154 flight-19155 flight-19156 flight-19157 flight-19158 flight-19159 flight-19160 flight-19161 flight-19162 flight-19163 flight-19164 flight-19165 flight-19166 flight-19167 flight-19169 flight-19170 flight-19171 flight-19172 flight-19173 flight-19174 flight-19175 flight-19176 flight-19177 flight-19186 flight-19188
Ian Jackson [Fri, 6 Sep 2013 11:05:39 +0000 (12:05 +0100)]
ts-logs-capture: retry log capture after doing power cycle

11 years agoDo not require /sbin/bootlogd to be installed.
Ian Campbell [Fri, 6 Sep 2013 10:51:58 +0000 (11:51 +0100)]
Do not require /sbin/bootlogd to be installed.

11 years agoap-*: linux linux 3.4.y stable branch by default
Ian Jackson [Fri, 6 Sep 2013 10:51:18 +0000 (11:51 +0100)]
ap-*: linux linux 3.4.y stable branch by default

11 years agots-kernel-build: Ensure that LVM is enabled
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.

11 years agoMerge branch 'wip.for-ijc' of xenbits.xen.org:/home/iwj/ext/osstest
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.

11 years agoDebian: Remove ARM naming quirk.
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.

11 years agots-xen-build: Installed binary is /boot/xen on ARM
Ian Campbell [Thu, 5 Sep 2013 15:22:52 +0000 (16:22 +0100)]
ts-xen-build: Installed binary is /boot/xen on ARM

11 years agoDebian: Abstract away bootloader configuration refresh (update-grub)
Ian Campbell [Thu, 5 Sep 2013 15:10:48 +0000 (16:10 +0100)]
Debian: Abstract away bootloader configuration refresh (update-grub)

11 years agocs-adjust-flight: fix bug with copying individual jobs
Ian Jackson [Thu, 5 Sep 2013 18:36:53 +0000 (19:36 +0100)]
cs-adjust-flight: fix bug with copying individual jobs

11 years agoDebian: fix typo in setupboot_grub2
Ian Jackson [Thu, 5 Sep 2013 18:29:30 +0000 (19:29 +0100)]
Debian: fix typo in setupboot_grub2

11 years agoDebian: provide kernel version check for grub2, die for grub1
Ian Jackson [Thu, 5 Sep 2013 18:26:04 +0000 (19:26 +0100)]
Debian: provide kernel version check for grub2, die for grub1

11 years agoDebian: plumb $want_kernver through in debian_boot_setup
Ian Jackson [Thu, 5 Sep 2013 18:25:39 +0000 (19:25 +0100)]
Debian: plumb $want_kernver through in debian_boot_setup

11 years agots-kernel-build: store kernel_ver runvar
Ian Jackson [Thu, 5 Sep 2013 18:26:15 +0000 (19:26 +0100)]
ts-kernel-build: store kernel_ver runvar

11 years agots-kernel-build: workaround for perl-mode quirk
Ian Jackson [Thu, 5 Sep 2013 16:27:42 +0000 (17:27 +0100)]
ts-kernel-build: workaround for perl-mode quirk

11 years agots-xen-install: wheezy has libyajl2 not 1
Ian Campbell [Thu, 5 Sep 2013 15:06:39 +0000 (16:06 +0100)]
ts-xen-install: wheezy has libyajl2 not 1

11 years agots-kernel-build: adjust for armhf
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.

11 years agostandalone-reset: Read standalone.config on start
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

11 years agoTestSupport: Massage host props with space in them
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.

11 years agoDebian: install ntp and ntpdate
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.

11 years agoPDU: support for xenuse controlled machines
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.

11 years agomake-flight: make an armhf flight
Ian Campbell [Wed, 4 Sep 2013 16:39:40 +0000 (17:39 +0100)]
make-flight: make an armhf flight

11 years agoDebian: New host flag "no-di-kernel"
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?)

11 years agoDebian: New host flag need-uboot-bootstr
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

11 years agoDebian: Honour need-kernel-deb- flag in the installed system too
Ian Campbell [Wed, 4 Sep 2013 16:29:56 +0000 (17:29 +0100)]
Debian: Honour need-kernel-deb- flag in the installed system too

11 years agots-host-install: Add need-kernel-deb host flag
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.

11 years agots-host-install: Support for different console devices
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.

11 years agomg-debian-installer-update: support armhf
Ian Campbell [Wed, 4 Sep 2013 15:55:23 +0000 (16:55 +0100)]
mg-debian-installer-update: support armhf

The path to the installer differs on armhf vs amd64/i386.

Debian Wheezy does not contain kernels for the devices we want to support.
Therefore we download a kernel and modules from wheezy-backports which is new
enough.