summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail/dovetail-run.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-10-17[dovetail] refactor the part of getting pod.yamlxudan1-45/+79
This patch should be merged after https://gerrit.opnfv.org/gerrit/#/c/63305/ Change-Id: Ic809d8de200ba1b55e18c3079587404e4077cea0 Signed-off-by: xudan <xudan16@huawei.com>
2018-10-14[dovetail] Bugfix: incorrectly exit when file doesn't existxudan1-8/+8
When checking files, it shouldn't exit when getting an non-zero results. However, the scripts set -e at the begining. In order to continue the following steps when the file doesn't exists, replace all "return 0" or "return 1" to be "echo 0/1". Change-Id: I28ea81d52182d4dc5db56d47abbfbc1761f17d81 Signed-off-by: xudan <xudan16@huawei.com>
2018-10-08refactor the part to get credential filexudan1-45/+100
Change-Id: Iebab0714f1cd7123c18d98a41b7da224726c5421 Signed-off-by: xudan <xudan16@huawei.com>
2018-09-21Merge "For compass, the process name is rabbitmq"Trevor Bramwell1-0/+5
2018-09-19Clean up RETURN rule from FORWARD chainMichael Polenchuk1-5/+0
Remove obsolete/breaking RETURN rule from preparation stage of Yardstick and Dovetail test suites. Change-Id: I817780da95f10bc12c491e56806455d1aee25ece Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-09-04For compass, the process name is rabbitmqxudan1-0/+5
JIRA: DOVETAIL-738 Change-Id: I0266c8f61657ceb30d8ce41d3caa35f4e7aa46fa Signed-off-by: xudan <xudan16@huawei.com>
2018-08-31Https now works for artifacts.opnfv.orgAric Gardner1-1/+1
Also, I believe that https://artifacts.opnfv.org/ now works behind the GFW and so https://build.opnfv.org/artifacts.opnfv.org/index.html Will no longer be needed. Change-Id: I5ce850a0264a0d56d27756928f82c6c03868b622 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-08-29Merge "Add option --deploy-scenario <deploy_scenario_name> to support DPDK"mei mei1-1/+1
2018-08-28Bottlenecks results dir has been changedxudan1-1/+1
Change-Id: I18a5b51c7c72a33db9864caf2635b2fcde3e8de6 Signed-off-by: xudan <xudan16@huawei.com>
2018-08-22Add option --deploy-scenario <deploy_scenario_name> to support DPDKxudan1-1/+1
JIRA: DOVETAIL-729 Change-Id: I78c464300e329a9356cffa81e53263912486c2c2 Signed-off-by: xudan <xudan16@huawei.com>
2018-08-20[dovetail] set correct Cinder process name on ApexGeorg Kunz1-0/+1
In fraser, cinder-api runs as an apache module called cinder_wsgi. JIRA: DOVETAIL-690 Change-Id: I6660e1e17e61c0010295431290d5db20777af0d4 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-08-03Merge "[Dovetail] using correct rabbitmq process name"mei mei1-5/+5
2018-08-02[Dovetail] using correct rabbitmq process nameGeorg Kunz1-5/+5
Using the correct process name for the rabbitmq server in the HA test configuration. Change-Id: I42c8ba093f34c5d15f8c2e19b69538b22b716637 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-08-01[dovetail] generate a results package for testing Dovetail web portalxudan1-1/+8
Change-Id: I3b9f06807ebf581e3f74286f479519937b75b06f Signed-off-by: xudan <xudan16@huawei.com>
2018-07-30Merge "[dovetail] Querying correct control node IPs"Trevor Bramwell1-2/+2
2018-07-26[dovetail] Querying correct control node IPsGeorg Kunz1-2/+2
The parameter used to query the host IPs of the database and message queue hosts was wrong, resulting in the corresponding HA tests to fail. Change-Id: I460209c63928ac99d5449adba03474fdf066ebcf Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-07-25[Dovetail] Fixing cinder process name on FuelGeorg Kunz1-1/+1
Fixing the process name of Cinder on Fuel deployments. JIRA: DOVETAIL-688 Change-Id: Ide672e6bafedeecc6b99a99263147fec5fab44ef Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-07-18Merge "[dovetail] Add TESTAREA to support run mandatory or optional test cases"mei mei1-1/+11
2018-07-16[dovetail] Add TESTAREA to support run mandatory or optional test casesxudan1-1/+11
JIRA: DOVETAIL-694 Change-Id: I4d2f4342bb10b5199c0dd1ed6ee579df14cb1517 Signed-off-by: xudan <xudan16@huawei.com>
2018-07-09[Dovetail] process name configuration for HA test cases on FuelGeorg Kunz1-8/+25
In a Fuel deployment, the control processes are distributed across multiple VMs and the HA test cases need to know where to find which process. JIRA: DOVETAIL-688 Change-Id: Ib20f6ab117aa83d148f9e1a351a4f94ec1192146 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-06-19Merge "[Dovetail] Bugfix a typo"mei mei1-1/+1
2018-06-19Merge "Use Ipmi info provided with PDF"mei mei1-4/+27
2018-06-18[Dovetail] Bugfix a typoxudan1-1/+1
Change-Id: I919e2510aea75dc530c5769a09d3c678f2246ea4 Signed-off-by: xudan <xudan16@huawei.com>
2018-06-11Use Ipmi info provided with PDFxudan1-4/+27
For one HA test case, it needs the ipmi info to shutdown controller node. Use PDF to get the impi info. 1. For Apex, it runs on lf-pod1, currently there is no PDF about this pod. 2. For Compass, it runs on huawei-pod2, also there is no PDF about this pod. 3. For Fuel, it runs on ericsson-pod1 and lf-pod2, use their PDFs. Change-Id: I7d3d0b4ed6b16840ca25093d3ea877da203f58f8 Signed-off-by: xudan <xudan16@huawei.com>
2018-06-07[Dovetail] Setting correct process name for rabbitmq on ApexGeorg Kunz1-2/+6
Customizing the pod.yaml for running the dovetail.ha.rabbitmq test on Apex. Change-Id: I945d281bb8aac2799dd0ff0aa4a750cbf44803de Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-05-17[Dovetail] Changing the path of the ssh key in pod.yaml for yardstickGeorg Kunz1-2/+3
The ssh key is already available in the userconfig directory mounted by Dovetail inside the Yardstick container. Change-Id: Ic72473e9e47b625fbf4a0f8a8fb140aaed72b69a Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-05-10Yardstick needs export EXTERNAL_NETWORK to envxudan1-0/+1
Change-Id: I380008fe2cadbce8f6b7b1f84c9f3bf720df485e Signed-off-by: xudan <xudan16@huawei.com>
2018-05-08Bugfix: Dovetail failed to upload results to artifactsxudan1-2/+4
That's mainly because of that 1. The owner of all results files are root:root 2. Sometimes there are some files that can only be read by root 3. User jenkins failed to upload these files Solutions: 1. Change the owner to be jenkins:jenkins 2. Remove these files which are useless for users Change-Id: I0b5e72e8d5045c7e0d64e32a13ba559612460a84 Signed-off-by: xudan <xudan16@huawei.com>
2018-04-28Dovetail CI jobs failed sometimes when Archive artifactsxudan1-3/+3
According to this https://issues.jenkins-ci.org/browse/JENKINS-47566, the failure seems to be caused by the permission problem. Change the owner of all files in 'results' directory to be jenkins. Change-Id: I0ed30018354259601c39016fc1950ea7db867e78 Signed-off-by: xudan <xudan16@huawei.com>
2018-04-22Use cirros-0.4.0 rather than cirros-0.3.5 for Functest Fraser.xudan1-1/+9
Change-Id: If3cd0fe52d946979de259951c7c8433b6e1e42f0 Signed-off-by: xudan <xudan16@huawei.com>
2018-03-22Bugfix: command chown failed because LF POD has no jenkins userxudan1-2/+2
Command change the file owner failed on lf-pod1 and lf-pod2 with the reason "chown: invalid user: ‘jenkins:jenkins’". Make pod.yaml file can be modified by any user. Change-Id: I1feb108e95c59c228d2aef55862017e9b80bcb73 Signed-off-by: xudan <xudan16@huawei.com>
2018-03-20Add Compass POD ipmi info to pod.yaml for ha.tc009xudan1-5/+18
1. For ha.tc009 which needs to login one controller node and shut it down with its ipmi info. 2. So it needs to add impi info and jumpserver info into pod.yaml file. 3. Remove yardstick.img file to save artifacts space JIRA: DOVETAIL-628 Change-Id: I4d2aa48b209155f27e49a7bb871a170683b47fc9 Signed-off-by: xudan <xudan16@huawei.com>
2018-03-19Merge "change rabbitmq-server to rabbitmq for all installers"mei mei1-0/+7
2018-03-14change rabbitmq-server to rabbitmq for all installersxudan1-0/+7
From the CI results, ha.tc010 can't find the process named rabbitmq-server for Apex, Compass and Fuel. Try to change it to be rabbitmq. Change-Id: Ibf8a9e1c7eeebbc306624fe926c139786b9833fb Signed-off-by: xudan <xudan16@huawei.com>
2018-03-14Change the path of images from pre_config/ to images/xudan1-8/+9
1. change the path of all images 2. remove the sdnvpn special envs This patch should be merged after these 2 patches. 1. https://gerrit.opnfv.org/gerrit/#/c/53395/ 2. https://gerrit.opnfv.org/gerrit/#/c/53757/ Change-Id: Ie1dc9388be52629c5fcc0ef893963c4de2c72491 Signed-off-by: xudan <xudan16@huawei.com>
2018-02-22Download 3 extra images and remove modification of fuel openrc filexudan1-12/+21
1. Download 3 extra images for functest snaps_smoke and cloudify_ims 2. Remove the modification of fuel openrc file because of this patch has added a function to check cacert file https://gerrit.opnfv.org/gerrit/#/c/52021/ Change-Id: I2cab3bf11231d5d6ad39dca6d2d833355b1e6679 Signed-off-by: xudan <xudan16@huawei.com>
2018-02-11Bugfix: delete extra whitespacexudan1-2/+2
Change-Id: I1fe8c9d4b6b2ee461320bc20342d439e23c9c616 Signed-off-by: xudan <xudan16@huawei.com>
2018-02-10[Dovetail CI] change dovetail CI jobs on Compassxudan1-6/+7
1. run default test suite on Compass on Monday and Tuesday for scenario 'os-nosdn-nofeature-ha' and 'os-odl_l3-nofeature-ha' 2. run test suite 'proposed_tests' on Compass on Thursday and Friday for scenario 'os-nosdn-nofeature-ha' and 'os-odl_l3-nofeature-ha' JIRA: DOVETAIL-612 Change-Id: I027ca278eb63bdc6842a9494b676cdab8d2d25bf Signed-off-by: xudan <xudan16@huawei.com>
2018-01-08Merge "Prepare integration of daisy and dovetail"Serena Feng1-0/+8
2018-01-04Get fuel controller ip for HA test casesxudan1-2/+20
The releng module 'deployment' doesn't work for fuel euphrates and master. Use commands to get one controller ip for HA test cases. Since the public endpoint url may be v2, reset openstack authentic file for v2 Change-Id: I3c6ec1f0890c93f75ca3c7c9801e05da329ffdae Signed-off-by: xudan <xudan16@huawei.com>
2018-01-02Bugfix: Lack of DEPLOY_TYPExudan1-0/+3
Set the value of DEPLOY_TYPE according to BUILG_TAG Change-Id: I08e720dc6e049c54e249172503bcbdb7c314dc6d Signed-off-by: xudan <xudan16@huawei.com>
2018-01-02Bugfix: use fuel public endpoint rather than internal onexudan1-0/+10
1. The internal endpoint url of fuel is http. 2. Dovetail won't pass cacert to functest and yardstick containers if it's http. 3. For functest and rally, even if it uses internal url in the openrc file, they will still use public one somewhere. 4. Use fuel public endpoint which is https, so all containers will work with the cacert. Change-Id: I3326c8d66bcad44ea81169ce0938cb0e247f498c Signed-off-by: xudan <xudan16@huawei.com>
2017-12-28Support run dovetail CI jobs on fuel euphrates and masterxudan1-3/+11
Change-Id: Iaf64316f8db351dd72f1ec1079953764f797dc3b Signed-off-by: xudan <xudan16@huawei.com>
2017-12-22Prepare integration of daisy and dovetailAlex Yang1-0/+8
JARA: DAISY-76 1. add daisy adapter in releng utils and modules 2. add daisy adapter in dovetail jjb script 3. support id_dsa as ssh key Change-Id: I15a1c0cfcc17ae1fe6b7020f674b8bbbb72f4a7a Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-12-20Use Dovetail aarch64 docker image with armband podxudan1-7/+12
Change-Id: I8ce34880b78daaaf0bf22674d26e1d8f8f41614c Signed-off-by: xudan <xudan16@huawei.com>
2017-11-23Merge "Bugfix: Dovetail failed on Compass master because of lacking cacert"Jun Li1-1/+12
2017-11-22Bugfix: Dovetail failed on Compass master because of lacking cacertxudan1-1/+12
Dovetail daily jobs on Compass failed because of lacking os cacert file. Add the cacert file path into env_config.sh and copy cacert file to pre_config/. JIRA: DOVETAIL-564 Change-Id: I23506bf3dea7ad3e82bd826f4ea344f6ddd99cac Signed-off-by: xudan <xudan16@huawei.com>
2017-11-22Bugfix: HA failed on Compass master because of lacking pod.yamlxudan1-26/+40
The module in releng which used to get all the pod info of each installer can't work on Compass master. Create a pod.yaml file for Compass master to ensure HA test cases can be executed successfully. JIRA: DOVETAIL-565 Change-Id: I86cbb4fb07b87b99bf1465d57a76b23e1159ec9f Signed-off-by: xudan <xudan16@huawei.com>
2017-09-28Add env params to Dovetail Container for BGPVPN test casesxudan1-1/+3
Change-Id: I6afe338998a1550b8dd7533f29cb76c4f0d79352 Signed-off-by: xudan <xudan16@huawei.com>
2017-09-27Remove extra tempest config itemxudan1-8/+0
Dovetail has deleted some tempest test cases. So their config item can be removed. Change-Id: I331b8082c5a9ff40297a8e525564f222a77cb182 Signed-off-by: xudan <xudan16@huawei.com>