aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-21Merge "Fix "Broken pipe" IOErrors of rally run"Linda Wang2-27/+22
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>
2017-11-21Merge "Fix rally db issue"Linda Wang3-3/+6
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>
2017-11-21Fix rally db issueLinda Wang3-3/+6
Also update "rally-manage db" to "rally db" Change-Id: I0c9924b9869135d3492dfafe89d085813290f565 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-20Enable sdnvpn testcase for F-releaseCédric Ollivier4-4/+2
sdnvpn conforms with OpenStack Pike requirements then it could be enabled in functest-features and functest-restapi (master) [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/47277/ Change-Id: Iedcb645d897684f169e4cf536838bf1f0951b6d9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-20Merge "Support to specify the valid external network name"Linda Wang1-1/+9
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>
2017-11-17Check external networkLinda Wang2-0/+28
Change-Id: I1ff199fcad99aefccb92807c8f416d4f32ec91a6 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-17Update documentation for FunctestLinda Wang4-45/+7
1. Remove the reference of ubuntu based container 2. Remove the domino (terminated) and promise (not in F), and move fds to features tier Change-Id: I62af47a3f873f0a77d5f7e0a1df493651c805834 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-16Enable sfc testcase for F-releaseCédric Ollivier4-4/+2
sfc conforms with OpenStack Pike requirements then it could be enabled in functest-features and functest-restapi (master) [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/47279/ Change-Id: I2b79f918dc4f6ca89c2dca18bf64a4bb184bf8b2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-16Merge "Updated from global requirements"Cedric Ollivier3-9/+20
2017-11-15Remove Domino and Promise testcasesCédric Ollivier6-80/+2
Domino and Promise won't participate in the Fraser Release [1]. [1] https://wiki.opnfv.org/display/SWREL/Projects+Intending+to+Participate+in+the+Fraser+Release Change-Id: Ib06411769439015549cac9353fa92cebd2f61193 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Updated from global requirementsCédric Ollivier3-9/+20
Change-Id: I654486a96cbfc68c7d3f5508a962e628243a1576 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Merge "Remove opnfv module from functest-core"Jose Lausuch4-527/+0
2017-11-15Merge "Remove the tox venv patcharm64"Cedric Ollivier1-8/+0
2017-11-15Merge "Update the version of refstack set to 2017.09"Jose Lausuch1-10/+68
2017-11-15Merge "Fix the regular expression for refstack"Jose Lausuch1-3/+3
2017-11-15Merge "Update unit test related to vyos_vrouter"Cedric Ollivier1-9/+11
2017-11-15Remove the tox venv patcharm64Cédric Ollivier1-8/+0
It's now useless as Jenkins jobs call build.sh which modifies all Dockerfiles for both architectures. build.sh allows building private images as opposed to this former tox entry which only take opnfv into account. Change-Id: I21e2e5303b4310e053cf013cb7f0e0c4532d5db5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Merge "Add shebang in snaps_suite_builder.py"Linda Wang1-0/+2
2017-11-15Update unit test related to vyos_vrouterMorgan Richomme1-9/+11
Utilvnf is now mocked to stop triggering the git clone of an external repo and creating dirs. Else we may get errors when testing offline. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ia7e86593ecca9b9add747ef89b1d5e8d6bdb2d7c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Update the version of refstack set to 2017.09Linda Wang1-10/+68
JIRA: FUNCTEST-890 Change-Id: Iac2f833fa2b704cd7caa6083e39e48e2df315890 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-15Fix 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>
2017-11-15Remove opnfv module from functest-coreLinda Wang4-527/+0
The releng/opnfv git repo is still kept in upper-constraints as it is required by sfc. And also delete the functions of check_env_variables, get_deployment_handler and create_directories. Change-Id: If498e68f0f94d6ebde1be55f5e3a17d06becaea4 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-15Do not use cache when building the imageLinda Wang1-2/+2
Change-Id: I4655b631313c923b40304740c0abe06ae885727e Signed-off-by: Linda Wang <wangwulin@huawei.com>
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>
2017-11-14Merge "Remove $BRANCH in healthcheck/Dockerfile"Cedric Ollivier1-3/+0
2017-11-14Remove $BRANCH in healthcheck/DockerfileCédric Ollivier1-3/+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>
2017-11-14Update INFO file with new PTL informationJose Lausuch1-2/+2
Change-Id: Ic50094032d3d15311384f1fa7fbf004e94ec7acc Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-11-13Move rally and tempest in functest-restapiCédric Ollivier4-25/+36
It completes the first patch which partially moved rally and tempest out of functest-core [1] by updating functest-restapi as well. os-faults is also installed in the right containers. [1] https://gerrit.opnfv.org/gerrit/#/c/47115/ Change-Id: Ia460dbe7785e2beffa5ba1a15f5a5bf2083b252a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-13Merge "Remove rally and tempest from core/Dockerfile"Cedric Ollivier4-14/+38
2017-11-13Remove rally and tempest from core/DockerfileLinda Wang4-14/+38
JIRA: FUNCTEST-889 Change-Id: I6092c8b6599705d23dcb3aba8c4470b76c41455c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-13Move rally and tempest out of functest-coreLinda Wang7-166/+144
JIRA: FUNCTEST-889 Change-Id: I96776da7af50b2c33c34dd731b5500b891d263d6 Signed-off-by: Linda Wang <wangwulin@huawei.com>
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. Change-Id: I585d7a79a9ebaeaffd69af1da1731c44e131f6b5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-10Merge "Select the subset of snaps test cases"Cedric Ollivier5-21/+458
2017-11-10Select the subset of snaps test casesLinda Wang5-21/+458
Change-Id: I03e422d5dae0ced9cd7a5477c31359ffc7795c42 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-09Remove the former DockerfileCédric Ollivier7-397/+1
opnfv/functest had been split into multiple containers based on Alpine (See Docker Slicing [1]) during Euphrates. As ARM is being switching to them, we can safely remove the related files. [1] https://git.opnfv.org/functest/tree/docs/com/pres/dockerslicing/dockerslicing.md?h=stable/euphrates Change-Id: I30294a94cc742ba80a7bc4f35db9330240385bb0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-09Stop installing docker/config_install_env.shCédric Ollivier1-1/+0
Change-Id: Ie70fadd15df5e878e161d552b893e6033bb70527 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-09Stop installing enable_remote_api.shCédric Ollivier1-1/+0
Change-Id: Ibb7798795bd902c990ba2079199592412b257be6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-09Patch Functest docker images for ARMDelia Popescu1-0/+8
A new tox env is defined to ease patching all Dockerfiles for ARM. This env will only patch the Dockerfile related to functest-core when the manifests are published. Jenkins jobs can simply apply the next command: $ tox -e patcharm64 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icf69e27c1da95a721ebf67d5ce190c9b8cefce0a Signed-off-by: Delia Popescu <delia.popescu@enea.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-07Merge "Fix the format of getting upper-constraints"Cedric Ollivier5-5/+5
2017-11-07Fix the format of getting upper-constraintsLinda Wang5-5/+5
Change-Id: I8a769ec161b1a718ef259ae6b6615aec01e337ec Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-06Move fds to features tierLinda Wang5-42/+42
Change-Id: I7aa9d73c7ffbfdad7d5a929968fb640d9a8de62e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-06Merge "Define thirdparty-requirements.txt for functest-parser"Cedric Ollivier3-8/+10
2017-11-06Merge "Allow building containers from a gerrit change"Cedric Ollivier1-2/+4
2017-11-06Merge "Update Functest to OpenStack stable/pike"Morgan Richomme14-62/+61
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>
2017-11-05Define thirdparty-requirements.txt for functest-parserCédric Ollivier3-8/+10
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. Change-Id: Ic8d18140f26e72d1e3d04b73d301d3fd870b171a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 Change-Id: Ia18fee3e60fc08da9b96730ce85d5b7c866144aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>