Browse code

Switch devstack jobs to run on Bionic

Switch the nodesets that devstack job run on from Xenial to Bionic,
i.e. the latest Ubuntu LTS release. Keep variants running on Xenial
in order to make sure that we stay backwards compatible while we keep
running Xenial jobs on the older stable branches.

Change-Id: I8749ed24d5f451d29f767ebb2761abd743b7d306

Jens Harbott authored on 2018/10/16 22:57:23
Showing 1 changed files
... ...
@@ -88,6 +88,66 @@
88 88
         nodes:
89 89
           - compute1
90 90
 
91
+- nodeset:
92
+    name: openstack-two-node-bionic
93
+    nodes:
94
+      - name: controller
95
+        label: ubuntu-bionic
96
+      - name: compute1
97
+        label: ubuntu-bionic
98
+    groups:
99
+      # Node where tests are executed and test results collected
100
+      - name: tempest
101
+        nodes:
102
+          - controller
103
+      # Nodes running the compute service
104
+      - name: compute
105
+        nodes:
106
+          - controller
107
+          - compute1
108
+      # Nodes that are not the controller
109
+      - name: subnode
110
+        nodes:
111
+          - compute1
112
+      # Switch node for multinode networking setup
113
+      - name: switch
114
+        nodes:
115
+          - controller
116
+      # Peer nodes for multinode networking setup
117
+      - name: peers
118
+        nodes:
119
+          - compute1
120
+
121
+- nodeset:
122
+    name: openstack-two-node-xenial
123
+    nodes:
124
+      - name: controller
125
+        label: ubuntu-xenial
126
+      - name: compute1
127
+        label: ubuntu-xenial
128
+    groups:
129
+      # Node where tests are executed and test results collected
130
+      - name: tempest
131
+        nodes:
132
+          - controller
133
+      # Nodes running the compute service
134
+      - name: compute
135
+        nodes:
136
+          - controller
137
+          - compute1
138
+      # Nodes that are not the controller
139
+      - name: subnode
140
+        nodes:
141
+          - compute1
142
+      # Switch node for multinode networking setup
143
+      - name: switch
144
+        nodes:
145
+          - controller
146
+      # Peer nodes for multinode networking setup
147
+      - name: peers
148
+        nodes:
149
+          - compute1
150
+
91 151
 - job:
92 152
     name: devstack-base
93 153
     parent: multinode
... ...
@@ -209,7 +269,7 @@
209 209
     description: |
210 210
       Minimal devstack base job, intended for use by jobs that need
211 211
       less than the normal minimum set of required-projects.
212
-    nodeset: openstack-single-node
212
+    nodeset: openstack-single-node-bionic
213 213
     required-projects:
214 214
       - git.openstack.org/openstack/requirements
215 215
     vars:
... ...
@@ -268,7 +328,6 @@
268 268
 
269 269
       The run playbook consists of a single role, so it can be easily rewritten
270 270
       and extended.
271
-    nodeset: openstack-single-node
272 271
     required-projects:
273 272
       - git.openstack.org/openstack/cinder
274 273
       - git.openstack.org/openstack/glance
... ...
@@ -399,13 +458,30 @@
399 399
         USE_PYTHON3: true
400 400
 
401 401
 - job:
402
+    name: devstack-xenial
403
+    parent: devstack
404
+    nodeset: openstack-single-node-xenial
405
+    description: |
406
+      Simple singlenode test to verify functionality on devstack
407
+      side running on Xenial.
408
+
409
+- job:
402 410
     name: devstack-multinode
403 411
     parent: devstack
404
-    nodeset: openstack-two-node
412
+    nodeset: openstack-two-node-bionic
405 413
     description: |
406 414
       Simple multinode test to verify multinode functionality on devstack side.
407 415
       This is not meant to be used as a parent job.
408 416
 
417
+- job:
418
+    name: devstack-multinode-xenial
419
+    parent: devstack
420
+    nodeset: openstack-two-node-xenial
421
+    description: |
422
+      Simple multinode test to verify multinode functionality on devstack
423
+      side running on Xenial.
424
+      This is not meant to be used as a parent job.
425
+
409 426
 # NOTE(ianw) Platform tests have traditionally been non-voting because
410 427
 # we often have to rush things through devstack to stabilise the gate,
411 428
 # and these platforms don't have the round-the-clock support to avoid
... ...
@@ -432,6 +508,13 @@
432 432
     voting: false
433 433
 
434 434
 - job:
435
+    name: devstack-platform-xenial
436
+    parent: tempest-full
437
+    description: Ubuntu Xenial platform test
438
+    nodeset: openstack-single-node-xenial
439
+    voting: false
440
+
441
+- job:
435 442
     name: devstack-tox-base
436 443
     parent: devstack
437 444
     description: |
... ...
@@ -502,12 +585,15 @@
502 502
     check:
503 503
       jobs:
504 504
         - devstack
505
+        - devstack-xenial
505 506
         - devstack-ipv6:
506 507
             voting: false
507 508
         - devstack-platform-centos-7
508 509
         - devstack-platform-opensuse-150
509 510
         - devstack-platform-fedora-latest
511
+        - devstack-platform-xenial
510 512
         - devstack-multinode
513
+        - devstack-multinode-xenial
511 514
         - devstack-unit-tests
512 515
         - openstack-tox-bashate
513 516
         - ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
... ...
@@ -537,6 +623,9 @@
537 537
     gate:
538 538
       jobs:
539 539
         - devstack
540
+        - devstack-xenial
541
+        - devstack-multinode
542
+        - devstack-multinode-xenial
540 543
         - devstack-unit-tests
541 544
         - openstack-tox-bashate
542 545
         - neutron-grenade-multinode: