aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2018-03-07Add a new env var for nameserverLinda Wang10-13/+30
We should still consider that the nameserver must be handled by all installers instead [1]: - by configuring one or more DNS resolvers in dhcp_agent.ini - by asking a local resolv It eases setting the nameserver in testcases and then allows gating them. 8.8.8.8 is still defined by default. [1] https://docs.openstack.org/neutron/pike/admin/config-dns-res.html Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Id58dd5ebee612a0fce2ebc40f089769e60899416 Signed-off-by: Linda Wang <wangwulin@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-07Define a new env var for volume device nameCédric Ollivier3-6/+7
It eases modifying the volume device name written in tempest config. Fuel jobs should be adapted to set the right value (vdc) which differs from default (vdb). Change-Id: I09212018f94daa800ede815bd3586cceed0d54e7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-05Merge "Fix Rally scenario parameters representation"Cedric Ollivier1-7/+7
2018-03-05Fix Rally scenario parameters representationJuha Kosonen1-7/+7
Use printable format of string in scenario input parameters. JIRA: FUNCTEST-946 Change-Id: Ic4826506a6f030e749fecdc7f880e9f911f9c987 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-03-05Merge "Load SfcFunctest instead of running a bash script"Cedric Ollivier1-4/+2
2018-03-05Config volume_device_name as vdc for fuelLinda Wang1-0/+3
JIRA: FUNCTEST-947 Change-Id: I69a83dc69eaa4379c630e201e837f29311c716b9 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-05Load SfcFunctest instead of running a bash scriptCédric Ollivier1-4/+2
It allows publishing tests details. Change-Id: Iffc49f8258cdd2c145750343003f21921ac7ff67 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-04Set user domain name when creating usersCédric Ollivier2-0/+2
It updates juju_epc.py and cloudify_vrouter.py. Change-Id: I8cf97e31d78a4d48ad815faadc8e4130581e1c21 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-04Support domains when creating project/userLinda Wang1-2/+4
JIRA: FUNCTEST-945 Change-Id: Ibfce5a7d2ebb59a83ad5b2b6344c2fc87d7f3e84 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-03Set default volume_device_name = vdbCédric Ollivier1-1/+1
refstack_defcore is currently failing on all installers. It will highlight the right value per installer. A better way is to manage the device name by a new env var set by all installers (it may depend on kdrive configurations) JIRA: FUNCTEST-947 Change-Id: If1c12bc6798bc89136715bc78f2ac0b798e669e6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Merge "Leverage on Xtesting"valentin boucher48-3425/+161
2018-03-02Leverage on XtestingCédric Ollivier48-3425/+161
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-01Enable barometer run on compassLinda Wang1-1/+1
Change-Id: Ic6f4f2a2d06dc70338da3bad53deca0a62a03232 Signed-off-by: Linda Wang <wangwulin@huawei.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 Ollivier2-0/+79
2018-02-28Merge "Support different user/project domain values"valentin boucher3-5/+33
2018-02-28Integrate Patrole as a new testcaseCédric Ollivier2-0/+79
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 Ollivier1-2/+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 Ollivier1-2/+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 Ollivier2-3270/+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-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 Ollivier9-576/+112
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-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>