summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-alpine.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04Disable vnf runs for aarch64Delia Popescu1-2/+2
Functest VNF tests are not adapted for aarch64. The tests can be reactivated when they are adapted to execute on aarch64. JIRA: FUNCTEST-964 Change-Id: I2413a6eff831c8dd2751b7bc73ad583f55a00dcf Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-04-12Stop maintaining Euphrates (EOL)agardner1-17/+4
Change-Id: Ibd6a523aa9da3aa6c2622a5f183102ffdbc3ccb8 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-04-05Create daily Fraser jobsCédric Ollivier1-8/+7
It doesn't assign any Fraser job to (virtual) pods. It also stops checking deployement what is duplicating healthcheck. Change-Id: Ia370380e20b833d03f09b2098478a8930e4f8dc0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-22Fix RegExp issue for sfc scenarioLinda Wang1-1/+1
Change-Id: I345aeed4e11c4f5329251766b1fcf6aa1d852ba1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-19Merge "Add sshkey and user config into functest container"mei mei1-1/+13
2018-03-16Donot exit if k8s tests failLinda Wang1-18/+13
1. Add 'set +e' before running k8s tests, then the following builder of functest-store-results will be executed. 2. Remove the logic of managing k8s scenario from functest-alpine.sh Change-Id: I9a269fc46e45d1db6af741775d475e887ebc79c7 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-16Add sshkey and user config into functest containerLinda Wang1-1/+13
This is to support sfc test on Compass: https://gerrit.opnfv.org/gerrit/#/c/52825/ Change-Id: I77223363205dc8edd34de8a6c529e68d3b6a6442 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-13Update Functest jjobs (patrole)Cédric Ollivier1-2/+2
Patrole is now integrated in smoke and the dedicated container is being removed [1] [1] https://gerrit.opnfv.org/gerrit/#/c/53659/ Change-Id: Ifb1989c5e430a4bf0fdd553f2e3e82f69a704f25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-04Run patrole test in JenkinsLinda Wang1-2/+2
Change-Id: I94fe7ecf83e72b4e7ed47bb25cfe010d9b3db15d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-02-10Export CI_LOOP as expected by FunctestCédric Ollivier1-1/+2
Otherwise all testcases are skipped: https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/764/console https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/763/console It will be enforced by a similar patch in Functest too. Change-Id: I6877979295378ed9ce6b85ad62e8a78e1572b8ba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-09Export an new var related to Energy in functest jobsCédric Ollivier1-1/+2
It conforms with "Unlink Energy from functest utils and constants": https://gerrit.opnfv.org/gerrit/#/c/51943/ Depends-On: Iecd5d49b4d4c961c9dc51e43e54df1fcd4027266 Change-Id: Ide8d210eab26451a63911938fe0e1bafcf77c500 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-02Set TEST_DB_URL in envCédric Ollivier1-1/+4
It follows the change "Move push_results_to_db to TestCase" [1] which stopped duplicating TEST_DB_URL in config and in env. [1] https://gerrit.opnfv.org/gerrit/#/c/49757/ Change-Id: If860492c40b1d0ed4082a4dbe385686020697f37 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-02Keep creds file name unchanged in EuphratesLinda Wang1-1/+5
Change-Id: I216d1877cba73272bbb37bf84c74dbf77dc2952d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-02-01Rename a common credential fileLinda Wang1-1/+1
Change-Id: Ib97cee06438d4ac240c55b0b504338f435a68259 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-01-29Pull the image before running functest containerLinda Wang1-0/+3
Change-Id: Iebd8a9b558486927c25735d266d3557f91e26a15 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-23[Functest] Remove prepare_env from the docker cmdsJose Lausuch1-9/+33
When [1] is merged, prepare_env won't exist and the call will fail. Keeps the former call until Euphrates jobs are stopped. [1] https://gerrit.opnfv.org/gerrit/#/c/47267/ Change-Id: Ia41906f9e8ee15409cb28bb9bb621a7ab1964eee Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-11-15[Functest] Switch ARM jobs to Alpine containersJose Lausuch1-1/+1
Change-Id: I2de88bcf0407b89579447159ed0ed233fbd62553 Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-10-17[Functest] Add TESTCASE_OPTIONS env variable to the Alpine containersJose Lausuch1-3/+3
This patch also removes the --report flag when running a single test case (functest-suite type of jobs) Change-Id: Ic94fba53ced7c6f908905c02577e1b104f15afb7 Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-10-02[Functest] Continue the job execution if healhcheck failsJose Lausuch1-1/+1
This will allow the push-test-logs.sh script to be executed in any case instead of exiting directly Change-Id: I03c40e2f368485389a21313f98745217ae634eca Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-28Merge "[Functest] Add DOCKER_TAG in Alpine images"Jose Lausuch1-7/+8
2017-09-28[Functest] Add DOCKER_TAG in Alpine imagesJose Lausuch1-7/+8
Change-Id: I8a8d46798ea73364cf0f2b66464d3628d6d572d3 Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-28Merge "[Functest] Block daily job if healthcheck fails"Morgan Richomme1-1/+5
2017-09-28[Functest] Block daily job if healthcheck failsLinda Wang1-1/+5
Change-Id: I3ec48bd337f8dc9100ff82f53067954925245dfa Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-28[Functest] Add argument in function run_tiers()Jose Lausuch1-5/+6
Replace single by double quotes, variables should be within double quotes. Change-Id: I5dae42178f5638689a8c46e03a01c12bd42b65e1 Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-26[Functest] Avoid reporting results for suite jobLinda Wang1-0/+2
Change-Id: I182962570fc88e181f312ad432daf774b79e44f1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-26[Functest] Fix syntax error in alpine jobLinda Wang1-6/+7
Change-Id: I1bb751e1df37bb00347f5597c95066041b37ead2 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-25[Functest] Fix unicode issueJose Lausuch1-1/+1
Change-Id: I40e00a1abfc383bb5f13a8ec140294d3a67e5cbf Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-25[Functest] Fix nits in alpine jobsJose Lausuch1-1/+3
And add debug information for the suite jobs Change-Id: I478a09c689b54f82246a72c19726576ff5aeaffd Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-25Restrict functest running with k8 deploymentLinda Wang1-20/+16
Also, improve suite job with alpine images. Change-Id: I1367dea6b09361641c38ef91652acec5be4fbebb Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-21[Functest] Support functest-suite with Alpine containersJose Lausuch1-19/+61
Updated all the jobs that use functest-suite. For single test cases, we need to know to which docker image the test belongs to. Change-Id: If7db231ccc891233423f2f2bc3aa5b95d048b30a Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-20Add functest return status in AlpinesMorgan Richomme1-0/+6
So far we had 2 approaches: * return Functest CI status: can be OK even if tests are FAIL * return Functest Test status: can be FAIL even if all Functest tests are OK (Fail in onboaraded tests) A 3rd way is possible thanks to [1]. We consider only Functest status and Functest tests for the return statement the return will be FAIL only if * error in the framework * error in Functest Tests So concretely, if promise, Doctor can be FAIL, if Functest tests are OK, the return will be PASS [1]: https://gerrit.opnfv.org/gerrit/#/c/42245/ Change-Id: I6c7fbe99d888e43700ddb2dfc9bfd6cc9bfbaed6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-19Merge "Integrate functest with ARM Architecture with alpine images"Morgan Richomme1-1/+8
2017-09-16Enable parser projectshangxdy1-1/+1
Enable parser project since it has tested successfully in multiple installers. Change-Id: I7f6f22910cf2b44975c511d3ff20b822181c18fe Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-09-15Merge "[Functest] Exclude vnf tests for virtual deployments"Jose Lausuch1-1/+5
2017-09-14[Functest] Exclude vnf tests for virtual deploymentsJoseLausuch1-1/+5
VNF test cases take long time when executed in virtual deployments, mainly due to the resources assigned to the virtual hosts. Change-Id: Id0591e6217515b04fe163488a89667ac66c06cdd Signed-off-by: JoseLausuch <lausso@Joses-iMac.local>
2017-09-14Apply docker config adaptations to alpinesMorgan Richomme1-1/+1
regression reported by barometer project 1) --privileged=true no more set in docker run 2) wrong INSTALLER_IP -e INSTALLER_IP=192.168.122.169 3) ssh_key no more mounted -v /root/.ssh/id_rsa:/root/.ssh/id_rsa Change-Id: Iccda9d57b7ea4c346ff26e9b2f74320bfe7eec95 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-14Integrate functest with ARM Architecture with alpine imagesDelia Popescu1-1/+8
Read compute architecture form salt master and send it as environment variable. JIRA: ARMBAND-310 Change-Id: I5c44697d1856f4d09df6fbbbf23ec94478e08f21 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-09-14[fuel] Handle os cacert for alpine as wellMichael Polenchuk1-7/+7
Change-Id: Ie7e8228dc4316a70c8cd800415108180148f5f31 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
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-11functest: Fix missing brackets in conditionAlexandru Avadanii1-1/+1
Change-Id: If6d4f6b2ac0266af35b150159a752b8b6f48ad83 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-08-26Avoid exiting the script if an error happensLinda Wang1-0/+1
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-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-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-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 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.lausuch1-0/+71
Change-Id: I96c7144578ee2e1f842e4bd22ffb79b9e1e54e4c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>