Juha Kosonen [Mon, 20 Nov 2017 17:56:28 +0000 (19:56 +0200)]
Fix "Broken pipe" IOErrors of rally run
Replace obsolete os.popen with subprocess module usage in command
output retrieval. Do not use shell as the program to execute.
Change-Id: Ic63bb0f393750c3b85a35a37fecd46c1c1b96602
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
8335acdf080e4d31fd1dd70f11aa456b4795833a)
Linda Wang [Tue, 21 Nov 2017 03:38:49 +0000 (03:38 +0000)]
Fix the way of getting endpoint port
It will fail if the endpoint does not contain any port value when
executing self.os_auth_url.rsplit("/")[2].rsplit(":")[1]
JIRA: FUNCTEST-892
Change-Id: Iba4103884b7c6e3b157bb95d775fac02c32ae728
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
45ad7723d0e40e7c5475584fc2a5bc0b5ad3ef56)
Linda Wang [Fri, 17 Nov 2017 02:00:21 +0000 (02:00 +0000)]
Support to specify the valid external network name
In some deployments, the retrieved external network by the
def get_external_networks in Snaps checked by "router:external"
is not available. So it is necessary to specify the available
external network as an env by user.
Change-Id: I333e91dd106ed307541a9a197280199fde86bd30
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
aa7109d038a86f6a19a9fb4af96bd1199cd81330)
Linda Wang [Fri, 17 Nov 2017 03:38:41 +0000 (03:38 +0000)]
Update documentation for Functest
1. Remove the reference of ubuntu based container
2. Remove the domino (terminated) and promise (not in F),
and move fds to features tier
Conflicts:
functest/docs/testing/user/userguide/test_overview.rst
Change-Id: I62af47a3f873f0a77d5f7e0a1df493651c805834
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Linda Wang [Wed, 15 Nov 2017 02:17:33 +0000 (02:17 +0000)]
Do not use cache when building the image
Conflicts:
build.sh
Change-Id: I4655b631313c923b40304740c0abe06ae885727e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
61083f97ca4552ffa4fa83b20d30f4a914e24eee)
Cédric Ollivier [Wed, 15 Nov 2017 00:33:30 +0000 (01:33 +0100)]
Add shebang in snaps_suite_builder.py
Change-Id: I3392068b4a47d35bf0d91fe6d93f2de268f198bf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
798e5c472b6ac53bbf3b0b800f16069c50657df7)
Linda Wang [Fri, 10 Nov 2017 08:35:19 +0000 (08:35 +0000)]
Select the subset of snaps test cases
Conflicts:
functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py
Change-Id: I03e422d5dae0ced9cd7a5477c31359ffc7795c42
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cédric Ollivier [Tue, 14 Nov 2017 14:52:37 +0000 (15:52 +0100)]
Remove $BRANCH in healthcheck/Dockerfile
This build arg is now useless because the multijobs call build.sh
instead of the previous helper [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/47067/
Change-Id: I52af9a5c4ed0775208d4467853f1b886a543de59
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
e045d841c8f52949088fbed007abd0c6df79d194)
Cédric Ollivier [Fri, 10 Nov 2017 22:39:11 +0000 (23:39 +0100)]
Add BRANCH as Docker build arg
It conforms with the prerequisite of the current releng Docker script.
BRANCH can be considered as useless because releng already clones the
right git branch.
It's a temporarily solution before modifying a script used by lots of
OPNFV projects.
Conflicts:
docker/components/Dockerfile
docker/healthcheck/Dockerfile
Change-Id: I585d7a79a9ebaeaffd69af1da1731c44e131f6b5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
9e72ad1edd88aada55a0328cd72d4941c4e6fc60)
Cedric Ollivier [Tue, 7 Nov 2017 08:30:57 +0000 (08:30 +0000)]
Merge "Fix rally cinder scenarios" into stable/euphrates
Cédric Ollivier [Mon, 6 Nov 2017 09:51:27 +0000 (10:51 +0100)]
Protect vs exceptions when ext_nets is empty
Otherwise several exceptions are raised in TestCase constructors
(those defined in heathcheck).
Change-Id: I4cb054f7092ea9db02cb8c4469e99848533c556b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
e491334942083a81dab0f3450a809e29b0687c31)
Juha Kosonen [Sat, 4 Nov 2017 16:24:55 +0000 (18:24 +0200)]
Fix rally cinder scenarios
Remove network and servers context and set image and flavor as a
scenario parameters.
Change-Id: I5181ccce61c4f58af3737619d1b7d259cf539937
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
a9337bc5618bb90cd9502f1ec9dc409e18eae0f7)
Cédric Ollivier [Sun, 5 Nov 2017 14:13:35 +0000 (15:13 +0100)]
Allow building containers from a gerrit change
It leverages on git command instead of pip git support [1].
Otherwise it forces pip master which raises side effects in rally [2]
It is mandatory for implementing Functional testing gating [3]
[1] https://pip.pypa.io/en/stable/reference/pip_install/#git
[2] https://gerrit.opnfv.org/gerrit/#/c/40909/
[3] https://wiki.opnfv.org/display/functest/Functional+testing+gating
Conflicts:
docker/core/Dockerfile
Change-Id: Ia18fee3e60fc08da9b96730ce85d5b7c866144aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
84f82d02630c22e8054266c8c0a53ffb805c2071)
Cédric Ollivier [Sun, 5 Nov 2017 14:43:07 +0000 (15:43 +0100)]
Define thirdparty-requirements.txt for functest-parser
As Parser python packages has been renamed, they can be defined in
upper-constraints.txt. No conflict can occur between them and the
official OpenStack packages.
The Parser testcase still requires a dedicated container to avoid
conflicts in namespaces.
Conflicts:
docker/parser/Dockerfile
upper-constraints.txt
Change-Id: Ic8d18140f26e72d1e3d04b73d301d3fd870b171a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
f77c464a9bf40b36586843ae59e6764216477c4b)
Linda Wang [Fri, 3 Nov 2017 08:54:06 +0000 (08:54 +0000)]
Remove the constraint of INSTALLER_TYPE
Revert the patch: https://gerrit.opnfv.org/gerrit/#/c/45167
When run on non-opnfv deployment, there is no such concept of INSTALLER_TYPE.
Change-Id: I3d420334c9329f7565cf22a0c314a4ffdb410d36
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
4d95f152cda9c7a44df13025341d3d7d472d57c6)
Jose Lausuch [Wed, 18 Oct 2017 09:26:21 +0000 (11:26 +0200)]
Switch from BashFeature to Feature of bgpvpn testcase
With the adaptation in SDNVPN project [1], Functest
can run the tests within python instead of a bash call.
This also fixes pushing the details section to the DB:
JIRA: SDNVPN-183
[1] https://gerrit.opnfv.org/gerrit/#/c/45491/
Change-Id: I7116aa9d5ffe2a816719997771e4f4ecebbcd083
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit
3774d9d027c0229c7bec52b247b656a846921369)
Cédric Ollivier [Mon, 30 Oct 2017 08:02:15 +0000 (09:02 +0100)]
Select Rally 0.9.1
stable/rally forces to use a newer version os-faults which is not
synced and is incompatible by default. Then it selects the rally
version tested as the community hugely updates its stable branches.
JIRA: PROMISE-88
Change-Id: I6c15f71737af5edac53972a8463cc166bd096a7e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Thu, 26 Oct 2017 02:29:08 +0000 (02:29 +0000)]
Bump os-faults version to 0.1.15
For Rally stable/0.9, os-faults version has been constrained
as ">=0.1.15,<0.2.0" [1].
[1]: https://github.com/openstack/rally/blob/stable/0.9/requirements.txt
JIRA: PROMISE-88
Change-Id: Ifeb36e1debf23edf6d914e9db60be11d4ca557cd
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
945b4412574d87a1ed700e59fa8ffeea92dc9e0d)
Trevor Bramwell [Fri, 20 Oct 2017 18:16:34 +0000 (11:16 -0700)]
Wrap Functest Ascii Diagram in literal text block
Sphinx currently thinks this diagram is a table and outputing a warning.
Using '::' provides a hint to sphinx that the ascii diagram is literal
text and not a table.
Change-Id: Ie005cc059b9e97aacda0d75d0213b18477e55d38
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Morgan Richomme [Fri, 20 Oct 2017 10:04:54 +0000 (12:04 +0200)]
Save Euphrates results in repo
Change-Id: I6e7fb1d4b81572a151f47fc071a1ae27f1b41e97
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit
39f856fd8304cdb056beb61d85c81a0613230e40)
Cedric Ollivier [Fri, 20 Oct 2017 05:21:32 +0000 (05:21 +0000)]
Merge "Get the right git commit ids for ubuntu image" into stable/euphrates
Linda Wang [Fri, 20 Oct 2017 03:46:17 +0000 (03:46 +0000)]
Get the right git commit ids for ubuntu image
Complement https://gerrit.opnfv.org/gerrit/#/c/45017
Change-Id: If52dee7c16dcc8606e72ebc198bc36e713792418
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
ae660ffa3285307edd41898cb2eaba22864d4f2d)
Cédric Ollivier [Thu, 19 Oct 2017 18:30:07 +0000 (20:30 +0200)]
Take into account a feedback from the meeting
Change-Id: Ia221d08003588aae045604a18ce1ecc833f0e34e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Wed, 18 Oct 2017 19:15:52 +0000 (21:15 +0200)]
Release notes for Euphrates 5.0
Change-Id: Icdce56bdacba8530cc2f35c8f3c6b1acfd4bf522
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit
0186e01c421e99786dffbfd4ef8fb41a65e7fdbb)
Morgan Richomme [Wed, 18 Oct 2017 06:46:34 +0000 (08:46 +0200)]
Harmonization titles of the testing project
Change-Id: I9ebb488d77274219fca556760f0408a2bb1f6880
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit
198b2ab033ea14a079123dbe12d85950b95c68bd)
Cédric Ollivier [Wed, 18 Oct 2017 14:28:15 +0000 (16:28 +0200)]
Fix another typos in dockerslicing.md
Change-Id: I16f28649b000e9370e7c71f36668c417854fb91e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
9a075b1187522047c931127d74fbdeb7fd6ac617)
Cédric Ollivier [Wed, 18 Oct 2017 12:53:03 +0000 (14:53 +0200)]
Fix 1 typo in dockerslicing.md
Change-Id: I0bb4c46d3b554cca1dfcaafbf564d9871957c346
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
55d1287585fac93d05e9da5aae8cd1f23a372f1d)
Cédric Ollivier [Tue, 17 Oct 2017 18:06:41 +0000 (20:06 +0200)]
Complete dockerslicing.md
It mainly precises that all requirements were not synchronized over
the OPNFV projects in Danube and adds 2 OPNFV project poposals.
Change-Id: I2e89f9cdf3db58d41acaa31560232807988bd84a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
a56003230966320b10e47eddb42fa797735c1b71)
Linda Wang [Tue, 17 Oct 2017 09:25:06 +0000 (09:25 +0000)]
Update blacklist about migration tests for rally
The test NovaServers.boot_and_migrate_server needs at least 2 compute
nodes:
https://github.com/openstack/rally/blob/stable/0.9/rally/plugins/openstack/scenarios/nova/servers.py#L763-L765
Change-Id: I4ddf99188094ced57225d886037b00e91f3b68e6
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
613c672ac166ca92ce1284131ec06446e07e0023)
Linda Wang [Mon, 16 Oct 2017 02:34:03 +0000 (02:34 +0000)]
Enhance the compatibility judgement of INSTALLER
When the env INSTALLER_TYPE is None, while the var installer in
dependencies is not None, the current test case should not be run.
Change-Id: If1b67f16f39d5c44b2c3729819dd665faed41b73
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
801a53baa1229fd4a88bb1aad692b86f536d970d)
Cédric Ollivier [Mon, 16 Oct 2017 15:22:39 +0000 (17:22 +0200)]
Update Docker slicing presentation
It conforms with Euphrates.
Change-Id: I44b65ce75147381c7d437881c6c8da9cfe3aab21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
baf0e5f6d19205a122b69879e2bbf258393ebf86)
Cédric Ollivier [Mon, 16 Oct 2017 09:42:47 +0000 (11:42 +0200)]
Update requests to 2.13.0 in virtualenvs
It completes "Force requests===2.13.0" [1] which only updated all
Docker files.
[1] https://gerrit.opnfv.org/gerrit/#/c/45077/
Change-Id: I416e01d86e82eb9e267a31463e75b6a4e11485c4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
516c2497c84818b94de5dbef01683344e476dcfd)
juraj.linkes [Sat, 14 Oct 2017 08:21:18 +0000 (10:21 +0200)]
Update project field of fds testcase to fastdatastacks
Fds testcases is defined under project fastdatastacks, not
functest. The fix is required for testcase results uploads.
Change-Id: Ided0701048d0b4c0257c62d600893672960d83df
Signed-off-by: juraj.linkes <jlinkes@cisco.com>
(cherry picked from commit
8797d07d0be8309a1cdcc3c1c67b20ba064a4420)
Cédric Ollivier [Fri, 13 Oct 2017 20:43:30 +0000 (22:43 +0200)]
Force requests===2.13.0
It overrides OpenStack's upper-constraints to allow rally to work vs
a self signed certificate.
It will be pushed to the right OpenStack project after the patch is
confirmed by CI. Euphrates will be released too early regarding the
full upstream cycle required.
JIRA: FUNCTEST-876
Change-Id: I52656f8b98fced103f13dde039082806636c680a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
fedc26596ada9d35bb49f08259a7e5ba4cf13ae7)
Cédric Ollivier [Fri, 13 Oct 2017 12:29:14 +0000 (14:29 +0200)]
Get the right git commit ids
Co-Authored-By: Linda Wang <wangwulin@huawei.com>
Change-Id: I08ad30156049ac0814fcebfc0f116176331c1dd3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
7db506b8c184917d0986b14722bbbf95b7fce3d3)
Cédric Ollivier [Fri, 13 Oct 2017 08:38:38 +0000 (10:38 +0200)]
Conform with Docker ARCH names
It switches Docker tags:
- x86_64 -> amd64
- aarch64 -> arm64
Conflicts:
.travis.yml
build.sh
Change-Id: I05575dd728e7502a891a3ee3015f81ac8e3f7a92
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
a8acc48148313229b4e6771374ece9256d75b26c)
Cédric Ollivier [Fri, 13 Oct 2017 07:33:38 +0000 (09:33 +0200)]
Fix find calls in build.sh
It completes "Allow building aarch64 images" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/44931/
Change-Id: I5dcb98be7f296227693d3f889c9747d944bcc86d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Fri, 13 Oct 2017 06:20:20 +0000 (06:20 +0000)]
Merge "Allow building aarch64 images" into stable/euphrates
Cedric Ollivier [Fri, 13 Oct 2017 06:19:39 +0000 (06:19 +0000)]
Merge "Publish Docker Slicing Presentation" into stable/euphrates
Cédric Ollivier [Thu, 12 Oct 2017 17:54:14 +0000 (19:54 +0200)]
Update releng git commit id
It mainly integrates "Do not use capital letters to refer to osa" [1]
required by OPNFV SFC.
[1] https://gerrit.opnfv.org/gerrit/#/c/44253
Change-Id: I658cfd5bbda91eeecb0c40a096ac5e630e427b09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 11 Oct 2017 03:29:11 +0000 (05:29 +0200)]
Allow building aarch64 images
It must be noted that Docker automated build cannot create these
images as the prerequisites are unmet to cross-compile [1].
It also publishes a travis config file [2].
[1] https://www.kernel.org/doc/html/v4.11/admin-guide/binfmt-misc.html
[2] https://travis-ci.org/collivier/functest/builds/
286932633
Conflicts:
build.sh
Change-Id: I11fdef410cc40989132205a098410175f789fdef
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
ed777b643b05fbb71851df0b883483e0bcaa4ac1)
Cédric Ollivier [Tue, 10 Oct 2017 13:44:00 +0000 (15:44 +0200)]
Publish Docker Slicing Presentation
It published the presentation done in the Functest Breakout during
last OPNFV Summit (2017 in Beijing) [1].
Minor changes are planned to update it in a second change.
Git now ignores pdf which may be generated via reveal.js.
[1] http://testresults.opnfv.org/functest/dockerslicing/
Change-Id: I2b6cf113c672320bf1bc34442bb267fd99012546
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
cb52dd523c58a6567b53ea5b79169295e1471117)
Linda Wang [Wed, 11 Oct 2017 02:36:17 +0000 (02:36 +0000)]
Update userguide and configguide
Mainly remove the duplicated declaration of cloudify_ims_perf.
Change-Id: Ic23cee0e2dbb863cfddc98b08eabdab7d52e0476
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
e12d4f14b65ba08904a65e188db17992478d67a7)
Jose Lausuch [Tue, 10 Oct 2017 14:17:15 +0000 (16:17 +0200)]
Include tempest_custom in the documentation
Change-Id: I86300fff399d1bc73eeeed76b5057e3f6d2f85f3
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit
832bb86db4fba9f65aebf09c058592d28e418134)
Linda Wang [Tue, 10 Oct 2017 11:29:42 +0000 (11:29 +0000)]
Fix the format issue of documentation
Also update the structure of functest code.
Change-Id: Id3fa012d6c3204a0a8d7e6e4ba3159c52b68c6f5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
79140281403a83ecfededbd1b58bf668bd4d1901)
Jose Lausuch [Tue, 3 Oct 2017 08:46:58 +0000 (10:46 +0200)]
Update Config Guide
Change-Id: If7295f553f203171f5a6efebc8d553d5dca8433a
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit
b2735c0a1eb76a184b2ba133045041d92f32abed)
Morgan Richomme [Tue, 12 Sep 2017 09:39:11 +0000 (11:39 +0200)]
Update Functest documentation for Euphrates
- Better description of Alpine docker (default artifact)
- Reorganization of config and user guide
- Upgrade of the developer guide
Change-Id: Ie8e10f027bfcdb01c992cd161a1af2d6d6e29536
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit
5504724dc69096b36948de9bd07b82f5058242f0)
Cedric Ollivier [Tue, 10 Oct 2017 14:01:40 +0000 (14:01 +0000)]
Merge "Complete framework documentation part for VNF" into stable/euphrates
Morgan Richomme [Mon, 9 Oct 2017 11:53:25 +0000 (13:53 +0200)]
Complete framework documentation part for VNF
Change-Id: I4c59adfe1cfec278e0b267cc7a05e8addd45d034
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit
ee2eb17dbe52418f6bdc6201f78b9f1e8858fdcc)
shangxdy [Tue, 10 Oct 2017 12:08:13 +0000 (20:08 +0800)]
Modify the egg name for parser
Currently the egg name for heat-translator has been changed
to nfv-heattranslator in parser project, this patch will modify
the docker file.
related patches:
https://gerrit.opnfv.org/gerrit/#/c/41261/
Change-Id: I2d5d214c722fc133aa015a1c9620a49709db17bb
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit
d3b74fac61c255430b5589b49d714b441772e248)
Delia Popescu [Mon, 9 Oct 2017 12:24:45 +0000 (15:24 +0300)]
Add UEFI image extra properties for CentOS image for aarch64
Add extra properties for CentOS image when using aarch64
architecture with UEFI boot mode
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Change-Id: Ie8aa7482627cbb3c31c6c72a31a0e37e86a409c4
Juha Kosonen [Thu, 5 Oct 2017 09:53:08 +0000 (12:53 +0300)]
Live migration support determination in rally
Live migration test cases were excluded if tempest was not executed
before rally since tempest config file is created during the execution
of tempest.
Remove the dependency to config file and define the support based on
the number of computes as done in tempest.
Change-Id: I57c18b7c57e6a4bc8bfbdfb4beb5f8d67c6269c4
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
da2f6a0aabf3b5473e1d2d3f55a5f6c9bb6c8559)
Cedric Ollivier [Tue, 3 Oct 2017 08:21:17 +0000 (08:21 +0000)]
Merge "Select euphrates zip in cloudify_ims*.yaml" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:58:47 +0000 (07:58 +0000)]
Merge "Create a router in both vping scenarii" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:44:33 +0000 (07:44 +0000)]
Merge "Report duration and result when vping fails" into stable/euphrates
Cédric Ollivier [Tue, 3 Oct 2017 07:41:05 +0000 (09:41 +0200)]
Select euphrates zip in cloudify_ims*.yaml
Co-Authored-By: valentin boucher <valentin.boucher@orange.com>
Change-Id: Ie7c3d10952662888718c70a3f8055ebca9e85d4d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Tue, 3 Oct 2017 07:31:57 +0000 (07:31 +0000)]
Merge "Disable vyos_vrouter" into stable/euphrates
Jose Lausuch [Tue, 3 Oct 2017 06:37:04 +0000 (06:37 +0000)]
Merge "Fix timeout for socket connection" into stable/euphrates
Cédric Ollivier [Mon, 2 Oct 2017 22:27:36 +0000 (00:27 +0200)]
Create a router in both vping scenarii
It fixes vping_userdata as it allows getting metadata due to the
gateway defined for the subnet.
It could be noted that DHCP can add the route needed if no gateway is
defined and if force_metadata is set in dhcp_agent.ini.
Change-Id: Ia62e0f00e3d2caee6262dd9cd9966d1f21fe40d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
a691a8c2868d3f8af531e0bff513023c3a704aaf)
Cédric Ollivier [Tue, 3 Oct 2017 04:16:20 +0000 (06:16 +0200)]
Report duration and result when vping fails
It completes "Bug fix: vping_userdata test status was not properly
reported" [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/43911/
Change-Id: I7e8be6cd564a24ca174e63cfc295861c51cae8ed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
5ffb995c110be39364535f56c86c46d092b8cea0)
Cédric Ollivier [Tue, 3 Oct 2017 04:29:23 +0000 (06:29 +0200)]
Disable vyos_vrouter
It's postponed to 5.1.
Change-Id: Ic06d47b4b5df167044363b40aea0c7932b550be7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
ef034e78a6a3cfe90da77a60ae88d0d6bfddfb2e)
Michael Pauls [Mon, 2 Oct 2017 17:36:42 +0000 (19:36 +0200)]
Add icmp rules for clearwaterims case
icmp rules must be enabled since a ping is used internally
to check that other components are up and reachable
Change-Id: I1ae3c301f30455c57193ddfe1757e971f5612c18
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit
4a27c90843abd3a8d002e37f0f9f22307f2ec9fc)
Linda Wang [Tue, 26 Sep 2017 03:31:51 +0000 (03:31 +0000)]
Fix timeout for socket connection
Change-Id: I0688761ba7224f40f79310295efadd9b40bfeefb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
112e652af2b2f61192d3f1bd903522a14be06b94)
Morgan Richomme [Mon, 2 Oct 2017 15:11:13 +0000 (17:11 +0200)]
Bug fix: vping_userdata test status was not properly reported
vping_base is calling vping_userdata
vping_user data could return only EX_TESTCASE_FAILED or EX_OK
by default vping_base always returns EX_OK (based on self.result=100..)
it returned EX_RUN_ERROR only if upper class report EX_RUN_ERROR
that is why vping_userdata was always PASS even if the trace "Ping OK"
cannot be retrieved from the Nova console
it seems that when running the vping_userdata, we systematically got
Failed to read iid from metadata
Change-Id: If72441dd93bffada5c7a5399c87db68d7ebeebed
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit
e36a14f6db0bc5ac93469bb553810de506f29bef)
Cédric Ollivier [Mon, 2 Oct 2017 11:12:40 +0000 (13:12 +0200)]
Add ${DOCKER_TAG} in Docker hooks
It eases creating Docker images based on branches or tags.
Conflicts:
docker/components/hooks/post_checkout
docker/features/hooks/post_checkout
docker/healthcheck/hooks/post_checkout
docker/restapi/hooks/post_checkout
docker/smoke/hooks/post_checkout
docker/vnf/hooks/post_checkout
Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
29647efa114151d53ede5ba2d989593992c0b29f)
Cédric Ollivier [Mon, 2 Oct 2017 07:56:02 +0000 (09:56 +0200)]
Enable promise on all fuel and joid scenarii
Change-Id: I9735788fbbe715968560570543d1dc9d55e065b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
36b648a6e928ac0819a607cd2231faa803418b7a)
Michael Pauls [Fri, 29 Sep 2017 11:03:00 +0000 (13:03 +0200)]
remove icmp rules from secgroups
Change-Id: I8f7d2170eee9777be6455d38eaff703338b155fa
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit
c93ae73855ba928eb6661ac2468c5a0bae7c5506)
Cédric Ollivier [Sat, 30 Sep 2017 12:00:37 +0000 (14:00 +0200)]
Remove tempest_custom from testcases configs
Change-Id: I1237eaada5257a8c01753837a5820d840b51bff1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
a8f1d8ea374c9538b1d7a223116d8d7d9b783c89)
Linda Wang [Sat, 30 Sep 2017 02:29:30 +0000 (02:29 +0000)]
Fix userdata issue for vping and orchestra
1. When creating VM, the type of the param userdata should be str, to
conform with that in snaps [1].
2. Remove the infinite loop for vping in userdata
3. Fix the criteria for vping_userdata and vping_ssh
[1]: https://git.opnfv.org/snaps/tree/snaps/openstack/utils/nova_utils.py#n92
Change-Id: I262a7ebb93ec90bb6f8f3acb5d564f210abcfc4b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
5a24cb4a7db33e693a063f5c2a66406283aa5cfb)
Linda Wang [Fri, 29 Sep 2017 05:15:59 +0000 (05:15 +0000)]
Force python2 when creating venv for refstack
python3 has been selected since it was installed for doctor [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/41823/
JIRA: FUNCTEST-875
Change-Id: I942122b46dc0ebe594306877f5a0350f876d7c01
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
f36d607e1b8f7660bbcb4c06d589d4eeb76158e3)
Cedric Ollivier [Thu, 28 Sep 2017 17:09:57 +0000 (17:09 +0000)]
Merge "Fix connection error due to invalid lib version usage." into stable/euphrates
Cedric Ollivier [Thu, 28 Sep 2017 17:09:39 +0000 (17:09 +0000)]
Merge "Add log details on SDK first connection." into stable/euphrates
Cédric Ollivier [Thu, 28 Sep 2017 10:42:30 +0000 (12:42 +0200)]
Switch to OS_PROJECT_NAME
It simply conforms with OpenStack keystone v3.
JIRA: FUNCTEST-877
Change-Id: I989a6eb4d8564948927c184a899b62ca763ef824
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
5c178f0d30f0701dee0d0a629023f05edfde338e)
Benoit HERARD [Thu, 28 Sep 2017 11:31:29 +0000 (13:31 +0200)]
Fix connection error due to invalid lib version usage.
Connection timeouts on "requests" objects was developped with
requests 2.18 but target runtime is 2.12.
Advanced timeout management of 2.18 is not available in 2.12.
Change-Id: Ie6d81b91d4bcc0d73cffd007d9e46cdb19e47597
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
(cherry picked from commit
86d5c31424187329f69a7e0efaa9dbe0dac98e56)
Benoit HERARD [Wed, 27 Sep 2017 12:01:28 +0000 (14:01 +0200)]
Add log details on SDK first connection.
On first call to energy recording API, if API
is unreachable, SDK don't do anything anymore.
This change add logs on error for this first connection.
Change-Id: I88892c769d6208c6ddf5d714d438ab584826844e
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
(cherry picked from commit
405a0872282f5b29bb9e60ba19b11b17c8047647)
Cédric Ollivier [Wed, 27 Sep 2017 19:07:58 +0000 (21:07 +0200)]
Add post_push hooks
It allows creating the stable tags as allowed by Docker hub [1].
[1] https://github.com/docker/hub-feedback/issues/341
Change-Id: I84909b20fc8b926eb5414db7d57100aaa6060f84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Charalampos Kominos [Mon, 25 Sep 2017 13:43:04 +0000 (15:43 +0200)]
Disable Promise testsuite on Fuel installer
When promise reads API v3.0 from the creds file it automatically
uses v2.0. which is deprecated and not used by fuel. Therefore
promise is removed from the functest suite
JIRA: ARMBAND-314
Change-Id: I22b875c198c1922fd4ddb06c81c05884b5248eb4
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
(cherry picked from commit
8c3791f730effbf09fc95ef2bc66ff0d0a37e87b)
root [Mon, 25 Sep 2017 01:44:10 +0000 (01:44 +0000)]
Fix creds still used by vrouter
1. 'CloudifyVrouter' object has no attribute 'creds'
2. 'CloudifyVrouter' object was still use 'creds'
3. Doing test of modified vyos_vrouter on our labs.
Refer to following commit.
https://gerrit.opnfv.org/gerrit/#/c/41249/
Change-Id: Id1b4dfa4c35aba9bbb4fd64ef58446d3e99468df
Signed-off-by: root <shuya.nakama@okinawaopenlabs.org>
(cherry picked from commit
233a9bf775c1e9fe66e588ec45266c15bdb142b1)
Morgan Richomme [Fri, 22 Sep 2017 06:28:56 +0000 (06:28 +0000)]
Merge "Support https when testing ODL" into stable/euphrates
Cédric Ollivier [Wed, 20 Sep 2017 08:52:33 +0000 (10:52 +0200)]
Support https when testing ODL
It conforms with the last change on ODL tests [1].
Neutron endpoint is passed via robot args instead of Neutron ip.
Keystone url (based on OS_AUTH_URL) is passed too to replace Keystone
ip.
[1] https://git.opendaylight.org/gerrit/#/c/63293/
Conflicts:
docker/restapi/Dockerfile
docker/smoke/Dockerfile
Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
dd99f5356ef08f3a2a1ed18d63492391390df752)
Morgan Richomme [Thu, 21 Sep 2017 07:14:01 +0000 (09:14 +0200)]
Adding orchestra test cases to orchestra project
Orchestra introduced 2 VNF test cases:
* orchestra_openims
* orchestra_clearwaterims
In the configuration, the 2 projects are still assigned to functest project
This patch associate the cases with their real project
Change-Id: I81f6d6fb473916f0f91a5b3795b3ed433c283fb4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit
2aa38f32b9ea0cb248f25d52f100240b2a002bc6)
Juha Kosonen [Thu, 21 Sep 2017 08:23:42 +0000 (11:23 +0300)]
Remove void return value mocks in rally unit tests
Change-Id: I369b98fb9120830b1868f438c7da2a039a60d890
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
31524290992dad02d5ca1e6b17304bf31b56b7f7)
Cedric Ollivier [Thu, 21 Sep 2017 05:04:07 +0000 (05:04 +0000)]
Merge "Remove white space when listing testcases" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:52 +0000 (05:03 +0000)]
Merge "Dedicated flavors for rally tests" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:44 +0000 (05:03 +0000)]
Merge "Fix image name in rally scenarios" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:35 +0000 (05:03 +0000)]
Merge "Remove restriction to fuel on vyosvrouter case in Alpine" into stable/euphrates
Cédric Ollivier [Wed, 20 Sep 2017 22:59:29 +0000 (00:59 +0200)]
Remove false hooks for functest-parser
Change-Id: I58f186b249083fc13e4bcfc4e933fd11f5d4b20e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
47c049623b07dd563218959ad59c0e027a354836)
Cédric Ollivier [Wed, 20 Sep 2017 19:02:23 +0000 (21:02 +0200)]
Add python3-dev and python3-pip in former Dockerfile
Otherwise the former container cannot be built as Doctor requires a
full updated python3 env.
Change-Id: Ic90c13abad33e7cb15e7e51dcaac83b9ddf3930b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
95ffa691887b35cd60d287f13d8633094110d78e)
Juha Kosonen [Wed, 20 Sep 2017 07:15:07 +0000 (10:15 +0300)]
Dedicated flavors for rally tests
Create flavors and use them in rally scenarios instead of expecting
certain flavors to pre-exist.
Change-Id: I77c94ab80fcabd7b80ffb36f9856a48121858009
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
3b98874f010329198b8c3a13a4711c17a593b9cc)
Juha Kosonen [Mon, 18 Sep 2017 10:39:31 +0000 (13:39 +0300)]
Fix image name in rally scenarios
Change-Id: I0a78a16d44c1e0e0b2edec2e43954c1f08e8bb09
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit
a9cb468fae75d4e95689fa9ea02a94a73df95648)
Morgan Richomme [Tue, 19 Sep 2017 13:48:16 +0000 (15:48 +0200)]
Remove restriction to fuel on vyosvrouter case in Alpine
It was done in old docker but not reported in Alpine
Change-Id: I3479ad996b64187f58e97cc3b4a4b2ceefeec287
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit
55b11d41b5d96e159c4abf3df6c03245d4f737dc)
Linda Wang [Wed, 20 Sep 2017 10:08:09 +0000 (10:08 +0000)]
Remove white space when listing testcases
Change-Id: I2f3c7a9301a6b2dcb03a90175be23223f6a6229a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
e4ad79cabc3292a1cb0d8642f0c9eddbbc2befd1)
dongwenjuan [Wed, 13 Sep 2017 03:21:38 +0000 (11:21 +0800)]
Enable Doctor testcase
It upates upper-constraints.txt and thirdparty-requirements.txt as
doctor-test was renamed to doctor-tests.
It installs the doctor packages and its requirements via python3.
Then python_version>='3.0' conditions are added to avoid installing
them for python2.
It also calls the new console scripts and modifies the installer
list supporting it.
Conflicts:
upper-constraints.txt
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Icd855f4534d9d9591165e99aa0eed6b1030018e0
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
1e1fba3aa18ebcbff6746586654805a44e88e9fe)
Linda Wang [Tue, 12 Sep 2017 07:37:19 +0000 (07:37 +0000)]
Add swagger support for Rest API
JIRA: FUNCTEST-854
Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit
b621b6b4b70299a60ad3e26ed6b04450f84b603e)
Cédric Ollivier [Tue, 19 Sep 2017 12:17:06 +0000 (14:17 +0200)]
Update Docker hooks
It takes euphrates into account in Docker tag name.
Change-Id: Id455152655c8174b7cab9780c27d923f33173f28
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Tue, 19 Sep 2017 11:54:31 +0000 (11:54 +0000)]
Merge "Select ansible 2.3.2.0" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:33:04 +0000 (11:33 +0000)]
Merge "Return Functest status to Jenkins" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:08:53 +0000 (11:08 +0000)]
Merge "Enable parser testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:08:37 +0000 (11:08 +0000)]
Merge "Enable Domino testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:06:18 +0000 (11:06 +0000)]
Merge "Remove securityscanning testcase" into stable/euphrates