summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail
AgeCommit message (Collapse)AuthorFilesLines
2017-10-03Fix Yamllint violations for jjb/dovetailTrevor Bramwell4-429/+434
JIRA: RELENG-254 Change-Id: I63bb14821b5d1798fccc313a07191e5f3dec160e Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-29Use dovetail docker image opnfv/dovetail:cvp.0.7.0xudan1-1/+1
Change-Id: I45c7e637182ecb8d73a51fea895a4eefc6a1a0e6 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-20Dovetail Add huawei-pod7 to run Compass danube jobxudan1-0/+5
Compass will use huawei-pod7 to run all danube jobs. Dovetail add this pod. Change-Id: Id184d33665e19a8469e600df04759b43005df157 Signed-off-by: xudan <xudan16@huawei.com>
2017-09-19Dovetail will not trigger apex test on huawei-pod4xudan1-13/+1
1. Jobs to deploy Apex danube has been merged. This job will deploy Apex and then run Dovetail. 2. So Dovetail don't need to run test on huawei-pod4, because it will be triggered by Apex deploy job. JIRA: DOVETAIL-503 Change-Id: I49850a6c45e977ee3e5e8ad246b90a3dbd16884c Signed-off-by: xudan <xudan16@huawei.com>
2017-09-10Use dovetail cvp.0.6.0 to run Dovetail testxudan1-1/+1
Change-Id: I63e361eebe1345a34086ecbe99aba4504cb0f5bc Signed-off-by: xudan <xudan16@huawei.com>
2017-09-07Jobs on Compass often timeoutxudan1-4/+8
1. Jobs on Compass often timeout 2. Apex jobs on huawei-pod4 will trigger 2 jobs at the same time. They will be conflict. JIRA: DOVETAIL-491 Change-Id: I5297bfb01c45c15cce7ab1438d8eed3dd9c7ff07 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-09-01Merge "Add a dovetail test job on huawei-pod4 to test Apex danube branch"Jun Li1-0/+13
2017-08-31cleanup of obsolete non-CI arm PODsCharalampos Kominos1-15/+0
Change-Id: I134feba421d12c4ca428b098aaa2bf52b3dec0ca
2017-08-31Add a dovetail test job on huawei-pod4 to test Apex danube branchxudan1-0/+13
1. Apex doesn't have danube jobs now. 2. Dovetail is based on opnfv danube branch, so it should be tested against Apex danube deployment. 3. Huawei-pod4 deployed with Apex danube (os-nosdn-nofeature-ha) and can be used to test. JIRA: DOVETAIL-494 Change-Id: Ic3251585503c15fb416c6d9497e8acfc977ebe3e Signed-off-by: xudan <xudan16@huawei.com>
2017-08-30Set timeout of Dovetail jobs to be 240 and don't remove the stable imagesxudan2-13/+13
1. Jobs on Compass are always built time out and aborted. 2. Dovetail needs about 2 hours for all the test cases. 3. However, due to the slow internet speed, it will take a long time to pull releng source code and dovetail docker image. 4. Extend the time to 240 minutes. 5. Don't remove the stable docker images, so it don't need to pull every time. JIRA: DOVETAIL-491 Change-Id: I9c7255a89eebf5770c0854224cd65e7413916078 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-25Pod name changes in ARMBANDDelia Popescu1-2/+2
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-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-21Merge "Bugfix: No cirros-0.3.5-x86_64-disk.img"Jun Li1-0/+4
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-21Use dovetail cvp.0.5.0 image in Dovetail CI jobsxudan1-1/+1
JIRA: DOVETAIL-483 Change-Id: I16fdba4e0d2d150b629ae1828578c7379999bfea Signed-off-by: xudan <xudan16@huawei.com>
2017-08-09Merge "Send 'Build Failed' Emails to Jenkins Admins"Trevor Bramwell2-0/+2
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-08-04Use dovetail cvp.0.4.0 imagexudan1-1/+1
JIRA: DOVETAIL-476 Change-Id: I0850ba96829e3a7233e80b4816424babd20175e0 Signed-off-by: xudan <xudan16@huawei.com>
2017-08-02Send 'Build Failed' Emails to Jenkins AdminsTrevor Bramwell2-0/+2
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-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-20Use dovetail cvp.0.3.0 imagexudan1-1/+1
JIRA: DOVETAIL-468 Change-Id: Ie2a700719cfbf9ceac0063444f910eedb1bff4f9 Signed-off-by: xudan <xudan16@huawei.com>
2017-07-19dovetail: proposed_test run against apexMatthewLi1-5/+14
JIRA: DOVETAIL-359 1)run againt scenarios: os-nosdn-nofeature-ha os-nosdn-kvm-ha os-odl_l3-fdio-ha 2)stream: master 3)details see https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool Change-Id: Ief6f85faa955b59c2229a5fdffd73f83480fc214 Signed-off-by: MatthewLi <matthew.lijun@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-04dovetail change tag to cvp.0.2.0MatthewLi1-1/+1
after https://gerrit.opnfv.org/gerrit/#/c/36775/ merged let it run in CI Change-Id: I46a4a55aab673c346291428eccdc24c77cfd8bc4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-07-02fix dovetail branch issueMatthewLi2-0/+9
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-28Merge "dovetail run against different scenarios of compass"Jun Li1-1/+1
2017-06-27dovetail run against different scenarios of compassMatthewLi1-1/+1
JIRA: DOVETAIL-454 1, scenarios to run https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool scenarios installer os-nosdn-nofeature-ha Apex os-nosdn-kvm-ha Apex os-odl_l3-fdio-ha Apex os-odl_l2-nofeature-ha Compass os-nosdn-nofeature-ha Compass os-onos-nofeature-ha Compass os-odl_l3-nofeature-ha Compass os-nosdn-ovs-ha Fuel os-odl_l2-bgpvpn-ha Fuel os-odl_l3-nofeature-ha Fuel os-nosdn-nofeature-ha Fuel os-nosdn-kvm_ovs_dpdk-ha Fuel 2, time map(in order to reduce resource in CI) MON, WED, FRI, SUN ----> latest TUE, THU, SAT ---> cvp.0.1.0 Change-Id: If9c3fc514e4260530fc4f73299eedd9c1b022692 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-26Merge "Add licenses to Dovetail scripts"Jun Li2-0/+14
2017-06-26Add licenses to Dovetail scriptsxudan2-0/+14
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-18dovetail: offline support by making users to download docker images from ↵MatthewLi3-31/+15
artifacts JIRA: DOVETAIL-433 1) bugfix of cleanup by using existed dovetail cleanup scripts, see logs https://build.opnfv.org/ci/view/dovetail/job/dovetail-functest-artifacts-upload-master/3/console 2) opnfv/testapi:latest and mongo:3.5 images are needed for dovetail, added. Change-Id: I647f7152b0122a5b792f6f18efbae0e537b81332 Signed-off-by: MatthewLi <matthew.lijun@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-05dovetail: add a suitable job used for vpn test case validation in CIMatthewLi1-0/+25
JIRA: DOVETAIL-424 the principle is 1) not disturb the original work flow 2) after vpn testcases integrated into dovetail, i.e, CVP tool, there is a need to find a POD has bgpvpn feature which is suitable to validate bgp vpn test cases in proposed_tests. 3) only add dovetail proposed_tests into bgpvpn scenario deploy-test loop to reduce unnecessary time consuming. 4) further, should consider to add dovetail job in os-nosdn-nofeature loop Change-Id: Iad6ae1e44470c8e9d49a25980d292ba3871bd6a4 Signed-off-by: MatthewLi <matthew.lijun@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>