summaryrefslogtreecommitdiffstats
path: root/jjb/doctor
AgeCommit message (Collapse)AuthorFilesLines
2018-02-11Doctor: pass project parameter to other jobdongwenjuan1-0/+12
From the failure log of doctor verify ci, project parameter is not passed to other jobs. see: https://build.opnfv.org/ci/job/doctor-verify-sample-master/33/console Change-Id: I6a53cd609a261d90cdc0e1e10a3d7b05a515349e Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-24[doctor] fix node-label settingRyota MIBU1-47/+14
Current doctor verify jobs need to be run on relevant pods which are specified by slave-label. But, after multijob introduced, the parameter is not passed to children jobs. Also, 'phase' of project is misleading, as it isn't multijob's phase. This patch makes sure each doctor job run on correct pod by updating node label rule for doctor pod to 'doctor-{installer}-{arch}'. This patch also merges doctor slave parameter definitions into one, and deletes unnecessary setting where default are set. Change-Id: Ic9bf218ae7fb4f9866b510efd1e0ccd19277b78e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2018-01-17bugfix: pass functest parameters to buildersdongwenjuan1-54/+62
As doctor CI failed: https://build.opnfv.org/ci/job/doctor-verify-apex-sample-build-x86_64-master/24/console Functest parameters can not passed to 'functest-suite-builder' to build the job Change-Id: I34039025bb77e78ce43c21ef7ec67da7583b6e39 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-15The '{is-skip-vote}' is always 'true' for the jobsdongwenjuan1-10/+25
fix it temporarily, will ask jjb team for this issue. Change-Id: I470f7114f74123f0419d2605837742208867753e Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-01-10add pep8 check task for doctordongwenjuan1-32/+17
Change-Id: Ibd595748910b143ae3e9373bccf4b4e6b54dd931 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-11-24Fix Doctor run on 'doctor-{installer}-verify' slaveDelia Popescu1-2/+2
Change-Id: I65a2a3c6643cba870eec2f794199bb824c6b868c Signed-off-by: Delia Popescu <delia.popescu@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-11-23Fix Couldn't find remote ref $GERRIT_REFSPECDelia Popescu1-1/+16
JIRA: ARMBAND-305 Change-Id: Ic01d7d46375a27160e583e07ea96c60fa68f8c71 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-11-22doctor: Fix AArch64 phase jobs not foundDelia Popescu1-9/+22
Change-Id: Iefb3a889302ecbf3b69529405543908880fad87f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-10-31multiarch: Modify doctor x86_64, aarch64 verify jobsDelia Popescu1-23/+111
Modify doctor verify jobs to run for each architecture. JIRA: https://jira.opnfv.org/browse/ARMBAND-305 Change-Id: Ia25c3751ac18233290c9e98e74bc21d9dc35f27c Signed-off-by: Catalina Focsa <catalina.focsa@enea.com> Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-09-27Fix Yamllint violation for jjb/doctorTrevor Bramwell1-173/+174
JIRA: RELENG-254 Change-Id: I8d9264a1bc69e5c2578886fa1a0112e19cf835b4 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-21[Functest] Support functest-suite with Alpine containersJose Lausuch1-0/+3
Updated all the jobs that use functest-suite. For single test cases, we need to know to which docker image the test belongs to. Change-Id: If7db231ccc891233423f2f2bc3aa5b95d048b30a Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-18Create jobs for euphratesFatih Degirmenci1-1/+1
Change-Id: Iff9bd7601a59d7e1bad259c74fc792081505f679 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-15fix doctor trigger filesdongwenjuan1-5/+5
Change-Id: I89713020ea17ddeedc32c581ac14b38d9f2afe44 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-08-31cleanup of obsolete non-CI arm PODsCharalampos Kominos1-2/+2
Change-Id: I134feba421d12c4ca428b098aaa2bf52b3dec0ca
2017-08-25Pod name changes in ARMBANDDelia Popescu1-1/+1
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-14[doctor] drop experimental job (profiler)Ryota MIBU1-7/+1
doctor profiler is now enabled in default, we don't need this experimental job anymore. https://gerrit.opnfv.org/gerrit/33881 Change-Id: Ife6c81c0c45644ed3353c5b0b6011f33137edc14 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-08-09Merge "Send 'Build Failed' Emails to Jenkins Admins"Trevor Bramwell1-0/+1
2017-08-02Send 'Build Failed' Emails to Jenkins AdminsTrevor Bramwell1-0/+1
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-08-02Create experimental job for qtip integrationYujun Zhang1-1/+3
Note that - experimental trigger is modified to allow trigger the build from changes outside `tests` folder - doctor jobs modified to adapt the change in common trigger Change-Id: Iaaa26651f9ea1d14cb6c77a713ff657c330dce6e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-24fix the log name of functest result for doctor projectdongwenjuan1-2/+2
Change-Id: I356036cad510e4fe5550505d46dbf1aea3b11496 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-07-17doctor: workaround for bug of set-functest-env.shRyota MIBU1-0/+5
`set-functest-env.sh' is expected to run with functest jobs, so it need one of the files in functest repo placed under WORKSPACE. This patch avoiding this bug by getting functest repo in pre section of functest trigger. Change-Id: Ib266781005bab18f34fa0cdfe50e0facb95d27ef Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-07-04add zte-virtul3 and zte-virtul4 to Doctor CI podsRyota MIBU1-4/+2
Change-Id: I1a27979cad590886fb5cdb039d69611a473cbe3c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-06-29add python verify job for doctordongwenjuan1-1/+7
Change-Id: I5432c5c87f0eed279cba0b80947761a81a72cd61 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-06-19Merge "Add doctor arm verify job (skip-vote)"Aric Gardner1-0/+33
2017-04-19[doctor] fix test case nameRyota MIBU1-1/+1
See, https://gerrit.opnfv.org/gerrit/#/c/33099/ . Change-Id: I3bf5bbeef88445512b70fc47be08ecc481c42c2a Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-04-11Add doctor arm verify job (skip-vote)Catalina Focsa1-0/+33
Add a doctor verify job for arm pods. For now, the job is skip-vote. JIRA: https://jira.opnfv.org/browse/ARMBAND-231 Change-Id: I084933a071377d653df9c0c2d5606781a5cafc1b Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-03-04[doctor] make symbolic link of directory instead of fileRyota MIBU1-7/+5
Change-Id: Ic879ebe17c317c95921f250dd31dbcc9a7e2d6e2 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-04[doctor] fix file path to functest resultsRyota MIBU1-2/+2
Change-Id: I1915a9975d3df42171e223aee6be38a6b1f79ebc Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-03[doctor] create symbolic link to capture functest logRyota MIBU1-7/+11
Change-Id: I2eaa57351ebfbc36a142b977e7e22b9d8c4943cd Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-03[doctor] add postbuildscript for functest logRyota MIBU1-2/+7
Change-Id: Ifebef95a69f98f53fc3c826116bf45c647d4911f Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-03-02[doctor] archive functest log file regardless resultRyota MIBU1-2/+2
Change-Id: I5c61b1773bbc4913f23bf5e458e4e94c29bd29ef Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-15[doctor] fix log cleaner and exclude joid testingRyota MIBU1-3/+3
Change-Id: Ibf5a23efa8948eb8da693d302e5a8b0a984e3237 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-03[doctor] enable joid jobsRyota MIBU1-4/+4
This patch enables doctor joid jobs for verification. This patch also makes sure there is no log files before starting tests. Change-Id: Idee794490c4ce794f3e7b7621fffcd5edeed9c83 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-7/+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-31[doctor] fix docker_tag name for functest imageRyota MIBU1-1/+1
Change-Id: I4595742666b36b784b256d83af563b3ef5109c5d Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-30[doctor] correct GIT_BRANCHRyota MIBU1-1/+6
also reverting I418ba21c0579311adb2b7efc89be841e5688c02d Change-Id: Ia9098bb1bd69148eb30a9195a424aaa78ec4dd18 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-30[doctor] fix functest log file pathRyota MIBU1-1/+1
Change-Id: I418ba21c0579311adb2b7efc89be841e5688c02d Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-30[doctor] use '{installer}-defaults'Ryota MIBU1-4/+1
Use opnfv global param in the doctor job definition. This patch also fix the issue which INSTALLER_IP is missing when we use fuel installer in doctor functest builders. Change-Id: I47c9585af435341f5cd4f8cff564999ad644632e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-27add ool-virtual2 and ool-virtual3Ryota MIBU1-1/+8
This patch adds two pods deployed by fuel and joid, also adds non-voting jobs on fuel pod (ool-virtual2). Change-Id: I5dbadbbeaebf75bb27930233d2609adbc2757ca5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-20[doctor] fix doctor profiling jobRyota MIBU1-76/+31
Doctor profiling jobs have to be executed on ool-* pods, since we need pre-deployed OpenStack for those jobs. This patch also: - merge job templates for verify job and profiling job - move experimental trigger to jjb/global/releng-macros.yml Change-Id: If0283a734bec77d3f1bbab72d169f44ff1cd1c99 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-17Merge "Remove colorado jobs and create danube jobs"Fatih Degirmenci1-1/+1
2017-01-10[doctor] not to reset verified status with experimental jobsRyota MIBU1-0/+1
Change-Id: Icc067b60b18dc9d9d06572b9c2deb103bf4b9529 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-09Remove colorado jobs and create danube jobsFatih Degirmenci1-1/+1
Danube stream for the projects with daily jobs is disabled. Danube stream for the projects without daily jobs is left as enabled as there will be no changes coming to danube branch until branch is created. Dovetail, Apex and Fuel jobs have not been updated yet. Change-Id: Ice39826c8f829157fa864370557837290838f634 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-06doctor: pass project and branch to parameter macroFatih Degirmenci1-3/+5
The keyword is also replaced. Change-Id: Ia154975825108ab1e8c336530152757cf732c6eb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-06Fix bug in experimental triggerYujun Zhang1-2/+5
- missing variable for marco - renamed trigger since it is not common for other projects Change-Id: I3dd0f14e6c6525382b04139c5eda2f6e9187a072 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-30Add profiler parameter to doctor verify jobYujun Zhang1-0/+58
See also https://gerrit.opnfv.org/gerrit/#/c/25081/ JIRA: DOCTOR-87 Change-Id: I3d4fea89047be8e57c318df4d39479659e2806a9 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-19clean scm defenitionsRyota MIBU1-8/+2
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-08doctor: adds test result checkRyota MIBU1-1/+6
Change-Id: Id43d0434e4215c265a669505973ccea012741da6 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-07functest,doctor: CLEAN_DOCKER_IMAGESRyota MIBU1-0/+4
The builder/script 'functest-cleanup' will delete docker images for functest, so that we can make sure the latest functest will be used during the tests. But, it also makes a pod downloads image every time CI triggered functest-suite. This patch adds option 'CLEAN_DOCKER_IMAGES' (default=true), so that the job owner can choose whether he/she wants to drop the docker images or not depends on frequency or charactaristics of the job. Change-Id: I0b7affccb404fb8c4f0939b00d65e363ec62f7c3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-02Merge "doctor: copy log file to 'tests' dir"Ryota Mibu1-1/+3