summaryrefslogtreecommitdiffstats
path: root/functest/ci
AgeCommit message (Collapse)AuthorFilesLines
2018-01-04Inject all envs in openrc into CONSTLinda Wang1-12/+0
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-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> (cherry picked from commit 850d3ec6dc2ed582b9d36ac2927e0eccd1f88199)
2017-12-19Filter 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> (cherry picked from commit fa10ca0a16ab8d560b15814ce91e379e01b10030)
2017-12-17[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> (cherry picked from commit fc0d8c601ce627d5f7b8c5e3eef73bd01c6db7d4)
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-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> (cherry picked from commit b5c7a96a1eb523e1c89f3ea9d143ddf39c518022)
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 the way of getting endpoint portLinda Wang1-10/+11
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-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)
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-17Enhance the compatibility judgement of INSTALLERLinda Wang1-0/+3
When the env INSTALLER_TYPE is None, while the var installer in dependencies is not None, the current test case should not be run. Change-Id: If1b67f16f39d5c44b2c3729819dd665faed41b73 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 801a53baa1229fd4a88bb1aad692b86f536d970d)
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-09Add UEFI image extra properties for CentOS image for aarch64Delia Popescu1-0/+3
Add extra properties for CentOS image when using aarch64 architecture with UEFI boot mode Signed-off-by: Delia Popescu <delia.popescu@enea.com> Change-Id: Ie8aa7482627cbb3c31c6c72a31a0e37e86a409c4
2017-10-03Merge "Disable vyos_vrouter" into stable/euphratesCedric Ollivier1-0/+1
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-03Fix timeout for socket connectionLinda Wang1-13/+8
Change-Id: I0688761ba7224f40f79310295efadd9b40bfeefb Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 112e652af2b2f61192d3f1bd903522a14be06b94)
2017-10-02Enable promise on all fuel and joid scenariiCédric Ollivier1-2/+2
Change-Id: I9735788fbbe715968560570543d1dc9d55e065b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 36b648a6e928ac0819a607cd2231faa803418b7a)
2017-10-01Remove tempest_custom from testcases configsCédric Ollivier1-18/+0
Change-Id: I1237eaada5257a8c01753837a5820d840b51bff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a8f1d8ea374c9538b1d7a223116d8d7d9b783c89)
2017-09-25Disable Promise testsuite on Fuel installerCharalampos Kominos1-2/+2
When promise reads API v3.0 from the creds file it automatically uses v2.0. which is deprecated and not used by fuel. Therefore promise is removed from the functest suite JIRA: ARMBAND-314 Change-Id: I22b875c198c1922fd4ddb06c81c05884b5248eb4 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com> (cherry picked from commit 8c3791f730effbf09fc95ef2bc66ff0d0a37e87b)
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-20Dedicated flavors for rally testsJuha Kosonen1-0/+2
Create flavors and use them in rally scenarios instead of expecting certain flavors to pre-exist. Change-Id: I77c94ab80fcabd7b80ffb36f9856a48121858009 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 3b98874f010329198b8c3a13a4711c17a593b9cc)
2017-09-20Enable Doctor testcasedongwenjuan1-3/+2
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-19Return Functest status to JenkinsCédric Ollivier1-9/+13
It avoids mixing Functest and Features CI issues by simply exiting the status of Functest testcases. The result of third-party testcases are printed into console but are no longer taken into account into the global status. Change-Id: I040ff54780db2ddb6d81993839fee09f5e472323 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 516d1bd7811f5751d796748ddd52f798bbd5a40f)
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 Ollivier1-17/+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-15Merge "Bug fix: wrong dependency filter for lxd scenarios"Morgan Richomme1-2/+2
2017-09-15Merge "Refactor resource creation and cleanup in rally"Cedric Ollivier1-0/+1
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-15Refactor resource creation and cleanup in rallyJuha Kosonen1-0/+1
Use SNAPS to create and delete resources. Change-Id: Ic4d390382acea2be196e8a7518cb8cce25276a45 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-15Enable tempest run concurrentlyLinda Wang1-0/+1
Append a guid to the end of names of resources created for tempest, including project, user, network, images and flavors. Change-Id: I01fc7c5cb45cd5724a99ba1d220c3f3f7d6639cf Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-14Merge "New testcase creation named "cloudify_ims_perf""Cedric Ollivier1-1/+4
2017-09-14New testcase creation named "cloudify_ims_perf"boucherv1-1/+4
* IMS deployment with "cloudify_ims" testcase * IXIA infrastructure creation with SNAPS * Module configuration with REST API * Configure and run the perf tests with REST API Change-Id: I3dfddda87f9e9f4f03df375f6a032ded26a627b3 Signed-off-by: boucherv <valentin.boucher@orange.com> Co-Authored-By: Arturo Sordo Miralles <asordo@ixiacom.com>
2017-09-13Disable urllib3 warningsLinda Wang3-4/+7
1. When running in compass OSA, lots of SubjectAltNameWarnings are shown in console, so just disable the warnings here. See https://github.com/shazow/urllib3/issues/497 for details 2. Redirect warnings issued by the warnings module to the logging system via logging.captureWarnings(True) 3. But urllib3 warning is still there for two cmds about rally/tempest. Change-Id: Ic22cf8e2babc10c9d55a7ed46b841312a4e430a7 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-12Merge "Re-enable orchestra tests (VNF)"Cedric Ollivier2-2/+1
2017-09-11Re-enable orchestra tests (VNF)Morgan Richomme2-2/+1
"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-09Remove Parser from the former ContainerCédric Ollivier1-17/+0
A dedicated Alpine container has been built for running the Parser testcase as it requires stable/pike instead of stable/ocata. Change-Id: Ifece75c64c1ed860eca7d0524ca581f41fc89276 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Exclude api_check on lxd scenariosMorgan Richomme1-1/+1
Most of the tests are OK but the last tests deal with qcow2 images the testcase is therefore not compatible with lxd sceanrio Change-Id: Ie67e5e1a67673c5d2076ef306bd7d29f46e6977f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-07Merge "Use custom images and flavors for aarch64"Morgan Richomme1-1/+2
2017-09-07Use custom images and flavors for aarch64Delia Popescu1-1/+2
Use custom images and flavors in tempest_smoke_serial test for aarch64 JIRA: ARMBAND-279 Change-Id: Ie285e1c22fd5ec84a0d70def35654ea76e4d3554 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-09-06Integrate doctor-test packagedongwenjuan2-2/+1
It updates tescases.yaml as run.sh is located in $PATH. repo_doctor is removed as it's now useless. It must be noted that doctor-test imports modules fom a relative path which can break the integration. Pylint warms them (W0403) [1]. [1] https://docs.pylint.org/en/1.6.0/features.html Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icd3071a8e371048370bd3e07e08b6b52ddb35c13 Depends-On: I2091cfe4751640bf83d77e1fdd713af1e31fa89d Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Merge "Integrate new Domino package"Cedric Ollivier1-1/+1
2017-09-06Merge "Add UEFI support in functest"Morgan Richomme1-0/+4
2017-09-05Stop downloading openbaton image.Cédric Ollivier2-1/+2
It's downloaded in all CI runs and forbids several ones (timeout). Change-Id: I2f269d941990b7235eba7cc6d58ad17072495176 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-05Integrate new Domino packageCédric Ollivier1-1/+1
Change-Id: Iada952e3356fa89a122503c2a71aa31a9731469e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Add UEFI support in functestCatalina Focsa1-0/+4
Add extra properties to the cirros image for ARM architecture. In the glanceclient repository, the create method expects **kwargs as parameters, thus an extra_properties variable containing a dictionary of property-value pairs can be added (if given) to the image to be created. If the properties do not appear, the call should not affect the image properties because the dictionary is initialized as empty. Change-Id: I690da90e6c6f250bd0a3d99cce39aa250e19b9c2 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-09-01Merge "Activate SFC testcases in CI"Morgan Richomme1-1/+1
2017-09-01Activate SFC testcases in CIManuel Buil1-1/+1
SFC project is ready to run its tests in CI Change-Id: I337af8685d78e34af00eb86776bd3a44f423f2dd Signed-off-by: Manuel Buil <mbuil@suse.com>