summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-alpine.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-12-11[utils, functest] Fix SSL-enabled Fuel conditionAlexandru Avadanii1-1/+1
Fuel enables SSL based on scenario type (only for HA), not based on cluster type (baremetal or virtual). Change-Id: I3dc94f953e9a8ee0e94028577270ac05c9318ad6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-10-30Revert "Avoid jenkins substitutions"Cédric Ollivier1-13/+10
This reverts commit 00431827b1a41f55fb700e69bfb229ccebc9c3f0. Change-Id: I77f0500b5e712745799dc9a7c7b94ce840e1f148 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-30Merge "Fix ODL restconf port if Compass"Aric Gardner1-0/+4
2018-10-30Avoid jenkins substitutionsCédric Ollivier1-10/+13
It's currently failing as DOCKER_TAG is replaced by '' [1]. [1] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-gambia/21/console Change-Id: I3737c683fd85f6c426fdf2720b016f3452eab0b6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-30Fix ODL restconf port if CompassCédric Ollivier1-0/+4
It conforms with the previous port which was hardcoded in odl.py. The default value (8181) seems wrong [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-gambia/7/console Change-Id: I9142d4f20a29b1f46b06bb1fed5569a299f55eff Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-27Write tempest_conf.yaml for all OPNFV installersCédric Ollivier1-5/+82
It follows "Move tempest logics in tempest_conf.yaml" [1] and then allows passing tempest_full and tempest_scenario in OPNFV gates. It set all params for all OPNFV installers according to their last runs [2][3][4]. Live migration is out of that custom params as it's currently considered as a key feature [5]. tempest_conf.yaml should be installer-centric and shouldn't take scenarios into account. It's unclear which installers support glance API v1 which is deprecated. Any installer can ask for testing it if supported. At least Apex doesn't support it [6]. Shelve is currenlty disabled because testing it could fail the whole tempest run if unsupported. We are missing data about which installer may support it. [1] https://gerrit.opnfv.org/gerrit/#/c/64067 [2] Apex: https://artifacts.opnfv.org/logs/functest/lf-pod1/2018-10-25_02-17-25/tempest_full/tempest-report.html [3] Compass: https://artifacts.opnfv.org/logs/functest/huawei-virtual9/2018-10-24_04-54-25/tempest_full/tempest-report.html [4] Fuel: https://artifacts.opnfv.org/logs/functest/lf-pod2/gambia/2018-10-25_05-57-54/tempest_full/tempest-report.html [5] https://artifacts.opnfv.org/logs/functest/ericsson-pod1/gambia/2018-10-27_06-10-07/tempest_full/tempest-report.html [6] https://artifacts.opnfv.org/logs/functest/lf-pod1/gambia/2018-10-23_10-34-07/tempest_full/tempest-report.html Change-Id: I17c8a2d738daaf1c2e97755c99f8886da8a531aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-23Set STORAGE_PROTOCOL=ceph if compassCédric Ollivier1-1/+1
Change-Id: If5b25041933cb7f16793d440783ec14122f568e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-22Stop running tempest full and scenario if healthcheck failsCédric Ollivier1-3/+7
JIRA: FUNCTEST-1010 Change-Id: I7a39fb38ecfb325c249224a9283d7db353668ccf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-21Allow overriding DOCKER_TAG in functest-alpine.shCédric Ollivier1-1/+1
It's mainly required by functest-apex-baremetal-daily-master which runs vs OpenStack master and OpenStack Rocky. Change-Id: I5e32f5b507fbe79a02bf5c61e67aa7f8c24f7789 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-21Set STORAGE_PROTOCOL=ceph if ApexCédric Ollivier1-0/+3
It should fix most of errors raised by tempest_full [1]. [1] https://artifacts.opnfv.org/logs/functest/lf-pod1/2018-10-20_12-23-41/tempest_full/tempest-report.html Change-Id: Ie93fe14d687a28185ac28b8c35636265a4fb4be2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-17Fix duplicate IMAGE_PROPERTIES env variable in functest runDelia Popescu1-5/+8
Update envs only once with IMAGE_PROPERTIES and FLAVOR_EXTRA_SPECS if installer type is fuel or deploy scenario is ovs or fdio Change-Id: I7c1e997cf95d30972688e697574458a3a0f1e55c Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-10-16Merge "Correctly set IMAGE_PROPERTIES in functest-alpine.sh"Tim Rozet1-2/+2
2018-10-16Merge "Provide libvirt credentials"Tim Rozet1-1/+5
2018-10-14Correctly set IMAGE_PROPERTIES in functest-alpine.shCédric Ollivier1-2/+2
Change-Id: I4cecaf7302fa1f39aa1e8b2c3e34f11ee49b4359 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-04Provide libvirt credentialsStamatis Katsaounis1-1/+5
JIRA: FUNCTEST-1004 This patch provides lbivirt credentials which are required by intel testcases run only in fuel at os-nosdn-nofeature-noha scenario. Change-Id: I18eeb5dd78c09ea88a0ad49428584824547b6a89 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-10-10Merge "Set image and flavor env variables functest for ovs|fdio"Trevor Bramwell1-0/+9
2018-10-09Set image and flavor env variables functest for ovs|fdioDelia Popescu1-0/+9
Set IMAGE_PROPERTIES and FLAVOR_EXTRA_SPECS environment variables for functest CI run for ovs and fdio scenarios. Change-Id: Ib2be311ee28d4ae633ec5496a12e741f701cc7ab Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-10-09Fix docker run command for functest on fuel installerDelia Popescu1-1/+1
Fix docker error because of environment variable IMAGE_PROPERTIES for fuel installer in functest Change-Id: I916f965f8432216104b767e5aa62dc93a8f6ce72 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-10-06Add image extra properties for fuel installer in functest testDelia Popescu1-1/+2
With using scsi volume device type, additional image extra_properties are needed. Set environment variable IMAGE_PROPERTIES when installer is fuel for functest test run. Related to: https://gerrit.opnfv.org/gerrit/#/c/61913/ https://gerrit.opnfv.org/gerrit/#/c/63225/ Change-Id: If35aa282abaf5dab1a5bacc2f26fe89292b09605 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-09-23Fix Functest return valuesCédric Ollivier1-6/+3
The current impl doesn't exit as expected when running both tiers and testcases [1][2]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/324/console [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/284/console Change-Id: I934c3f54313522011ed87ebebe77fbb285b8ab49 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-16Add former testcase names as casesCédric Ollivier1-2/+2
Else Fraser jobs are wrong [1] [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-fraser/lastFailedBuild/console Change-Id: I4b3e1cacb9da3a3c51ec5b1be615bd2049b6a6e7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-08Fix tempest_full name when running Functest fraserCédric Ollivier1-2/+2
https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-fraser/373/console Change-Id: I8c76620c67c28ea3f14ff79aef98ad2815a3aaa9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-04Run tempest_full and tempest_scenario in daily jjbsCédric Ollivier1-4/+10
It simply adds OpenStack jobs in OPNFV daily gates. OPNFV Installers seem good enough to meet the OpenStack merge criteria. Rally is still excluded as it ends after 3 hours. Change-Id: I16ea72c1ca49f485d81f9b06b435e9731b56083a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Build and run functest-benchmarkingCédric Ollivier1-3/+5
Change-Id: If2597ae36a2c6599b524543b67aac7f6272b384a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-09Update Functest testcase list per tierCédric Ollivier1-5/+3
Change-Id: I905527d509597218927908be7752ca16b6ea2cc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-16Update Functest testcase listCédric Ollivier1-3/+3
Change-Id: I1f9d2d594d1bd0e09edf4dd51cae2355623de7c2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-16Run opnfv/functest-parser in Fraser daily jobsCédric Ollivier1-4/+12
Change-Id: I0a114482bdcb09beb634afd747b7c32f29d356cf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-16Stop running containers in privileged modeCédric Ollivier1-3/+5
It should be useless in case of Functest. Change-Id: Iac214dc484079bf17bbbfc08c28554835fac3f69 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-15Remove functest-parserCédric Ollivier1-4/+2
Parser should be fixed and then added to functest-smoke. Change-Id: I4f9e6fa736589b1ed01feae580df18c93de168cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-11Remove obsolete iptable rulesCédric Ollivier1-5/+0
It simply breaks parallel testing and seems useless/deprecated. Change-Id: I7dafa65f4acfdabb089cf0e10c66d5eb632500c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-05Stop hardcoding Docker repositoryCédric Ollivier1-8/+9
Change-Id: I7c8a131b4f80b58ee136e63c547c4fe55822a134 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>