Delia Popescu [Mon, 25 Jun 2018 10:32:42 +0000 (13:32 +0300)]
Fix role name for tenantnetwork
Role name _member_ is no longer available
The test returnes OpenstackCloudException that
role _member_ is not found
Change-Id: I37c8dfe6c4da04009ccabbc49e12c2123d92832b
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Cédric Ollivier [Mon, 25 Jun 2018 05:17:17 +0000 (07:17 +0200)]
Move odl into healthcheck
It should be included in healthcheck as all basic tests.
Change-Id: I48439fe6385a9056eed8b779290f20633d59b0fd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 25 Jun 2018 04:07:26 +0000 (06:07 +0200)]
Implement connection_check via shade too
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>
Cédric Ollivier [Mon, 25 Jun 2018 03:09:05 +0000 (05:09 +0200)]
Move vping_* and cinder_test into healthcheck
Change-Id: I193c6dcdf90fe8eac46884fe5a5a329b0e5a7322
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 25 Jun 2018 02:58:11 +0000 (04:58 +0200)]
Add dedug data when creating project/user
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>
Cédric Ollivier [Sun, 24 Jun 2018 17:43:01 +0000 (19:43 +0200)]
Force the use of public endpoints in shaker.py
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>
Cédric Ollivier [Sun, 24 Jun 2018 11:54:01 +0000 (13:54 +0200)]
Fix hardcoded values in cinder_test
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>
Cédric Ollivier [Sun, 24 Jun 2018 09:37:10 +0000 (11:37 +0200)]
Improve scenarios to reduce duplicate codes
Change-Id: I71f79b9ac8314ac979d4b1009f662baa7c93a4fd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 24 Jun 2018 08:44:12 +0000 (10:44 +0200)]
Fix hardcoded value
Change-Id: I070e1404a4b0dba4733f38e2de32e1fa77254ddc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 23 Jun 2018 05:35:27 +0000 (07:35 +0200)]
Decrease the log level when connecting in singlevm
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>
Cédric Ollivier [Sat, 23 Jun 2018 10:30:07 +0000 (12:30 +0200)]
Fix user/project create operations
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>
Cédric Ollivier [Fri, 22 Jun 2018 12:35:53 +0000 (14:35 +0200)]
Update tempest to inherit from VmReady1
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>
Cédric Ollivier [Thu, 21 Jun 2018 20:47:45 +0000 (22:47 +0200)]
Publish vmready scenarios
It will simplify code in juju_epc, tempest, etc.
Change-Id: I195ae1d7d75f1c2f2eba76ae3c5307153e9b9759
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 21 Jun 2018 20:07:51 +0000 (20:07 +0000)]
Merge "Update patches"
Cédric Ollivier [Thu, 21 Jun 2018 19:43:55 +0000 (21:43 +0200)]
Update patches
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>
Cédric Ollivier [Thu, 21 Jun 2018 16:11:09 +0000 (18:11 +0200)]
Add the Barbican test suite
It eases verifying the functionality of a barbican installation.
Change-Id: Iac2144ae6ba4d61b2b37bb5c7a0359edb3f222a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 21 Jun 2018 16:20:16 +0000 (18:20 +0200)]
Install third-party requirements again
Change-Id: Ic04969a56a4e35d5caf12a6a9bc0323bcf3a26d2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 13 Jun 2018 12:57:56 +0000 (14:57 +0200)]
Integrate Shaker as a new testcase
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>
Cédric Ollivier [Mon, 18 Jun 2018 12:18:59 +0000 (14:18 +0200)]
Publish singlevm scenarios
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>
Cédric Ollivier [Mon, 18 Jun 2018 11:52:42 +0000 (13:52 +0200)]
Publish tenantnetwork scenarios
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>
Cedric Ollivier [Tue, 19 Jun 2018 15:24:52 +0000 (15:24 +0000)]
Merge "Add functest in upper-constraints"
Cédric Ollivier [Tue, 19 Jun 2018 12:36:46 +0000 (14:36 +0200)]
Add functest in upper-constraints
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>
Cedric Ollivier [Tue, 19 Jun 2018 09:08:38 +0000 (09:08 +0000)]
Merge "Clean requirements"
Cédric Ollivier [Tue, 19 Jun 2018 05:46:19 +0000 (07:46 +0200)]
Clean requirements
It cleans dependencies asked by removed modules.
Change-Id: I3a2013bd5a77e4b99219475fc2c1fc3dc06787be
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 19 Jun 2018 05:14:42 +0000 (07:14 +0200)]
Fix pylint errors
They are highlighted by the last pylint version.
Change-Id: I473212a413013492716993fb536903b13bff66ed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Jun 2018 17:48:29 +0000 (19:48 +0200)]
Add minimal docstings in clearwater_ims_base.py
It will allow forcing 10/10 in any new patchset.
Change-Id: I4cc52a9fb66fdd2c0dcbf9915be262acedac8672
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Mon, 18 Jun 2018 14:39:50 +0000 (14:39 +0000)]
Merge "Leverage on new opnfv/functest-tempest"
Cedric Ollivier [Mon, 18 Jun 2018 08:00:55 +0000 (08:00 +0000)]
Merge "Config flavor metadata via functest - docs update"
Cédric Ollivier [Sun, 17 Jun 2018 07:53:13 +0000 (09:53 +0200)]
Leverage on new opnfv/functest-tempest
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>
Cédric Ollivier [Sun, 17 Jun 2018 10:29:12 +0000 (12:29 +0200)]
Allow overriding the default OPENSTACK_TAG
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>
Cédric Ollivier [Sun, 17 Jun 2018 08:31:15 +0000 (10:31 +0200)]
Run unit tests as travis-ci job
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>
Cédric Ollivier [Sun, 17 Jun 2018 11:36:12 +0000 (13:36 +0200)]
Fix invalid method names in vnfs
Change-Id: Icff1a53ffd7b59d46543b79571b45872a9f243c3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 17 Jun 2018 09:41:08 +0000 (11:41 +0200)]
Mock os.makedirs() in test_odl.py
os.makedirs() is called before calling robot.run.
Change-Id: Id651428343510683cd616d8101d22a73ccbf3dad
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 17 Jun 2018 08:15:01 +0000 (10:15 +0200)]
Run unit tests vs different upper-constraints
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>
Cédric Ollivier [Sun, 17 Jun 2018 07:18:13 +0000 (09:18 +0200)]
Add functest-tempest container
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>
Cédric Ollivier [Sat, 16 Jun 2018 16:07:25 +0000 (18:07 +0200)]
Update travis-ci config
It stop cross-compiling for arm and creating functest-parser
manifests.
Change-Id: Ic9567232d876e36b3adbff4bc1d4d23ff9ef3b81
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 15 Jun 2018 15:55:23 +0000 (17:55 +0200)]
Fix pylint warnings in clearwater_ims_base
Change-Id: I663bd2826e43ce888990b012df27ca94e2d49a8d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 15 Jun 2018 06:22:38 +0000 (08:22 +0200)]
Remove parser container
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>
Cédric Ollivier [Fri, 15 Jun 2018 06:19:18 +0000 (08:19 +0200)]
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>
Cédric Ollivier [Fri, 15 Jun 2018 06:15:10 +0000 (08:15 +0200)]
Remove cli and api
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>
Cédric Ollivier [Thu, 14 Jun 2018 19:20:59 +0000 (21:20 +0200)]
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>
Cédric Ollivier [Thu, 14 Jun 2018 18:51:41 +0000 (20:51 +0200)]
Add py3 support in tempest and rally
Change-Id: I009d38a0db409ab4ec641cba9173ab2386d0ce2a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Panagiotis Karalis [Wed, 13 Jun 2018 08:40:41 +0000 (11:40 +0300)]
Config flavor metadata via functest - docs update
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>
Cedric Ollivier [Wed, 13 Jun 2018 17:25:07 +0000 (17:25 +0000)]
Merge "Abort vping_userdata test if IP address is missing"
Juha Kosonen [Tue, 12 Jun 2018 13:35:19 +0000 (16:35 +0300)]
Abort vping_userdata test if IP address is missing
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>
Cédric Ollivier [Wed, 13 Jun 2018 12:56:23 +0000 (14:56 +0200)]
Fix result parsing in cloudify_ims
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>
Panagiotis Karalis [Thu, 7 Jun 2018 13:11:33 +0000 (16:11 +0300)]
SNAPS via functest with flavor metadata configurable
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>
Cédric Ollivier [Tue, 12 Jun 2018 12:02:37 +0000 (14:02 +0200)]
Revert "Stop rolling snaps (bypass bugfixes)"
This reverts commit
8c285c3fb56ce144ff7eb095b6fa401e29a03fc4.
Change-Id: I2acc1cdc7fe2d12c6eb3d100f76c2dc3e502522f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 10 Jun 2018 12:00:22 +0000 (14:00 +0200)]
Update cloudify-rest-client to 4.3.2
Change-Id: I8ac0becb57897233c2a12781dc022d9fdfd32f85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Jun 2018 12:47:51 +0000 (14:47 +0200)]
Select the right quaff repo
Change-Id: I0aa090bf1f8c6220918ebc1b041bab4a43d444b5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Jun 2018 12:01:44 +0000 (14:01 +0200)]
Force unf_ext 0.0.7.4
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>
Cédric Ollivier [Sat, 9 Jun 2018 08:53:41 +0000 (10:53 +0200)]
Stop using a forked obsolete repo
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>
Cédric Ollivier [Wed, 6 Jun 2018 07:28:38 +0000 (09:28 +0200)]
Switch to Python3 divide in cloudify_ims
The code simply asks for python3 divide else only live_test = 100% is
considered as successful [1].
[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/169/console
Change-Id: I84690d20791cd3d6a68823eec40f0e4b0f876b72
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 5 Jun 2018 19:31:43 +0000 (21:31 +0200)]
Switch from OS_ENDPOINT_TYPE to OS_INTERFACE
It also set endpoint_type to public in tempest.conf if unset.
JIRA: FUNCTEST-975
Change-Id: I91bd1d7171b4bcf58dbe818696d5b864d5036619
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 5 Jun 2018 18:29:04 +0000 (20:29 +0200)]
Return true if at least one passed test
JIRA: FUNCTEST-974
Change-Id: I9915dbb91516baf5307a577c41ede5dca51a2f07
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 1 Jun 2018 15:31:03 +0000 (17:31 +0200)]
Update clearwater to 129
It switches to Sprint Ulmo [1] which fixes deployment issues in
Orange ONAP Openlab.
[1] http://www.projectclearwater.org/sprint-ulmo-release-note/
Change-Id: I3c32faf4e26e64bb12438238cf1ba66b9771da0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Fri, 1 Jun 2018 10:29:45 +0000 (10:29 +0000)]
Merge "Update read and write data path in cinder test"
Delia Popescu [Tue, 29 May 2018 08:46:37 +0000 (11:46 +0300)]
Update read and write data path in cinder test
Update the path for read/write data
Fix a false possitive result on read_data
Fix read device name
Unmount volume after writing data
JIRA: FUNCTEST-908
Change-Id: I555b5a3daaeff3aa58891e65c0b70094372c04c9
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Juha Kosonen [Wed, 30 May 2018 14:04:55 +0000 (17:04 +0300)]
Fix tempest result parsing
Detailed results of verifier are in tempest-error.log.
Change-Id: Id5dbdfd3389d1b79dba2bebc5f5ffa7811ef06c8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Cédric Ollivier [Wed, 30 May 2018 13:18:35 +0000 (15:18 +0200)]
Bypass Cloudify's upper-constraints issues
It installs cmd2 via yum instead as last cmd2 release only supports
python3.
Change-Id: I495d71f11ed48ba47e1aa27965675d4bef7c141e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 30 May 2018 07:32:00 +0000 (09:32 +0200)]
Fix _do_execute() return code in vping_ssh
Change-Id: I781e51bb56f6cdac8b347e7fd85e70c07eb69e23
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Panagiotis Karalis [Fri, 25 May 2018 09:22:47 +0000 (12:22 +0300)]
Simplify logging
In order to collect logs from features running through
functest framework (mainly for troubleshooting purposes),
the logging mechanism has been updated accordingly.
It should be noted that feature logs are printed in functest.log.
All logs are now printed in functest.log whatever the namespace.
JIRA: SFC-125
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I6cb32e5553749023d490d553ae4653750c52e844
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 28 May 2018 07:04:12 +0000 (09:04 +0200)]
Print vping output instead of Paramiko object
Change-Id: Iddc1abdf443e482e8748434a4ba7d85709d8cd0e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sun, 27 May 2018 08:23:09 +0000 (08:23 +0000)]
Merge "Stop rolling snaps (bypass bugfixes)"
Cédric Ollivier [Sun, 27 May 2018 07:58:58 +0000 (09:58 +0200)]
Stop rolling snaps (bypass bugfixes)
Snaps now requires admin role for creating routers [1].
[1] https://git.opnfv.org/snaps/commit/?id=
5a81c2abb920cfe5ea975c37b390838d586a98b1
Change-Id: Ia9a5225e0e31fa3e1c50abb3814e12c98d53e76c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 26 May 2018 19:56:26 +0000 (19:56 +0000)]
Merge "Add cinder_test testcase"
Delia Popescu [Thu, 10 May 2018 09:13:08 +0000 (12:13 +0300)]
Add cinder_test testcase
Create 2 instances with Floating IPs
Attach data volume to instance 1
Write data on the volume
Detach volume from instance 1
Attach volume to instance 2
Read data from volume
JIRA: FUNCTEST-908
Change-Id: I10efdfb3b7f9d7e6ab5c6a538052437585d52fb0
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Cédric Ollivier [Thu, 24 May 2018 13:13:26 +0000 (15:13 +0200)]
Set image metadata in tempest
It applied the same operations as [1].
Only one config is used between rally, tempest and vping.
[1] https://gerrit.opnfv.org/gerrit/#/c/57613/
Change-Id: I4d5fd2117d404b7eaa79326e21a35272232d0b92
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 22 May 2018 12:39:32 +0000 (14:39 +0200)]
Bypass Cloudify tenancy issues
It creates a second user to bypass possible bugs and correctly
exits on failure if it cannot connect to manager via ssh.
It leverages on the _member_ user as much as possible.
It also switches all flavor names to avoid conflicts.
It also increases debug logs.
Change-Id: I59cb071248b5ae50952b9f16eb29f7be3f3644ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 23 May 2018 11:45:30 +0000 (13:45 +0200)]
Leverage on _member_ user
It leverages on the _member_ user as much as possible.
It also switches all flavor names to avoid conflicts.
It also increases debug logs.
Change-Id: Ica595b0aba81e845ddb1c858fd5d0deb69872319
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sun, 20 May 2018 21:42:19 +0000 (21:42 +0000)]
Merge "Refactor task results manipulation in rally"
Juha Kosonen [Wed, 16 May 2018 11:18:41 +0000 (14:18 +0300)]
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>
Cedric Ollivier [Wed, 16 May 2018 13:59:19 +0000 (13:59 +0000)]
Merge "Fix UserConfig objects"
Cédric Ollivier [Wed, 16 May 2018 08:48:08 +0000 (10:48 +0200)]
Fix UserConfig objects
UserConfig is expecting domain_name as arg instead of domain.
Else all vnfs cannot work against non Default domains.
Change-Id: I4bb53df9d9c03524b19ec32f8d346d94ba78d188
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Wed, 16 May 2018 07:13:58 +0000 (07:13 +0000)]
Merge "Updated documentation for juju_epc tests"
soumaya [Mon, 14 May 2018 16:35:46 +0000 (22:05 +0530)]
Updated documentation for juju_epc tests
Change-Id: If9399b7b385cb2660e76fcd42776c0dfcb4f7677
Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
soumaya [Fri, 11 May 2018 11:44:14 +0000 (17:14 +0530)]
Fine-tuning the juju-epc codebase for better error-handling
The changes are mostly basic/cosmetic in nature.
- Add some additional info in loggers.
- Remove timeout from few commands(such as juju deploy)
- Add exception logging for few commands(such as juju bootstrap).
- Change rsync to cp for feature file transfer within ABot.
Change-Id: Ibeaae17f1c25d04b7830ed42719b70e6c99228cf
Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
Cedric Ollivier [Mon, 14 May 2018 14:16:30 +0000 (14:16 +0000)]
Merge "Update ODL testcase to OpenStack Shade"
Delia Popescu [Mon, 14 May 2018 09:03:34 +0000 (12:03 +0300)]
Update cirros image version for ARM architecture
Change-Id: Ia7a65a4f83798cb80ca7470d475c2c2d8c9fb6ea
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Cédric Ollivier [Sat, 12 May 2018 14:10:10 +0000 (16:10 +0200)]
Update ODL testcase to OpenStack Shade
Change-Id: I7832b5ed274e181449f9db9fb03a2d27038520ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 11 May 2018 17:15:18 +0000 (19:15 +0200)]
Leverage on local descriptor
It simply seems dummy.
Change-Id: Ifb83dd0310f523f211911a35e7b481f9da6f9704
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 11 May 2018 12:22:12 +0000 (14:22 +0200)]
Install Cloudify descritors in functest-vnf
It completes [1] to fix gates [2] and stops getting thirdparty vnf
master (dependencies).
It also prints data to ease debugging.
[1] https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/commit/
abd39d772c77317a25745feaaf312165e7588346
[2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/110/console
Change-Id: Ib317a491e54820f4edb01fcecfca9d2a08b40c0f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Delia Popescu [Wed, 9 May 2018 12:31:22 +0000 (15:31 +0300)]
Add image extra properties back in vping_base
Image extra properties are missing for ARM
Set image_url for ARM
JIRA: ARMBAND-383
Change-Id: I0e2730c3f22214ad61d72424ea76173f1783d0ca
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Cedric Ollivier [Mon, 7 May 2018 16:43:20 +0000 (16:43 +0000)]
Merge "Switch to project domain name"
Cedric Ollivier [Mon, 7 May 2018 16:42:51 +0000 (16:42 +0000)]
Merge "Improve ssh timeout in vping_ssh"
Cédric Ollivier [Mon, 7 May 2018 14:32:37 +0000 (16:32 +0200)]
Switch to project domain name
At least Fuel, Apex and Joid don't export OS_PROJECT_DOMAIN_ID.
https://build.opnfv.org/ci/view/functest/job/functest-joid-baremetal-daily-master/353/console
Change-Id: I8441d2de1841d5a9ce78c6929fd78da01c45548c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Mon, 7 May 2018 14:05:23 +0000 (14:05 +0000)]
Merge "Make volumes appear as SCSI devices in aarch64"
Cédric Ollivier [Mon, 7 May 2018 14:02:00 +0000 (16:02 +0200)]
Improve ssh timeout in vping_ssh
It seems that 10s is not enough for Fuel.
Change-Id: I46d3d2c9091946befb0e056a8c8cc56c59087471
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 6 May 2018 22:57:23 +0000 (00:57 +0200)]
Simplify vping_ssh
It directly calls ping from the ssh socket.
It fixes a possible missing security rule.
It stops blocking if vpings are in failure.
Change-Id: I64092a155bb134fa8b7d31d0d13f695e019540d1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 5 May 2018 18:06:18 +0000 (18:06 +0000)]
Merge "Functest fail to parse refstack results"
Juha Kosonen [Fri, 4 May 2018 13:30:44 +0000 (16:30 +0300)]
Switch to Shade in rally
Use Shade for managing OpenStack resources in rally.
Change-Id: Ic8b7aaef6886f6ca4930b2ea463317b75ed8d3c9
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Cédric Ollivier [Sat, 5 May 2018 17:07:42 +0000 (19:07 +0200)]
Implement get_external_network via shade
It fixes the current issues as EXTERNAL_NETWORK is mainly unset by
all Installers [1].
[1] https://build.opnfv.org/ci/view/functest/job/functest-fuel-armband-baremetal-arm-daily-fraser/31/console
Change-Id: I8ee62623701c15b9ff962d0a0e07a77934ff03ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
xudan [Fri, 4 May 2018 08:40:06 +0000 (04:40 -0400)]
Functest fail to parse refstack results
1. The regular expression can't work well for refstack results
2. Refer to http://testresults.opnfv.org/test/api/v1/results?project=functest&case_name=refstack_defcore&last=1
3. There are 88 success test cases but the list of success is empty
4. Refstack test case name is not always begin with {0}, it maybe any number
5. The test case whose name has the keyword 'fail' will also be list in 'failures'
Change-Id: I5187aaaabdca762256be9162cc85ba42263169bc
Signed-off-by: xudan <xudan16@huawei.com>
Charalampos Kominos [Fri, 27 Apr 2018 09:19:56 +0000 (11:19 +0200)]
Make volumes appear as SCSI devices in aarch64
Adding volumes in openstack by default uses virtio_blk and the
devices appear as /dev/vdX. In aarch64 however a qemu pci slot
is already in use so the tests cannot assign more than one volume
to a VM. Forcing the drives to use virtio-scsi solves the issue
and allows more volumes to be attached as /dev/sdX. The variable
defining the drive is VOLUME_DEVICE_NAME and is passed as
environmental variable when the container is created.
JIRA: ARMBAND-376
Change-Id: Ia688cff338ff319e22a3b26796fa197297c23ce0
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
Cédric Ollivier [Sun, 29 Apr 2018 13:56:33 +0000 (15:56 +0200)]
Rewrite TempestResourcesManager
It now leverages on OpenStack Shade to allow gating OpenStack master
as asked by TSC. Switching to OpenStack master (OpenStack SDK Rocky)
requires to change only one line.
It stops dedicating the network to the user possibly created because
the support is incomplete (the users have to be registed in
tempest.conf and the multiprocessing has to be enforced).
It also writes the second image and the second flavor in tempest.conf.
Change-Id: I9fe2c90a6073ebc240e9aa8fdf2ef93d5dd5f15f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 28 Apr 2018 22:28:39 +0000 (00:28 +0200)]
Rewrite vping_ssh and vping_userdata
They now leverage on shade to allow gating OpenStack master as asked
by TSC. Switching to OpenStack master (openstacksdk) requires to
change only one line.
It deletes the related unit tests as they have to be fully rewritten.
They will be added in another change.
Change-Id: I0c60681d6e1c0944960770429ef972947dd85321
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 27 Apr 2018 11:39:21 +0000 (13:39 +0200)]
Set image_url as filename
It will be reused as soon as vping switches to openstacksdk.
Change-Id: Ib84f4b35b22ead1741579ec9140d3626f9102469
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Tue, 24 Apr 2018 13:53:15 +0000 (13:53 +0000)]
Merge "Add debug logs in cloudify_ims"
Cedric Ollivier [Tue, 24 Apr 2018 12:05:02 +0000 (12:05 +0000)]
Merge "Switch from deploy utils to the right objects"
Juha Kosonen [Tue, 24 Apr 2018 08:34:32 +0000 (08:34 +0000)]
Merge "Add Rally GnocchiResource scenarios"