summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11Fix godeps commit idCédric Ollivier1-1/+3
Change-Id: I7af07849fb70ef53f293002f313035b46731b705 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5988d84f62cb19abfdddf1475177f174d6c2597d)
2018-09-08Stop cloning when running vyos_vrouterCédric Ollivier7-40/+10
It moves the clone operation into docker build instead. Change-Id: I296005d8638510a999665d383a26c4fcd48897a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2e7f66734394dc5e749ef9ac95e46a8ded9fb2c9)
2018-09-08Fix dict conversion in tempest.confCédric Ollivier2-3/+3
https://github.com/openstack/oslo.config/blob/master/oslo_config/types.py#L600 https://build.opnfv.org/ci/view/fuel/job/functest-fuel-virtual-daily-master/817/consoleFull Change-Id: Icde9938bb9f6c0c37d2504317f31b0af4ef9ee8e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 59cf95974b2b9c0271c1ff9c9604b960c4bcfa26)
2018-09-08Update scenario section in tempest.confCédric Ollivier3-1/+61
It's required at least by Barbican tempest plugin. Change-Id: I46a65ee5fee044917c5375adaa8ebb529efe86ec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9ec639526ed32d4b05168627c5c016fb66b7d008)
2018-09-07Remove one useless security groupCédric Ollivier1-5/+0
This rule breaks lookup when the user created is admin. Change-Id: I2fe3dba687bd5d151cd7e53217586a0bcb21815d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 65b9318ffcb4b12e0aa4aa08027a35ff1e2d285d)
2018-09-07Add role to users created by rally if requiredCédric Ollivier1-0/+27
It sets [openstack] keystone_default_role if NEW_USER_ROLE differs from member. Change-Id: Ib6be5cf22654e882ea110298cba421c1e87c78fd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 98f3bf16722e5e718130f960910d64bc76951e3b)
2018-09-03Create network via admin userCédric Ollivier2-5/+10
It creates the network via admin user as segmentation id may be set. Change-Id: I853f40e09aee9a658fc2373cd7e8bf00e3c0c3ad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 92ba2d7f3bbbecebcd4214bc9b8682d2b6ce87e9)
2018-09-02Allow refs as vnf requirement versionsCédric Ollivier1-4/+8
Change-Id: I4079fa3641373eee40f8a876a2a525635f2752eb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b039d8d4219bca73a5b86e03f34f27fbe655ec81)
2018-08-31Add concurrency parameter to refstack_defcore testsDimitrios Markou2-0/+6
In fraser release we observed that refstack tests are executed in parallel and that might causes problems in CI because without concurrency parameter it will try to use as many cpus as possible and that might lead to race condition issues. This patch is created for backporting purposes to fraser branch where the problem occurs. JIRA: DOVETAIL-662 Change-Id: I6cf0ad3a32e88f04abd00d69523aa8ac47c39470 Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com> (cherry picked from commit d5c3692d211cb3e82708eaf2595ba3f26fafc6a6)
2018-08-30Ensure len(project_name) < 64Cédric Ollivier1-1/+1
https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/259/console https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/428/console Change-Id: Ib64878962a71b6b45ef039fce8bfaa43172b2498 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3eec6556fa20e51d5e6596253393199469c83556)
2018-08-29Create new project/user for tempest testsJuha Kosonen4-30/+37
JIRA: FUNCTEST-1009 Change-Id: I6b9bca3827ba6cc804c25689a896ca63eec6a78b Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 9d03fcdd488c385842b43fd914915cbe4ae5390a)
2018-08-29Support pre-Provisioned credentialsCédric Ollivier3-3/+16
If USE_DYNAMIC_CREDENTIALS = False, Functest is expected for /home/opnfv/functest/data/accounts.yaml which contains the set of pre-existing credentials to use for testing [1]. It also sets admin_domain_scope and default_credentials_domain_name. [1] https://docs.openstack.org/tempest/latest/configuration.html Change-Id: Ie7b81f0c56049260ca99b8e3a6d58cb8a2660659 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7e0f65a25f1c83c90051e13e4aa5333aaaa8c6d5)
2018-08-29Allow adding a specific role to users created by tempestCédric Ollivier1-0/+2
It may allow bypassing RBAC policies if required. Change-Id: I3b7ad44d7b80f8ea757846afdcd787b686c52856 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ea596bbf094c8e45961b1b1379e58631942e4864)
2018-08-28Fix snaps commit idCédric Ollivier1-1/+1
Snaps is part of main Functest testcases (Healthcheck). A fixed version has to be pulled. We will switch later to snaps packages instead of commit ids. Change-Id: I8df681625864ed6929e28b37c574b8d89c7de409 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-27Avoid duplicating jjb namesCédric Ollivier4-57/+61
It allows loading functest and functest-kubernetes jjbs in one Jenkins. Change-Id: Ia52e84583bc25aad0d1508096b536cbd5585d261 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 890bc75c29ef98fe2eb0dd8e456ad6eafa9d26a1)
2018-08-26Set juju wait versionCédric Ollivier1-1/+2
It's mandatory before releasing. Change-Id: Iac7b49fb1061b39ee6683e7b30f163cfc2060a95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 381a70d86ce49bd55b298042dc11cb16f9710d82)
2018-08-25Create new project/user for snaps testsJuha Kosonen3-20/+97
JIRA: FUNCTEST-1003 Change-Id: Ic55998977386f95f619a355d22bd285782fe81f0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 5d9acb84f492dca4da863c60e30a5463fe165cb5)
2018-08-23Redirect stderr to stdout when running tempestCédric Ollivier1-8/+4
JIRA: FUNCTEST-999 Change-Id: I64bfa31b01aa2ce5444b6e0f0ac46f8cde8dbaa3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c4b3f91c6bb79c50adc1c5a4397666ebcd1f7375)
2018-08-23Stop building tempest container in fraser gate.yamlCédric Ollivier3-6/+29
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-23Create output directoryGeorg Kunz1-0/+2
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-22Execute refstack_defcore in ci/run.yamlCédric Ollivier1-0/+1
Change-Id: Ib65203e74244d87f7ac6b24f6e6abf723c57a786 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 72ea3965f80691b6660ce9716103030d3e6d9a6b)
2018-08-22Publish Functest daily and gate jobsCédric Ollivier5-0/+332
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-22Fix fixed_network_name in tempest.confCédric Ollivier1-1/+7
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 Xtesting to 0.36.0Cédric Ollivier1-1/+1
It returns the right status if exception in constructor. Change-Id: Ic9d857868fb58928164bee2f32d841c64b9b723c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-19Typos (ressources)Cédric Ollivier2-14/+14
Change-Id: Ifcf1d4bd48b64bc9175c3b0d594f897f4f3f5e7d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 873e5f5c868027d34f36d494719b4dad2bdb1e7d)
2018-08-18Split modules in apidocCédric Ollivier6-30/+34
Change-Id: I467be9a70c74ff4eebfc50b8407fa503468f47ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-18Fix rtd requirement orderCédric Ollivier1-2/+2
Change-Id: Ie2fbd978ed0bb9772d66eb367f1bdad32c5afd61 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 10d98efb0cc45e989beceda411ce615347b2a946)
2018-08-18Add rtd-requirementsCédric Ollivier2-37/+4
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-18Generate API doc rst filesCédric Ollivier7-38/+73
It also fixes few docstrings Change-Id: I09b3456e82953f64ec49628e2979115cc7bbec55 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-18Publish Functest doc onlineCédric Ollivier10-74/+8
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-17Allocate OperatorCloud instead of OpenStackCloudCédric Ollivier1-1/+1
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-16Create new project/user for rally testJuha Kosonen4-11/+30
FUNCTEST-1002 Change-Id: Id19b9aa70aeded6d99978084b3de4a63e31a81ad Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 4b7d89de42fe9a3867b12ea39721ad92aff96340)
2018-08-13Fix typo (ressources)Cédric Ollivier1-2/+2
Change-Id: Ibe131e0cf02493f0f3a82c1e179848605bd0a292 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8cfa994563a238bbd34d01e97de1fcfd40535e6e)
2018-08-13Allow setting two image extra properties per testcaseCédric Ollivier1-13/+17
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-13Update all patch configsCédric Ollivier3-6/+99
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 to Xtesting 0.35Cédric Ollivier1-1/+1
Change-Id: I2a38fca608d866ed643f5d021cb85488f35c79f1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-07Fix swift operator roleCédric Ollivier1-1/+1
[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 Xtesting to 0.34.0Cédric Ollivier3-7/+32
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-06Change juju_epc cidrCédric Ollivier1-0/+2
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-04Make synchronous Shade callsCédric Ollivier1-10/+14
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-03Fix timeout (switch to synchronous calls)Cédric Ollivier2-3/+1
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-03Increase Cloudify create_server_timeoutCédric Ollivier1-1/+1
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-01Add fallback mechanism if vlanCédric Ollivier2-5/+12
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-01Print stderr in logs when calling cmd over sshCédric Ollivier3-4/+6
Change-Id: I152ac898661a0e99a6232df86689c70c468ceaa5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b66827d753e09c29cd6f541119dc0ec4c6344511)
2018-07-31Switch create_server timeout to default valueCédric Ollivier1-2/+2
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-30Delete alt images before removing the accountCédric Ollivier5-7/+5
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)
2018-07-30Fix cloudify src dirsValentin Boucher3-5/+5
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-30Protect vs exceptions when creating secretsCédric Ollivier1-6/+17
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-30Fix clearwater test results parsingCédric Ollivier1-2/+2
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-30Fix clean() in cloudify ims and routerCédric Ollivier2-5/+12
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)