Cédric Ollivier [Sat, 16 Mar 2019 14:45:39 +0000 (15:45 +0100)]
Add sleeps and debugs in heat_ims
It allows checking all the services and hardening the asynchronuous
configurations.
It will ease understanding the remaining race conditions in gates.
Change-Id: I1f72a828f4eb32c33f43066e5c71558067bd292f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
26ddcc28113219b6180b36549995d94f075403fd)
Cedric Ollivier [Fri, 15 Mar 2019 08:19:25 +0000 (08:19 +0000)]
Merge "Revert Snaps in upper-constraints.txt"
Cédric Ollivier [Thu, 14 Mar 2019 19:56:42 +0000 (20:56 +0100)]
Revert Snaps in upper-constraints.txt
Change-Id: Ie437b8ea6a33871516d42bf022a1f46cdd488d48
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Venkata Harshavardhan Reddy Allu [Tue, 12 Mar 2019 09:03:56 +0000 (14:33 +0530)]
Add file program to the feature container
JIRA: SFC-139
File program is required by the osmclient to identify the mime-type of
given descriptor packages.
upstream[osmclient]: https://osm.etsi.org/gerrit/#/c/7112/
Change-Id: Iedbe87114e8d20d6124d38e5a9a812702d95c4aa
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
Cédric Ollivier [Wed, 13 Mar 2019 08:35:24 +0000 (09:35 +0100)]
Boot Cassandra at the end of heat_ims stack
Cassandra sometimes doesn't start when it boots in parallel of the other services.
It now selects eth0 instead of forcing ipv6 on lo.
Change-Id: Id9f8a4e19a43e85fc8a04fbc4c8f138f0adea417
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 11 Mar 2019 12:55:40 +0000 (13:55 +0100)]
Remove Snaps-based testcases
Snaps hasn't been synchronized for a while regarding requirements.
We do remove it due to the inactivity.
All test result tabs will be updated in a second change.
Change-Id: I834afd902829ed3883b0e88e92aa806ec43d6fcf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 12 Mar 2019 13:55:12 +0000 (14:55 +0100)]
Add deps in clearwater.yaml
Ellis must be started right after dns to publish the shared config.
Change-Id: I99fb7ff88e55c5c6a963b3a6db65d8d83b212eda
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Mon, 11 Mar 2019 14:57:26 +0000 (14:57 +0000)]
Merge "Allow building containers when refstack.openstack.org is down"
Cédric Ollivier [Mon, 11 Mar 2019 12:59:49 +0000 (13:59 +0100)]
Allow building containers when refstack.openstack.org is down
It has been down for days and break our gates.
Change-Id: I2e18a95abaced050f85f6efb8e849e0a5d497ea1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 10 Mar 2019 17:40:50 +0000 (18:40 +0100)]
Remove inactive committers
It follows the last guidelines from TSC (1-year inactivity).
It stop listing contributors as it's worse than git log.
Change-Id: If8fb1ab7371d34798c9f72d8885f4ec092f138ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Mar 2019 16:46:46 +0000 (17:46 +0100)]
Add dependencies in heat_ims
It avoids useless loops for cloud init messages.
It now conforms with clearwater-docker (disable ipv6 in cassandra).
Change-Id: I6f469cf48224296b2eaa079d342642c5caca65f5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 8 Mar 2019 09:51:42 +0000 (10:51 +0100)]
Remove SDNVPN as it doesn't participate to hunter
Change-Id: Iddeaa3890635103b66042a918ab66cabd8fdee60
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Wed, 6 Mar 2019 08:55:03 +0000 (10:55 +0200)]
Merge tempest.py and conf_utils.py
Change-Id: I597abdbb5bd3de023aa7b66fa27764ca2ec27f0d
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Cédric Ollivier [Thu, 7 Mar 2019 12:18:27 +0000 (13:18 +0100)]
Install SFC package as Feature third-party
It completes the previous patch enabling SFC [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/66811/
Change-Id: I1246d9e3117d94674a65643b53f26024454256cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 7 Mar 2019 00:38:44 +0000 (01:38 +0100)]
Modify the upstream Clearwater Heat files
It forces a single network for both management and signaling traffic.
It meets the OPNFV deployment requirements and the Functest SUT ones.
The security group will be improved in a second step to first quickly
fix the testcase in gambia. Private IPs may be registered in DNS to
avoid network address translations.
Change-Id: Ic19cf336ac5c2d07c52c6dd37b06271790145cf9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 3 Mar 2019 12:31:15 +0000 (13:31 +0100)]
Stop overriding ssh default timeout
It should be modified by tempest custom yaml file instead.
It's safe as the default timeout is bigger than the previous one.
It also cleans the obsolete tempest/rally data in config_functest.yaml.
[1] https://docs.openstack.org/tempest/latest/sampleconf.html
Change-Id: Ibad02d8aaf90f154c82f3b60a6d3f04fc37bd7de
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 3 Mar 2019 10:27:09 +0000 (11:27 +0100)]
Stop forcing non default operator role
Member is the default value [1] and SwiftOperator is not created by
default in OpenStack gates (devstack)
This role should be modified by tempest custom yaml file instead.
[1] https://docs.openstack.org/tempest/latest/sampleconf.html
Change-Id: Ie77b91e36a7011e5730cbf5998e029c07ec7fe2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 2 Mar 2019 08:15:10 +0000 (08:15 +0000)]
Merge "Change password generator"
Cédric Ollivier [Fri, 1 Mar 2019 18:20:13 +0000 (19:20 +0100)]
Change password generator
It adds lower and upper letters
JIRA: DOVETAIL-747
Change-Id: I4bdfcbf31a6dae4aa555fca3d42bbdec514a2b6b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Fri, 1 Mar 2019 10:31:01 +0000 (10:31 +0000)]
Merge "Updated from global requirements"
Cedric Ollivier [Thu, 28 Feb 2019 13:39:55 +0000 (13:39 +0000)]
Merge "Enable SFC OPNFV Features"
Cédric Ollivier [Thu, 28 Feb 2019 13:35:49 +0000 (14:35 +0100)]
Updated from global requirements
Change-Id: I1f6142aa5462c63ad142e40be7f31bee560a2b78
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 27 Feb 2019 20:29:23 +0000 (21:29 +0100)]
Conform heat_ims subnets with other testcases
It will be enhanced in a second step to calculate options from configs.
Change-Id: I91738e1aaad9a7049df44f734c4190def62fff91
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 27 Feb 2019 16:48:52 +0000 (17:48 +0100)]
Take new upper-constraints into account
neutron-tempest-plugin is now part of upper-constraints [1].
[1] https://github.com/openstack/requirements/commit/
baa8b82c4ce14551c585ed1dcae0509eb81858c3
Change-Id: I80fb40530d7f2698ecedd7a6047d6395dc92f436
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Wed, 27 Feb 2019 16:48:24 +0000 (16:48 +0000)]
Merge "Gather all skipped tempest test cases"
Cédric Ollivier [Wed, 27 Feb 2019 14:56:10 +0000 (15:56 +0100)]
Reduce Heat Ims resources
It eases testing with less resources.
It conforms with the new values in the Cloudify part [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/67092/
Change-Id: I1f6158a42fd8ed390c07e7c773bb246f81adef3b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 27 Feb 2019 09:56:20 +0000 (10:56 +0100)]
Ensure boot order in heat_ims
Ellis publishes the shared config which mostly fails when resources are
allocated in parallel (conflict). Then nothing works when the shared
config is blank.
It still remains failures in IMS testing which are still under analysis.
Change-Id: Ic54a2a7478e07a9291c76be8ffc57f04d199421e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Panagiotis Karalis [Mon, 25 Feb 2019 12:56:18 +0000 (14:56 +0200)]
Gather all skipped tempest test cases
This patch applies a change to the regex responsible for
identifying Tempest test cases. With the current regex some
skipped test cases are erroneously ignored.
The condition has been updated in order to match both format of
skipped testcases ('skip:' and 'skip [xxx]:')
Change-Id: Ie7144b01e07cae92918eede0324f3f1f2582c4aa
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Cédric Ollivier [Mon, 25 Feb 2019 18:39:08 +0000 (19:39 +0100)]
Remove useless vyos_vrouter output dir
It doesn't store any file.
Change-Id: I94801508a11edb8f0bbff7e4319c4d50411ec715
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 24 Feb 2019 19:30:55 +0000 (20:30 +0100)]
Update VyOS to 1.1.8
It's worth mentionning that the filesystem is hugely reduced.
Change-Id: Ic3e8a5d601a62f1762cbd491c228b7f053905e35
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 24 Feb 2019 09:58:40 +0000 (10:58 +0100)]
Ease copying/pasting the private keys from logs
Change-Id: I8f1ccdb709dbb3e7a22a404c036714dd848dd87d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 23 Feb 2019 22:15:35 +0000 (23:15 +0100)]
Reduce Cloudify Ims resources
It eases testing with less resources.
Change-Id: I301cdff0c8dfb2cf70ef53fc446749e1a70b0919
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 23 Feb 2019 08:49:58 +0000 (09:49 +0100)]
Stop downloading Cloudify container
It selects the Docker image archive as proposed by Cloudify.
Change-Id: I88b5333625a8d2cab140291552c1c8ca5bac3a36
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Mon, 18 Feb 2019 12:00:45 +0000 (12:00 +0000)]
Merge "Only run bgpvpn tempest api tests"
Cedric Ollivier [Mon, 18 Feb 2019 11:35:13 +0000 (11:35 +0000)]
Merge "Enrich Rally results output"
Cédric Ollivier [Mon, 18 Feb 2019 11:22:29 +0000 (12:22 +0100)]
Only run bgpvpn tempest api tests
It conforms with SFC regex and fits OPNFV criteria.
Running scenarios may force the use of bagpipe [1].
The SUT (functest-virtual) is being updated to verify SFC and BGPVPN
apis.
[1] https://docs.openstack.org/networking-bgpvpn/latest/user/drivers/bagpipe/index.html
Change-Id: I1442b9cac7eaba1aeef04e36a2f790bd29f90976
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 15 Feb 2019 14:23:27 +0000 (15:23 +0100)]
Stop building components in travis-ci
It was removed by "Move rally_full in benchmarking" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/66911/1
Change-Id: I7ade6f474364646bfe0f3ae1b2718749bd0ff26e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 15 Feb 2019 10:08:20 +0000 (11:08 +0100)]
Harden upper-constraints.txt operations
It takes into account the wget exit values and avoids manipulating a
falsy empty file.
It won't help fixing the network outages in LF network which have been
highlighted by false failures in api_check (the wrong snaps package
is installed [1])
[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-api_check-run/100/console
Change-Id: Ic9b75965b1ffb1f7bb342ff216bda9933ca75f0b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Stamatis Katsaounis [Thu, 14 Feb 2019 20:39:36 +0000 (22:39 +0200)]
Enrich Rally results output
This patch adds success/failure information of rally test cases to
summary output.
Change-Id: Ie4f9b4972a26e187bb7afdddfd5ce51b16f3db12
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Cédric Ollivier [Thu, 14 Feb 2019 21:21:53 +0000 (22:21 +0100)]
Generate xunit reports (rally and tempest)
It adds xunit reports for rally-based and tempest-based testcases.
It completes the reports provided by snaps (thanks to Xtesting).
All rally related operations are moved to rally.
It allows removing the rally dependency to tempest which was false.
Change-Id: Ia7d2476f58f4f68b7c88442e50cad844037a36e9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Thu, 14 Feb 2019 06:49:36 +0000 (06:49 +0000)]
Merge "Specify which rally tests to run"
Cédric Ollivier [Wed, 13 Feb 2019 20:23:28 +0000 (21:23 +0100)]
Publish tempest details into database
It switches from tempest.log to rally.log to conform with rally/stestr.
Change-Id: I00c2a268a2bc312a22a8d70278fad618c1c25235
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Stamatis Katsaounis [Fri, 8 Feb 2019 16:56:16 +0000 (18:56 +0200)]
Specify which rally tests to run
This patch adds the ability to specify which rally test to run by
setting the appropriate configuration value.
Change-Id: I6cbc9d12aada4f8eab68d2219d94ae1391a79021
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Cédric Ollivier [Wed, 13 Feb 2019 12:56:02 +0000 (13:56 +0100)]
Fix smoke testcase list
Rally_jobs were moved into benchmarking.
It completes "Move testcases in the right tiers" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/66875/
Change-Id: I1c2da77eff6682f85ab8504750077c9ee542edb8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Feb 2019 10:32:26 +0000 (11:32 +0100)]
Generate one single report for Rally testcases
It eases sharing one single report including all task results.
For the time being, rally_jobs only generates neutron.html.
Then it only adds one report for rally_full and rally_sanity.
We may consider generating only one json file but it asks for
a refactoring (result parsing) which can be done in a second
change.
Change-Id: I8fa75ae80750336950f355c2aedc3dd4dc621cc5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 12 Feb 2019 20:52:59 +0000 (21:52 +0100)]
Increase timeout to reach vnf API
It increases the timeout in cloudify-based and clearwater-based
testcases to allow running them in parallel (functest-virtual) [1].
[1] https://build.opnfv.org/ci/job/functest-latest-gate/54/
Change-Id: Ic637cb46a1380a683cb1e2b633cb97ac3be6affa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 12 Feb 2019 13:31:41 +0000 (14:31 +0100)]
Set gnocchi as optional in Rally testcases
ci/testcases.yaml was copied/pasted when moving the rally testcases.
It completes "Set Gnocchi scenario as optional in rally tests" [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/66653/
Change-Id: Ia23ae9764750775fe8983660c56ced06f3de977a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 12 Feb 2019 09:07:17 +0000 (10:07 +0100)]
Remove go cache dir
It saves about 290M.
Change-Id: I603c689be989a603e933970f52510026026c7001
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 12 Feb 2019 08:27:55 +0000 (09:27 +0100)]
Select last git commit id from vyos blueprint
The pull request #4 fixing the blueprint [1] was merged [1].
[1] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/commit/
9b76d46a388d32d4985797620e67c2ed3315b3e4
[2] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-hunter-gate/4/console
Change-Id: I3ddd86ee8c9fd30e68de74f06f40f782b1b04fd2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 11 Feb 2019 18:39:16 +0000 (19:39 +0100)]
Update ansible/site.yml (rally_full)
It conforms with "Move rally_full in benchmarking" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/66911/
Change-Id: I6382f6e612343896a1d817675e122d2c1e0b1a38
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Mon, 11 Feb 2019 13:40:57 +0000 (13:40 +0000)]
Merge "Update and enable Cloudify-based testcases"
Cédric Ollivier [Mon, 11 Feb 2019 05:45:34 +0000 (06:45 +0100)]
Update and enable Cloudify-based testcases
It switches from the Cloudify virtual machine to the community
container which allows deploying vyos_vrouter and cloudify_ims.
Last stable Cloudify OpenStack plugin (2.4.17) is now deployed.
It also updates the Cloudify python package to latest release.
It adds a delay before deleting the blueprint which may be
improved in a second change (it allows enabling the testcase in
the stable release).
Change-Id: Ie48a2c9d2badab0d7ba0b9e7845f453fad335ef7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 11 Feb 2019 10:41:14 +0000 (11:41 +0100)]
Remove tempest_smoke from smoke
It completes "Move testcases in the right tiers" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/66863/
Change-Id: Ic2e6ebf9371de87caafbfdb54029a24440e6fd5b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 11 Feb 2019 07:54:06 +0000 (08:54 +0100)]
Move rally_full in benchmarking
It allows merging all benchmarking testcases in one tiers and saves
lots of time as they could all run in parallel.
Change-Id: I551179709d2ce862056c1f5fcc1e16ef0b776dd4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Feb 2019 16:14:15 +0000 (17:14 +0100)]
Increase juju_epc timeout
It fails 4 times in functest-virtual (out of 34) due to a possible slow
bandwidth (e.g. [1]).
[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-latest-juju_epc-run/24/console
Change-Id: Ie1aa69464f8dd0fa1a15900e7d49576368187a44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 6 Feb 2019 06:48:36 +0000 (07:48 +0100)]
Move testcases in the right tiers
Here are the moves:
- tempest_smoke in healthcheck
- tempest_full and tempest_scenario in smoke
- rally_jobs in benchmarking
It avoids conflicts between benchmarking tools and few functional
tests (short timeouts).
Then it should allow running in parallel all testcases in one tiers.
It also allows cleaning the additional steps defined in releng.
rally_full could move in benchmarking in a second step.
Change-Id: I0bc657557a61c7d9bf7679b4f2dbda08c36728ca
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 2 Feb 2019 18:39:43 +0000 (19:39 +0100)]
Update Cloudify images
The former image can't be downloaded and then breaks all gates.
It will be completed by changes in vnf if needed.
Change-Id: Ie364aa2315257157a5e09eb4ba121926a60e7b26
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 1 Feb 2019 19:08:09 +0000 (20:08 +0100)]
Debug debug build issues in functest-virtual
snaps package is sometimes downloaded from PyPI which leads to runtime
failures (the package is very obsolete) [1].
[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-api_check-run/51/console
Change-Id: I1fd9b17339182f13d7455fb34b100ffc2ca2c21f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ananth.y [Fri, 1 Feb 2019 05:30:38 +0000 (14:30 +0900)]
Enable SFC OPNFV Features
Change-Id: I43763a20b0bbee94e92a110079525b2fe2653e07
Signed-off-by: ananth.y <ananth.y@hcl.com>
Cédric Ollivier [Mon, 28 Jan 2019 22:56:29 +0000 (23:56 +0100)]
Remove CreateInstanceVolumeTests (snaps_smoke)
The volume and the virtual machine created are not deleted.
Change-Id: I238fcb0839a2f609333080bc8c88b84327d51475
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 28 Jan 2019 19:37:29 +0000 (20:37 +0100)]
Decrease volume_size in all Rally tests
Devstack allocates a 24G disk image by default [1].
It can be easily reached by setting volume size to 5G or 10G.
[1] https://github.com/openstack-dev/devstack/blob/master/stackrc#L779
Change-Id: I7c35d8f333718d6c192a9f12a714e626d60b1895
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Mon, 28 Jan 2019 17:24:13 +0000 (17:24 +0000)]
Merge "Wait for apps being active (juju_epc)"
Cedric Ollivier [Mon, 28 Jan 2019 17:06:43 +0000 (17:06 +0000)]
Merge "Allow running latest tempest_full"
Cédric Ollivier [Mon, 28 Jan 2019 15:56:57 +0000 (16:56 +0100)]
Wait for apps being active (juju_epc)
It seems that juju-wait doesn't wait for all apps.
Juju_epc passes in functest-virtual thanks to that additional tries.
Change-Id: I161902c6308cfa6323c21e09140d16e036768ece
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 27 Jan 2019 22:27:28 +0000 (23:27 +0100)]
Allow running latest tempest_full
It allows running test_user_update_own_password [1]
[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-components-latest-tempest_full-run-8/results/tempest_full/tempest-report.html
Change-Id: I9f273ba58871f1e16886af623dcbb91f5c20c2f6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 28 Jan 2019 14:13:21 +0000 (15:13 +0100)]
Clean project/user if snaps tests are skipped
Change-Id: I88a58516a3620cc6b19013313672ad1a80791e70
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sun, 27 Jan 2019 10:43:40 +0000 (10:43 +0000)]
Merge "Remove Snaps NeutronUtilsFloatingIpTests"
Cedric Ollivier [Sun, 27 Jan 2019 00:35:04 +0000 (00:35 +0000)]
Merge "Stop using urljoin when adding v3"
Cédric Ollivier [Sat, 26 Jan 2019 23:24:27 +0000 (00:24 +0100)]
Remove Snaps NeutronUtilsFloatingIpTests
It has been fixed in Snaps [1] but we can't sync its requiremets [2].
Then we have to remove the test.
[1] https://gerrit.opnfv.org/gerrit/#/c/66625/
[2] https://gerrit.opnfv.org/gerrit/#/c/66627/1
Change-Id: Ied405092cb4992bc04ca13c1536d1e8cee056ace
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
17b788c5340e7d76f6c37397cd8aa35c8db3f4c2)
Cedric Ollivier [Sun, 27 Jan 2019 00:03:22 +0000 (00:03 +0000)]
Merge "Remove test_get_endpoint_with_each_interface"
Cédric Ollivier [Sat, 26 Jan 2019 23:06:32 +0000 (00:06 +0100)]
Stop using urljoin when adding v3
urljoin works here only if url ends by /.
It replaces identity by v3 when running vs devstack.
Change-Id: Id896f2b54dfcabadaad1137deef91b1cb07c697d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 26 Jan 2019 22:36:10 +0000 (23:36 +0100)]
Remove test_get_endpoint_with_each_interface
It checks all 3 endpoints for image but nothing forces to define them.
Here is the only endpoint created by devstack.
glance | image | RegionOne
| | public: http://192.168.1.10/image
[1] keystoneauth1.exceptions.catalog.EndpointNotFound: internal endpoint for image service in RegionOne region not found
Change-Id: If501b849fbbed6df98742db21e924094c1df9c7f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Sat, 26 Jan 2019 10:53:26 +0000 (12:53 +0200)]
Set Gnocchi scenario as optional in rally tests
The execution of an optional scenario is skipped if the corresponding
openstack service does not exist.
Change-Id: I8721f26ebc253ce02138b85d6c88e659c5afae80
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Stamatis Katsaounis [Fri, 25 Jan 2019 14:42:50 +0000 (16:42 +0200)]
Stop updating pip in virtualenv
NOTE: pip versions from 19.0 and later are producing an error when
used with option --no-cache-dir.
Change-Id: I3f4fb0b77046cda45d98673e7a5c8d42c72fb557
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 20 Jan 2019 13:39:45 +0000 (14:39 +0100)]
Slightly improve heat_ims
It increases timeouts which could be reached if shared bandwidth
(functest-virtual [1]).
[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-vnf-latest-heat_ims-run-4/results/functest.log
Change-Id: I29adcd9ea88bbccbaef9ba7f8e155d37a3217433
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 20 Jan 2019 10:10:04 +0000 (11:10 +0100)]
Force the right external network if juju
It may select a falsy external network [1].
[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-latest-juju_epc-run/4/console
Change-Id: Ic403d0cfb4bc829275617d6b1338311e8e7ea894
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 20 Jan 2019 09:32:03 +0000 (10:32 +0100)]
Fix one typo in docstring (tempest.py)
Change-Id: I46053c92660139f4004d9cec8d1cfb6817cc0e07
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 19 Jan 2019 19:59:08 +0000 (20:59 +0100)]
Take control over Rally logics
Rally selects the first external network [1] which could raise side
effects if:
- another testcase is creating a dummy external network in //
- all external subnets are not reachable from jumphost
It's now overriden by EXTERNAL_NETWORK as defined in Functest
Rally creates a new shared network if one already exists [2].
As juju now allows other shared networks, it can be safely created by
Functest to allow only one logic and to handle provider networks,
different name servers, etc...
[1] https://github.com/openstack/rally-openstack/blob/master/rally_openstack/verification/tempest/config.py#L146
[2] https://github.com/openstack/rally-openstack/blob/master/rally_openstack/verification/tempest/context.py#L85
Change-Id: Icf8c08077d4b0a9eb1c2e1b7309c62957b0a3b63
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 19 Jan 2019 19:38:12 +0000 (19:38 +0000)]
Merge "Move logics out of TempestCommon.__init__()"
Cédric Ollivier [Sat, 19 Jan 2019 15:19:25 +0000 (16:19 +0100)]
Move logics out of TempestCommon.__init__()
It conforms with best programming practices.
It allows muting console and increasing log level (debug).
Change-Id: I0e0cfef6abe3b354a43817fcb242c71da701e237
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 8 Jan 2019 23:08:45 +0000 (00:08 +0100)]
Publish Functest 2019
It's also available on [1]
[1] http://testresults.opnfv.org/functest/functest2019/
Change-Id: I6eed7bd49f20df86ec4316f1d691001ad904379f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 14 Jan 2019 17:50:35 +0000 (18:50 +0100)]
Remove former ci jobs
They can now be generated via the new ansible role.
Change-Id: I7746d08b940e8d6906cb023c39bc87d8dee441cc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 Oct 2018 07:45:32 +0000 (09:45 +0200)]
Remove fds in all branches
FDS didn't participate to Gambia.
Removing it in all branches avoids compexifying the jjbs.
This patch will be reverted as soon as the support is ready.
Change-Id: I9fb293b2972e0deb318ac9d3d08377039ea247e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 7 Jan 2019 12:28:45 +0000 (13:28 +0100)]
Check if key exists instead of leveraging on update_if_exists
It seems falsy (see line 72)
2019-01-07 11:50:32,550 - functest.core.cloudify - DEBUG - try 9: Cloudify Manager isn't up and running
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/functest/core/cloudify.py", line 72, in execute
"foo", "bar", update_if_exists=True)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/secrets.py", line 86, in create
response = self.api.put('/secrets/{0}'.format(key), data=data)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 263, in put
timeout=timeout)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 224, in do_request
verify=self.get_request_verify(), timeout=timeout)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 158, in _do_request
self._raise_client_error(response, request_url)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 119, in _raise_client_error
response=response)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 131, in _prepare_and_raise_exception
status_code, error_code=error_code, response=response)
CloudifyClientError: 409: <Secret id=`foo` tenant=`default_tenant`> already exists on <Tenant name=`default_tenant`>
Change-Id: I6f4e2719ad2e55e997ebbd158dce4c6a204b2c36
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 7 Jan 2019 11:41:21 +0000 (12:41 +0100)]
Print traceback as debug during cloudify tries
The traceback is printed as debug to avoid priting the first
unsuccessful tries in console. It will ease debugging issues as for [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/66253/
Change-Id: I89992ea4452b24788cc06dec4c384a263b704efb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 7 Jan 2019 11:15:24 +0000 (12:15 +0100)]
Prevent from CloudifyClientError (key already exists)
It has rarely occured in Orange Openlab [1].
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/functest/core/cloudify.py", line 70, in execute
self.cfy_client.secrets.create("foo", "bar")
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/secrets.py", line 86, in create
response = self.api.put('/secrets/{0}'.format(key), data=data)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 263, in put
timeout=timeout)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 224, in do_request
verify=self.get_request_verify(), timeout=timeout)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 158, in _do_request
self._raise_client_error(response, request_url)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 119, in _raise_client_error
response=response)
File "/usr/lib/python2.7/site-packages/cloudify_rest_client/client.py", line 131, in _prepare_and_raise_exception
status_code, error_code=error_code, response=response)
CloudifyClientError: 409: <Secret id=`foo` tenant=`default_tenant`> already exists on <Tenant name=`default_tenant`>
Change-Id: Ic61d0c729f13caa552a0b0a00dad35e50d130e01
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Mon, 7 Jan 2019 07:52:39 +0000 (07:52 +0000)]
Merge "Publish "Functest on steroids" (Plugfest-Gambia)"
Cédric Ollivier [Sun, 6 Jan 2019 22:00:32 +0000 (23:00 +0100)]
Switch from port to dport in site.yml
port is reserved in ansible
Change-Id: I87842857514e8fb589e565ece83552418a93c550
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 6 Jan 2019 10:28:52 +0000 (11:28 +0100)]
Publish "Functest on steroids" (Plugfest-Gambia)
It will be completed by demos:
- deploy your own Functest CI/CD toolchains (Functest bot)
- deploy your own CI/CD toolchains for your test case
- run Functest on Raspberry PI
The presentation is avalaible in [1]
[1] http://testresults.opnfv.org/functest/gambia/
Change-Id: If69f11a3f7dde070e3af0f8a5b082b5ec1443bbb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Jan 2019 19:33:09 +0000 (20:33 +0100)]
Update reveal.js to 3.7.0
Change-Id: Id15b52df33897447221283166a4a1d1249a38774
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Jan 2019 11:57:55 +0000 (12:57 +0100)]
Conform with new tag configs
It allows generating gate jobs.
Change-Id: I741da199bca7617e73eb1e4638fcb4139b872141
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 27 Dec 2018 19:05:43 +0000 (20:05 +0100)]
Updated from global requirements
Change-Id: I5b2c9b2432660eaf23e7ad335c5dbf5da1f8751c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 27 Dec 2018 17:10:29 +0000 (18:10 +0100)]
Disable nose html output plugin
It doesn't run vs py36.
Change-Id: Ief5b6ac58a1c2e8aa840362433d94d403e6b52c5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 27 Dec 2018 15:18:51 +0000 (16:18 +0100)]
Update Xtesting to 0.61
It now generates html reports for unit tests (snaps).
Change-Id: Ica8fab2b383723957c1068c5accbcab9568002ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 20 Dec 2018 07:11:45 +0000 (08:11 +0100)]
Generate all policy.json files
It generates policy.json files for the remaining OpenStack services:
Keystone, Nova and Cinder.
The test list will be changed in a next change (all the tests in
error has to be checked).
Change-Id: I8872cf804c1ef94e519fe311b2d886d12c022707
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 19 Dec 2018 22:22:58 +0000 (23:22 +0100)]
Generate Neutron policy.json (Patrole)
Keystone policy.json et al will be managed in other changes to allow
cherry-picking.
It blacklists two subtests which requires policy actions not found in
policy files.
Change-Id: I5365fb1b24f7f07563037634d00cb9898fbde0fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Wed, 19 Dec 2018 14:09:53 +0000 (16:09 +0200)]
Add task arguments to rally_jobs
Define floating network as a Rally task argument.
Enable rally_jobs subtest.
Change-Id: I37d7c4718cfb3de3ad1980878e0529d652013ccb
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Cédric Ollivier [Tue, 18 Dec 2018 20:30:53 +0000 (21:30 +0100)]
Verify Ansible playbooks via ansible-lint
Change-Id: Id8b4553f5d36a52086433f00ce9f846a30212d66
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 18 Dec 2018 14:59:23 +0000 (15:59 +0100)]
Allow pulling Neutron reviews or tags
It updates smoke/Dockerfile to allow pulling Neutron reviews/tags
(rally_jobs).
Change-Id: Ifc10eebb444bfe2c3e1fb47a9bd52d8a4f8a7007
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 15 Dec 2018 10:32:17 +0000 (11:32 +0100)]
Temporarily disable rally_jobs and patrole subtests
The public network now seems hardcoded (public) [1] which doesn't
fit the OPNFV model [2]. Neutron also stops publishing policy.json
[3].
Upstream files have to be updated or fixed in Functest.
[1] http://artifacts.opnfv.org/functest/opnfv-functest-smoke-rally_jobs-latest-run-25/functest.log
[2] https://review.openstack.org/#/c/620952/
[3] https://review.openstack.org/#/c/585037/
Change-Id: Ibae4ce71a45afa3ed4a987577937220b8a3a89f9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>