X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fbuilds.sh;h=614649675b4385d12fba71f6dcf1989760475b15;hb=6af9ef33f34a05d4f48aed7aa7dafae6c424f185;hp=a611372d78c29c91a789821f551d1671b8e5251b;hpb=05fe3a30dd3353395b5a4e79cdb626c17ef82cd6;p=infrastructure.git diff --git a/scripts/builds.sh b/scripts/builds.sh index a611372..6146496 100755 --- a/scripts/builds.sh +++ b/scripts/builds.sh @@ -1,47 +1,80 @@ #!/bin/bash -# tentatively trash all qemu instances as the pool is broken with threesome tests -manage-infrastructure.py -qrs >& /dev/null - -# test the 32 builds with a single plc, tests tend to fail with a triangle setup -# probably due to 32bits qemu machines being much slower -# another approach would be to increase the ssh_slice timeout - -function liquid () { hostname | grep -q liquid ; } -function reed () { hostname | grep -q reed ; } -function velvet () { hostname | grep -q velvet ; } - # the tests flavours available # -B means no test -# default for the tests setup is one myplc +# -c default for the tests setup is one myplc # -c dual has two myplc's - pointing to each other AMs # -c triangle has three - ditto # -c sfamesh makes them point to SMs +# -c bignode is to allow one hour for the node to install + +function liquid () { hostname | grep -q liquid ; } +function reed () { hostname | grep -q reed ; } +function velvet () { hostname | grep -q velvet ; } +function gorillaz () { hostname | grep -q gorillaz ; } -# 2.6.27 kernel on f8 -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f8 -p linux64 -b @DATE@--f8-64-tri -c triangle -c sfamesh -liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f8 -p linux32 -b @DATE@--f8-32-sfa -# 2.6.32 kernel on f15 is broken -# liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f15 -p linux64 -b @DATE@--f15-64 -B +#################### lxc on f14 and f16 +# wextoolbox on f14 (gnuradio is in f14 only) +liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32 -e check_system_slice -c default -c bignode +#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64 +#################### +# wextoolbox on f16 - this one is broken - bbn won't build +# OTOH T. Turletti said bbn was not crucial.. +# see wexlxc.mk in wextoolbox (branch wexlxc) +liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wexlxc -p linux64 -f f16 -b @DATE@--wexlxc-f16-64 -X -c default -c bignode -# 2.6.27 kernel on f12 -#reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f12 -p linux64 -b @DATE@--f12-64 -c triangle -c sfamesh -reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f12 -p linux64 -b @DATE@--f12-64 -reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f12 -p linux32 -b @DATE@--f12-32-sfasl sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2 +liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16 -X +# lxc17 is< broken for now - f12 vs-capable build box like liquid can't seem to create the build VMs b/c of some rpm limitations +#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f17 -p linux64 -b @DATE@--lxc17 -X -# f14 - needs 2.6.32 -#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f14 -p linux64 -b @DATE@--f14-64 -c triangle -c sfamesh -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f14 -p linux64 -b @DATE@--f14-64 -velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k32-tags.mk -f f14 -p linux32 -b @DATE@--f14-32-thgen sfa-GITPATH=git://git.onelab.eu/sfa.git@thgeneric -# wextoolbox on f14 (gnuradio is in f14 only) -#reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux32 -f f14 -b @DATE@--wtx-f14-32 -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d wextoolbox -p linux64 -f f14 -b @DATE@--wtx-f14-64 +### build only 64bits for the main devel track as this has gone very slow +# f12 on reed - no SFA any more +reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux64 -b @DATE@--f12-64 +#reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux32 -b @DATE@--f12-32 +reed && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32-sfav2-dual -c dual -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 tests-GITPATH=git://git.onelab.eu/tests.git@master + + +# f14 +velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64 +#velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32 +velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux32 -b @DATE@--f14-32-sfav3 -c default -c sfadebug sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v3 tests-GITPATH=git://git.onelab.eu/tests.git@sfa-geni-v3 + -######################################## -########## f12 bootstrap : vserver-capa2.6.32, util-vserver and yum, for a plain fedora 12 build or test box -########## enable on a need-by-need basis -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B +# debians; we use gorillaz as a precaution because it runs f14 and has a more recent debootstrap module +# although the definitions of these distros for vserver essentially boiled down to adding symlinks +# in /usr/share/debootstrap/scripts +# should be http://build-debian.onelab.eu/ but I can't tweak the dns for now +gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://build-debian.pl.sophia.inria.fr/ -f squeeze -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfasqueeze ALL=sfa sfa-debian -B +gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://build-debian.pl.sophia.inria.fr/ -f wheezy -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfawheezy ALL=sfa sfa-debian -B +gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://build-debian.pl.sophia.inria.fr/ -f oneiric -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaoneiric ALL=sfa sfa-debian -B +gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://build-debian.pl.sophia.inria.fr/ -f precise -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaprecise ALL=sfa sfa-debian -B +gorillaz && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -P develsfa.pkgs -W http://build-debian.pl.sophia.inria.fr/ -f quantal -p linux64 sfa-GITPATH=git://git.onelab.eu/sfa.git@geni-v2 -b @DATE@-sfaquantal ALL=sfa sfa-debian -B + + +###### testing only the pg rspecs +# -y pg +###### triangular tests +# -c triangle -c sfamesh +###### sfa debug +# -c config -c sfadebug +###### senslab - not much to test +# sfa-GITPATH=git://git.f-lab.fr/sfa.git@senslab2 + +#################### newinterface +### newinterface on f16 +###liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f16 -p linux64 -b @DATE@--lxc16-nint -X -e check_initscripts -e check_tcp plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newinterface +### newinterface on f14 +###velvet && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f14 -p linux64 -b @DATE@--f14-64-nint plcapi-GITPATH=git://git.onelab.eu/plcapi.git@newinterface + +#################### +# build & test : f12 bootstrap : vserver-capable 2.6.32, util-vserver and yum, for a plain fedora 12 build or test box +#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32 -B ### same software release but built on f14 - kernel excluded as, # for some reason, we have to use the one built on f12 -#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B +#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f14 -f f14 -p linux64 -b @DATE@--f14-f14-64 -B + +#################### lxc with f14 - failed ssh_slice last time this was checked on april 23 2012 +# DONT test this with --lxc, this tends to create odd problems with gotan's date and network settings as well +# currently is known to fail creating slices due to cgroups mount points or something +#liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d lxc -f f14 -p linux64 -b @DATE@--lxc14 -e check_initscripts -e check_tcp