summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2018-02-13Temporarily disable doctor-notificationCédric Ollivier2-1/+1
It's currently forbidding gating all APEX' scenarios [1] (even os-nosdn-nofeature-* [2]). It will be enabled when it's fixed or when functest jobs are rewritten [3] [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/772/console [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/770/console [3] https://gerrit.opnfv.org/gerrit/#/c/51853/ Change-Id: I571c464aabe02f67a9e98ca1ab42d8a7efc672ee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-06Disable orchestra_* testcasesCédric Ollivier1-0/+2
They can be simply disabled and they unsuccessfully run vs Daily only. In a second step, moving the related python modules in a new orchestra repository could be a good solution simply because they don't reach our coding criteria. The best way is still to update them according to our rules and to check all installers thanks to these two vnfs. Change-Id: If36b16f0ed95d7039db9455a32c18f7fd1a739ef Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-05Increase Rally full criteriaCédric Ollivier1-1/+1
Even if several tests are currently under investigation, it seems relevant to expect a full success here. Change-Id: I6a8c5fb5a7dd4bfb5c3a2e7a93de1c0bec77c878 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-01Install vEPC dependencies in DockerfileCédric Ollivier1-0/+9
It also cleans sources and packages. Change-Id: Ie3a1a836c27af295b93386e8df63c0ae5accde84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-31Add tempest and rally in functest-featuresCédric Ollivier1-2/+21
SDNVPN also requires these packages. It would be refactored in a second step when xtesting is published. Change-Id: I069ecf8d60dc0ee1a755d0974913b686f4c7ae61 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-12Switch to absolute paths in DockerfilesCédric Ollivier2-4/+4
It updates functest-smoke and functest-restapi. Change-Id: If4d48f8a6ead1b9b7726a9b7b7baf6b51340a926 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-03Modify cmd for parsershangxdy1-1/+1
The modification is related to https://gerrit.opnfv.org/gerrit/#/c/49649/ Change-Id: I51ec841da49dd05ee454896514a9e1b7761ee035 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-12-28Update Alpine to 3.7Cédric Ollivier1-1/+1
It conforms with the last release [1] and Docker latest [2]. [1] https://alpinelinux.org/posts/Alpine-3.7.0-released.html [2] https://hub.docker.com/_/alpine/ Change-Id: I731b455bd9eb9900c7794643b8605bf73a15726d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-21Enable orchestra testcases for Daisy onlyCédric Ollivier1-2/+2
The current testcases have several issues which limit the possible successful runs to Daisy [1]. [1] https://jira.opnfv.org/browse/ORCHESTRA-17 Change-Id: Iecaf21738e19aae6a88171385f11afcffd28a348 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-15Filter out orchestra for ssl enabled deploymentsMichael Polenchuk1-2/+2
Skip orchestra tests for the Compass & Fuel/MCP installers until OpenBaton have updated to version 4.x+ with SSL support. JIRA: ORCHESTRA-17 Change-Id: I894a08fb5ac83a6b1d59d7bcf3a681a8d596968f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-12-14[vyos_vrouter] Support https endpointsShuyaNakama1-1/+1
JIRA: FUNCTEST-881 vyos_vrouter did not support https endpoints [1]. I fixed the following two points. 1. Modifying blueprint of Cloudify. 2. Changing nova client of utilvnf module. Point 1 I added command of support https endpoint to blueprint of vyos_vrouter. The Blueprint of vyos_vrouter is on our github repository [2]. I updated our repository. Point 2 I changed nova client of utilvnf module. Utilvnf module is utility module of vyos_vrouter. Nova client of utilvnf module did not support https endpoints. So, I changed to use nova client of snaps. After fixed the source code, I confirmed the vyos_vrouter was succeeded in the following two environments. 1. Our labs (Instoller:fuel, environment of https endpoints) 2. Orange POD (Instoller:compass, environment of http endpoints) [1] https://jira.opnfv.org/browse/FUNCTEST-881 [2] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/blob/master/function-test-openstack-blueprint.yaml Change-Id: I468df0f2486a34bc558ad161eb7de44264549006 Signed-off-by: ShuyaNakama <shuya.nakama@okinawaopenlabs.org>
2017-12-11vEPC tests with juju as an VNF managersoumaya3-5/+36
juju_epc testcase validate EPC setup with the help of ABoT which acting as test executor. Functest-abot-epc-bundle deploys OAI charms alongwith mysql and ABoT. JUJU is acting as a VNF manager. Change-Id: I45d7b37f21f6b8c7049ab2bf42a4678e30b67a72 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2017-12-04Create a tox env to check yaml filesCédric Ollivier6-23/+35
It also fixes all testcases config files. Change-Id: I81a6ffb8b7acf4239c79129dc842e283d3d32b35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-30Reorder Vnf testcasesCédric Ollivier1-14/+15
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>
2017-11-30Filter installers for cloudify_vrouterCédric Ollivier1-1/+1
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>
2017-11-27Create RobotFramework classCédric Ollivier2-6/+6
It moves the capability to run any robot script from ODL TestCase into a new class: RobotFramework. It updates ODL TestCase and the related unit tests to inherit from the new parent class. Change-Id: I73e59ee9652fb63d9d89d7c75c58cce9cf62b0d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-24Enable Doctor testcase for F-releaseCédric Ollivier3-3/+2
doctor 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/47283/ Change-Id: I82135a64cf0aac5ebf5b56260ede24b592fca41b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-24Enable baro_tests testcase for F-releaseCédric Ollivier3-3/+2
barometer 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/47281/ Change-Id: Iee17bd17192db53075dd8ff8d020d18306394cfa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-23Remove iniparse and urllib3 dependenciesCédric Ollivier4-2/+13
It also moves robotframework addons to the right containers. Change-Id: I32a8e018bf84685cffc70a04e3736d948bc6d1c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-22Remove prepare_envJose Lausuch6-6/+6
After moving the rally installation out of prepare_env It doesn't much sense to keep this script as it doesn't do useful things any more. Change-Id: I9ab3b2dd30c8ec0fbb825ee4302a83cce80f1cbe Signed-off-by: Jose Lausuch <jalausuch@suse.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 Ollivier3-3/+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-16Enable sfc testcase for F-releaseCédric Ollivier3-3/+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-15Remove Domino and Promise testcasesCédric Ollivier5-46/+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-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-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-13Remove rally and tempest from core/DockerfileLinda Wang3-12/+38
JIRA: FUNCTEST-889 Change-Id: I6092c8b6599705d23dcb3aba8c4470b76c41455c 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-09Remove the former DockerfileCédric Ollivier6-387/+0
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-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 Wang4-23/+23
Change-Id: I7aa9d73c7ffbfdad7d5a929968fb640d9a8de62e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-05Define thirdparty-requirements.txt for functest-parserCédric Ollivier2-8/+7
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>
2017-11-05Update Functest to OpenStack stable/pikeCédric Ollivier9-45/+38
It updates setup.py, (test-)requirement.txt and upper-constraints.txt according to OpenStack requirements [1]. It disables all Features testcases as they are not synchronized with OpenStack stable/pike yet [2]. The docker functest-parser is simplified as it can be based on functest-core as both Functest and Parser leverage on OpenStack stable/pike. ODL_TAG and REFSTACK_TAG variables are set to master again. [1] http://git.openstack.org/cgit/openstack/requirements/log/?h=stable/pike [2] https://wiki.opnfv.org/display/functest/Requirements+management Change-Id: I23fa84f35244c1f4026abd89414b99576f042ee4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-30Update Rally to 0.10Cédric Ollivier3-8/+19
It requires to sync os-faults with OpenStack requirements as it's out-of-tree too. The last os-faults version is selected as well. Change-Id: I0c582070a937b6ba6cba5b0c17673f42ea5d6dec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>
2017-10-18Switch from BashFeature to Feature of bgpvpn testcaseJose Lausuch1-4/+2
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>
2017-10-14Update project field of fds testcase to fastdatastacksjuraj.linkes1-1/+1
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>
2017-10-13Force 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>
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>
2017-10-11Merge "Fix fail of vRouter on Orange POD"Morgan Richomme1-2/+1
2017-10-11Fix fail of vRouter on Orange PODroot1-2/+1
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>
2017-10-10Modify the egg name for parsershangxdy1-1/+1
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>
2017-10-03Disable vyos_vrouterCédric Ollivier1-0/+1
It's postponed to 5.1. Change-Id: Ic06d47b4b5df167044363b40aea0c7932b550be7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-02Add ${DOCKER_TAG} in Docker hooksCédric Ollivier6-6/+6
It eases creating Docker images based on branches or tags. Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-30Remove tempest_custom from testcases configsCédric Ollivier1-19/+1
Change-Id: I1237eaada5257a8c01753837a5820d840b51bff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-29Force python2 when creating venv for refstackLinda Wang1-1/+1
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>
2017-09-22Merge "Support https when testing ODL"Cedric Ollivier3-3/+3
2017-09-22Support https when testing ODLCédric Ollivier3-3/+3
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/ Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>