summaryrefslogtreecommitdiffstats
path: root/docs/submodules/functest
AgeCommit message (Collapse)AuthorFilesLines
2018-08-25Update git submodulesJuha Kosonen1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Create new project/user for snaps tests JIRA: FUNCTEST-1003 Change-Id: Ic55998977386f95f619a355d22bd285782fe81f0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 5d9acb84f492dca4da863c60e30a5463fe165cb5)
2018-08-24Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Redirect stderr to stdout when running tempest JIRA: FUNCTEST-999 Change-Id: I64bfa31b01aa2ce5444b6e0f0ac46f8cde8dbaa3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c4b3f91c6bb79c50adc1c5a4397666ebcd1f7375) - Stop building tempest container in fraser gate.yaml It should have been removed when cherry-picking "Publish Functest daily and gate jobs". It adds parser-basics which is hosted by its own container. Change-Id: I6b5c4de0bffabab9bf927bf045b228113deeb375 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-23Update git submodulesGeorg Kunz1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Create output directory The rally.conf gets copied before the target directory has been created. JIRA: FUNCTEST-1007 JIRA: DOVETAIL-730 Change-Id: Ie774fce994ada644c1163600e6c62e1231fde443 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> (cherry picked from commit b55aa749c379ce7af918f43558f2195e2259d872)
2018-08-23Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Execute refstack_defcore in ci/run.yaml Change-Id: Ib65203e74244d87f7ac6b24f6e6abf723c57a786 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 72ea3965f80691b6660ce9716103030d3e6d9a6b)
2018-08-23Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Publish Functest daily and gate jobs As opposed to the Releng ones, they are designed to be easily executed by endusers as well. They can be considered as a first step towards a full Functest CI/CD toolchain deployed via docker-compose. All components testcases are enabled here. They hugely leverage on templates to load the right yamls per branch and multijobs to run testcases in parallel. Many steps are proposed allowing running part of the chain. Executors have to be increased to allow running them (it was tested vs 10 and more). At first, all docker images are downloaded to avoid different versions between testcases. They will be improved in a second change to ensure that only one node is selected and to take all Functest env vars into account. Change-Id: I99c7b8ee5d0ddbb00102b3147739b5e8b5c65c23 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 69f0b2665b397e5128bf7a83541d3567c4834af3)
2018-08-22Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix fixed_network_name in tempest.conf It also copies rally.conf and tempest.log in res_dir. Change-Id: Ib907a29ba3f47ca861d3af8afc0ee74446222e89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0fd76322f95b755d347826f707c092105506311b)
2018-08-20Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Update Xtesting to 0.36.0 It returns the right status if exception in constructor. Change-Id: Ic9d857868fb58928164bee2f32d841c64b9b723c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> - Typos (ressources) Change-Id: Ifcf1d4bd48b64bc9175c3b0d594f897f4f3f5e7d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 873e5f5c868027d34f36d494719b4dad2bdb1e7d)
2018-08-18Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Split modules in apidoc Change-Id: I467be9a70c74ff4eebfc50b8407fa503468f47ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-18Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix rtd requirement order Change-Id: Ie2fbd978ed0bb9772d66eb367f1bdad32c5afd61 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 10d98efb0cc45e989beceda411ce615347b2a946)
2018-08-18Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Add rtd-requirements It's required by rtd which doesn't leverage on PBR. Change-Id: Ia7ac5ecbb626d5c8b4c9095a1238db55e20790b0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a72b43b2356625d680d46f5ada201fcfe6ab7222)
2018-08-18Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Generate API doc rst files It also fixes few docstrings Change-Id: I09b3456e82953f64ec49628e2979115cc7bbec55 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> - Publish Functest doc online It reverts Sphinx theme to the default one as it's hugely better for API docs. Change-Id: Ic489e9b65d67d71fadb8ef78176a04cc382a3f5d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 20ee61db8d38bf12127afd12e34ac601d36b3ff5)
2018-08-17Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Allocate OperatorCloud instead of OpenStackCloud Else it fails for Rally which lists computes [1]. Former Shade releases split Openstack operations into 2 classes. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/269/console Change-Id: Icdf01c540ff62d7e7ef609929e806334823d2969 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-16Update git submodulesJuha Kosonen1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Create new project/user for rally test FUNCTEST-1002 Change-Id: Id19b9aa70aeded6d99978084b3de4a63e31a81ad Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 4b7d89de42fe9a3867b12ea39721ad92aff96340)
2018-08-14Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix typo (ressources) Change-Id: Ibe131e0cf02493f0f3a82c1e179848605bd0a292 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8cfa994563a238bbd34d01e97de1fcfd40535e6e)
2018-08-14Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Allow setting two image extra properties per testcase It conforms with the flavor extra specs model [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/60713/ Change-Id: I1555a313aaf56ae47f9ad2a4529eb8b94e636c00 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8d3eb364d84f90b19f9e7234d01add8764843081)
2018-08-14Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Update all patch configs It takes all new testcases into account. It allows running vnfs vs dpdk scenarios too. Change-Id: I789f6bb1c3df891b1a94f2a674c15085f81f2f23 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 484acb3716b6f6261793b8a6a0220cce62ccb0c3)
2018-08-12Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Update to Xtesting 0.35 Change-Id: I2a38fca608d866ed643f5d021cb85488f35c79f1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-07Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix swift operator role [1] https://build.opnfv.org/ci/view/functest/job/functest-fuel-armband-baremetal-daily-master/35/console Change-Id: I7236bf5a74f36941f499da32c5c77dcd0b98b6f1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3d1986d1a8035e93b7ad7e4331cb1cbe126a857f)
2018-08-07Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Update Xtesting to 0.34.0 It mainly fixes negative regex operations and allows calling one skipped test via run_tests (parallel testing). Change-Id: Ibf34ecf2dae46c4c3af15d05af2946c9eb33f6cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-06Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Change juju_epc cidr juju cannot bootstrap if cidr already exists which now happens only if a shared network with the same cidr is defined (it should be considered as a bug about juju). By allocation its own cidr, it protects vs remaining rally or tempest remaining shared networks or vs parallel testing. juju_epc can already run twice in parallel as it creates a new project and a private network. Change-Id: I76c4971d631f763307315478e6cf5a383c91ed36 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 27bc4acea711b5e6e09102bdc4209c9ef13283f3)
2018-08-04Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Make synchronous Shade calls It makes difficult to find the issues (floating ip, boot, ssh connection, etc...) for a small benefit regarding the current testcase implementations. It increases the default floating ip timeout because it has been reached when running Functest multiple times in parallel. It may be the root cause when running singlevm vs XCI (in that case, neutron api and agents are hosted in a nested vm). Change-Id: Ia97e04902321644c207c59987283754318aee5e5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8faf2e3365fc5acc0167a05a919eef564f11491a)
2018-08-03Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix timeout (switch to synchronous calls) It completes "Switch create_server timeout to default value" [1] which forbids waiting more that 180s (create_server was asynchronous). [1] https://gerrit.opnfv.org/gerrit/#/c/60423/2 Change-Id: Icbf9ee48024fe9e10571c2bb7ca895d5828fb561 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f31841906a7cddcecc4c8fba9b641265811e9b7f)
2018-08-03Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Increase Cloudify create_server_timeout The timeout has been reached when running multiple vnfs in parallel. Only few additional seconds seemed required here. Change-Id: I0d6e38e827c581edb617bb0cc13249645468a2aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9c19bb9bb41e36d4ca70563649ced92ce7ab9b82)
2018-08-01Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Add fallback mechanism if vlan private_v4 and public_v4 are incorrectly set when vlan is used as overlay. JIRA: FUNCTEST-996 Change-Id: I120a247e92e0fd295769b2a0eeb15ce82a0eabc8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5522ecd302ee54b494714cb2e1af0fe2381e5c37)
2018-08-01Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Print stderr in logs when calling cmd over ssh Change-Id: I152ac898661a0e99a6232df86689c70c468ceaa5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b66827d753e09c29cd6f541119dc0ec4c6344511)
2018-07-31Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Switch create_server timeout to default value 60s was successfully reached when running all containers (3 containers * 3 branches) in parallel. It also removes the wait attribute (the current impl will meet a possible next asynchronous design) which is useless here. For the time being, only cloudify needs an extra timeout. Change-Id: Ic7741b4c1a3223be076fb69ef70a3cb6c05456c2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1b75bbbc4e842ca2c8c14957261c88692f9e4828)
2018-07-30Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Delete alt images before removing the account Else it could raise unauthorized exceptions [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/188/console Change-Id: Ia9b857069f775e2c8ecc5e07cf39b3a1fb7e3540 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 28a706149ede8c644f63c7b5a4f3b02a9806e548) - Fix cloudify src dirs It completes "Refactor Ims testing" [1]. [1] https://gerrit.opnfv.org/gerrit/60331 Change-Id: I3d971a07ad1199ab48f81f7484d33e7f35d12377 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-30Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Protect vs exceptions when creating secrets cloudify_ims sometimes faces with exceptions when creating secrets [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/188/console Change-Id: I197748bf97752575dc14650e1e1c382774811cce Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cfb241ab63898eb4a550fc571d34952d33996e9c)
2018-07-30Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix clearwater test results parsing Before it could extract part of the skipped tests [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/209/console Change-Id: I7e7564cb7b96705940051fccf0ff1987f34bb962 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3d6f7e8b3a6cfe4c926bd93d45861c80970e35f7)
2018-07-30Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix clean() in cloudify ims and router It raised exceptions in both branches [1] [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/209/console Change-Id: I87b33cedae768f92296efa4570d2a47cd9cdbdf2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6ff2161dd0af56bcbac49fd1417dc52031c55bf5) - Refactor Ims testing Change-Id: I8b7b74a3753c2d4d4614e9a2798283bd3f99d5d2 Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com> (cherry picked from commit 026a9bfaa656d0e5ade327feda64f17796d6f209) - Release floating ips used by juju_epc It also cleans flavor_alt and image_alt. Change-Id: I62296075eca75c3c18caac4a3cddeef1fdb26e1b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d072a425f48640780ca6a6d1f6332ec73d6bf5be) - Remove VnfOnBoarding All the vnfs are now inherating from scenarios. Change-Id: I63509102067676ca0676b773db542086caa02d84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 366adc757e3beaeb1db7811df511a0e38c3eee6d) - Leverage vyos_vrouter on Cloudify It also stop rebooting the VMs. Change-Id: Ib0f9e1aac1dd8505378b0688930eb41a590a11f1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e2fe0591bcfc462a91c028a857d967f4b9832bbe)
2018-07-29Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Update juju_epc to leverage on new scenarios It avoids duplicating codes across all OPNFV testcases. It also fixes the issues when starting mongodb [1] by upgrading juju agent. It stops supporting keystone v2 as the other testcases. [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/lastFailedBuild/console Change-Id: I06cddddef1121292ffb695dcb73aa79a07c23192 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 592584fbde2fb9b3b58015d374b2100026310d24) - 1) Cleanup floating IPs that are assigned through Juju Deployment. 2) Add SCTP rule explicitly to the retrieved Security Group. Change-Id: I38e5b1267dbcdcf8e5aadb3c06dd784044e774d4 Signed-off-by: soumaya <soumaya.nayek@rebaca.com> (cherry picked from commit 92b52ef2bd3567c6c34288a22801249adb5ee7ab)
2018-07-27Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Stop overriding neutron extension discovery Tempest is able to discover Trunk extensions [1]. Then it's useless to override tempest.conf for Neutron trunk testing. [1] http://artifacts.opnfv.org/logs/functest/huawei-pod2/fraser/2018-07-26_12-11-20/tempest/tempest.log Change-Id: Ie5f90d5b15b5535526db01b3f08ec55d3ab1e0c0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> - Stop redirecting output to json files Rally may print additional data to console which results in an invalid json files. The json files are generated via rally instead of dumping stdout. It's mandatory to backport the next bugfix [1] in stable/fraser. [1] https://gerrit.opnfv.org/gerrit/#/c/60265/ Change-Id: Ifbd90e685a7b52c70b3110a46e3c7991eddc05f4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 18c96abe8b6a3d6e919ff7ba64952454830357b3) - Refactor task results manipulation in rally Use data provided by report generation since the output of task results is not available as valid JSON if task didn't finish gracefully. JIRA: FUNCTEST-966 Change-Id: Ieb906bc209cc26055babd5f4e6b2bb556724f9a8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit a4ed4eb2b6802bcf10aa944854a68b16147245cc) - Set filename_alt in tempest Change-Id: I9137ee30bd2107ec23ef6cfea92ccfc5f010410d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 29bd4108c51180a4d74443f676fc72866af6f1f6) - Allow overriding the default role It allows testing controllers which implements other RBAC policies. Defining NEW_USER_ROLE=admin will easily raise side effects for orchestrators such as Juju and Cloudify. Change-Id: Ia78a25381aeb8aa81fd1872661629e1c08432b8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 51f3e7a3cc4409fb9dda03bffa1252a8660f38b0) - Typo Change-Id: Ibff3b01c50bfee266d0b99fab5b7baf271d43de4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 59fa6d205d03464246442a362cbed3caa8e32a2a) - Leverage cloudify_ims on Cloudify It also defines 2 new methods to avoid duplicating code: - TenantNetwork1.get_public_auth_url() - VmReady1.publish_image_alt() Shaker and Tempest are updated as well. Change-Id: Ie9095c57c580b95f067d5a8275ad71818b4df335 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8e96ddfb6a6548a9a7a9b4a686e01378425a1cd8) - Support py3 in uncovered packages It has to be noted that cloudify_rest_client doesn't support py3 then next unit tests vs cloudify-based testcases would be excluded. Change-Id: I0b0e64929d1238665c778ce51fd6abd5ccf06b6c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7f2d7515e068c2ba072d4f3b4cf0997e06ae8460) - Add py3 support in tempest and rally Change-Id: I009d38a0db409ab4ec641cba9173ab2386d0ce2a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 09d6e6feef33fa47bca440a096894b851b1ebca5) - Remove cloudify_ims_perf All that modules are uncovered, unverified and deprecated. They will be safely reverted as soon as they are updated, verified by gates and unit tests are added. Change-Id: Iac0893f9f0ccb485d91cd17305e744aff9bf9414 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cd8edb720d2e72842c35e9d6271fc81e6717679d) - Force region to RegionOne if OS_REGION_NAME is unset tempest still selects the first one if unset [1]. JIRA: FUNCTEST-990 [1] https://docs.openstack.org/tempest/latest/sampleconf.html Change-Id: I238d47173c2c4aa1db694028e4d44b80b0e280f1 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 8b2f524f0f17f06bf1de02e0165230bad218132b) - Refactor tempest common It also renames two testcases and updates all docs because tests run in parallel in case of tempest smoke. To force one thread as before: run: module: 'functest.opnfv_tests.openstack.tempest.tempest' class: 'TempestCommon' args: mode: '^tempest\.(api|scenario).*\[.*\bsmoke\b.*\]$' option: - '--concurrency=1' JIRA: FUNCTEST-989 Change-Id: I1348f5908400a5046be8edf983db4afa12e546c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit eb8f57466325f398c6b8b5f4d15005c71879a269) - Add helper to find string in console It allows checking when cloud-init is finished (see heat_ims). Change-Id: I951aabff29457d7b7544a809f9fce1f83706035e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a80ebe8794dd2693203ceea65a13a69dcf508f94) - Minor change about subnet pool It reverts the subnet pool to 192.168.120.0/24. It avoids conflicts with default CPE private subnets. It also increases cloudify spawning timeout. Change-Id: I70183cede0690c2cbc74f9c30a38892d829db2c9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cb7e4e1e0687b79a0528ebe6a37683049d960210) - Increase timeout when creating servers It takes times to prepare disk on compute nodes (spawning). The default value is enough for all cirros VMs but it has to be increased for all cloudify VMs (4.1G). Change-Id: I3f1fc0142a73c586e9219a2718bfc467cc48e275 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c391f57e6797e544d14285ca433b2499ed84cd5f) - Reduce cloudify manager disk size 40 Gb is enough Change-Id: Iae6a72fcf91fda67bbd036f478e344478d48264f Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com> (cherry picked from commit 363060485f107bb0af09977e101abc54f1fa207c) - Add secrets operations in cloudify.py It tries to prevent race conditions when running cloudify_ims. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/functest/core/singlevm.py", line 411, in run if not self.execute(): File "/usr/lib/python2.7/site-packages/functest/opnfv_tests/vnf/ims/cloudify_ims.py", line 120, in execute self.cfy_client.secrets.create(k, val) File "/usr/lib/python2.7/site-packages/cloudify_rest_client/secrets.py", line 86, in create response = self.api.put('/secrets/{0}'.format(key), data=data) File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 263, in put timeout=timeout) File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 233, in do_request 'SSL, but the client does'.format(e) ConnectionError: ('Connection aborted.', BadStatusLine("''",)) Change-Id: Id2603bbda462b50d3140b6f45894c8810d542e4c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f426c72f2bb6381c631794a4b9f4c3322832e0d3) - Force a GET operations on cloudify API Cloudify is considered as running by the client but sometimes it failed when listing secrets right after. It adds that check in cloudify.py. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/functest/core/singlevm.py", line 391, in run if not self.execute(): File "/usr/lib/python2.7/site-packages/functest/opnfv_tests/vnf/ims/cloudify_ims.py", line 119, in execute secrets_list = self.cfy_client.secrets.list() File "/usr/lib/python2.7/site-packages/cloudify_rest_client/secrets.py", line 113, in list response = self.api.get('/secrets', params=params) File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 252, in get timeout=timeout) File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 233, in do_request 'SSL, but the client does'.format(e) ConnectionError: ('Connection aborted.', BadStatusLine("''",)) Change-Id: Ie1b25ff529cfbf9f7476821499da369a46126e81 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c4c3a33b9e6ae87c15331bf95e5544f0f680e4f0) - Publish cloudify scenario It eases deploying any vnf via Cloudify. It also stops duplicating code between vims and vrouter. Co-Authored-By: Valentin Boucher <valentin.boucher@kontron.com> Change-Id: I5fe06d91804f4781f6b1301da12862bac793ffbb Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 4c32f394e4ca9058ca69571754ff15156149251d) - Set swift_operator_role if required Apex creates member as default role which conflicts with the default swift_operator_role [1]. It detects the default role in lowercase as well and write it in rally.conf if required. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-virtual-suite-master/116/console Change-Id: Ic4dc98c793207fc32ff35852472742c92db6699c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bafbd217c68c70ae66e052833c3e33298b35da0c)
2018-07-24Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Revert "Temporarily disable Snaps CreateRouterSuccessTests" This reverts commit 7786a54c5abe32380468a924f77895b573c576d3. Change-Id: I53e5f0073191079ab41a8159df2001ff9745da5a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-22Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Revert "Temporarily disable HOT including OS::Nova::FloatingIPAssociation" This reverts commit 95dcfcad2edd90ccde2b40281dab7464f6555237. Change-Id: I969fb6b4b4808b98af01a5820f029e345daa3f10 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-18Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Delete the right dir when building functest-vnf It reduces a lot the size of the docker image. Change-Id: Ifd577169697b33dfd89594e8dd3afe4aa34ec7f9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2dcec69c4e9ed34d7046afa694e738c040be02e9)
2018-07-14Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Temporarily disable HOT including OS::Nova::FloatingIPAssociation Change-Id: I31b76c5b3604845367c10f6e5d55c415042f6d47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 59ba5abb31018282bca796ee0c0652d61192c6bf)
2018-07-13Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Force new project.id when creating new users Else it raises side effects when both project.id and project.name are defined (see Apex [1]) [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/148/console Change-Id: I98665ed55a55fdd02e25d8ad17b78d84548b0ec8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ff0ae3f577311611f8c7ad9ef21370c439e8565b)
2018-07-12Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Protect vs former interface format Compass still set publicURL [1] [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-fraser/lastFailedBuild/consoleFull Change-Id: I88c6ca336a7017f97f4c07719156e567d1afb9df Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 06b9ace7a0333d723972502ab3ce5784b6cba689)
2018-07-12Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Avoid duplicating tempest section in rally.conf Change-Id: I79598cce2c7dfe0a2e969ddd32735c3eb189fa7a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8b912cec489a96178fcac5667c03e20850149c3a)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Reuse the right detected role name It completes "Try to get Member or member role" [1][2]. [1] https://gerrit.opnfv.org/gerrit/#/c/59661/ [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/144/console Change-Id: Ib38b513906b08d6f85834e03f5415e83b66b733b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1222e8c0f3699c5d74c54df11e5cdf00fd468b59)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Add tempest section in rally.conf It completes the previous patch [1][2]. [1] https://gerrit.opnfv.org/gerrit/#/c/59681/ [2] https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-master/555/console Change-Id: I93ad9db2c7a8a0691fed8bf58f5e21d8f3dc9c57 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bf39607ee1128f6a9b46c37c0a8ac1e582d39ea5)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Clean all possible resources It checks all openstack resources before cleaning. It allows removing images even if the test fail quickly. Change-Id: I1763b8a70fa7ffeb03c435e8e775c7afd1a7adac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6166caffe31888ef237874fdcaf088ac4ff8d003)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Cover vping_ssh Change-Id: I37c52057a45d76e081a1a0145baee96041ca25a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 98d1a3d8b9beae43f2dacdc79309c39c2435feed)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Fix delete_keypair arg It uses keypair name instead of id as expected by Shade. It also increases timers as it boots an ubuntu VM. Change-Id: I8cd131e7c7a94c8f6b0fcc54a4d75ef8af31b807 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e2e68a3806dc89fdc35cc7925b2c6c4118d5569d)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Check the status of inherited steps Change-Id: If63c228f2844194279b560515f4ab24a4ee88be0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4fb7e1330137fb77ed1b29bbc7c1491b6e12d9b6)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Force result = 0 if exception self.result can be positive due to intermediary steps (scenarios). Else it can return false positives [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-virtual-suite-master/113/console Change-Id: Iecadee7f7380fda5273a0668aff1b441647c45aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f83c5fc1f0ecd3b93a39b3cf90ed9cd478cb37a6)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Update rally image name regex The default value doesn't conform with our image names. Else it downloads the image from internet which may be not possible (offline testing, proxy or deployment l3 issues [1]) [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-virtual-suite-master/113/console Change-Id: I7d951967784d591e7155fe8582299aaa9b680b10 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8c5703e4e2382f7091aa7f8008d65ce68fa0bf56)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Print all debug messages in a second file All modules are allowed to print in functest.debug.log. Change-Id: I9c0be258dba985c9d3171bc2d324464e41e1c584 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b1f50e31dccb8fa3badd61c57ec76b8b4abb4510)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Try to get Member or member role Keystone roles are case insensitive and Apex declares member which couldn't be detected. Then conflict occured when creating the mandatory role [1]. It now searches the default role in lower case too. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/141/console Change-Id: I687ecfe768ab4717fdb42a135c4bf9b76733ffd9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4f89564b20e9c3462614706a616d469540631786)
2018-07-11Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'stable/fraser' - Define one logger per key module Snaps is printing lots of error messages which makes user confused. It will decrease the size of functest.log. Change-Id: I2c7d8ec968350563fbfbd62dcc2fc39b13b39a78 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 3f4e49c480ac9a72c76c7c8435caad2fcf81abf0)