summaryrefslogtreecommitdiffstats
path: root/jjb/functest
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2017-07-04Merge "Use former calls to running Functest in Danube"Jose Lausuch3-3/+16
2017-07-04Use former calls to running Functest in Danubejose.lausuch3-3/+16
Change-Id: I472a41e3c2ad41e97a6f4ea3b82d72df73c8416b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-04add zte-virtul3 and zte-virtul4 to Doctor CI podsRyota MIBU1-4/+4
Change-Id: I1a27979cad590886fb5cdb039d69611a473cbe3c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-06-30Directly call Functest console scriptsCédric Ollivier3-3/+3
It conforms jjobs with "Define console_scripts" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/36781/ Change-Id: I9209e6efa1b493e24135402a46df72aaa14115d1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-01[Functest] Fix the issue that no return_value existshelenyao1-1/+4
Save the execution return code to file before exiting Change-Id: I73692754b4c4c4b584d5918db7ce446bad931920 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-24[Functest] Push results for functest suitejose.lausuch1-0/+2
Since Functest doesn't post the output to the console any more, we need the logs in some jobs to troubleshoot. Those logs are not stored for functest-suite jobs by default. This patch enables also lf-virtual2 and 3 where some apex verify jobs are using this builder. Change-Id: I5707d1540bed8df9b7c4457775d9877311ba0b33 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-24Functest: removes redundant exit 0 from fetch credsTim Rozet1-0/+3
Also allows unset and pipefail explicitly in set-functest-env.sh Change-Id: I06ae718f563fed0596a37cec1b3a78e44ee7ea5d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-23Functest: fixes fetching os credsTim Rozet4-33/+40
Since jenkins just imports the bash script at upload time, referencing another script in the releng repo inside of bash doesn't work. We need to split them out into their own builder includes. Change-Id: Id120a338ae5ec48eaa285681463bff01677bf316 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-23Functest: fixes downloading images for danube branchTim Rozet1-6/+12
The script for downloading images "download_images.sh" does not exist in stable/danube for functest. Therefore we revert to old behavior for that branch. Change-Id: Id94f3db27fd5b71bb981007472b55fadae0e5394 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-23Merge "[Functest] Provide credentials to Functest as a volume"Tim Rozet1-20/+13
2017-05-23Merge "[Functest] Redirect output when downloading images"Jose Lausuch1-1/+1
2017-05-23[Functest] Provide credentials to Functest as a volumejose.lausuch1-20/+13
The OpenStack credentials shall be fetched from jjob and provided to Functest as a docker volume. This way, Functest framework doesn't need to do it. It will assume the RC file is already present. Change-Id: I7a94ffffaefe65911594a9894b60b10cd13735ad Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>