summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-30Adjust timeouts in VnfsCédric Ollivier3-6/+6
When testcases fail, the jjobs is aborted and the result isn't printed. Change-Id: Ibda6268873303e631705c695a41c50980a3d29e5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit abd9c1d00cb48a620317e50dd459cb0db2b5f0c5)
2017-11-30Reorder Vnf testcasesCédric Ollivier2-28/+30
Cloudify IMS testcases could easily tigger jjob timeouts. Vyos_router should run before as it ends much quickier. Change-Id: Icd4323a7216615e75613e5fb241ae144f727d4fd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c38d87b9a57466a5663395926a576a87623eb2f4)
2017-11-30Fix fail of vRouter on Orange PODroot6-15/+11
1. Functest docker container environment has no attribute 'OS_REGION_NAME' 2. vRouter was get the 'OS_REGION_NAME' but not used it. 3. Deleting use 'OS_REGION_NAME' part of vRouter. 4. Utility lib of vRouter use Nova client. 5. Modifying Nova client authentication step for auth api v3. 6. Doing test of modified vRouter on Orange POD. Change-Id: I062549e5ca48fb4825b53448a4e2ffc8c1f8ec40 Signed-off-by: root <shuya.nakama@okinawaopenlabs.org> (cherry picked from commit 3fa62219bb5a9e928fe94d95314c7c00d5f06e66)
2017-11-30Filter installers for cloudify_vrouterCédric Ollivier2-3/+3
As cloudify_vrouter doesn't support SSL endpoints [1], it shouldn't be executed if compass or fuel. [1] https://jira.opnfv.org/browse/FUNCTEST-881 Change-Id: Ieedc0d5eca57f00da2121c9e07dd5cc57f978ef6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b5c7a96a1eb523e1c89f3ea9d143ddf39c518022)
2017-11-28Fix the doc of snaps testLinda Wang1-2/+2
snaps_health_check does not allocate a floating ip to the vm, but a fixed ip instead. Change-Id: Ia43885993135dec56aba08b0e157ac2c9f715e06 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-28Fix the regular expression for refstackLinda Wang1-3/+3
Otherwise, this line could not be matched: {0} tempest.api.identity.v3.test_tokens.TokensV3Test.test_create_token [0.143237s] ... ok -> the matched result: tempest.api.identity.v3.test_t Change-Id: I97282a9c98a889a015a40f9ad2d700906bb88fb1 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 843de6db7838dc20fa4a1f44731ea47cbcffa250)
2017-11-24Fix relative imports in cloudify_ims_perfCédric Ollivier2-54/+42
It also fixes wrong indents. Conflicts: functest/opnfv_tests/vnf/ims/cloudify_ims_perf.py JIRA: FUNCTEST-893 Change-Id: Ic54e01c03c14f39c69242c41922fc124c1b45c23 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e0ddd33f9a1e6e41f1b768c6326983f902598d4c)
2017-11-23Merge "Fix how tier_handler is imported" into stable/euphratesCedric Ollivier1-1/+2
2017-11-23Fix how tier_handler is importedCédric Ollivier1-1/+2
Change-Id: I36577ca73042b181b4634c4d6bf3ac5d905fd560 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c44aaac86d7423ab2836d67989104321e12a7316)
2017-11-21Fix "Broken pipe" IOErrors of rally runJuha Kosonen2-27/+22
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)
2017-11-21Fix the way of getting endpoint portLinda Wang2-12/+14
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)
2017-11-20Support to specify the valid external network nameLinda Wang1-1/+9
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)
2017-11-20Update documentation for FunctestLinda Wang3-17/+1
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>
2017-11-15Do not use cache when building the imageLinda Wang1-2/+2
Conflicts: build.sh Change-Id: I4655b631313c923b40304740c0abe06ae885727e Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 61083f97ca4552ffa4fa83b20d30f4a914e24eee)
2017-11-15Add shebang in snaps_suite_builder.pyCédric Ollivier1-0/+2
Change-Id: I3392068b4a47d35bf0d91fe6d93f2de268f198bf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 798e5c472b6ac53bbf3b0b800f16069c50657df7)
2017-11-15Select the subset of snaps test casesLinda Wang5-21/+325
Conflicts: functest/opnfv_tests/openstack/snaps/snaps_suite_builder.py Change-Id: I03e422d5dae0ced9cd7a5477c31359ffc7795c42 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-14Remove $BRANCH in healthcheck/DockerfileCédric Ollivier2-6/+0
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)
2017-11-10Add BRANCH as Docker build argCédric Ollivier2-0/+6
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)
2017-11-07Merge "Fix rally cinder scenarios" into stable/euphratesCedric Ollivier1-10/+2
2017-11-06Protect vs exceptions when ext_nets is emptyCédric Ollivier1-1/+1
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)
2017-11-06Fix rally cinder scenariosJuha Kosonen1-10/+2
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)
2017-11-05Allow building containers from a gerrit changeCédric Ollivier1-2/+4
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)
2017-11-05Define thirdparty-requirements.txt for functest-parserCédric Ollivier3-4/+9
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)
2017-11-03Remove the constraint of INSTALLER_TYPELinda Wang1-3/+0
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)
2017-10-30Switch from BashFeature to Feature of bgpvpn testcaseJose Lausuch2-8/+4
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)
2017-10-30Select Rally 0.9.1Cédric Ollivier4-4/+4
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>
2017-10-27Bump os-faults version to 0.1.15Linda Wang1-1/+1
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)
2017-10-20Wrap Functest Ascii Diagram in literal text blockopnfv-5.0.RC1opnfv-5.0.0Trevor Bramwell1-15/+15
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>
2017-10-20Save Euphrates results in repoMorgan Richomme7-0/+4904
Change-Id: I6e7fb1d4b81572a151f47fc071a1ae27f1b41e97 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 39f856fd8304cdb056beb61d85c81a0613230e40)
2017-10-20Merge "Get the right git commit ids for ubuntu image" into stable/euphratesCedric Ollivier1-4/+4
2017-10-20Get the right git commit ids for ubuntu imageLinda Wang1-4/+4
Complement https://gerrit.opnfv.org/gerrit/#/c/45017 Change-Id: If52dee7c16dcc8606e72ebc198bc36e713792418 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit ae660ffa3285307edd41898cb2eaba22864d4f2d)
2017-10-20Take into account a feedback from the meetingCédric Ollivier1-2/+2
Change-Id: Ia221d08003588aae045604a18ce1ecc833f0e34e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-19Release notes for Euphrates 5.0Jose Lausuch2-426/+115
Change-Id: Icdce56bdacba8530cc2f35c8f3c6b1acfd4bf522 Signed-off-by: Jose Lausuch <jalausuch@suse.com> (cherry picked from commit 0186e01c421e99786dffbfd4ef8fb41a65e7fdbb)
2017-10-18Harmonization titles of the testing projectMorgan Richomme3-22/+4
Change-Id: I9ebb488d77274219fca556760f0408a2bb1f6880 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 198b2ab033ea14a079123dbe12d85950b95c68bd)
2017-10-18Fix another typos in dockerslicing.mdCédric Ollivier1-1/+1
Change-Id: I16f28649b000e9370e7c71f36668c417854fb91e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9a075b1187522047c931127d74fbdeb7fd6ac617)
2017-10-18Fix 1 typo in dockerslicing.mdCédric Ollivier1-1/+1
Change-Id: I0bb4c46d3b554cca1dfcaafbf564d9871957c346 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 55d1287585fac93d05e9da5aae8cd1f23a372f1d)
2017-10-18Complete dockerslicing.mdCédric Ollivier1-6/+16
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)
2017-10-18Update blacklist about migration tests for rallyLinda Wang3-7/+8
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)
2017-10-17Enhance the compatibility judgement of INSTALLERLinda Wang1-0/+3
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)
2017-10-17Update Docker slicing presentationCédric Ollivier1-109/+53
It conforms with Euphrates. Change-Id: I44b65ce75147381c7d437881c6c8da9cfe3aab21 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit baf0e5f6d19205a122b69879e2bbf258393ebf86)
2017-10-16Update requests to 2.13.0 in virtualenvsCédric Ollivier1-4/+3
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)
2017-10-16Update project field of fds testcase to fastdatastacksjuraj.linkes2-2/+2
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)
2017-10-14Force requests===2.13.0Cédric Ollivier6-16/+26
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)
2017-10-13Get the right git commit idsCédric Ollivier2-8/+8
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)
2017-10-13Conform with Docker ARCH namesCédric Ollivier2-52/+46
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)
2017-10-13Fix find calls in build.shCédric Ollivier1-2/+2
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>
2017-10-13Merge "Allow building aarch64 images" into stable/euphratesCedric Ollivier2-7/+149
2017-10-13Merge "Publish Docker Slicing Presentation" into stable/euphratesCedric Ollivier3-0/+223
2017-10-12Update releng git commit idCédric Ollivier1-1/+1
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>
2017-10-12Allow building aarch64 imagesCédric Ollivier2-7/+149
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)