summaryrefslogtreecommitdiffstats
path: root/jjb/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-05-22[Functest] Redirect output when downloading imagesjose.lausuch1-1/+1
Change-Id: Ieb3df7a4fa1519cf13c4f597c62d17ce356168fb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-20Update functest jjobs to run toxCédric Ollivier1-1/+1
Depends-On: I934f4ac739d99d0cb29bea8c6aac6d6780b30901 Change-Id: Ic036cc9cc8377398efbb5eda4f90bb5dcc4e75a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-19Merge "Download images and map the folder to container"Jose Lausuch1-3/+8
2017-05-19Download images and map the folder to containerhelenyao1-3/+8
This patch is to accommadate with the change in patch[1] Before running the Functest Docker container, downloading all required images first and map the folder to the container [1] https://gerrit.opnfv.org/gerrit/#/c/34033 Change-Id: I617bd988caf1fd354cf9ef675661d40742b693c6 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-17Set again run_tests.py's report flagCédric Ollivier1-1/+1
It was deleted by the previous change [1] [1] https://gerrit.opnfv.org/gerrit/#/c/34137/ Change-Id: Icfc9b43c30febe21501a9413196cc84f9553ce39 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-11Merge "Allow Asynchronous Apex Builds"Tim Rozet1-8/+8
2017-05-10Allow Asynchronous Apex BuildsTrevor Bramwell1-8/+8
- Remove any build blockers on 'apex-build-*' jobs. - Adds script to download latest build artifacts before deployment. - Make each deploy download the needed artifacts before running. - ARTIFACT_VERSION now set to dev for verify builds to indicate tarball should be uploaded to artifacts repo - apex.yml jjb is now generated by using apex-jjb-renderer - scenarios are managed in scenarios.yaml JIRA: APEX-328 Change-Id: I4a51565686bd2011a310c3926d8260cd4641dca5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-05-03[Functest] Remove Colorado and Brahmaputra supportjose.lausuch2-16/+6
CI no longer runs brahmaputra and colorado jobs. To keep the jobs as simple as possible, remove that support. Change-Id: I29661f414923807dc6c0d22526dc852a45dbe7bb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-03Merge "Support opera test in functest releng"Jun Li2-0/+10
2017-05-03Support opera test in functest relengHarry Huang2-0/+10
Because opera vnf test requires Open-O msb ip and the independency of this test case, set specific docker env vars for compass4nfv os-nosdn-openo-ha scenario. Change-Id: I486e3896dc86d29cf93818b317675c088c1c5198 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-04-26Rename arm-pod3-2 to arm-pod4Cristina Pauna1-2/+2
Arm-pod3-2 is a second jenkins slave for arm-pod3. This slave is arm while the old jenkins slave is x86. Fatih requested for this slave to be renamed to arm-pod4 instead of arm-pod3-2, even if it's a slave for an existing pod JIRA: ARMBAND-252 Change-Id: I5645edd7d774f763e5e72115851c7061bfafd344 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-04-18Make arm-virtual1 pod not available for CI jobsAlexandru Nemes1-0/+8
Change-Id: I1ae47f2105744bfea8c8c589f41282d1c4ae2159 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-03-21functest: daily jobs: Increase timeoutAlexandru Avadanii1-1/+1
Armband Functest jobs timeout sometimes, mostly because of failing tests which time out individually, adding to more than 180 min. Therefore, increase the job timeout to 240 min. Change-Id: I4829e14785f5dd7297f28dde436d5149a896d419 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-16Add jobs to use the aarch64 jenkins slaveCristina Pauna1-0/+8
arm-pod3-2 is an aarch64 jenkins slave for the same POD as the existing x86 jenkins slave arm-pod3. This commit adds jobs so we can deploy the POD and run functest from the aarch64 jenkins slave. These jobs are non-ci JIRA: ARMBAND-241 Change-Id: Ie3b808a641e44649c02f3b75c83d79119217fdfe Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-15jjb: Set disable-strict-forbidden-file-verification to 'true'Markos Chandras1-0/+1
Previously, if an upstream patchset contained a change for a file listed in 'forbidden-file-paths' the job would not be triggered. This is not desirable since such a patchset may contain important changes so we enable the 'disable-strict-forbidden-file-verification' option which triggers the job unless the patchset only contains changes for the files listed in 'forbidden-file-paths'. Note: The diff was generated using the following script: for i in $(grep -l -r forbidden-file-paths *);do sed -i "s/\(^.*\)forbidden-file-paths/\1disable-strict-forbidden-file-verification: \'true\'\n&/" $i; done Please double check that the changes look sensible for each team's project. Change-Id: Ifa86d3a39b36375b2fd52b449e29c8dc757499b4 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-13Apex,Functest: Create correct danube functest jobs for ApexTim Rozet1-8/+8
Also adds odl_l3-fdio-noha to daily job for Apex Change-Id: I4732f8b905d0908124c2c65cd2ad3af92262d4b5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-02functest: Create functest-weekly prototype jobsFatih Degirmenci2-26/+127
Fuel weekly jobs are created, calling fuel-deploy and functest weekly jobs. Experimental scripts have also been removed. Change-Id: If492443e26248731df35e6b6cb5239fb2ae9a86a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-02Fix the wrong pod and job name of DaisyJulien1-2/+2
Change-Id: Ic6fea2c189de30875968b436db9469bfb5e9b051 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-28Add odl_netvirt as a suite choice for FUNCTEST_SUITE_NAME paramJamo Luhrsen1-0/+1
Change-Id: I86790035c0bb203e8e84c40c863b0750658d6901 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-02-24Merge "Add scenarios jobs"Serena Feng1-0/+9
2017-02-22Add scenarios jobsJulien1-0/+9
deployment and integration with functest Change-Id: Ic9f72f4f6bf4d526b51b3254cfc2efd5842dd58c Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
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>