summaryrefslogtreecommitdiffstats
path: root/jjb/daisy4nfv
AgeCommit message (Collapse)AuthorFilesLines
2018-03-12Define parameters for triggering jobsJulien1-15/+2
In https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170, it indicates that: only build parameters that have been explicitly defined in a job's configuration will be available by default at build time. Any other arbitrary parameters added to a build by plugins will not be available by default. It has been tested in sandbox.opnfv.org that only defined parameters can be passed to the triggered jobs. For parameters required by TESTAPI are common to all the projectes, including installers, Functest, and Yardstick, it is convenient to define a common macro and used by others. Change-Id: Iac1da85445e1b5d75109ccd64b174f35151b9969 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-03-07Update return value from postbuildscriptJulien1-0/+9
PostBuildScript plugin's result affects Jenkins pipeline, so we should return the original job running status in the postbuildscript in the end Update macros: 1. from $POD_NAME to $NODE_NAME 2. from $SCENARIO to $DEPLOY_SCENARIO 2. {installer} to $INSTALLER_TYPE for {installer} is not existed in trigger job 3. add parameters definition for they can not be used in trigger jobs by predefined-parameters 4. missing TIMESTAMP_END Change-Id: I354be3d5ad02e53bb988995adc09b59e92a1640a Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-02-13[daisy] Move master branch jobs to zte-pod2Zhijiang Hu1-11/+11
This PS does: 1) Move master branch jobs to zte-pod2 which seems has a more stable internet connectivity. This is trying to solve master branch deployment unstable problem. 2) Disable Euphrates jobs to make room for master branch. Change-Id: Id36f0ff6a268aabf0badd46f55bb397afe5e4830 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-01-24Merge "[daisy] Skip signing kolla images"Serena Feng1-26/+0
2018-01-18[daisy] delete tmp dir with sudoAlex Yang1-1/+1
Permission denied occured in [1]. [1]: https://build.opnfv.org/ci/job/daisy-deploy-zte-pod9-daily-master/7/console Change-Id: Ic7e67eed8a121cae0ea2c05ab4cc9005358fcda5 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-01-16[daisy] Add '|' for more than one predefined-parametersZhijiang Hu1-3/+3
This tries to solve Job name error [1] which cause functest failure. [1] https://build.opnfv.org/ci/job/functest-daisy-baremetal-daily-master/257/console Change-Id: I89c9a00bcaf0ccb274a18339533bdd99b1134be3 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-01-15Add macro for reporting the provision resultJulien1-0/+12
1. add macro for report the provision result of installers and try it in daisy 2. update according to TestAPI interface Change-Id: Ic041744c917c37fcd84a12a92e927e39106cf18f Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-01-11[daisy] Retry if download opnfv.bin failedZhijiang Hu1-1/+9
Download from http://build.opnfv.org/artifacts.opnfv.org may fail [1] so we need retry to make CI stable. [1] https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/374/console Change-Id: I62837038c7f124870814a68e4b87a8e89ba8c58c Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-01-11[daisy] Enable ovs_dpdk scenarios jobs001845321-1/+50
Change-Id: I5193285493926fcf82779f12d491a118bc83baa7 Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
2018-01-10[daisy] Adjust the schedule of daisy master jobsAlex Yang1-2/+2
Leave more time for ODL debug. Change-Id: I614a8f8ef088f687f71405365dce6cccaaef741c Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-01-03Use pharos repo in daisy master branchAlex Yang1-6/+14
There are no PDFs in euphrates branch of pharos repo. Securedlab is still used in euphrates branch. In master branch, pharos repo will be used. Change-Id: Ifbdeed26f938025aae56d2d263abf3d8620b31ba Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-11-13[daisy] Skip signing kolla imagesZhijiang Hu1-26/+0
No key avaliable at gs://opnfv-signing-keys/zte-virtual-subkey, so this PS skip signing key for kolla images. Change-Id: I1b934f01faeec0657a0019cd35ed209a511cdcdd Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-08Merge "[daisy] Prevent CI jobs run on the same POD parallelly"Trevor Bramwell1-0/+1
2017-11-06[daisy] Kolla docker image build needs root privilegeZhijiang Hu1-2/+12
Change-Id: I8b206f8aaa965b90eb13d5f859c5d9d7b530e0e9 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-06[daisy] Prevent CI jobs run on the same POD parallellyZhijiang Hu1-0/+1
Change-Id: I0f20005873aac6c7c4f7e3baf04fab56f38b14df Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-03Merge "[Daisy] Add docker image tarball builder"Trevor Bramwell3-0/+153
2017-10-28[Daisy] Add docker image tarball builderZhijiang Hu3-0/+153
This PS do: 1. Add docker image tarball builder as a Daisy project job. Name is daisy-kolla-build-.* 2. Upload image to artifact storage after building. 3. Fix new job runs on daisy-virtual. 4. Block jobs with each other which may run Daisy VM because VM has the same name. Change-Id: I148473ca33f1e10490684b7608354a4ba548714f Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-19Integrate yardstick on daisy master branchAlex Yang1-1/+22
JIRA: DAISY-9 1. Trigger yardstick job in daisy-baremetal-daily-master on zte-pod3 2. Add daisy pods in yardstick 3. Add EXTERNAL_NETWORK in installer params Change-Id: Ia8e69e503102c1fb282d6d2c5acac2ac3cbfe747 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-16Merge "Move securedlab clone outside of daisy WORKSPACE"Serena Feng1-8/+5
2017-10-12daisy: bug-fix of upload iso to artzhouya1-1/+1
Change-Id: Idc204f9f8c3e71f80d607ee55630cbea1e4f118a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-10-08jjb: daisy: Upload iso file as well as the bin fileZhijiang Hu2-1/+5
To align to the convention, Daisy now also provides iso format artifacts for user to download instead of the bin format. So need to upload iso to GS. In future, the bin file can be eliminated to save storage space. Depends-On: I6ddfe8e291ea8f6d673bd82c4df310d63f61a130 Change-Id: Ib97f93b043866174d5d63f122aa867b2af1c1424 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-03Fix Yamllint violations for jjb/daisy4nfvTrevor Bramwell4-606/+627
JIRA: RELENG-254 Change-Id: I71f2879dd04cc56dc8023fc7163871e94de78eb6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-30Merge "Move daisy jobs of master branch to zte-pod3"Serena Feng1-3/+6
2017-09-28Move daisy jobs of master branch to zte-pod3Alex Yang1-3/+6
Zte-pod2 is a little busy. Change-Id: I7628a1a966552c5caf1706a2ac8c47952a11c095 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-27Move securedlab clone outside of daisy WORKSPACETrevor Bramwell1-8/+5
Change-Id: Ic3bac4876160aaefb77707c22f6d34a9b8b1068c Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-27Enable Daisy Euphrates merge jobsAlex Yang1-1/+1
Change-Id: Iaa278fa1d0aa3faa8735bc45159031d04d997a6f Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-22Enable daisy euphrates jobs of daily and functestAlex Yang1-0/+16
Change-Id: I8c0c088c5b6879033e1d369488b589271e741a68 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-18Merge "Enable jobs for stable/euphrates branch"Serena Feng4-3/+40
2017-09-15Add monitoring tests folder trigger unit verifyzhongjun1-0/+2
Add monitoring tests folder to trigger unit verify job for daisy beacause unit test code should be added verify CI. Change-Id: I77e19b5b07a3a1f724c20036e5c337ffa9f482ec Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-13Enable jobs for stable/euphrates branchZhijiang Hu4-3/+40
Change-Id: I9c9759f3f361d6e0e56429e0aeca6205fa59934f Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-08installers: Use global macro 'clean-workspace'Alexandru Avadanii4-24/+4
Change-Id: I34a555697d963efc38064a7b53f25191d6bf1382 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-07Merge "Rectify inter-job blocking strategy"Serena Feng3-2/+6
2017-08-24Adjust the schedule of daisy jobsAlex Yang1-2/+2
Leave more time for debugging on nosadn-nofeature scenario. Change-Id: I38199954ddd503c5bf4e956ae97ae61a470a2ad8 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-24Adjust the schedule of daisy baremetal jobsAlex Yang1-2/+2
Now the functest NFV testcases only run in nosdn-nofeature scenario. So we adjust the schedule to leave more time for debugging on these testcases. Change-Id: I37425a86c7359b57cb7048dc1339acb7ea8cb525 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-14Merge "Pass jenkins variables to daisy deploy script"Serena Feng1-1/+1
2017-08-11Merge "Rename odl_l3 to odl"Serena Feng1-22/+9
2017-08-10Pass jenkins variables to daisy deploy scriptAlex Yang1-1/+1
JIRA: DAISY-42 Now the daisy deploy script is executed with sudo. In [1], daisy deploy job needs to check INSTALLER_IP when it generates the configuration by the POD Descriptor File. So -E option of sudo is necessary to pass the jenkins variables. [1] https://gerrit.opnfv.org/gerrit/#/c/38657/ Change-Id: I852c115d1f0623100afef9979619e4770b5bd1d3 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-09Rename odl_l3 to odlZhijiang Hu1-22/+9
Rename all scenarios with "odl_l3" in their name in Euphrates to just "odl". Change-Id: If2bff0da79f79b9305771d2fc575db1606cd4bf9 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-08-02Send 'Build Failed' Emails to Jenkins AdminsTrevor Bramwell1-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-28Rectify inter-job blocking strategyZhijiang Hu3-2/+6
In order to completely solve the job interfer problem [1], this PS does: 1) Block the right job by changing {installer}-(merge|verify)-.* to {alias}-(merge|verify)-.*. 2) Let daily-build, verify-build, and merge-build to block each other. [1] https://gerrit.opnfv.org/gerrit/#/c/38145/ Change-Id: If0c92367106b62c372b70278b9fdfd9f49e996cb Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-07-26Enable daisy HA deployment jobAlex Yang2-14/+14
In patch https://gerrit.opnfv.org/gerrit/#/c/36873/ daisy noha jobs were added since the HA function is not perfect at that time. Now the issues have been fixed and HA function can be enabled. Change-Id: I1fc9a235191ba47e8473ae8a429994dc36cca955 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-07-04Enable ODL scenarios jobsZhijiang Hu2-8/+30
This PS does the follwoing things: 1. Enable ODL scenarios jobs on CI Pod 2. Change default scenario from ha to noha Change-Id: I548174bfa551aa06b6d9bfe64cf119eea37efda3 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-06-01Pass scenario argument to deploy.shZhijiang Hu1-2/+2
Also change default value to os-nosdn-nofeature-noha Change-Id: I018179b4018440809382b4a46d2bb29a0762757c Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-05-26Merge "define default parameters for daisy"Serena Feng3-4/+5
2017-05-26Merge "update blocked jobs"Serena Feng2-1/+20
2017-05-25define default parameters for daisyJulien3-4/+5
missing default INSTALLER_IP, BRIDGE parameters for daisy-defaults daisy-baremetal-defaults daisy-virtual-defaults Change-Id: I2632e5d10c8a269c025a923c4759ff18adf311a7 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-05-25update blocked jobsJulien2-1/+20
issues: * verify jobs delete previous job's container * merge-build job is abnormally blocked by parent job requirement: verify jobs should block merge jobs Change-Id: I63b64a9b46bf16d01cb34c863db887cdb9607421 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-05-23Fix verify job without patchsetJulien1-4/+9
use git-scm-gerrit to fetch the patchset fix the wrong job name Change-Id: If26dbb08da95f37d65e6b21770ef7f1d7de0c5e1 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-05-08Merge "Fix the parameters of downloading"Serena Feng1-3/+3
2017-05-08Fix the parameters of downloadingAlex Yang1-3/+3
aria2c should use "-d" to indicate the directory to store the downloaded file. Change-Id: I6590403fb0c0b2938ee384cf5b1d5acc42ed94c1 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>