summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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> (cherry picked from commit 5d32eda661c476d263ebb46f486168f9adf43c1f)
2018-01-12Remove stable docker tagsCédric Ollivier8-64/+0
Releng and travis-ci jobs don't publish any stable tags, then they should be removed from Docker automated builds as well. It will be completed by removing all former tags by hand as well to avoid mixing euphrates and these deprecated tags. Change-Id: I969e5313ca29edee0a1bfd534ff45a5c09183816 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-11Build vnf and restapi containers for ARMDelia Popescu1-2/+1
The root cause of the problem was the installation of unf_ext packet. The Gemfile.lock in https://github.com/boucherv-orange/clearwater-live-test asked for version 0.0.6 and this version was not found for arm. When it tried to build the package, the conversion from int to char error was thrown (issue reported here https://github.com/knu/ruby-unf_ext/issues/15). As now version 0.0.7.4 is selected, then the vnf docker images are built without any other errors. Gemfile.lock was updated in the original repo, this fix enables vnf and restapi containers build for ARM. JIRA: FUNCTEST-899 Change-Id: Id2c5fe82cb3705f58a8175fcf0a17f443e9b7d9d Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit 63ec3c39ef720d265fe5a6c9d3a7c5665c2624d2)
2018-01-04Inject all envs in openrc into CONSTLinda Wang2-12/+1
After "env_prepare" is removed, some specific vars in openrc (eg,."EXTERNAL_NETWORK") loaded to os.environ should be injected into CONST in one python process. Conflicts: functest/ci/run_tests.py Change-Id: Iaa5c6047033dc2a30c533174e2016111759aec31 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 6a2ee8883daf1795ec84fc2868c17c0723025447)
2017-12-25Clean base images only if 1 container was builtCédric Ollivier1-4/+4
Conflicts: build.sh Change-Id: I0134082d2d150a6dc58e679f9ade81eb6c040266 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 20d22666aa841f0128b3f53a07ba0f31684537d8)
2017-12-23Clean Docker images after buildsJose Lausuch1-0/+4
Compared to the related Releng script, it only focuses on cleaning images. It's considered out of scope to remove remaining docker containers. It doesn't force to remove images because base images (e.g. Alpine) could be selected by other OPNFV projects too. It ensures O is returned even if one image cannot be removed. functest-core is removed at the end because all Functest containers depend on it. The script works well in a nominal building env. Any remaining Functest images or containers must be removed by hand. Conflicts: build.sh JIRA: FUNCTEST-898 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I72d8214b711680ec7958af1d427b23dee6337bf6 Signed-off-by: Jose Lausuch <jalausuch@suse.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 98a942469134fcc3f91b6658a6fbb256d9d89518)
2017-12-23Add Docker build optsCédric Ollivier1-8/+3
Change-Id: I91fcb833b6b6216338b4fcb888f093a2086264a7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9545e4cd5f16805adf2caadf348432ca1e8d9cd7)
2017-12-22Add euphrates as a docker tag to the release notesJose Lausuch1-1/+2
Change-Id: I35080b3e701de6341926f86e8aa1910ef777f565 Signed-off-by: Jose Lausuch <jalausuch@suse.com> (cherry picked from commit b94eea5dc2d97a5055d2a98b7b330cc52cac5649)
2017-12-21Merge "Enable orchestra testcases for Daisy only" into stable/euphratesCedric Ollivier2-4/+4
2017-12-21Enable orchestra testcases for Daisy onlyCédric Ollivier2-4/+4
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> (cherry picked from commit 850d3ec6dc2ed582b9d36ac2927e0eccd1f88199)
2017-12-21Merge "Force python2.7 when creating venv for refstack" into stable/euphratesCedric Ollivier1-1/+1
2017-12-21Force python2.7 when creating venv for refstackLinda Wang1-1/+1
It applies part of "Fix rally db issue" [1] which is not cherry-picked because it mainly focused on rally updates. [1] https://gerrit.opnfv.org/gerrit/#/c/47555/ Change-Id: Ic6850e54860fe2b54a2199e1c3ed89d822ae6284 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-21Merge changes I17d45782,I008cf0f5 into stable/euphratesCedric Ollivier1-16/+21
* changes: Suggest to pull manifests instead of arch tags Update release notes for Euphrates 5.1
2017-12-21Merge "Fix typos in test_details.rst and test_overview.rst" into ↵Cedric Ollivier2-25/+25
stable/euphrates
2017-12-21Merge "Precise the right Docker tags" into stable/euphratesCedric Ollivier2-7/+7
2017-12-20Suggest to pull manifests instead of arch tagsCédric Ollivier1-3/+1
Change-Id: I17d45782feb38946f9524859354f24d392b56f25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 00a39f80a318d75360e48190e547afe33ca3e01a)
2017-12-20Update release notes for Euphrates 5.1Jose Lausuch1-16/+23
Change-Id: I008cf0f5cd5279903d7e50b5a3903c283829e9cb Signed-off-by: Jose Lausuch <jalausuch@suse.com> (cherry picked from commit 4470868c2d4486e8dbfab925c22eb364974b2c40)
2017-12-20Fix typos in test_details.rst and test_overview.rstCédric Ollivier2-25/+25
Change-Id: I12e9b17927ab9b52d0a727a82975cda7074bd994 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e96cf7eb6d691ea85354df05fd395a76fd531467)
2017-12-20Precise the right Docker tagsCédric Ollivier2-7/+7
It updates configguide.rst and runfunctest.rst. Change-Id: I48aab7cbfcd8ea6f6da61eef426754f018820cf3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-20Merge "Switch to public keystone endpoint" into stable/euphratesLinda Wang2-12/+15
2017-12-19Switch to public keystone endpointCédric Ollivier2-12/+15
It also reorders imports and removes dead code. Conflicts: functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py functest/opnfv_tests/vnf/ims/orchestra_openims.py Change-Id: I1e7bd03a4bc07df4705c9beed83a37a022ddbd52 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 01cb2b343c0de7c67a4640d4d3794d924b68c6b9)
2017-12-19Filter out orchestra for ssl enabled deploymentsMichael Polenchuk2-4/+4
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> (cherry picked from commit fa10ca0a16ab8d560b15814ce91e379e01b10030)
2017-12-17[vyos_vrouter] Support https endpointsShuyaNakama6-44/+13
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> (cherry picked from commit fc0d8c601ce627d5f7b8c5e3eef73bd01c6db7d4)
2017-12-07Update releng commit idopnfv-5.1.0Cédric Ollivier1-1/+1
It updates the releng commit id because SFC requires the patch "Execute ovs-logger cmds with sudo" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/46239/ Change-Id: I0e6116e831c6cd470ce19e81be13c743960e65aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-07Pull functest-core when only building childsCédric Ollivier1-0/+6
Otherwise it fails if parent and childs containers are not built on the same host [1]. It would have worked if the docker images were correctly cleant. Then the last image would have been pulled. [1] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-euphrates/362/console Conflicts: build.sh Change-Id: I293829c839c1cf68c9f7668aa643e16889359fcc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e3281b2175ca9983d79ce17de7e7497f749e650e)
2017-12-01Updated from global requirementsCédric Ollivier3-9/+20
Change-Id: I3f4ed1c6bb82e2797841e129f035ba27a5471eba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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)