summaryrefslogtreecommitdiffstats
path: root/testcases/vIMS/CI/vIMS.py
AgeCommit message (Collapse)AuthorFilesLines
2016-05-04Refactor improvementsjose.lausuch1-1/+1
JIRA: FUNCTEST-190 - Deleted unnecessary old scripts - Fixed healtcheck logging - Moved config_functest.yaml to /ci/ - Created env var CONFIG_FUNCTEST_YAML pointing to that new location - Modified all scripts which open config_functest.yaml using the new env var Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Replace all the loggers by the functest logger modulejose.lausuch1-48/+33
JIRA: FUNCTEST-228 Change-Id: If7a3c8cb08e9fbdf155fc5eff5330f79e5f8d234 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-26Move functest_utils and openstack_utils to directory /utilsjose.lausuch1-2/+4
JIRA: FUNCTEST-226 Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-25Remove backslashs for line continuationCédric Ollivier1-13/+12
JIRA: FUNCTEST-213 Change-Id: Ia50521cf8fcf60a847aa44fe0ea59b6e64830e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-04-22Affect version field in results for all the testcasesMorgan Richomme1-1/+1
Previously version was scenario JIRA: FUNCTEST-225 Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-22Enable PYTHONPATH env variable inside the containerjose.lausuch1-12/+11
JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21Fix Flake8 Violations in the Functest scriptsjose.lausuch1-29/+47
JIRA: FUNCTEST-213 Change-Id: I66c02dd6ff12ffb9798ebe44a4cfe7bfc73e76c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-11Split functest_utils.py into 2 scriptsjose.lausuch1-30/+31
JIRA: FUNCTEST-186 All the openstack related functions are in openstack_utils.py and the remaining functions in functest_utils.py All the scripts are adapted to this structure. Change-Id: I7f3805779741f0b085985d0d053feb429250b1ea Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-01bugfix single quoteboucherv1-3/+2
Change-Id: I3391b9a3d0dd84402b7d2b588b9611a8035966d7
2016-04-01Bugfix result criteriaboucherv1-2/+2
Change-Id: I5f5f7b88f1b42d2cecd0444339ee117da61ac2a1 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-03-21improve status criteriaboucherv1-4/+5
Change-Id: Icfab7ead860d96cef119cc63e9fccfd9d62c009d Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-03-18Add criteria and version when pushing the results into test DBMorgan Richomme1-21/+33
JIRA: FUNCTEST-151 Change-Id: Iac36f28db5f2203d7b2977a2bb973534fe167bac Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-12Test numbers creation before starting the signal testboucherv1-8/+43
Change-Id: Ife6a21e0dc3b12d1efd7aeb398b1ca0b85458a42 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-24Add jenkins build tag for result apiboucherv1-1/+3
Ex: jenkins-functest-compass-intel-pod8-daily-master-19 this will bring together all tests passed on the same functest run JIRA: FUNCTEST-140 Change-Id: I3c1cd8137184509ee5fdeeb2df5399d4c71e3f67 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-11bug fiw syntax when calling push to db from vIMSMorgan Richomme1-1/+2
Change-Id: I79ce10993c5a21fcb840681efd364ad2dc366e50 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-11Add project in push_to_db function of functests utils to allow external ↵Morgan Richomme1-1/+2
project onboarded in Functest to push their results Change-Id: I3a065e6ce82b1a87bbd07810f13df7d146655933 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-10Add -n|--no-clean flag to vPing,Tempest,Rally,vIMS scriptsjose.lausuch1-0/+5
Use --no-clean flag in run_tests.sh to tell the test scripts to cleanup or not the resources Change-Id: I597eca5199e1eaf16b1f03a223222d33e4adf170 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-03FIX: sleep 3 second to release create_venv.sh from chmod commandgrakiss1-0/+1
sometimes vIMS failed to create venv for "Text file busy",it should be a side effect of last command "chmod +x ..." Change-Id: I6a94b644e89988efa92afc46e9fbdeb8564db89e Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-29bugfix: self.loggerboucherv1-2/+2
Change-Id: I6e9b3a833f590831cddac83e00a6b8809410d2cb Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-29Add some error result in result db apiboucherv1-53/+64
Change-Id: I1c5f9bc51c04e321ace8c0ee0312be28d321910f Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-25FIX: args of push_result_to_db changed from git_version to versiongrakiss1-2/+3
Change-Id: I00411286d19a8e8c3f659cff8e2f6ce6f8a0ccf9 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-15bugfix: update cinder quota strange spaceboucherv1-1/+1
Change-Id: I984be5267a3492c4d3b5922a982aed0ad94e7c5b Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-14Use the env variable NODE_NAME for pod_namegrakiss1-1/+1
Change-Id: I0fd5011dc918ada73cac4f74d80d118826cff1a6 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-13Merge "Fix dns problem on E/// pod"boucherv1-2/+9
2016-01-13Fix dns problem on E/// podboucherv1-2/+9
FUNCTEST-122 Change-Id: I077ca9f1e8394583410f4b067d272e5be225ef3d Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch1-1/+1
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-12Add timeout for cloudify-manager deploymentboucherv1-1/+0
FUNCTEST-122 Change-Id: I837b286fa83eb0b6d18749d1070198ed6b653ba1 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-11bugfix: get admin role on joid installerboucherv1-2/+6
Change-Id: I8d6227441ca824cb7cf910e8615d4e7b5cf816c6 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-06Bugfix: cfy teardown -fboucherv1-78/+131
Change-Id: I8ced2251ad4cd1cb07c856ea79faf8458d051b33 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-01-04Give the right repo path for vIMS to send reportgrakiss1-1/+1
Change-Id: I03c0fe24fce661f29869b92652b8ffebd0258c7c Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-04Update cinder volume quota for new tenant 'vIMS'grakiss1-0/+12
Change-Id: I26aad4f3989c89a62f66add85e0d88b7fd274425 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-12-27Update orchestrator (cloudify) version from 3.2 to 3.3boucherv1-202/+187
FUNCTEST-121 Change-Id: I05de60dae213e2f2b3ba272917dc70ca03e5fe90 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-12-22Use repos_dir env variable in all Functest scriptsjose.lausuch1-8/+8
JIRA: FUNCTEST-90 This way, we remove the 'functest repo' input parameter on the python scripts call and we make it simpler using the available repos_dir env variable which points to /home/opnfv/repos Change-Id: I7d74bf1bc8d89f8f14397fcb9dafc22ee1482f84 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-14Add a flag to push the results to the DB optionalyjose.lausuch1-2/+6
By default, it will NOT push, only if specified by -r The parameter must be taken from a Jenkins job set to TRUE JIRA: FUNCTEST-84 Change-Id: Iee3b293e90b052b88de2d4f1d337f5ec5e3b3941 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-30Bugfix: test payload valueboucherv1-1/+1
JIRA: FUNCTEST-38 Change-Id: I4ca4b6b1075c96b0450eed79f44404dc70f35ad1 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-30Updated vIMS result formatboucherv1-4/+7
JIRA: FUNCTEST-38 Change-Id: I0b3633d4b377ca3b9824719d517ae35b20b4e1bf Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-29Added functionnal test and push result to dbboucherv1-8/+89
JIRA: FUNCTEST-38 Change-Id: I96db1d5b90016183928e00603a03801d548287ee Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-16Bugfix: venv pathboucherv1-3/+1
JIRA: FUNCTEST-38 Change-Id: Ia5b6b9584fcac65c956bbc8a1a17155950b535b9 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-15Bugfix: venv pathboucherv1-1/+1
JIRA: FUwNCTEST-38 Change-Id: I13c1b584dd39ec678e7e8e6b6a7cb48105f42335 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-08Bigfix : function "download_and_add_image_on_glance"boucherv1-0/+2
JIRA: FUNCTEST-38 Change-Id: I40bbc1f825d7cd5e24a37b0acd5a02b7ace6263c Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-05vIMS deployment and cleanupboucherv1-0/+332
These scripts allow to : - Prepare platform (tenant, user, image, quota etc) - Deploy cloudify-manager-server - Deploy vIMS Clearwater - Undeploy vIMS - Undeploy cloudify-manager-server - Clean the platform vIMS test coming soon JIRA: FUNCTEST-38 Change-Id: I35be6433c6511d741a27b67fe24c3031f1e29fe5 Signed-off-by: boucherv <valentin.boucher@orange.com>