blob: 89eec6de39a7c36313a0f215a246de5aae2a250d [file] [log] [blame]
Ghanshyama0b8ca42019-07-17 09:46:41 +00001# Changes that run through devstack-tempest-ipv6 are likely to have an impact on
2# the devstack part of the job, so we keep devstack in the main play to
3# avoid zuul retrying on legitimate failures.
4- hosts: all
5 roles:
6 - orchestrate-devstack
7
8# We run tests only on one node, regardless how many nodes are in the system
9- hosts: tempest
Ghanshyama0b8ca42019-07-17 09:46:41 +000010 roles:
11 - setup-tempest-run-dir
12 - setup-tempest-data-dir
13 - acl-devstack-files
14 # Verify the IPv6-only deployments. This role will perform check for
15 # IPv6 only env for example Devstack IPv6 settings and services listen
16 # address is IPv6 etc. This is invoked before tests are run so that we can
17 # fail early if anything missing the IPv6 settings or deployments.
Radosław Piliszek151cd7b2021-06-07 17:48:07 +000018 - devstack-ipv6-only-deployments-verification
Ghanshyam Mann1e4cb1d2021-04-21 18:25:18 -050019 tasks:
Luigi Dino Tamagnone9052dfc2023-04-09 15:24:45 +000020 - name: Run tempest cleanup init-saved-state
21 include_role:
22 name: tempest-cleanup
23 vars:
24 init_saved_state: true
25 when: (run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool) or
26 (run_tempest_cleanup is defined and run_tempest_cleanup | bool) or
27 (run_tempest_fail_if_leaked_resources is defined and run_tempest_fail_if_leaked_resources | bool) or
28 (run_tempest_cleanup_prefix is defined and run_tempest_cleanup_prefix | bool)
29
Ghanshyam Mann1e4cb1d2021-04-21 18:25:18 -050030 - name: Run Tempest version <= 26.0.0
31 include_role:
32 name: run-tempest-26
33 when:
34 - zuul.branch is defined
35 - zuul.branch in ["stable/ocata", "stable/pike", "stable/queens", "stable/rocky", "stable/stein"]
36
37 - name: Run Tempest
38 include_role:
39 name: run-tempest
40 when:
41 - zuul.branch is defined
42 - zuul.branch not in ["stable/ocata", "stable/pike", "stable/queens", "stable/rocky", "stable/stein"]
Luigi Dino Tamagnone9052dfc2023-04-09 15:24:45 +000043
44 - name: Run tempest cleanup dry-run
45 include_role:
46 name: tempest-cleanup
47 vars:
48 dry_run: true
49 when: run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool
50
51 - name: Run tempest cleanup
52 include_role:
53 name: tempest-cleanup
54 when: run_tempest_cleanup is defined and run_tempest_cleanup | bool