summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-04Update results printed in configguide.rststable/euphratesCédric Ollivier1-65/+66
It mainly takes into account that: - vyos_vrouter is now available in functest-vnf - all orchestra testcases are mostly disabled - odl is skipped if os-nosdn-nofeature-ha Change-Id: Idc92cc82a1656d9118d080eeb1f7e1fc80f6296e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-04Fix links in configguide.rstCédric Ollivier1-13/+13
It also removes trailing whitespaces. Change-Id: I6a7e4aaff700a85ff1c0c2741624e9359441e0ac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3c5240c50cf2a158a4cf033ab0268580dfe52754)
2018-01-29Create subnet and net within the same projectLinda Wang1-0/+1
It is required to create a network and subnet within the same project for some SUTs. Change-Id: Icd02edb0aebee93713f315cdbbeb021e9ae82dae Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit f06d3e13cdee669e53f6a1c75039c9b3c3430a8a)
2018-01-22Remove the former DockerfileCédric Ollivier8-396/+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 Conflicts: tox.ini setup.cfg Change-Id: I30294a94cc742ba80a7bc4f35db9330240385bb0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0705a7ed15f090b3be64f2995d1c9fff51edc2f1)
2018-01-16Update set of region identity attributSamuel Bartel2-2/+4
Use OS_REGION_NAME environment variable if defined Conflicts: functest/opnfv_tests/openstack/tempest/conf_utils.py Change-Id: Ifcdfc468fa4931ab62ac0f3ead103e15af7c0de6 Signed-off-by: Samuel Bartel <samuel.bartel@orange.com> (cherry picked from commit eb793907cee64bbe2519040559b04d47652cabf0)
2018-01-13Build functest-parser for arm64 via travis-ciCédric Ollivier1-1/+6
Even if clearwater-live-test dependencies have been updated [1], the next containers can be built for ARM (ruby raises SEGFAULT via qemu-user-static): - functest-vnf - functest-restapi The related manifest is also updated. [1] https://gerrit.opnfv.org/gerrit/#/c/50295/8 Conflicts: .travis.yml Change-Id: Ie1eb78436a3da5eb7b5c1028b7f8323e8c3e73a2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 12c99c5f3fef126283e3a9795c4c1d436cc7846f)
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)