aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
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> (cherry picked from commit c38d87b9a57466a5663395926a576a87623eb2f4)
2017-11-30Fix fail of vRouter on Orange PODroot1-1/+0
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 Ollivier1-2/+2
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-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-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 Ollivier2-4/+6
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-10-30Switch 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> (cherry picked from commit 3774d9d027c0229c7bec52b247b656a846921369)
2017-10-30Select Rally 0.9.1Cédric Ollivier3-3/+3
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-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-16Update 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> (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-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> (cherry picked from commit d3b74fac61c255430b5589b49d714b441772e248)
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> (cherry picked from commit ef034e78a6a3cfe90da77a60ae88d0d6bfddfb2e)
2017-10-02Add ${DOCKER_TAG} in Docker hooksCédric Ollivier6-6/+6
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)
2017-10-01Remove tempest_custom from testcases configsCédric Ollivier1-19/+1
Change-Id: I1237eaada5257a8c01753837a5820d840b51bff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a8f1d8ea374c9538b1d7a223116d8d7d9b783c89)
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> (cherry picked from commit f36d607e1b8f7660bbcb4c06d589d4eeb76158e3)
2017-09-27Add post_push hooksCédric Ollivier8-0/+64
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>
2017-09-22Merge "Support https when testing ODL" into stable/euphratesMorgan Richomme3-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/ 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)
2017-09-21Adding orchestra test cases to orchestra projectMorgan Richomme1-2/+2
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)
2017-09-21Merge "Remove restriction to fuel on vyosvrouter case in Alpine" into ↵Cedric Ollivier1-1/+1
stable/euphrates
2017-09-21Remove false hooks for functest-parserCédric Ollivier1-6/+0
Change-Id: I58f186b249083fc13e4bcfc4e933fd11f5d4b20e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 47c049623b07dd563218959ad59c0e027a354836)
2017-09-20Add python3-dev and python3-pip in former DockerfileCédric Ollivier1-1/+4
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)
2017-09-20Remove restriction to fuel on vyosvrouter case in AlpineMorgan Richomme1-1/+1
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)
2017-09-20Enable Doctor testcasedongwenjuan7-6/+19
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)
2017-09-19Update Docker hooksCédric Ollivier7-7/+7
It takes euphrates into account in Docker tag name. Change-Id: Id455152655c8174b7cab9780c27d923f33173f28 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-19Enable parser testcaseshangxdy1-2/+1
Currently parser tescase in functest disabled, it's neccessary to enable it since we have tested successfully with the installers of fuel, apex and daisy. Change-Id: Ic3995cec813cc41c897b9c600b90d1fbbe8a74e2 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn> (cherry picked from commit 734cb4d6d66b2fa638e82d366d480404997e005e)
2017-09-19Enable Domino testcaseCédric Ollivier1-1/+0
Domino is part of the OPNFV projects released for E [1]. As now Domino is ready for Functest integration (package and requirements), the testcase can be enabled. If the testcase fails, the issues should be related to Domino. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html Change-Id: I26f3d3ae338def0f77c46c2cbda1baf3d55c1a41 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 555ac3f8656004d469c04370448a8a46f8a1418d)
2017-09-19Remove securityscanning testcaseCédric Ollivier4-20/+0
As the project is no longer released [1], security_scan is removed from testcases config files. It stops installing the related python package too. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html Conflicts: upper-constraints.txt Change-Id: Ieb9ff4c2975fbf2c85b875a088b0ec18503a3722 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 59999eb2f2bf3b28c50a9b75fc551192450d28e3)
2017-09-19Remove useless enabled: true in testcases.yamlCédric Ollivier1-2/+0
Change-Id: Ief2f4f580b4daef74e64d203fa1fc2be8f7e50c7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 955706810fa3c9adb153bf581c703ec473b57a56)
2017-09-19Prepare Functest euphrates containersCédric Ollivier9-14/+14
They depend on git commit ids for the next OPNFV projects: - releng [1] - securityscanning Securityscanning should be first removed in master and then the patch will be cherry-picked in stable/euphrates. A temporarily git commit id is used here to allow building the containers before that changes. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017865.html Change-Id: Ib7bd4206a6ef7f5bb8cd58f324d3e437a3b704a1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-15Bug fix: wrong dependency filter for lxd scenariosMorgan Richomme1-2/+2
lxd scenario cannot run all the api_check tests, a regex has been set but on the wrong dependency (installer instead of scenario) Change-Id: I313e8d1ed3fa30488c100549f574a0cded08768f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-14Merge "Override tempest upper-constraints in functest-parser"Cedric Ollivier1-9/+8
2017-09-14Merge "Select $OPENSTACK_TAG instead of stable/ocata"Morgan Richomme2-2/+2
2017-09-14Override tempest upper-constraints in functest-parserCédric Ollivier1-9/+8
Change-Id: Ib08fb665724bd7b7ec8f8a010486e615d2cd5f5b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-14Select $OPENSTACK_TAG instead of stable/ocataCédric Ollivier2-2/+2
It modifies functest and functest-core containers. Change-Id: I505baf460412e73d3bf4563b13edd849c2f02fac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Optimize Alpine DockerfilesCédric Ollivier3-7/+11
It mainly splits vnfs runtime and build dependencies to save space at the end. Change-Id: I8307fa416066cc8c50b96862de8bafd2c47a2ace Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Add packages in docker alpine containersManuel Buil2-2/+2
To run our SFC tests we require openssh and sshpass to be installed in the container Change-Id: I40b3d740855d48939f9411697abbd3bbbb70370f Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-09-13Merge "Add Functest restapi container"Cedric Ollivier2-0/+43
2017-09-13Merge "Remove thirdparty-requirements.txt in smoke"Cedric Ollivier3-8/+7
2017-09-13Merge "Add Docker automated build hooks for Parser"Cedric Ollivier1-0/+6
2017-09-13Add Functest restapi containerCédric Ollivier2-0/+43
It allows running all testcases via Functest REST API [1].  [1] https://wiki.opnfv.org/display/functest/Running+test+cases+via+new+Functest+REST+API Change-Id: Iaa69b7367653398582b876df1362f72c787c6b7b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Remove thirdparty-requirements.txt in smokeCédric Ollivier3-8/+7
As refstack must be installed via local dir (to sync requirements), it's useless to list it again in a requirements file. Change-Id: I9099fff185694fd41cf02e1265b1d4ab7659d7f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Add Docker automated build hooks for ParserCédric Ollivier1-0/+6
Change-Id: Ie42058fba915e3fbe9098ff14b31768723e8e24e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-12Merge "Re-enable orchestra tests (VNF)"Cedric Ollivier1-2/+0
2017-09-11Re-enable orchestra tests (VNF)Morgan Richomme1-2/+0
"Marketplace is now running on port 8080. In addition, we have extended the marketplace backend in order to return the last modified header so that images are not re-downloaded all the time tests are executed. It should be done by Monday EOB" [1] [1]: https://jira.opnfv.org/browse/ORCHESTRA-17?jql=project%20%3D%20ORCHESTRA JIRA: ORCHESTRA-17 Change-Id: I17f6316003be9c2c3131ed640e6a32e482d1a174 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-08Merge "Exclude api_check on lxd scenarios"Morgan Richomme1-1/+1
2017-09-08Use git commit id for refstack-clientCédric Ollivier2-0/+4
Functest should be based on fixed versions of projects which are out of OPNFV. It selects the last git commit as refstack-client hasn't defined any tag or branch. Change-Id: Id7c5ecb0ef88fd1a2b8f34ddfc22c87b7f78c8d4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>