summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dovetail/test_runner.py2
-rw-r--r--etc/compliance/proposed_tests.yml2
-rw-r--r--etc/conf/dovetail_config.yml2
-rw-r--r--etc/conf/functest_config.yml2
-rw-r--r--etc/testcase/security.patrole.yml9
-rw-r--r--etc/userconfig/testcases.yaml20
6 files changed, 36 insertions, 1 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index 6ecbda90..28988de8 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -137,6 +137,8 @@ class FunctestRunner(DockerRunner):
source_file = os.path.join(result_path, 'refstack', 'tempest.log')
elif validate_testcase == 'bgpvpn':
source_file = os.path.join(result_path, 'bgpvpn.log')
+ elif validate_testcase == 'patrole':
+ source_file = os.path.join(result_path, 'patrole', 'tempest.log')
else:
source_file = None
if source_file:
diff --git a/etc/compliance/proposed_tests.yml b/etc/compliance/proposed_tests.yml
index 692ffed8..36129307 100644
--- a/etc/compliance/proposed_tests.yml
+++ b/etc/compliance/proposed_tests.yml
@@ -16,3 +16,5 @@ proposed_tests:
- dovetail.stress.tc001
# sdnvpn
- dovetail.sdnvpn.tc000
+ # patrole
+ - dovetail.security.patrole
diff --git a/etc/conf/dovetail_config.yml b/etc/conf/dovetail_config.yml
index f4e0d034..49ccae66 100644
--- a/etc/conf/dovetail_config.yml
+++ b/etc/conf/dovetail_config.yml
@@ -54,6 +54,7 @@ testarea_supported:
- healthcheck
- vnf
- lifecycle
+ - security
functest_testsuite:
- refstack_defcore
@@ -62,6 +63,7 @@ functest_testsuite:
- tempest_custom
- rally_sanity
- promise
+ - patrole
functest_testcase:
- bgpvpn
diff --git a/etc/conf/functest_config.yml b/etc/conf/functest_config.yml
index 0251b732..537a3d39 100644
--- a/etc/conf/functest_config.yml
+++ b/etc/conf/functest_config.yml
@@ -1,7 +1,7 @@
---
functest:
image_name: opnfv/functest-smoke
- docker_tag: fraser
+ docker_tag: opnfv-6.0.0
opts: '-id --privileged=true'
envs: '-e INSTALLER_TYPE=unknown -e DEPLOY_SCENARIO=unknown -e NODE_NAME=unknown
-e TEST_DB_URL=file:///home/opnfv/functest/results/functest_results.txt'
diff --git a/etc/testcase/security.patrole.yml b/etc/testcase/security.patrole.yml
new file mode 100644
index 00000000..354f2fe6
--- /dev/null
+++ b/etc/testcase/security.patrole.yml
@@ -0,0 +1,9 @@
+---
+dovetail.security.patrole:
+ name: dovetail.security.patrole
+ objective: Run Patrole to perform RBAC tests of the image and networking services
+ validate:
+ type: functest
+ testcase: patrole
+ report:
+ sub_testcase_list:
diff --git a/etc/userconfig/testcases.yaml b/etc/userconfig/testcases.yaml
index 571ae7b0..5e6a6c70 100644
--- a/etc/userconfig/testcases.yaml
+++ b/etc/userconfig/testcases.yaml
@@ -171,6 +171,26 @@ tiers:
run:
module: 'functest.opnfv_tests.openstack.tempest.tempest'
class: 'TempestCustom'
+ -
+ case_name: patrole
+ project_name: functest
+ criteria: 100
+ blocking: false
+ description: >-
+ Test suite from Patrole project.
+ dependencies:
+ installer: ''
+ scenario: ''
+ run:
+ module: 'functest.opnfv_tests.openstack.patrole.patrole'
+ class: 'Patrole'
+ args:
+ role: 'admin'
+ services:
+ - 'image'
+ - 'network'
+ exclude:
+ - 'test_networks_multiprovider_rbac'
-
name: features