summaryrefslogtreecommitdiffstats
path: root/jjb/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-02-21[Functest] Refactor Functest-suite jobjose.lausuch2-16/+13
- Remove if clauses for old releases (not used any more) - Use python call to run_tests.py instead of CLI This will allow us to return the proper value to the job. The CLI command returns always 0. - Remove push logs to artifacts Functest-suite is not meant for daily CI runs Change-Id: I34d99cbe5af07a1fcf583a9a0b6ac6ab286c9adc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-15Apex,Functest: Updates env detectionTim Rozet1-16/+18
If Apex installer VM doesn't exist (such as in snapshot deployments) and the credentials file is already provided, then can continue functest. This patch adds that functionality and removes detection for the "instack" installer VM which is deprecated. Change-Id: I4267aebbcf0582529f38d451a7e8ba30f71c132a Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13CSIT: Fixes credential file passingTim Rozet1-1/+2
Change-Id: I1605452d5ad4e61915e537677fc291f911dfb6e8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13No action when no container is therehelenyao1-1/+4
Docker complained about no container is there when calling the container removal step without checking the existence of container. In this change, action will be taken only if there is any container. Change-Id: I32efc98bb4e2c2f5a47bffa88fc5c5b4c8e5d821 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-10Use the aarch64 image for functestCristina Pauna3-8/+18
An aarch64 image was created for functest in https://gerrit.opnfv.org/gerrit/#/c/27801/ This image is build and pushed with https://gerrit.opnfv.org/gerrit/#/c/28291/ In this commit, the aarch64 image is pulled when an aarch64 jenkins slave is used for running functest. JIRA: ARMBAND-180 Change-Id: Idfe7115275a056ef5137cff0a963910c2707457c Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-10Move the compass centos job to intel-pod8wutianwei1-2/+2
We fixed the issue of accessing database failed on intel-pod8. Some problem happened in Huawei Munich Lab.So we move the CI job to this pod. Change-Id: Iefddcf2bef2cc296b1abd2d224b78c6dbc522295 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-02-07[Functest] Add push-logs to functest-suite jobjose.lausuch2-1/+5
Functest suite is used now by different projects for verify jobs for example. Some of these jobs would like to have the logs in artifacts for further troubleshooting. Change-Id: I2e0c2d9539c2e195a5c4fb6c4708d82e512adf94 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU6-16/+11
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-20[macro] property logrotateRyota MIBU1-0/+1
This patch defines 'logrotate-default' property and replace 'logrotate' by it, as 'logrotate' is deprecated on jenkins>=1.637 . Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-17Merge "Remove colorado jobs and create danube jobs"Fatih Degirmenci2-24/+24
2017-01-16[compass] enable healthcheck and vping as smoke test in verify jobmeimei1-0/+4
Change-Id: I7b4ad69b1c7c7b59b9feadef8808a1ef81a34367 Signed-off-by: meimei <meimei@huawei.com>
2017-01-09Remove colorado jobs and create danube jobsFatih Degirmenci2-24/+24
Danube stream for the projects with daily jobs is disabled. Danube stream for the projects without daily jobs is left as enabled as there will be no changes coming to danube branch until branch is created. Dovetail, Apex and Fuel jobs have not been updated yet. Change-Id: Ice39826c8f829157fa864370557837290838f634 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-21Bugfix: fix the wrong extraction of image_idhelenyao1-1/+1
Change-Id: If1678725a1b417cf0a94265557a6d88aa7c416cb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-21Merge "opnfv/functest:<none> and its containers are removed"Jose Lausuch1-11/+26
2016-12-21opnfv/functest:<none> and its containers are removedhelenyao1-11/+26
JIRA: FUNCTEST-653 opnfv/functest images with <none> tag are generated after functest images are pull many times. These images can be queried with filter "dangling". Logics are added to remove dangling images and their containers. Change-Id: I271f4d95c5fb62fdebe690d82330f6b25ac1e2f8 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-19Merge "Bug-Fix: Fix clean_image flag does not take effect"Jose Lausuch1-1/+1
2016-12-19fix ci jobs (daily && no branch param)Ryota MIBU1-0/+2
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-18Bug-Fix: Fix clean_image flag does not take effecthelenyao1-1/+1
JIRA: FUNCTEST-665 In patch https://gerrit.opnfv.org/gerrit/#/c/25775/, it set CLEAN_DOCKER_IMAGES=false to save time. On CI job, the cleaning step is still undertaken. Change-Id: Iaca64d3a347dafa9c87975c756ea8bcb30ae2f93 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-19clean scm defenitionsRyota MIBU2-8/+2
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-143rd party ci: Create functest jobs for netvirtFatih Degirmenci1-0/+5
This is probably not the best way to fix this and will hopefully be aligned with the rest. Change-Id: I0a7602c34c3b5941f36ae0073e7abfdf4b4a9cb4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-14Add functest to pipeline and add odl-netvirt-virtual-defaultsNikolas Hermanns1-1/+1
For the functest change we use the new cli which provides us with comma seperation of the test cases. Change-Id: Id6c88bd3e13ecce7bf5a738ead8ad98df4e00b5a Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-12Functest: don't clean existing Docker imagesjose.lausuch1-1/+1
This will save some time. The "docker pull" command takes care of upgrading the image if it exists. Change-Id: I195e0ddac3673cdafb13ab6d78874367420e37ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-07functest,doctor: CLEAN_DOCKER_IMAGESRyota MIBU2-1/+5
The builder/script 'functest-cleanup' will delete docker images for functest, so that we can make sure the latest functest will be used during the tests. But, it also makes a pod downloads image every time CI triggered functest-suite. This patch adds option 'CLEAN_DOCKER_IMAGES' (default=true), so that the job owner can choose whether he/she wants to drop the docker images or not depends on frequency or charactaristics of the job. Change-Id: I0b7affccb404fb8c4f0939b00d65e363ec62f7c3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-03Merge "Functest jjob: add the option to provide the rc file as parameter"Morgan Richomme2-18/+38
2016-12-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell1-0/+1
With the addition of ODL and OpenStack Gerrit servers, it's important we don't generate additional noise by accidentally building against these Gerrit servers when we don't intend to. JIRA: RELENG-179 Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-12-01Functest jjob: add the option to provide the rc file as parameterjose.lausuch2-18/+38
Change-Id: Icb5dd3f0f46eb4891609d1f0e4d868e84fe49a14 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-11Colorado bug fix: ci path did not changeMorgan Richomme3-0/+6
After refactoring of the repo structure we add to adapt the path in releng but this change is only valid for Danube and after old pathes must be kept for colorado JIRA: FUNCTEST-525 Change-Id: I4cf5951111dbb9cb3d7a002c24efe1167e994222 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Adapt jjb path to new functest repo structureMorgan Richomme3-4/+4
JIRA: FUNCTEST-525 Change-Id: I613757f98a7b41e924f1334053f83f8966536018 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-04Don't run Functest unit tests for Colorado branchjose.lausuch1-1/+1
run_unit_tests.sh is a new thing for Danube, it shouldn't be executed in Colorado verify jobs. Change-Id: Ibc9fd41ae390ef2fcb7d448914dd65a7b9166781 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-10-28Merge "Trigger test unit execution on verify + Published for jenkins"Morgan Richomme1-1/+29
2016-10-19Trigger test unit execution on verify + Published for jenkinsMorgan Richomme1-1/+29
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> Change-Id: Ieb8e291d31479fff1c7cad941eb9be83cd4b670f Depends-On: Icd958552fafb4e8dc58f9008586bcaf33862ccd4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-18Set arm-pod-3 as non-ci PODcristinapauna1-0/+8
arm-pod-3 will be removed as CI pod and this commit add triggers to make it a non-ci pod Change-Id: Ice16b8d32c553a059a2c9885fd801a736a59a14d Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-10-09[compass] put huawei-pod2 into CI resource poolmeimei1-4/+0
Change-Id: I8b8cf515d47e6117bfa5804c15fac22ac8b8d90a Signed-off-by: meimei <meimei@huawei.com>
2016-09-19add 'ool-virtual1' into functest pod listRyota MIBU1-0/+5
This entry will be used by doctor's verify job which will triggered by each patch upload into gerrit. Change-Id: I1f4bc8cbb56baf8192ba9d26dcfb80de8cade560 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-18[bugfix] use huawei-pod2 to verify coloradomeimei1-1/+1
Change-Id: I9e402d395a3c90f65d0e73f9ef18c08e0801afad Signed-off-by: meimei <meimei@huawei.com>
2016-09-13[compass] use new pod to run compass jobsmeimei1-0/+4
Change-Id: I9c6ee092cea755aea58a91a696cb338e1eb5df8b Signed-off-by: meimei <meimei@huawei.com>
2016-09-09add doctor-functest verify jobRyota MIBU2-1/+7
This patch adds a new jenkins job which will be executed every time doctor patch is uploaded. The code will be verified by executing doctor scenario on the specific pod using functest. JIRA: DOCTOR-70 Change-Id: I480cd905991ccb1ef7426187fe83cbf1ae798ce9 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-09-07armband: functest jobs refactored to use labelsPaul Vaduva1-3/+20
Change-Id: I50c47a40f3337e7140740f49b09f3e508eb0087c Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-09-02[Functest] Remove exit value job from functest-suite builderjose.lausuch1-1/+0
Change-Id: I8309c027a871246623c199447dcb667b5bb2f066 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-01Merge "fuel: Enable triggers of Colorado on zte-pod1 and zte-pod3"Fatih Degirmenci1-0/+8
2016-09-01fuel: Enable triggers of Colorado on zte-pod1 and zte-pod3wu.zhihui1-0/+8
Enable triggers of Colorado on zte-pod1 and zte-pod3. Meanwhile, add colorado branch for zte-pod1 and zte-pod3 in Functest and Yardstick. Change-Id: I575d37356c9223935d5975a834589b33f9e7498b Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-31[Functest] Fix typo exiting with a ret_val variablejose.lausuch1-1/+1
Change-Id: I39d085726551ac1db2531d474d9c407840f5ffc0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-08-31[Functest] Push logs to artifacts regardless if loop failsjose.lausuch3-0/+27
This prevents from exiting the job without pushing the logs to artifacts if the functest loop fails. JIRA: FUNCTEST-443 Change-Id: I6925b5855326df809dbce9f389b10be8a00cf8de Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-08-24Apex, Functest: Adds apex colorado functest jobsTim Rozet1-0/+8
Change-Id: I07d7f0a3cdef3ebe1dec07156791f181a149ba19 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-23Merge "Create project jobs for colorado branch"Ryota Mibu1-1/+5
2016-08-23fuel: Create jobs for ColoradoFatih Degirmenci1-9/+9
This change contains updates that impact compass and joid jobs due to updates in functest and yardstick that remove brahmaputra branch. Please note that the triggers for colorado haven't been created yet. It will be done once the basics in place. Change-Id: Id5eb8c406d34ff9f3ac59f73243034cbf49b23f0 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-22Create project jobs for colorado branchFatih Degirmenci1-1/+5
Daily jobs for Colorado branch for installer and test projects have not been created yet and it needs to be done via separate patches. Change-Id: I34517e89dfc502ce5741733e01bf8425d513df02 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-19Merge "[ZTE PODS]override fuel ip in functest and yardstick ci job"Fatih Degirmenci1-1/+1
2016-08-19joid: Create jobs for orange-pod1 and remove brahmaputra jobsFatih Degirmenci1-2/+2
Change-Id: I61b68a7db60193f5525de7151e43b7752e5dd604 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-19[ZTE PODS]override fuel ip in functest and yardstick ci jobwu.zhihui1-1/+1
For all zte pods, the fuel ip is not 10.20.0.2 . It need to override. Change-Id: Ib9533c28d9d03fdfc4804955de9eee7501453cd9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>