summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail/dovetail-run.sh
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-09-03Set volume_device_name=vdb for apexxudan1-1/+1
Change-Id: I40a8359ea8ef868f79a02dcb824e80cd8b3385d1 Signed-off-by: xudan <xudan16@huawei.com>
2017-08-25Jobs on Compass built time outxudan1-4/+17
In order to save the time, just download ubuntu and cirros images once and stored in the host for all dovetail jobs. JIRA: DOVETAIL-491 Change-Id: I07b39d5a04bfbce9ebf43f184103b503785b6e7a Signed-off-by: xudan <xudan16@huawei.com>
2017-08-22Bugfix: min_microversion in tempest_conf.yaml is too smallxudan1-1/+1
JIRA: DOVETAIL-486 Now min_microversion is 2 which is too small for some other test cases. Change it to 2.2. Change-Id: Ibf2653b83b36d03420a62595010672d52d8bf77d Signed-off-by: xudan <xudan16@huawei.com>
2017-08-21Modify tempest.conf to enable Tempest failed test cases to pass on Compassxudan1-0/+31
JIRA: DOVETAIL-486 For compass: 1. There is a defcore test case always failed due to wrong value of volume_device_name=vdc. Use tempest_conf.yaml to change the wrong value into 'vdb' for Compass. 2. There are also some tempest test cases skipped or failed due to wrong values in tempest.conf file. Change-Id: Ibe274790b14d9223b5c0ee903879f8b67521948d Signed-off-by: xudan <xudan16@huawei.com>
2017-08-21Bugfix: No cirros-0.3.5-x86_64-disk.imgxudan1-0/+4
JIRA: DOVETAIL-487 1. Functest cvp.0.5.0 doesn't have cirros image in its docker container. 2. Jobs need to download cirros-0.3.5-x86_64-disk.img and store it in $DOVETAIL_HOME/pre_config Change-Id: I12e4edb561ce21f813adc968d223fb0827529f7b Signed-off-by: xudan <xudan16@huawei.com>
2017-08-09remove useless workspace from yardstickgrakiss1-0/+3
There is a img file in this workspace, which consumes lots of disk space when CI collects artifacts Change-Id: Idef0624832cf2b12de2a63fc85bb65f4986ce0ca Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-07-31Bugfix: Permission denied when fetching Apex id_rsa filexudan1-1/+1
JIRA: DOVETAIL-472 It's permission denied When copy id_rsa file from Apex undercloud. Add sudo to the scp operation. Change-Id: I97bd8a74c406269d066dcde36978c17aa3ce6be2 Signed-off-by: xudan <xudan16@huawei.com>
2017-07-28support generating pod.yaml for HA test cases on Apexxudan1-0/+7
JIRA: DOVETAIL-472 Now Dovetail can run on Apex pod. So it needs to support generating pod.yaml on this installer to guarantee HA test cases can run successfully. Change-Id: Idc3d457bf9f56ad2ea68d27921498f3060ec375f Signed-off-by: xudan <xudan16@huawei.com>
2017-07-10Ignore create_pod_file failure for Compass latest deploymentxudan1-0/+4
JIRA: DOVETAIL-460 Change-Id: Ibd89d338e94178fadcdfe533c71e4df74641b97c Signed-off-by: xudan <xudan16@huawei.com>
2017-07-02fix dovetail branch issueMatthewLi1-0/+5
error logs https://build.opnfv.org/ci/view/dovetail/job/dovetail-fuel-baremetal-proposed_tests-danube/43/console Change-Id: I0634041a0679fa7f3e6a4e6c627b3205a3b0372d Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-26Merge "Add licenses to Dovetail scripts"Jun Li1-0/+7
2017-06-26Add licenses to Dovetail scriptsxudan1-0/+7
JIRA: DOVETAIL-453 Change-Id: I40110eae6eac86953f482f83e0b082149c3d0377 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-25Bugfix: Dovetail CI failed with Permission deniedxudan1-7/+6
JIRA: DOVETAIL-451 1. Dovetail CI jobs failed because of Permission denied. 2. The directory ${WORKSPACE}/cvp/pre_config is created with sudo privilege, so fetch_os_creds without sudo got Permission denied. 3. Remove the sudo when create directory ${WORKSPACE}/cvp/pre_config. Change-Id: I802dc1cf8479b61929a9311800e65d357f4a7d34 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-23Bugfix: Dovetail CI failed on fuel because of BRANCH: unbound variablexudan1-1/+1
JIRA: DOVETAIL-451 1. Dovetail CI jobs failed on fuel becase lack of BRANCH. fetch_os_creds.sh: line 75: BRANCH: unbound variable 2. That's mainly because of Dovetail uses sudo to run fetch_os_creds.sh. 3. BRANCH is jenkins' env param and root's env lacks of this param. Change-Id: I3163d6e9f099e979bace00ce993b422ad60f6b8f Signed-off-by: xudan <xudan16@huawei.com>
2017-05-31dovetail: sdnvpn pre-image download into pre_config dirMatthewLi1-0/+3
JIRA: DOVETAIL-441 Change-Id: I582dc2dbf9f875e95e19f413b7b3d8f81746df3f Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-31Dovetail CI job failed on lf-pod2xudan1-3/+5
JIRA: DOVETAIL-443 Change Change the file path from /home/opnfv/cvp to $WORKSPACE/cvp to ensure Jenkins has all rights about the files. Change-Id: Ic83123956716f9e5d6467dc6e380352539027d46 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-27Bugfix: wrong results pathxudan1-1/+1
JIRA: DOVETAIL-438 Change-Id: I0fc2ec30c111ec870e5e03a008730b8e1f5c6304 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-26Bugfix: Dovetail CI fail because of no env variable and wrong results pathxudan1-2/+2
JIRA: DOVETAIL-438 Change-Id: I8e5fa8cfbbcaf1828ecd7290fbbc8a6b0a80bae2 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-26Bugfix: Permission denied when generate openrc filexudan1-1/+1
JIRA: DOVETAIL-438 Error log: touch: cannot touch ‘/home/opnfv/cvp/pre_config/env_config.sh’: Permission denied fetch_os_creds.error: Cannot create the file specified. Check that the path is correct and run the script again. Change-Id: I46d1edacec58226bc6b5d6a88ab7b5b6cdea17f5 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-25Change the directories of results and some files to DOVETAIL_HOMExudan1-20/+24
JIRA: DOVETAIL-438 Dovetail tool has moved the results dir, pod.yaml, id_rsa and env_config.sh from /home/opnfv/dovetail/results and /home/opnfv/dovetail/userconfig to $DOVETAIL_HOME. See https://gerrit.opnfv.org/gerrit/#/c/35325/ Change-Id: Ib47b68bd380bfedd4c0d84429d3bb41914a9a150 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-10Bugfix: Error when create pod.yaml filexudan1-1/+2
JIRA: DOVETAIL-426 1. ImportError: No module named netaddr 2. rm: cannot remove '/home/opnfv/dovetail/userconfig/*': No such file or directory Change-Id: I81ad703667c798589855fdafc1668644e9a342b9 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-09Bugfix: Error when create pod.yaml filexudan1-0/+5
JIRA: DOVETAIL-426 os.path.makedirs(os.path.dirname(args.filepath)) AttributeError: 'module' object has no attribute 'makedirs' Change-Id: I2b75576f05b7926b76148ea6152e4479215344f5 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03Bugfix: wrong work directoryxudan1-0/+2
JIRA: DOVETAIL-420 CI wrong with: Archiving artifacts WARN: No artifacts found that match the file pattern "results/*/". Configuration error? WARN: ?results/*/? doesn?t match anything, but ?*/? does. Perhaps that?s what you mean? Change-Id: Ia548cb4e3b5e34f43c130c2860892364bffad233 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03Bugfix: Permission denied when pip install virtualenvxudan1-2/+2
JIRA: DOVETAIL-420 Collecting virtualenv Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB) Installing collected packages: virtualenv Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 223, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 308, in run strip_file_prefix=options.strip_file_prefix, File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install **kwargs File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 816, in install strip_file_prefix=strip_file_prefix File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 1013, in move_wheel_files strip_file_prefix=strip_file_prefix, File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 339, in move_wheel_files clobber(source, lib_dir, True) File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber shutil.copyfile(srcfile, destfile) File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/virtualenv.py' Change-Id: I7c387013739252402fa3774b1a2df241a09f24c0 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-02dovetail: create file pod.yaml for running HA test casesxudan1-4/+44
JIRA: DOVETAIL-407 1. HA test cases need a file pod.yaml giving the info of the pod (node's ip, username, password/key_file). 2. Dovetail client has finished the adaption JIRA: DOVETAIL-405. 3. CI uses create_pod_file.py to generate /home/opnfv/dovetail/userconfig/pod.yaml 4. If INSTALLER_TYPE is fuel, fetch it's jumpserver key to /home/opnfv/dovetail/userconfig/id_rsa Change-Id: Iaf6afbdfb8e4331ae9a10ea3df060c37e9010a0a Signed-off-by: xudan <xudan16@huawei.com>
2017-03-29dovetail: fix wipe workspace errorMatthewLi1-5/+5
JIRA: DOVETAIL-377 workspace wipe clean error log https://build.opnfv.org/ci/job/dovetail-compass-virtual-debug-master/365/console this is caused of wrong permissions with files under $WORKSPACE seems the former method in dovetail-run not take effects(log into host, it's still root:root, not $USER:$USER_GROUP) use global fix workspace permission in wrapper to replace former method Change-Id: I6ceaaf630590666f3b3db5f2628334879df2b8fb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-28Change jenkins user:group name according to Node Name.zshi1-2/+4
JIRA: DOVETAIL-377 Change-Id: I55eebdd55c2cf91d74d166b0b31a0601efe0a751 Signed-off-by: zshi <zshi@redhat.com>
2017-03-24Dovetail needs credentials file openrc as an inputxudan1-11/+23
1. The Dovetail tool itself needs openrc file as the input rather than INSTALLER_TYPE and INSTALLER_IP. See JIRA: DOVETAIL-369 and JIRA: DOVETAIL-371 2. Now Dovetail CI jobs just give INSTALLER_TYPE and INSTALLER_IP to Dovetail tool. 3. So Dovetail CI jobs need to fetch the openrc file before and run Dovetail tool with the openrc file. JIRA: DOVETAIL-372 Change-Id: I3a6293da621ae0a2f5d72a297d3d912fd60e05d8 Signed-off-by: xudan <xudan16@huawei.com>
2017-01-13dovetail: separate dovetail jenkins jobMatthewLi1-3/+6
JIRA: DOVETAIL-177 Change-Id: Iaa21373ae7f5bbc777872ea9b6ac9479b1dcff08 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-10dovetail: bugfix of docker save file permissionMatthewLi1-1/+1
JIRA: DOVETAIL-176 Change-Id: Idec8ba0c0ab3ba28372cea638315f121c41387b9 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>