summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-25Implement connection_check via shade tooCédric Ollivier7-119/+72
SNAPS connection_check tests are merged into api_check. It would ease debugging deployment as well [1] [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/127/console Change-Id: I30254a46c3dc6874881d687e36903c6b7878d63d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-25Move vping_* and cinder_test into healthcheckCédric Ollivier3-94/+93
Change-Id: I193c6dcdf90fe8eac46884fe5a5a329b0e5a7322 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-25Add dedug data when creating project/userCédric Ollivier1-0/+2
https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/127/console Change-Id: I233cef05560eba5f238b0eea3e2c56cb3c882931 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-24Force the use of public endpoints in shaker.pyCédric Ollivier2-14/+40
It now leverages on the new user created and gets the public endpoint. Change-Id: Iead106e614a73708cb13e33b49a2f438766a3056 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-24Fix hardcoded values in cinder_testCédric Ollivier4-331/+55
Only Fuel attaches a kdrive in all cases and then increase the device numbers. cinder_test now leverages on VOLUME_DEVICE_NAME as tempest. It also updates the testcase to leverage on the right scenario. Change-Id: Ib5cd17f69411f608f1b79e704604dc481581ebe0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-24Improve scenarios to reduce duplicate codesCédric Ollivier6-372/+131
Change-Id: I71f79b9ac8314ac979d4b1009f662baa7c93a4fd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-24Fix hardcoded valueCédric Ollivier1-1/+2
Change-Id: I070e1404a4b0dba4733f38e2de32e1fa77254ddc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-23Decrease the log level when connecting in singlevmCédric Ollivier1-2/+2
https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/172/console Change-Id: I0fd3bb833d306626c0eb6393fff3d0fca0579100 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-23Fix user/project create operationsCédric Ollivier3-28/+39
os_client_config creates a singleton which forbids the previous processing. It also cleans remaining resources and allows publishing public images (needed by Tempest) Change-Id: I3a0ad8664b263d3ee8599efe2973465006d5750b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-22Update tempest to inherit from VmReady1Cédric Ollivier6-192/+103
It also copies tempest.conf due to side effects raised by Barbican plugins. Change-Id: Ie87680f5d2e68527a5a61aac302838afc339dde8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-22Publish vmready scenariosCédric Ollivier6-118/+278
It will simplify code in juju_epc, tempest, etc. Change-Id: I195ae1d7d75f1c2f2eba76ae3c5307153e9b9759 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Merge "Update patches"Cedric Ollivier2-0/+30
2018-06-21Update patchesCédric Ollivier2-0/+30
It patches specific values for singlevm1 and singlevm2 (arm64, ovs and fdio). Change-Id: Ibbd827b52520410bbbfa231eec23b08aeb511e0b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Add the Barbican test suiteCédric Ollivier4-2/+52
It eases verifying the functionality of a barbican installation. Change-Id: Iac2144ae6ba4d61b2b37bb5c7a0359edb3f222a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Install third-party requirements againCédric Ollivier1-0/+3
Change-Id: Ic04969a56a4e35d5caf12a6a9bc0323bcf3a26d2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Integrate Shaker as a new testcaseCédric Ollivier5-0/+115
Shaker wraps around popular system network testing tools like iperf, iperf3 and netperf (with help of flent). Change-Id: Idd82ffd9642c90335ad156e899c0330473260f15 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Publish singlevm scenariosCédric Ollivier4-60/+408
They ease creating all ressources to execute command in a new VM reachable via ssh. This scenarios should be reused by other more advanced ones (shaker, vping, cinder, etc.). Change-Id: If23866827c64a7afbdd8ff596dbc33710ee4ee20 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-20Publish tenantnetwork scenariosCédric Ollivier4-3/+266
They ease creating all tenant network ressources. These scenarios should be reused by other more complex ones. Change-Id: I4ce1872065bde92408d34f2ca8823ce98275d8d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-19Merge "Add functest in upper-constraints"Cedric Ollivier6-19/+22
2018-06-19Add functest in upper-constraintsCédric Ollivier6-19/+22
It's required by OPNFV Features such as sfc. Functest is removed from constraints in Dockerfile else it would conflict with the local dir. Change-Id: I2df5cd151b43eb1a4f0320510183d0f28cdf84c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-19Merge "Clean requirements"Cedric Ollivier2-15/+0
2018-06-19Clean requirementsCédric Ollivier2-15/+0
It cleans dependencies asked by removed modules. Change-Id: I3a2013bd5a77e4b99219475fc2c1fc3dc06787be Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-19Fix pylint errorsCédric Ollivier11-38/+36
They are highlighted by the last pylint version. Change-Id: I473212a413013492716993fb536903b13bff66ed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-18Add minimal docstings in clearwater_ims_base.pyCédric Ollivier1-1/+14
It will allow forcing 10/10 in any new patchset. Change-Id: I4cc52a9fb66fdd2c0dcbf9915be262acedac8672 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-18Merge "Leverage on new opnfv/functest-tempest"valentin boucher4-73/+10
2018-06-18Merge "Config flavor metadata via functest - docs update"Cedric Ollivier2-0/+14
2018-06-17Leverage on new opnfv/functest-tempestCédric Ollivier4-73/+10
It simplifies components, features and smoke containers and they can now leverage on tempest. Change-Id: Ie5564b8ba8a58670827af74371194d2583801f1b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Allow overriding the default OPENSTACK_TAGCédric Ollivier1-1/+2
It allows building containers vs other upper-constraints and then reusing our Dockerfiles for an older or newer OpenStack versions. Change-Id: I160e6f7175a11684846cad86c3d47269c88a08ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Run unit tests as travis-ci jobCédric Ollivier1-0/+3
tox doesn't run perm and py35: - travis-ci doesn't set the classical umask - ubuntu 14.04 doesn't provide any python 3.5 package Change-Id: I72ba109b183f079a833a4bab4ab4853d4870ce49 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Fix invalid method names in vnfsCédric Ollivier2-9/+8
Change-Id: Icff1a53ffd7b59d46543b79571b45872a9f243c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Mock os.makedirs() in test_odl.pyCédric Ollivier2-3/+7
os.makedirs() is called before calling robot.run. Change-Id: Id651428343510683cd616d8101d22a73ccbf3dad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Run unit tests vs different upper-constraintsCédric Ollivier1-1/+1
It allows setting different upper-constraints (i.e. run unit test vs OpenStack master). Change-Id: Ie4f433a9f6b4c68a43ea259abb0f95270fc908ad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Add functest-tempest containerCédric Ollivier4-2/+55
It avoids duplicating operations between functest-smoke, functest-components, functest-vnf... It eases building new containers for new tempest-based testcases. Change-Id: I73b973588f4eb70d1e5874d06d030c5a5d729e95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-16Update travis-ci configCédric Ollivier1-29/+4
It stop cross-compiling for arm and creating functest-parser manifests. Change-Id: Ic9567232d876e36b3adbff4bc1d4d23ff9ef3b81 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-15Fix pylint warnings in clearwater_ims_baseCédric Ollivier1-7/+9
Change-Id: I663bd2826e43ce888990b012df27ca94e2d49a8d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-15Remove parser containerCédric Ollivier8-68/+0
Parser conflicts with OpenStack project namespaces due to bad fork conception. Functest should stop maintaining containers to bypass issues created by Parser (2 releases). Change-Id: If52084dc9cb7165a6f53051ad84604bc999dd69c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-15Remove cloudify_ims_perfCédric Ollivier12-18108/+0
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>
2018-06-15Remove cli and apiCédric Ollivier50-2289/+6
cli has been deprecated for a while and restapi is uncovered and unverified. This patch will be partially reverted as soon as next unit tests cover functest/api. It partially updates troubleshooting docs which has to be completed in a second change [1]. [1] https://jira.opnfv.org/browse/FUNCTEST-982 Change-Id: I08e0bd212fcf5f5c5c220eb2500a6b0a6ff46df7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-14Support py3 in uncovered packagesCédric Ollivier10-33/+42
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>
2018-06-14Add py3 support in tempest and rallyCédric Ollivier7-27/+33
Change-Id: I009d38a0db409ab4ec641cba9173ab2386d0ce2a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-14Config flavor metadata via functest - docs updatePanagiotis Karalis2-0/+14
Related to the merged patch : "SNAPS via functest with flavor metadata configurable" Functest documents are updated accordingly. Change-Id: I874f041935f64b7240a5ec5de6e9c89b0f4a09fd Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-06-13Merge "Abort vping_userdata test if IP address is missing"Cedric Ollivier1-0/+4
2018-06-13Abort vping_userdata test if IP address is missingJuha Kosonen1-0/+4
Do not start checking the result of ping test if the first instance has no IP address. JIRA: FUNCTEST-976 Change-Id: I2da3154e63a6a97f86efe8274be84abc437aa133 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-06-13Fix result parsing in cloudify_imsCédric Ollivier1-2/+2
The previous regex failed when errors are listed [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/194/console Change-Id: I57c8bfb8968555c3d43267a06f2bb9a2b95a3268 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-12SNAPS via functest with flavor metadata configurablePanagiotis Karalis3-13/+18
The required data for the SNAPS flavors are sent through the config_functest yaml file in order for the SNAPS scenarios to be configured accordingly. If the config_functest yaml file includes empty flavor_extra_specs or there is not included this parameter, the SNAPS scenarios will be executed using the hardcoded value. Change-Id: I4ef46d1fe93497d658414170a72c4520d8f37808 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-06-12Revert "Stop rolling snaps (bypass bugfixes)"Cédric Ollivier1-1/+1
This reverts commit 8c285c3fb56ce144ff7eb095b6fa401e29a03fc4. Change-Id: I2acc1cdc7fe2d12c6eb3d100f76c2dc3e502522f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-10Update cloudify-rest-client to 4.3.2Cédric Ollivier3-3/+5
Change-Id: I8ac0becb57897233c2a12781dc022d9fdfd32f85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-09Select the right quaff repoCédric Ollivier1-2/+2
Change-Id: I0aa090bf1f8c6220918ebc1b041bab4a43d444b5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-09Force unf_ext 0.0.7.4Cédric Ollivier1-0/+1
Else it cannot compile vs arm [1][2] [1] https://build.opnfv.org/ci/job/functest-vnf-docker-build-arm64-master/231/console [2] https://github.com/sile/unf/pull/2/commits/74ed3e3b1ec31474cf9b8d8a90aee535607fdfe8 Change-Id: I8b0890c3b7a2a148975635c0f4eafbcc5568fc00 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-09Stop using a forked obsolete repoCédric Ollivier3-43/+29
It leverages on the official clearwater live test instead. It now parses the output directly. Change-Id: Ia7746c13362323daf72b3536d294401f0b7ae42f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>