aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-02Leverage on XtestingCédric Ollivier66-3483/+175
It removes all the files which have moved to Xtesting. Vnf inheritances and env management will be improved in other changes. It keeps the same tree thanks to a symlink to allow publishing artifacts. Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Add xtesting in upper-constraints.txtCédric Ollivier1-0/+1
functest-kubernetes requires xtesting and still reads this file. Change-Id: I18d357cc88ae9a7e80aca568d408823291dc2ab3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Set universal wheelsCédric Ollivier1-0/+3
Change-Id: I869679def8913ac804899655d80dbc6a830a6378 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Merge "Add guid in neutron resource names in juju_epc"Cedric Ollivier1-5/+8
2018-02-28Merge "Integrate Patrole as a new testcase"Cedric Ollivier5-0/+144
2018-02-28Merge "Support different user/project domain values"valentin boucher3-5/+33
2018-02-28Integrate Patrole as a new testcaseCédric Ollivier5-0/+144
It's published in a new container because the current results don't allow gating. 0.2 is selected to meet OpenStack Pike's requirements. Co-Authored-By: Rémi Le Trocquer <remi.letrocquer@orange.com> Change-Id: Iafcf8f66ee3531fc43136886095774885bfc3150 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Add guid in neutron resource names in juju_epcCédric Ollivier1-5/+8
JIRA: FUNCTEST-937 Change-Id: Ia0912dfe2cdbecf4c169aecb6ba1b71774e0a02f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Remove obsolete Functest utilsCédric Ollivier2-183/+2
Only 3 functions are kept as part of our framework: - execute_command_raise() - execute_command() - get_parameter_from_yaml() Change-Id: I966a1d6122391dae85aa3c77813ad2f1698ceb45 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Merge "Raise exceptions when SDN_CONTROLLER_IP is None"Cedric Ollivier2-4/+14
2018-02-26Merge "Stop raising keystoneauth1 exceptions in odl unit tests"Cedric Ollivier2-3/+1
2018-02-26Merge "Fix KeyError of OS_AUTH_URL"valentin boucher1-1/+1
2018-02-26Raise exceptions when SDN_CONTROLLER_IP is NoneCédric Ollivier2-4/+14
Change-Id: Ia0d00a6b3c4c4936dc10602e838f507beea0c592 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Stop raising keystoneauth1 exceptions in odl unit testsCédric Ollivier2-3/+1
It simply raises Exceptions to avoid depending on keystoneauth1. Snaps may also reraise another exception. Change-Id: Ib3041b2d8ff51ee098f2bf0b9918079b7945abf3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Remove openstack utilsCédric Ollivier3-3276/+0
They have been obsolete since we fully switched to snaps. The files are being moved to SDNVPN which is the last project using them [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/52631/ Change-Id: I277b92a04cf6bc7b30015eed76f03f17830fad2b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-26Fix KeyError of OS_AUTH_URLLinda Wang1-1/+1
Change-Id: Iaaa657ebb8ed017429b640ffaaf03b6d204e887a Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-02-26Switch to snaps in orchestra testcasesCédric Ollivier2-279/+90
It also stops using the floating ip in userdata to avoid a race condition (all-in-one). The DNS server is now configured by Neutron instead of the testcases. Change-Id: I6efed71339d98403f7fd137ff50f1941b5b5a03c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-25Fix default identity version in conf_utilsCédric Ollivier1-2/+1
Change-Id: I2e78958b3c96b36a5fac636a1817424fb102afea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-24Set Energy default values to NoneCédric Ollivier2-3/+3
It conforms with the other default values. Change-Id: Id46110c5aedf244f94e83b5b0389b135f075ffc8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-24Switch to $REPO in travis-ci jobsCédric Ollivier1-14/+14
It conforms with "Use functest repo variable" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/52513/ Change-Id: I09b438d784fbeb5e3686b441e6944c87c0f88382 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-24Print env vars and env_fileCédric Ollivier3-13/+16
It simply eases detecting wrong inputs [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/796/console Change-Id: I0784c29265c69a6ba4a049226196bcdd70b0a572 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-24Automatically download defcore.txtCédric Ollivier12-577/+120
It stops writing files in Functest package dirs and cleans instance variables in refstack modules too. Change-Id: Iaddbe4fbaf12d1af207b86d4e44258efdc6d6f3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-24Update Functest to meet last snaps updatesCédric Ollivier3-10/+11
It removes obsolete mockey patches in Rally unit tests and adds keystone client as params when needed in orchestra_*ims.py [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/52473/ Change-Id: Id02954d16f5f54cc0c390fadb498e14c6bab6ff9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-24Merge "Use functest repo variable"Cedric Ollivier1-1/+1
2018-02-23Use functest repo variableDelia Popescu1-1/+1
related to: https://gerrit.opnfv.org/gerrit/#/c/52509/ JIRA: FUNCTEST-917 Change-Id: I79512253b37254b9247fda083500e160dba66d6f Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-02-22Switch from CONST to CONFCédric Ollivier24-280/+224
It also removes constants.CONST and env.Environment which are now useless. Depends-On: I764a0a2a24447c941d1e726f3116593b29dd1c1e Depends-On: I6cfa832466dcefd737314633d807512e46267a69 Change-Id: Ife41c59d9f2e6ec4e49df38af962039f99554bc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-22Merge "Use constants for Functest config file"Cedric Ollivier10-26/+31
2018-02-22Support different user/project domain valuesValentin Boucher3-5/+33
For the moment, VNF works well only if OS_PROJECT_DOMAIN_NAME=Default OS_USER_DOMAIN_NAME=Default It's now possible to use domain != Default JIRA: FUNCTEST-935 Change-Id: I779a93538662ff32906d91d7cf3b2c5c3e872765 Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
2018-02-22Use constants for Functest config fileCédric Ollivier10-26/+31
env_file can't be defined in a config file simply because it's an entry point (Jenkins jobs, end users) Change-Id: Ie23c0ef90efc839d60f0f3a9754c58746b1f3a00 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-22Merge "Unify security group operations"Cedric Ollivier1-7/+7
2018-02-21Merge "Leverage of snaps creds to get the right region name"Cedric Ollivier1-7/+2
2018-02-21Merge "Print stdout and stderr when calling commands over SSH"Cedric Ollivier2-23/+30
2018-02-21Print stdout and stderr when calling commands over SSHCédric Ollivier2-23/+30
It will help debugging possible issues vs APEX [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/792/console Change-Id: I610f5b0a7774440c51fa086fad4f61c9be0571dc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-21Unify security group operationsCédric Ollivier1-7/+7
It updates juju_epc to conform with cloudify_ims and cloudify_vrouter regarding security group operations. Change-Id: I2bc4a16ec17f2836564df82d3ceddd3bc73ece7a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-21Leverage of snaps creds to get the right region nameCédric Ollivier1-7/+2
Else it gets the defaut value as it's unset in env. Change-Id: Ic2a9cdaed7891fe2723f960782c81c0cbb04e8f0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-21Create a second user in cloudify_vrouterCédric Ollivier1-5/+18
It mainly bypasses a bug when a similar network name has already been created. We can't apply the same operations for cloudify_vims because the key must be created by the _member_ user. Snaps haven't allowed that since [1] has been merged [1] https://gerrit.opnfv.org/gerrit/#/c/52157/ Change-Id: I90131487d0e08a4d95c684efb16a8009c3709a8e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-20Merge "Remove deprecated monkey patches"Cedric Ollivier1-18/+1
2018-02-20Merge "Remove last CONST.__getattribute__()"Cedric Ollivier12-47/+40
2018-02-19Merge "Generate tempest verification report (HTML)"Cedric Ollivier2-6/+31
2018-02-19Remove deprecated monkey patchesCédric Ollivier1-18/+1
OpenStack utils are being removed. Change-Id: I2a41297034654f678afa5a7a818961a4cd0cee73 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-19Remove last CONST.__getattribute__()Cédric Ollivier12-47/+40
Change-Id: I82f6aa1e723c88eebd4c7410da4b9741a482e9bc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-19Manage region in cloudify_ims.pyCédric Ollivier1-2/+3
It must be completed by a new change in opnfv-cloudify-clearwater [1]. [1] https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/pull/18 Change-Id: Ic3a323e33b9742835159f5386e9247c6ac965f51 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-19Fix credentials in cloudify_vrouterCédric Ollivier1-76/+40
It completes [1] which partially fixes cloudify_vrouter [2]. It now handles region name too and formats long arg lists too. [1] https://gerrit.opnfv.org/gerrit/#/c/52175/ [2] https://gerrit.opnfv.org/gerrit/#/c/50747/ Change-Id: I592d12d7df6837531560acfc4afc0636f485c671 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-19Generate tempest verification report (HTML)Juha Kosonen2-6/+31
JIRA: FUNCTEST-934 Change-Id: I2befbd3f2b2311f69b24321c7e9544fb43df3a9d Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-02-19Disable orchestra_clearwaterims in functest-vnfCédric Ollivier1-1/+1
It fixes a typo. Change-Id: I684eab0ed74e2ebcb6f72442d0b3012d1b5de7aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-19Precise Tempest tests listCédric Ollivier2-5/+5
Else full mode could run tests defined in tempest plugins too [1]. [1] https://docs.openstack.org/tempest/latest/plugin-registry.html Change-Id: I4355b03ba1b9ba47938f748c4f1a8822fd412142 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-19Enhance variable manipulation in tempestJuha Kosonen3-82/+68
Use getattr/setattr to read/write CONST. JIRA: FUNCTEST-932 Change-Id: Ic9a944100c60563b16f5d89b622ef7f04183cceb Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-02-16Remove one debug printCédric Ollivier1-1/+0
Change-Id: I531d1e519fc0352525993c69142eea14b99a3f63 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-16Mock additional methods related to OpenStackFlavorCédric Ollivier3-0/+10
keystone_utils.keystone_client() and keystone_utils.get_project() have to be mocked when unit testing flavor creation since [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/52157/ Change-Id: I898cde1001c14d0b450c3dd43ade7dca47b1ffb3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-16Add suffixes in vnf keypair namesCédric Ollivier2-25/+29
Change-Id: Ia9c8ef535b16326a520367d2c7c98b7e8db4822c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>