Browse Source

Merge "Add zuul job: freezer-tempest-agent"

tags/0.1.0
Zuul 7 months ago
parent
commit
12a289f118

+ 16
- 6
.zuul.yaml View File

@@ -7,6 +7,7 @@
7 7
         - freezer-tempest-basic
8 8
         - freezer-tempest-client
9 9
         - freezer-tempest-scheduler
10
+        - freezer-tempest-agent
10 11
 
11 12
     gate:
12 13
       queue: freezer
@@ -14,6 +15,8 @@
14 15
         - freezer-tempest-basic
15 16
         - freezer-tempest-client
16 17
         - freezer-tempest-scheduler
18
+        - freezer-tempest-agent
19
+
17 20
 
18 21
 - job:
19 22
     name: freezer-tempest-basic
@@ -22,6 +25,7 @@
22 25
     required-projects:
23 26
       - openstack-infra/devstack-gate
24 27
       - openstack/python-openstackclient
28
+      - openstack/swift
25 29
       - openstack/python-freezerclient
26 30
       - openstack/freezer
27 31
       - openstack/freezer-api
@@ -35,16 +39,16 @@
35 39
         tls-proxy: false
36 40
         freezer-api: true
37 41
         tempest: true
42
+        swift: true
38 43
         s-account: false
39 44
         s-container: false
40 45
         s-object: false
41 46
         s-proxy: false
42 47
       devstack_localrc:
43
-        TEMPEST_PLUGINS: /opt/stack/freezer-tempest-plugin
44
-      tempest_test_regex: freezer_tempest_plugin.tests.freezer_api
45
-      tox_envlist: all
48
+        TEMPEST_PLUGINS: '/opt/stack/freezer-tempest-plugin'
49
+      tempest_test_regex: '^(freezer_tempest_plugin.tests.freezer_api.)'
50
+      tox_envlist: 'all'
46 51
       tox_environment:
47
-        # Do we really need to set this? It's cargo culted
48 52
         PYTHONUNBUFFERED: 'true'
49 53
       zuul_copy_output:
50 54
         /etc/hosts: logs
@@ -54,12 +58,18 @@
54 58
     parent: freezer-tempest-basic
55 59
     voting: true
56 60
     vars:
57
-      tempest_test_regex: freezer_tempest_plugin.tests.freezerclient
61
+      tempest_test_regex: '^(freezer_tempest_plugin.tests.freezerclient.)'
58 62
 
59 63
 - job:
60 64
     name: freezer-tempest-scheduler
61 65
     parent: freezer-tempest-basic
62 66
     voting: true
63 67
     vars:
64
-      tempest_test_regex: freezer_tempest_plugin.tests.scheduler
68
+      tempest_test_regex: '^(freezer_tempest_plugin.tests.scheduler.)'
65 69
 
70
+- job:
71
+    name: freezer-tempest-agent
72
+    parent: freezer-tempest-basic
73
+    voting: true
74
+    vars:
75
+      tempest_test_regex: '^(freezer_tempest_plugin.tests.freezer.agent.)'

freezer_tempest_plugin/tests/freezer/api/__init__.py → freezer_tempest_plugin/tests/freezer/agent/__init__.py View File


freezer_tempest_plugin/tests/freezer/api/base.py → freezer_tempest_plugin/tests/freezer/agent/base.py View File


freezer_tempest_plugin/tests/freezer/api/test_backup_compress.py → freezer_tempest_plugin/tests/freezer/agent/test_backup_compress.py View File

@@ -19,7 +19,7 @@ import subprocess
19 19
 from tempest.lib import decorators
20 20
 
21 21
 from freezer_tempest_plugin import common
22
-from freezer_tempest_plugin.tests.freezer.api import base
22
+from freezer_tempest_plugin.tests.freezer.agent import base
23 23
 
24 24
 
25 25
 class TestFreezerCompressGzip(base.BaseFreezerTest):

freezer_tempest_plugin/tests/freezer/api/test_fs_backup.py → freezer_tempest_plugin/tests/freezer/agent/test_fs_backup.py View File

@@ -18,7 +18,7 @@ import shutil
18 18
 from oslo_utils import uuidutils
19 19
 from tempest.lib import decorators
20 20
 
21
-from freezer_tempest_plugin.tests.freezer.api import base
21
+from freezer_tempest_plugin.tests.freezer.agent import base
22 22
 
23 23
 
24 24
 class TestFreezerFSBackup(base.BaseFreezerTest):

freezer_tempest_plugin/tests/freezer/api/test_metadata_checksum.py → freezer_tempest_plugin/tests/freezer/agent/test_metadata_checksum.py View File

@@ -16,7 +16,7 @@ import subprocess
16 16
 from tempest.lib import decorators
17 17
 
18 18
 from freezer_tempest_plugin import common
19
-from freezer_tempest_plugin.tests.freezer.api import base
19
+from freezer_tempest_plugin.tests.freezer.agent import base
20 20
 
21 21
 
22 22
 class TestFreezerMetadataChecksum(base.BaseFreezerTest):

freezer_tempest_plugin/tests/freezer/api/test_swift_backup.py → freezer_tempest_plugin/tests/freezer/agent/test_swift_backup.py View File

@@ -18,7 +18,7 @@ import shutil
18 18
 from oslo_utils import uuidutils
19 19
 from tempest.lib import decorators
20 20
 
21
-from freezer_tempest_plugin.tests.freezer.api import base
21
+from freezer_tempest_plugin.tests.freezer.agent import base
22 22
 
23 23
 
24 24
 class TestFreezerSwiftBackup(base.BaseFreezerTest):

freezer_tempest_plugin/tests/freezer/api/test_tests_running.py → freezer_tempest_plugin/tests/freezer/agent/test_tests_running.py View File

@@ -14,7 +14,7 @@
14 14
 
15 15
 from tempest.lib import decorators
16 16
 
17
-from freezer_tempest_plugin.tests.freezer.api import base
17
+from freezer_tempest_plugin.tests.freezer.agent import base
18 18
 
19 19
 
20 20
 class TestFreezerTestsRunning(base.BaseFreezerTest):

+ 1
- 1
freezer_tempest_plugin/tests/freezer/scenario/test_backups.py View File

@@ -22,7 +22,7 @@ import time
22 22
 from tempest.lib.cli import base as cli_base
23 23
 from tempest.lib.cli import output_parser
24 24
 
25
-from freezer_tempest_plugin.tests.freezer.api import base
25
+from freezer_tempest_plugin.tests.freezer.agent import base
26 26
 
27 27
 JOB_TABLE_RESULT_COLUMN = 3
28 28
 

Loading…
Cancel
Save