From 5c6f12ac2324be2cd61bdd365045e6e94417c418 Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Tue, 1 May 2018 22:08:15 +0000 Subject: Integrating Functest Patrole test case Adding the new Patrole test case of Functest to Dovetail and to the proposed_tests test suite. JIRA: DOVETAIL-649 Change-Id: I2c3f583cdbd3af75cec020b0fe97f287d23498a5 Signed-off-by: Georg Kunz --- etc/compliance/proposed_tests.yml | 2 ++ etc/conf/dovetail_config.yml | 2 ++ etc/conf/functest_config.yml | 2 +- etc/testcase/security.patrole.yml | 9 +++++++++ etc/userconfig/testcases.yaml | 20 ++++++++++++++++++++ 5 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 etc/testcase/security.patrole.yml (limited to 'etc') 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 -- cgit 1.2.3-korg