summaryrefslogtreecommitdiffstats
path: root/jjb/functest
AgeCommit message (Collapse)AuthorFilesLines
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>
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>