summaryrefslogtreecommitdiffstats
path: root/jjb/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-09-20Add functest return status in AlpinesMorgan Richomme2-0/+7
So far we had 2 approaches: * return Functest CI status: can be OK even if tests are FAIL * return Functest Test status: can be FAIL even if all Functest tests are OK (Fail in onboaraded tests) A 3rd way is possible thanks to [1]. We consider only Functest status and Functest tests for the return statement the return will be FAIL only if * error in the framework * error in Functest Tests So concretely, if promise, Doctor can be FAIL, if Functest tests are OK, the return will be PASS [1]: https://gerrit.opnfv.org/gerrit/#/c/42245/ Change-Id: I6c7fbe99d888e43700ddb2dfc9bfd6cc9bfbaed6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-19functest: Enable euphrates jobsFatih Degirmenci2-2/+2
Change-Id: I536d3182ef7f4b598f734502cc0880201487d968 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-19functest: Create jobs for EuphratesFatih Degirmenci3-21/+21
This change switches jobs to euphrates and removes danube jobs. Change-Id: I9e53c595886b6214927c10c380a898e3c7510c7b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-19Merge "Integrate functest with ARM Architecture with alpine images"Morgan Richomme1-1/+8
2017-09-16Enable parser projectshangxdy1-1/+1
Enable parser project since it has tested successfully in multiple installers. Change-Id: I7f6f22910cf2b44975c511d3ff20b822181c18fe Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-15Merge "[Functest] Exclude vnf tests for virtual deployments"Jose Lausuch1-1/+5
2017-09-14[Functest] Exclude vnf tests for virtual deploymentsJoseLausuch1-1/+5
VNF test cases take long time when executed in virtual deployments, mainly due to the resources assigned to the virtual hosts. Change-Id: Id0591e6217515b04fe163488a89667ac66c06cdd Signed-off-by: JoseLausuch <lausso@Joses-iMac.local>
2017-09-14Apply docker config adaptations to alpinesMorgan Richomme2-3/+5
regression reported by barometer project 1) --privileged=true no more set in docker run 2) wrong INSTALLER_IP -e INSTALLER_IP=192.168.122.169 3) ssh_key no more mounted -v /root/.ssh/id_rsa:/root/.ssh/id_rsa Change-Id: Iccda9d57b7ea4c346ff26e9b2f74320bfe7eec95 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-14Integrate functest with ARM Architecture with alpine imagesDelia Popescu1-1/+8
Read compute architecture form salt master and send it as environment variable. JIRA: ARMBAND-310 Change-Id: I5c44697d1856f4d09df6fbbbf23ec94478e08f21 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-09-14[fuel] Handle os cacert for alpine as wellMichael Polenchuk1-7/+7
Change-Id: Ie7e8228dc4316a70c8cd800415108180148f5f31 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-09-13Add reporting for Functest Alpine in RelengMorgan Richomme1-2/+4
Change-Id: I1e72cb5b7ce9441900a239bb593d89275fe7b675 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-12Use old functest container for armband CI runsMorgan Richomme1-11/+37
Functest Alpine not supported yet for aarch64 architecture. Task for Armband project but until support could be done, the traditionnal docker shall be used for armband tests usage of alpine leads to errors [1] [1]: https://build.opnfv.org/ci/view/functest/job/functest-fuel-armband-baremetal-daily-master/214/console Change-Id: I48e05a0c7cd97989784fd97348bd331425c4877e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-11functest: Fix missing brackets in conditionAlexandru Avadanii1-1/+1
Change-Id: If6d4f6b2ac0266af35b150159a752b8b6f48ad83 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-11fuel, armband: Remove SALT_MASTER_IP paramAlexandru Avadanii1-5/+6
Fuel@OPNFV mcpcontrol network (equiv to old admin/PXE net) has been configured to use 192.168.10.0/24 during E release cycle. However, due to overlapping with Ericsson-pod1 networks, we decided to re-use the old CIDR Fuel used before E release (10.20.0.0/24). This allows reusing the INSTALLER_IP param instead of recently added SALT_MASTER_IP param. Current change refactors all usage of SALT_MASTER_IP in favor of old INSTALLER_IP, thus reducing complexity and providing a familiar env to leagcy Fuel users. JIRA: FUEL-285 Change-Id: I1e89cca08ce4cb9bf3a82a06043c91ee26aa0794 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-11Switch daily job to Alpine containersMorgan Richomme1-3/+10
The following alpine containers will be launched one after the others: - healthcheck - smoke - features - vnf Old container is kept for suite (which could be refactored later) Jenkins exit condition (return_value) and push_test_logs to be checkeded. Regarding the return condition, I did not reapply the mechanism that returns false when one of the test suite is FAIL. This was misleading for lots of people as for them, red means functest is FAIL.The argument was, if functest jenkins status is blue, people believe that tests are PASS and do not consider the results, which may be FAIL, which may be also misleading... Due to the refactoring I think we can be more Functest Centric and consider that if we succeeded in running the test, our CI status shall be PASS (same behavior than other test projects..HA test FAIL in yardstick do not prevent blue status). Scenario owner must have a look at the reportign page to get more details. Functest PASS means that tests have been succesfully launched, so they know that there are available results To summarize previously Functest OK but 1 or more tests FAIL => red status in Jenkins currently Functest OK but 1 or more tests FAIL => blue status in Jenkins Regarding the push to artifacts, it should be transparent (volume) but the last log links listed on huawei-virtual5 are broken [1] [1]: https://build.opnfv.org/ci/view/functest/job/functest-alpine-compass-huawei-virtual5-daily-master/27/consoleFull Change-Id: I4ed036dda3daae3d46726e5946f9d04897bab9bb Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-08Merge "Add functest-healthcheck alpine to xci-verify-healthcheck-macro"Morgan Richomme1-1/+6
2017-09-07Move back to opnfv/functest-* for alpine containersMorgan Richomme1-1/+1
Temporary solutions relied on ollivier/functest-* but now opnfv/functest-* are well produced and can be used as official reference for CI Change-Id: I02b5a03929d5b31df0db2a6c4722edf62b920df9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-06functest: verify job should be multijobAlexandru Avadanii1-0/+2
Change-Id: I3b62e855be9205326fee1fa8b2b56cb2276c689c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-06functest: verify: build-timeout, ssh-agent-wrapperAlexandru Avadanii1-0/+5
Change-Id: I2754c7d5502a05ef0fa1dec9dbd14b4c97b70f11 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-06functest: Move verify back to opnfv-build-ubuntuAlexandru Avadanii1-1/+1
Recent rework changed the label for the verify jobs from "opnfv-build-ubuntu" to just "opnfv-build", trying to make it more OS-agnostic. Since verify jobs fail after the rework, try reverting the label change, hopefully it will fix the failure as well. Change-Id: I15d139d8dc2d2f940a1af2c1b5fb218d6be19f82 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-06functest: Fix verify job triggerAlexandru Avadanii1-2/+6
Commit 27f5d5c refactored the functest verify jobs, but also introduced an issue triggering said job by not passing project and branch parameters to the new trigger macros. Change-Id: I7a61a1f85df345c090813b5060959fa79d294f9b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-05Add functest-healthcheck alpine to xci-verify-healthcheck-macroMorgan Richomme1-2/+7
- add the rc file retrieval in fetch_os.sh - adapt alpine to split healtcheck from daily (healthcheck + smoke + features) - adapt the xci builder Change-Id: I38836814240a1d769d379a10c9ef14def7e6df97 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-05multiarch: Add functest x86_64, aarch64 verify jobsCatalina Focsa1-46/+150
Add a verify job for each architecture. JIRA: https://jira.opnfv.org/browse/ARMBAND-233 Change-Id: Ia99292504ac54d6b2870bd2a490e9d5f09c3f49a Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-08-31cleanup of obsolete non-CI arm PODsCharalampos Kominos1-32/+0
Change-Id: I134feba421d12c4ca428b098aaa2bf52b3dec0ca
2017-08-29Merge "[fuel] Handle os cacert for baremetal deployments"Trevor Bramwell1-7/+8
2017-08-29Do not redirect errors in ${redirect}Cédric Ollivier1-1/+1
${redirect} can be equal to /dev/null. Change-Id: Ie66ee7ca2da92270de8619399a7f362acff8873a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-28[fuel] Handle os cacert for baremetal deploymentsMichael Polenchuk1-7/+8
Change-Id: I02503772dc5ed59562c2e0aba96280e2cae1da50 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-08-26Avoid exiting the script if an error happensLinda Wang2-0/+2
1. Avoid exiting the script if an tier fails 2. Push logs to artifacts Change-Id: Ia258994e4694bb71615f7adc18967afcc237813f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-25Pod name changes in ARMBANDDelia Popescu1-4/+4
arm-pod3 pod name is changed to arm-pod5 arm-virtual1 pod name is changed to arm-virtual2 Change-Id: I6746fcdd52bbed5b6a61147d0abc5db64876dc97 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-08-25Remove download images logs (too verbose)Morgan Richomme1-1/+1
logs were used to troubleshoot Functest CI pipeline issue solved with [1] [1]: https://gerrit.opnfv.org/gerrit/#/c/40109/ Change-Id: I56587f355c5e117efa8d0338204b0ced741477a7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-24Merge "Integrate functest with ARM Architecture"Aric Gardner1-0/+6
2017-08-24clean set-functest-envMorgan Richomme1-1/+5
- remove useless parameters when calling download_images.sh - add traces Change-Id: Iecb3516b53e572ae93ba411fc9c23b691be26e69 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-23Integrate functest with ARM ArchitectureDelia Popescu1-0/+6
Reads architecture of first compute node found on MCP installer and sends it as env variable when creating the conatiner. It is needed by https://gerrit.opnfv.org/gerrit/#/c/39991/ JIRA: ARMBAND-279 Change-Id: I7eec485507bd182190e95c0478182f506db4c821 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-08-23temporary switch of opnfv/functest-* to ollivier/functest-* for alpineMorgan Richomme1-2/+2
- better requirement management on ollivier docker hub - add feature and vnf docker (components could be added but as they could be very long (~ > 3h), we focus on shorter tests for the moment (need testcase promotion mechanism to keep the control on overall test duration) Change-Id: Ia8130dba716a465cd9feaaac32eabb4534cbe031 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-16bug fix: bad path on auto generated documentationMorgan Richomme1-1/+1
bad path fix on https://gerrit.opnfv.org/gerrit/#/c/39141/ Change-Id: Ieb8023aa7fde620c2e6b755b8e6255d2281f7a90 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-11bug fix: bad path on auto generated documentationMorgan Richomme1-1/+1
as mentioned in the jenkins logs [1], the folder is not correct replace functest/api/_ build by docs/api/_build [1]: https://build.opnfv.org/ci/view/functest/job/functest-docs-upload-master/48/console Change-Id: I40f4c08474ff017f1616d463b6c5165cd6514c32 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-02Send 'Build Failed' Emails to Jenkins AdminsTrevor Bramwell1-0/+1
Adds the 'email-jenkins-admins-on-build-failures' publishers for jobs which have overridden the default list of publishers. This will provide Jenkins administrators a time-series list of build failures to assist in debugging issues with the master and agents. JIRA: RELENG-257 Change-Id: I28f12877562113c9197ed6429ee2a7f3cdbaf346 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-26[Functest] Add os_cacert file mapping for compass masterLinda Wang1-1/+1
Change-Id: I1e786839524de2bad09df39bd9450068cf3d2c96 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-21[Functest] Add huawei-virtual5 for alpine testingLinda Wang1-0/+4
Change-Id: I5ce29cbb0786e83fbdf5bd014daf6686ec435562 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-19[Functest] Wget download_images.sh to support Alpine on Danube jobsjose.lausuch1-2/+8
Change-Id: I70cf598a09def6c62dd4c32ed819e818833a6ff2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19[Functest] Add presetup and fetch credentials for Alpine jobjose.lausuch1-1/+4
Change-Id: I8633353f3ca9bbf854e0d67760e6504524309d74 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19[Functest] Add docker run command to execute the testsjose.lausuch1-1/+2
Change-Id: Ie9a56a7786de841d720b9902e8d3b5aabd79dd7e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19[Functest] Add script for running new Alpine containersjose.lausuch2-0/+124
Change-Id: I96c7144578ee2e1f842e4bd22ffb79b9e1e54e4c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-17Merge "[Functest] Adapt set-functest-env to download OS images"Jose Lausuch1-2/+2
2017-07-14Compass: add cacert file to enable SSL verificationLinda Wang1-1/+5
Now only Openstack https is supported by OSA repo LXC in compass deployment, so certification file is required to enable SSL verification. After [1] is merged, the cacert file os_cacert will be provided in the container compass-tasks. [1]: https://gerrit.opnfv.org/gerrit/#/c/37451/ Change-Id: Id747cef1955733a1c93feb20a26d503a5de1fb93 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-13[Functest] Adapt set-functest-env to download OS imagesjose.lausuch1-2/+2
When [1] is ready and merged, we don't need to download the OS images that are not needed for the deployed scenario. The same filter applies to armband jobs. [1] https://gerrit.opnfv.org/gerrit/#/c/37373/ Change-Id: I5813c738a8d9fa1262299cc50993557757f6d7e8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-07Merge "Push Functest API doc to artifact"Jose Lausuch1-0/+43
2017-07-06Push Functest API doc to artifactSakala Venkata Krishna Rohit1-0/+43
Note that it is not the final goal The final goal is to integrate api doc into Functest developer guide This will be triggered from opnfvdocs and replace the current developer guide: http://docs.opnfv.org/en/stable-danube/submodules/functest/docs/testing/developer/devguide/index.html This patch allows to have an up-to-date api docs on the artifact after functest merge http://artifacts.opnfv.org/functest/docs/ Change-Id: I91256add29ce9eadd66764c2234da1d60981dd31 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com> Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-07-06Merge "Functest verify jobs only for master branch"Jose Lausuch1-1/+1
2017-07-05Functest verify jobs only for master branchjose.lausuch1-1/+1
The verify job is running tox which is not in stable/danube branch. Therefore, the bugfixes in that branch fail. This enables verify jobs only to master branch. Change-Id: Iff2a7b5e2d6aaff489767e77ebfa9a16bb9326de Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>