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