summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-04-21Merge "dovetail: Change CI jobs to run test suite "proposed_tests" instead ↵Jun Li2-0/+2
of "debug""
2017-04-19dovetail: Change CI jobs to run test suite "proposed_tests" instead of "debug"MatthewLi2-0/+2
JIRA: DOVETAIL-397 now, team decide to use proposed_tests suite instead of debug Change-Id: Iff8ec0b32a24e51bc2d2536605c9867b94f8921c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-04-18Make arm-virtual1 pod not available for CI jobsAlexandru Nemes1-0/+5
Change-Id: I1ae47f2105744bfea8c8c589f41282d1c4ae2159 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-04-05[WIP]:jobs to deploy danube and run dovetail from masterMatthewLi2-17/+15
JIRA: DOVETAIL-180 Change-Id: Ia8d44b609c53696c141eced747e3855c67faccb5 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-30dovetail: fix wrapper disable problemxudan2-6/+2
JIRA: DOVETAIL-377 Since there are two wrappers in dovetail-ci-jobs.yml and dovetail-weekly-jobs.yml, respectively, the first wrapper (build-name and timeout) is disable. Combine them into one wrapper with build-name, timeout and fix-workspace-permissions. Change-Id: I4a4f766fc90612be2642bc01708d93392fb163ed Signed-off-by: xudan <xudan16@huawei.com>
2017-03-29dovetail: fix wipe workspace errorMatthewLi3-7/+13
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-03-02dovetail: adjust apex podMatthewLi1-14/+10
JIRA: DOVETAIL-359 see patch https://gerrit.opnfv.org/gerrit/#/c/29543/ runs on lf-pod1 Change-Id: Ieb0f081cdaf5d5f79f0145940b08ec0c5a8ec6c2 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-24dovetail: ci jobs change to DanubeMatthewLi1-18/+18
JIRA: DOVETAIL-356 since dovetail tool will based on SUT Danube branch, there's a need to switch dovetail tool "debug" ci jobs switch to Danube to debug the tool bugs. Change-Id: I90fdc9042e1bae324c56ca5c5fd4c1a60136fdd8 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-10Move the compass centos job to intel-pod8wutianwei1-2/+2
We fixed the issue of accessing database failed on intel-pod8. Some problem happened in Huawei Munich Lab.So we move the CI job to this pod. Change-Id: Iefddcf2bef2cc296b1abd2d224b78c6dbc522295 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-02-08dovetail: branch parameter bugfixMatthewLi2-2/+2
JIRA: DOVETAIL-180 Change-Id: Ia1e448c5802693c635bc4ca347df3defb9e1e3b4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU4-5/+0
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-26dovetail: bugfix to enable weekly jobMatthewLi1-2/+9
JIRA: DOVETAIL-180 Change-Id: Ic2c0d4790f65ce59d5dc0202cc6f5139cb68b81b Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-25dovetail: Create jenkins jobs to deploy compass colorado and run dovetail ↵MatthewLi1-0/+129
from master JIRA: DOVETAIL-180 Change-Id: I745e4747418a880a635922ea7a0cc5d6ec09e872 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-20[macro] property logrotateRyota MIBU2-0/+2
This patch defines 'logrotate-default' property and replace 'logrotate' by it, as 'logrotate' is deprecated on jenkins>=1.637 . Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-13dovetail: separate dovetail jenkins jobMatthewLi2-10/+6
JIRA: DOVETAIL-177 Change-Id: Iaa21373ae7f5bbc777872ea9b6ac9479b1dcff08 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-10dovetail: bugfix of docker save file permissionMatthewLi2-1/+2
JIRA: DOVETAIL-176 Change-Id: Idec8ba0c0ab3ba28372cea638315f121c41387b9 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-06Temporary removal of artifact signingAric Gardner1-2/+2
gpg version breaks the script. a long term solution is in the works Change-Id: Icd975750c78aa05f769a59b1d40d3f4dc2563209 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-12-28dovetail: rewrite cleanup images processMatthewLi1-3/+24
Change-Id: Id4f9f1ddb7d84e5780479a7ca2bc979132dde8d4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-22dovetail: bugfix for gsutil cpMatthewLi1-2/+2
JIRA: DOVETAIL-164 Change-Id: Ibb035d7d791eab510e833f572b86cd084592d898 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-22dovetail: bugfix for gsutil uploadMatthewLi1-1/+23
JIRA: DOVETAIL-164 Change-Id: I49b119490f0dcbd20b7ea56289e5d629d4ab6f89 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-21Merge "dovetail: tox supported in verify job"Jun Li1-14/+10
2016-12-21dovetail: gsutil progress amendMatthewLi1-3/+51
JIRA: DOVETAIL-164 Change-Id: I3ff59d02af7be0fe3c8127fec9d5e125ed20a3f7 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-20dovetail: tox supported in verify jobMatthewLi1-14/+10
JIRA: DOVETAIL-165 1) tox supported 2) hello world builder added for backup usage when problem occurs Change-Id: Idb1099098f788ebf2c1888f9b413e81411dc1a40 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-21Merge "dovetail: upload artifacts job added"Jun Li2-0/+153
2016-12-20dovetail: upload artifacts job addedMatthewLi2-0/+153
JIRA: DOVETAIL-164 this aims for dovetail offline usage Change-Id: I7ebaf75fb03d925b669c05e77c0bb3db180aa045 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-19Fix the names for arm dovetail jobscristinapauna1-4/+4
The dovetail jobs were not triggered in armband project because the naming of the jobs did not match. Modified '_' to '-' for them to work. JIRA:ARMBAND-175 Change-Id: I93c4fa1c7f12746e91c8ca84ff1f17c588a070bd Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-12-19fix ci jobs (daily && no branch param)Ryota MIBU1-0/+2
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU2-12/+3
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-14dovetail: debug logs set to trueMatthewLi1-1/+1
Change-Id: I5325e489d3cfc3bee942b52ebfe9f54165d395bb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>