summaryrefslogtreecommitdiffstats
path: root/jjb/daisy4nfv
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2017-05-08Merge "Improve daisy download speed by multi-thread tool"Serena Feng1-2/+8
2017-04-28Improve daisy download speed by multi-thread toolAlex Yang1-2/+8
Use multi-thread tool such as aria2c to download the daisy image, to reduce the time spent on downloading. Change-Id: Id1b7f9195fe0d499b9b02b0a8410e02871f675f9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-04-25Add set -o to daisy4nfv-build.shZhijiang Hu1-0/+4
By using set -o, this can prevent CI from uploading *.properties files without *.bin to artifact.opnfv.org if build was failed. This once happened to [1]. [1] http://artifacts.opnfv.org/daisy/opnfv-2017-04-25_06-57-05.properties Change-Id: I26c3112af1d73a84df05c3852038c99d7070ab59 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-14Merge "Revert "Cleanup dirty daisy build workspace directory""Serena Feng1-1/+0
2017-04-12Revert "Cleanup dirty daisy build workspace directory"Zhijiang Hu1-1/+0
This reverts commit 3ede21905ba5df94df06952e90d89ec0c16e7bb7. The deleted line in daisy4nfv-basic.sh in this PS was used exclusively by a job to clean up files with wrong ownership in workspace previously. Now, daisy4nfv-basic.sh is used combind with build/test scripts in job, so we need to delete this line, otherwise, we encountered workspace was wiped which resulted in build/test scripts failed to run. Change-Id: I8812a495db789838c3a88510a05956a11e8227d5 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-01add daisy unittest verify jobSerenaFeng1-18/+22
Change-Id: Iab5b7126f72efa942e6e1a25d0a1af67c4c52aa6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-01Update block parametersJulien4-16/+7
Fix issue: 1. father job block child jobs 2. deploy the env in daisy-virtual slaves Change-Id: Idcda4b8ca5fcf9abbfae3c60bf656a0901a20e02 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-23Avoid build conflicts in build serverJulien4-5/+9
Currently each job in daisy project has multiple child jobs, which may block the resources in lf-build1 for the excutors are limited. Change-Id: I7977128a550421caaeda395fce04b91b31d35751 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-15jjb: Set disable-strict-forbidden-file-verification to 'true'Markos Chandras2-0/+2
Previously, if an upstream patchset contained a change for a file listed in 'forbidden-file-paths' the job would not be triggered. This is not desirable since such a patchset may contain important changes so we enable the 'disable-strict-forbidden-file-verification' option which triggers the job unless the patchset only contains changes for the files listed in 'forbidden-file-paths'. Note: The diff was generated using the following script: for i in $(grep -l -r forbidden-file-paths *);do sed -i "s/\(^.*\)forbidden-file-paths/\1disable-strict-forbidden-file-verification: \'true\'\n&/" $i; done Please double check that the changes look sensible for each team's project. Change-Id: Ifa86d3a39b36375b2fd52b449e29c8dc757499b4 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-14Enable Danube JobsAric Gardner3-3/+3
Here are the projects that were branched: I will double check against this list that these changes make sense and that no one is missing as I go forward. wiki page of participating projects, and their jobs: https://wiki.opnfv.org/display/SWREL/Milestone+Compliance+for+Danube apex - already enabled armband - done availability - already enabled barometer - done bottlenecks - already enabled compass4nfv - done copper - already enabled daisy - (not participating -- keep jobs disabled?) doctor - already enabled domino - already enabled fds - N/A fuel - done functest - already enabled ipv6 - already enabled joid - done kvmfornfv - already enabled models - already enabled multisite - done netready - NOT DONE opera - NOT DONE opnfvdocs - done orchestra - Not participating onosfw - done ovsnfv - done parser - N/A promise - already enabled qtip - already enabled sdnvpn - N/A snaps - done securityscanning - N/A sfc - N/A storperf - done ves - already enabled vswitchperf - already enabled yardstick - already enabled Change-Id: I803662faf05c8554cfe7fa5f85da9521f72b03ff Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-02Use local bin file for daisy deploy jobAlex Yang1-0/+19
Change-Id: I5e09837264d93ad503dff3f886c4aba281f04255 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-24add -L para to curl for download bin fileJulien1-2/+2
without -L, curl just download the redirects info not the file. same to https://gerrit.opnfv.org/gerrit/#/c/24769/ Change-Id: Ib40c6bf27651860c7d590ee021064e1245004fb9 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-24Merge "Add scenarios jobs"Serena Feng1-0/+199
2017-02-23Use jenkins-zte user, uncomment daisy deploy and cp labs dirAlex Yang1-2/+5
Change-Id: Ia031b39a8335e223aee27db9cff334af285632ab Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-23Add sha512sum into opnfv.properties file for daisyAlex Yang1-0/+1
Change-Id: I21146ebba8088d00f201e1acb51d71731aa595a9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-22Add scenarios jobsJulien1-0/+199
deployment and integration with functest Change-Id: Ic9f72f4f6bf4d526b51b3254cfc2efd5842dd58c Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-17Use securedlab for daisy configurationJulien5-34/+62
pass configuration path, lab and pod info JIRA:DAISY-40 Change-Id: I0f5dc1427cc33478bdecb8cf9c5f493b90993b7e Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-10Fix escape errorsJulien2-9/+9
{ becomes {{ and } becomes }} replace include-raw-escape with include-raw verified by 28425 Change-Id: I252c3e4a901410aba7c7d14202cd52b7bd3becba Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-10Revert include-raw-escape to include-rawZhijiang Hu1-7/+7
Otherwise, we saw functions definition in shell script to be fold by double bracket, not single as expected. Change-Id: I1924d261f6d8313afa5cf70d173374840e5394db Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-02-08Merge "Refactor Daisy verify jobs"Serena Feng1-87/+45
2017-02-08Merge "Add daisy installer default parameters"Serena Feng1-1/+12