Merge ~juliank/autopkgtest-cloud:bos01-bringup into autopkgtest-cloud:master

Proposed by Julian Andres Klode
Status: Merged
Merged at revision: de4be43c8056a17a5dd81d5702038d9af40f5b64
Proposed branch: ~juliank/autopkgtest-cloud:bos01-bringup
Merge into: autopkgtest-cloud:master
Diff against target: 136 lines (+89/-7)
5 files modified
deployment/charms/xenial/autopkgtest-cloud-worker/hooks/config-changed (+6/-2)
tools/build-adt-image-all-clouds (+0/-5)
worker-config-production/worker-bos01-arm64.conf (+28/-0)
worker-config-production/worker-bos01-ppc64el.conf (+27/-0)
worker-config-production/worker-bos01-s390x.conf (+28/-0)
Reviewer Review Type Date Requested Status
Iain Lane Approve
Review via email: mp+345219@code.launchpad.net

Commit message

Bringup of bos01

Description of the change

Bring up bos01, might be incomplete.

To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

thanks

we really should do something about all this duplication in the conf files...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/deployment/charms/xenial/autopkgtest-cloud-worker/hooks/config-changed b/deployment/charms/xenial/autopkgtest-cloud-worker/hooks/config-changed
2index 51e0529..dbf2cd3 100755
3--- a/deployment/charms/xenial/autopkgtest-cloud-worker/hooks/config-changed
4+++ b/deployment/charms/xenial/autopkgtest-cloud-worker/hooks/config-changed
5@@ -51,8 +51,12 @@ systemctl disable autopkgtest@.service
6 for rcfile in ~ubuntu/*.rc; do
7 [ -r $rcfile ] || continue
8 region=$(basename $rcfile .rc)
9- if [ "${region#bos01}" != "$region" ]; then
10- num_workers=0
11+ if [ "${region#bos01-arm64}" != "$region" ]; then
12+ num_workers=3
13+ elif [ "${region#bos01-s390x}" != "$region" ]; then
14+ num_workers=16
15+ elif [ "${region#bos01-ppc64el}" != "$region" ]; then
16+ num_workers=5
17 elif [ "${region#bos02-arm64}" != "$region" ]; then
18 num_workers=30
19 elif [ "${region#bos02-s390x}" != "$region" ]; then
20diff --git a/tools/build-adt-image-all-clouds b/tools/build-adt-image-all-clouds
21index 8beeae8..5aace7b 100755
22--- a/tools/build-adt-image-all-clouds
23+++ b/tools/build-adt-image-all-clouds
24@@ -22,11 +22,6 @@ do_one_cloud() {
25 ARCHES="${CLOUD#*-}"
26 fi
27 for arch in $ARCHES; do
28- case $CLOUD:$arch in
29- bos0*:i386|bos0*:amd64|bos01:arm64)
30- continue
31- ;;
32- esac
33 IMG=$(echo "$IMGS" | grep "${RELEASE}-daily-${arch}" | tail -n1 | awk '{print $2}')
34 if [ -n "$IMG" ]; then
35 # We have a daily: check if we need to rebuild the image (i.e. if the daily is newer than our adt-generated one)
36diff --git a/worker-config-production/worker-bos01-arm64.conf b/worker-config-production/worker-bos01-arm64.conf
37new file mode 100644
38index 0000000..effc58f
39--- /dev/null
40+++ b/worker-config-production/worker-bos01-arm64.conf
41@@ -0,0 +1,28 @@
42+[amqp]
43+host = #RABBITHOST#
44+user = #RABBITUSER#
45+password = #RABBITPASSWORD#
46+
47+[swift]
48+region_name = bootstack-ps45
49+auth_url = http://10.24.0.132:5000/v2.0/
50+username = prod-ues-proposed-migration
51+tenant = prod-ues-proposed-migration_project
52+password = #SWIFTPASSWORD#
53+
54+[autopkgtest]
55+checkout_dir = /home/ubuntu/autopkgtest
56+releases = trusty xenial artful bionic cosmic
57+architectures = arm64
58+setup_command = $AUTOPKGTEST_CLOUD_DIR/worker-config-production/setup-canonical.sh
59+setup_command2 = $CHECKOUTDIR/setup-commands/setup-testbed
60+big_packages = binutils chromium-browser glibc libreoffice linux tdb firefox akonadi julia python-cryptography libtext-bidi-perl python-hypothesis nova rocs camitk kineticstools r-cran-igraph botch mathicgb ganeti lttng-modules
61+long_tests = gutenprint gmp-ecm open-iscsi diffoscope snapcraft snapd
62+blacklist = artful/arm64/stress-ng artful/arm64/upstart artful/arm64/libnih bionic/arm64/stress-ng bionic/arm64/upstart bionic/arm64/libnih bionic/arm64/r-cran-vioplot cosmic/arm64/stress-ng cosmic/arm64/upstart cosmic/arm64/libnih cosmic/arm64/r-cran-vioplot
63+
64+
65+[virt]
66+# flavors
67+package_size_default = autopkgtest
68+package_size_big = m1.large
69+args = ssh -s $CHECKOUTDIR/ssh-setup/nova -- --nova-reboot --flavor $PACKAGESIZE --security-groups $SECGROUP --name adt-$RELEASE-$ARCHITECTURE-$PACKAGENAME-$TIMESTAMP --image adt/ubuntu-$RELEASE-$ARCHITECTURE-server-.* --keyname #KEYNAME# --net-id=net_ues_proposed_migration -e 'http_proxy=http://squid.internal:3128' -e 'https_proxy=http://squid.internal:3128' -e 'no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,novalocal,internal,archive.ubuntu.com,security.ubuntu.com,changelogs.ubuntu.com,ddebs.ubuntu.com,ppa.launchpad.net' --mirror=http://ftpmaster.internal/ubuntu
70diff --git a/worker-config-production/worker-bos01-ppc64el.conf b/worker-config-production/worker-bos01-ppc64el.conf
71new file mode 100644
72index 0000000..241a65e
73--- /dev/null
74+++ b/worker-config-production/worker-bos01-ppc64el.conf
75@@ -0,0 +1,27 @@
76+[amqp]
77+host = #RABBITHOST#
78+user = #RABBITUSER#
79+password = #RABBITPASSWORD#
80+
81+[swift]
82+region_name = bootstack-ps45
83+auth_url = http://10.24.0.132:5000/v2.0/
84+username = prod-ues-proposed-migration
85+tenant = prod-ues-proposed-migration_project
86+password = #SWIFTPASSWORD#
87+
88+[autopkgtest]
89+checkout_dir = /home/ubuntu/autopkgtest
90+releases = trusty xenial artful bionic cosmic
91+architectures = ppc64el
92+setup_command = $AUTOPKGTEST_CLOUD_DIR/worker-config-production/setup-canonical.sh
93+setup_command2 = $CHECKOUTDIR/setup-commands/setup-testbed
94+big_packages = binutils chromium-browser glibc libreoffice linux tdb firefox akonadi julia python-cryptography libtext-bidi-perl python-hypothesis nova rocs camitk kineticstools r-cran-igraph botch mathicgb ganeti lttng-modules
95+long_tests = gutenprint gmp-ecm open-iscsi diffoscope
96+blacklist = artful/ppc64el/stress-ng artful/ppc64el/upstart artful/ppc64el/libnih bionic/ppc64el/stress-ng bionic/ppc64el/upstart bionic/ppc64el/libnih bionic/ppc64el/r-cran-vioplot cosmic/ppc64el/stress-ng cosmic/ppc64el/upstart cosmic/ppc64el/libnih cosmic/ppc64el/r-cran-vioplot
97+
98+[virt]
99+# flavors
100+package_size_default = autopkgtest
101+package_size_big = m1.large
102+args = ssh -s $CHECKOUTDIR/ssh-setup/nova -- --nova-reboot --flavor $PACKAGESIZE --security-groups $SECGROUP --name adt-$RELEASE-$ARCHITECTURE-$PACKAGENAME-$TIMESTAMP --image adt/ubuntu-$RELEASE-$ARCHITECTURE-server --keyname #KEYNAME# --net-id=net_ues_proposed_migration -e 'http_proxy=http://squid.internal:3128' -e 'https_proxy=http://squid.internal:3128' -e 'no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,novalocal,internal,archive.ubuntu.com,security.ubuntu.com,changelogs.ubuntu.com,ddebs.ubuntu.com,ppa.launchpad.net' --mirror=http://ftpmaster.internal/ubuntu
103diff --git a/worker-config-production/worker-bos01-s390x.conf b/worker-config-production/worker-bos01-s390x.conf
104new file mode 100644
105index 0000000..603e296
106--- /dev/null
107+++ b/worker-config-production/worker-bos01-s390x.conf
108@@ -0,0 +1,28 @@
109+[amqp]
110+host = #RABBITHOST#
111+user = #RABBITUSER#
112+password = #RABBITPASSWORD#
113+
114+[swift]
115+region_name = bootstack-ps45
116+auth_url = http://10.24.0.132:5000/v2.0/
117+username = prod-ues-proposed-migration
118+tenant = prod-ues-proposed-migration_project
119+password = #SWIFTPASSWORD#
120+
121+[autopkgtest]
122+checkout_dir = /home/ubuntu/autopkgtest
123+releases = xenial artful bionic cosmic
124+architectures = s390x
125+setup_command = $AUTOPKGTEST_CLOUD_DIR/worker-config-production/setup-canonical.sh
126+setup_command2 = $CHECKOUTDIR/setup-commands/setup-testbed
127+big_packages = binutils chromium-browser glibc libreoffice linux tdb firefox akonadi julia python-cryptography libtext-bidi-perl python-hypothesis nova rocs camitk kineticstools r-cran-igraph botch mathicgb ganeti lttng-modules
128+long_tests = gutenprint gmp-ecm open-iscsi diffoscope
129+blacklist = artful/s390x/stress-ng artful/s390x/upstart artful/s390x/libnih bionic/s390x/stress-ng bionic/s390x/upstart bionic/s390x/libnih bionic/s390x/r-cran-vioplot cosmic/s390x/stress-ng cosmic/s390x/upstart cosmic/s390x/libnih cosmic/s390x/r-cran-vioplot
130+
131+
132+[virt]
133+# flavors
134+package_size_default = autopkgtest
135+package_size_big = m1.large
136+args = ssh -s $CHECKOUTDIR/ssh-setup/nova -- --nova-reboot --flavor $PACKAGESIZE --security-groups $SECGROUP --name adt-$RELEASE-$ARCHITECTURE-$PACKAGENAME-$TIMESTAMP --image adt/ubuntu-$RELEASE-$ARCHITECTURE-server-.* --keyname #KEYNAME# --net-id=net_ues_proposed_migration -e 'http_proxy=http://squid.internal:3128' -e 'https_proxy=http://squid.internal:3128' -e 'no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,novalocal,internal,archive.ubuntu.com,security.ubuntu.com,changelogs.ubuntu.com,ddebs.ubuntu.com,ppa.launchpad.net' --mirror=http://ftpmaster.internal/ubuntu

Subscribers

People subscribed via source and target branches