summaryrefslogtreecommitdiffstats
path: root/jjb/bottlenecks
AgeCommit message (Collapse)AuthorFilesLines
2017-10-11bug-fix: do not have permission to execute sudo pipGabriel Yu1-1/+1
JIRA: BOTTLENECK-211 This patch is to fix the bug by adding -H flag to sudo, i.e., sudo -H pip install ... Change-Id: Icdb187660cc1e08e134a79592e7454b77576f457 Signed-off-by: Gabriel Yu <Gabriel.yuyang@huawei.com>
2017-10-10Merge "Bug fix:Bottlenecks job failed."Jun Li1-0/+1
2017-09-30Bug fix:Bottlenecks job failed.liyin1-0/+1
This patch is to fix the bottlenecks rc file. shown the problem: touch: cannot touch '/tmp/admin_rc.sh': Permission denied releng have chown code. We will delete this file if have problem in fetch_os script Change-Id: I9f53f9243697c3faca2b4d09a5847253a70f9686 Signed-off-by: liyin <liyin11@huawei.com>
2017-09-18Fix minor yamllint violation for jjb/bottlenecksTrevor Bramwell1-8/+8
JIRA: RELENG-254 Change-Id: I9ea829209b3b2613bad5fcec10ffba743fe52ee8 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-18Create jobs for euphratesFatih Degirmenci2-6/+6
Change-Id: Ib7138679a49fe12ee99599b30eb3036accad8425 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-14bug-fix: delete directory created by root for workspace cleanupYang Yu2-0/+4
JIRA: RELENG-311 RT Change-Id: Id6c5306ef02a3c02c270ef0e548c41dde6d1b8b4 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-09-14bug-fix: fix privilege error for removing workspaceYang Yu1-1/+1
JIRA: BOTTLENECK-196 Details refer to: https://build.opnfv.org/ci/view/bottlenecks/ job/bottlenecks-compass-posca_stress_ping-virtual-daily-master/ 41/consoleFull Change-Id: Ia973bab723e2b52a34f4332a5dbcff7c342720d7 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-09-12Bug-fix: Cleanup Workspace after TestingYang Yu2-4/+15
JIRA: BOTTLENECK-196 RT Change-Id: If98c2cf3636f5f65006f7418851e8d2a63a712fa Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-09-11Fix Yamllint Violations for jjb/bottlenecksTrevor Bramwell2-249/+252
JIRA: RELENG-254 Change-Id: I56e1b6e776cac44afc17cf73db09cf8220d1b5f0 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-07Bug-fix: add support for buid_tag reportingYang Yu1-1/+1
JIRA: BOTTLENECK-158 It seems the build_tag is not automatedly passed to docker. This patch is to try to pass build_tag to Bottlenecks docker. Change-Id: I783d6f0702040449b0385d11bca709f8cdbdd58a Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-25Bug-fix: syntax error for add compass pod yamlYang Yu1-1/+1
JIRA: BOTTLENECK-178 Containerized compass does not support ssh method to get the POD yaml anymore. This patch is to fix the syntax error of last patch. Change-Id: Ibd1711a645327db0c43a602519a9fa47ddaec64f Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-25Bug-fix: Add compass pod yaml in btks config dirYang Yu1-3/+14
JIRA: BOTTLENECK-178 Containerized compass does not support ssh method to get the POD yaml anymore. This patch is to fix the issue. Change-Id: I98ca9a419d71d0ec22bf48ef40d4c5fb2d96d1b2 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-23Add pod description file supportYang (Gabriel) Yu1-0/+58
JIRA: BOTTLENECK-178 Need to add pod descrition file for Bottlenecks to be installer-agnostic Change-Id: I100022ff1fcdaabe800492649c138dfe9fce55c2 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2017-08-09Merge "Send 'Build Failed' Emails to Jenkins Admins"Trevor Bramwell1-0/+1
2017-08-03bugfix: fix url name errorYang Yu1-10/+18
JIRA: BOTTLENECK-158 fix url name error in BOTTTLENECKS_TARGET_DB var Change-Id: Ic8b4c2262e488bdafab329558c7fdde73e9413ba Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-03Add test case run command introductionYang Yu1-2/+6
JIRA: BOTTLENECK-158 Print testcase run command to ease reading log Change-Id: I41362349d23865d0a485d80856cbbc4658ee945a Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
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-02Add envs to Bottlenecks dockerYang Yu2-4/+9
JIRA: BOTTLENECK-158 Pass envs to Bottlenecks docker that used for report Change-Id: Id7e34533c5fdd81dacaf95bb9321625dd6c8713c Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-07-31remove docker compose cleanupyuyang1-3/+0
JIRA: BOTTLENECK-103 Remove docker compose cleanup since docker-compose is not used Change-Id: I73c6d114fc698c2508247eca2309d838ba929b38 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-07-31bugfix: unexpected file end for support SUT branchesyuyang1-1/+2
JIRA: BOTTLENECK-103 Bugfix for 38413 that unexpected file end Change-Id: Iab41019b2149332c44dc08e518d3787ccba6be9f Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-07-31Add support for Bottlenecks' new framework and potential installersyuyang3-47/+52
JIRA: BOTTLENECK-103 Bottlencks does not use docker-compose and support sourcing rc files from different installers. This patch is to modify the CI process for Bottlenecks. Change-Id: I79dc79c6a9528678bf62caa1fa817273e040288c Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-25Add auto-report to MongoDByuyang1-2/+3
JIRA: BOTTLENECK-158 The auto-report function has been added to POSCA testsuite. This patch is to add report into CI pipeline. Change-Id: Ie91eb806ca3b5fd185e547f63f142cea2d7aaed0 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-04-11Add flake8 examination to Bottlenecksyuyang1-5/+5
JIRA: RELENG-211 Add flake8 examination to CI pipeline for Bottlenecks. Change-Id: I14d8bd4fe288d1dedb7c23dd158fc8c3765bf309 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-30bugfix: fix the docker_cleanup pathyuyang2-113/+5
JIRA: RELENG-196 JIRA: BOTTLENECK-148 The path for calling docker_cleanup.sh is incorrect which causing building job fail. This patch is to fix the issue. Change-Id: I2a8ea79383123f541f4e67bc58a3f2f3e3d9beeb Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-29Merge "bugfix: Bottlencks cleanup docker-compose dockers"mei mei2-110/+123
2017-03-28bugfix: Bottlencks cleanup docker-compose dockersyuyang2-110/+123
JIRA: RELENG-196 JIRA: BOTTLENECK-148 The bottlenecks_cleanup script can not clean some dockers and their images that created by docker-compose. This may cause the following test using dockers created in last test. This patch is to fix this issue. Change-Id: I83d294020596ad5d04302793084a432cae789685 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-28Adjust the testcase name for Bottlenecks stress test jobyuyang2-2/+2
JIRA: RELENG-195 JIRA: BOTTLENECK-143 The name of stress test in Bottlenecks has been changed due to the new entrance for it. So CI job for the stress test should be adjusted. Change-Id: I8432ea1c2dacb6cf42f09a5b74c3c6a93970a242 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-02-16Add CI job for traffic stress test in POSCA testsuiteyuyang4-57/+184
JIRA: RELENG-191 JIRA: BOTTLENECK-131 POSCA testsuite in Bottlenecks current have 2 stress testcases. This pathch is to add CI process for these traffic stress test. Changes: 1. Add posca stress traffic 2. Add posca stress dataplane 3. Cleanup env & run suite script refactoring 4. Call sh script process added Change-Id: I788bd91bca895bf01fd59802f1641747175c80ee Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-02-03Adding POSCA build job for Bottlenecksyuyang2-0/+2
JIRA: RELENG-189 JIRA: BOTTLENECK-108 POSCA is a new testsuite in Bottlenecks aiming to locate the bottlenecks in parmetric manner and to decouple the bottlenecks regarding the deployment requirements. POSCA testsuite is planed to be released in Danube. For more details, please refer to https://jira.opnfv.org/browse/BOTTLENECK-92 Change-Id: I9c42903fff64beb4fa15e6dae26e33590a350b93 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU2-4/+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-20[macro] property logrotateRyota MIBU1-0/+1
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-09Remove colorado jobs and create danube jobsFatih Degirmenci2-6/+6
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>
2016-12-19fix ci jobs (daily && no branch param)Ryota MIBU2-0/+4
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU2-16/+4
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-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell1-0/+2
With the addition of ODL and OpenStack Gerrit servers, it's important we don't generate additional noise by accidentally building against these Gerrit servers when we don't intend to. JIRA: RELENG-179 Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-10-09[compass] put huawei-pod2 into CI resource poolmeimei1-14/+0
Change-Id: I8b8cf515d47e6117bfa5804c15fac22ac8b8d90a Signed-off-by: meimei <meimei@huawei.com>
2016-09-20bottlenecks: ignore unittest temporarilyMatthewLi1-2/+13
through CI progress, the unittest code for bottlenecks project has been debuged and works normally. this patch is used to ignore unittest temporarily for unittest test code itself passed, then the unittest will open again and works for checking when new patches submitted. Change-Id: I5ed80e6791e208b37d160bf014f3f1fb6f1fb6e2 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-09-19bottlenecks: bugfix for script pathMatthewLi1-1/+1
Change-Id: I7caeca83ed2f6302b7c3eca6524ab285d61b429a Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-09-19Bottlenecks: unittest job addedMatthewLi1-5/+25
unittest script shown in https://git.opnfv.org/cgit/bottlenecks/tree/tests.sh only flake8 is included by now Change-Id: I1962cd5e44300fc9bd792c3221663e186223d885 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-08-24bottlenecks project branch to coloradoMatthewLi1-14/+14
switch to colorado job, annotate offline pods. Change-Id: I905a67e2085d38719d42875a298d9c28c7a7556a Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-08-22Create project jobs for colorado branchFatih Degirmenci1-1/+10
Daily jobs for Colorado branch for installer and test projects have not been created yet and it needs to be done via separate patches. Change-Id: I34517e89dfc502ce5741733e01bf8425d513df02 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-08Cleanup slave parametersFatih Degirmenci1-1/+1
This is the first step towards having alignment of the job structure, applying commit gating and use of labels for all installer jobs. Apart from the above, it also - puts all CI baremetal and virtual PODs together - gets rid of use of slaves directly for CI baremetal and virtual PODs - switches labels for all CI baremetal and virtual PODs using below labels {installer}-baremetal {installer}-virtual - puts all CI build slaves together and switches to labels - except huawei-build - puts all none-CI PODs together Please note that this change does not impact the overall job structure. Change-Id: I2d8d15799a57fe7e063d39f81b96d19c218b100e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-30Add Project Option to Throttle PropertyTrevor Bramwell1-0/+1
This is a required field for JJB > 1.4 Change-Id: Ifb6f5d4b3a28f2d85f546151ca9aca4a4061f3ef Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-06-15Tie all verify/merge/build to opnfv-build-ubuntuFatih Degirmenci1-2/+2
We reconfigured centos build server now and it is important to know which jobs require centos and which ones ubuntu. The machines with ubuntu were labelled with opnfv-build previously, preventing us from keeping track of which projects require what OS. This tries to solve that. Change-Id: I1fb2912ec49f5bc2781853e500508d9992d59fbb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-31bottlenecks: redefine the jobs accordinglyMatthewLi1-86/+52
JIRA: BOTTLENECK-85 Change-Id: I6ec45a7fa292ee69a75820d1ed9ce3fd82aebe5d Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-05-21Rename LF Jenkins slaves and update impacted jobsFatih Degirmenci1-3/+3
Change-Id: If58c84e6f431db88eed3376e446479826da71502 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-20Rename Huawei Jenkins slavesFatih Degirmenci1-2/+2
Slave names will be as below. - huawei-us-deploy-bare-1 -> huawei-pod1 - huawei-us-deploy-bare-2 -> huawei-pod2 - huawei-sh-test-2-defaults -> huawei-pod3 - huawei-sh-pod6 -> huawei-pod4 - huawei-us-deploy-vm-1 -> huawei-virtual1 - huawei-us-deploy-vm-2 -> huawei-virtual2 - huawei-us-deploy-vm-3 -> huawei-virtual3 - huawei-us-deploy-vm-4 -> huawei-virtual4 huawei-sh-pod4 will be removed from Jenkins. Please note that this change will result in removal of existing jobs. This is not that crucial since the use of labels will result in same. Change-Id: I63798c799a402b1694ee0767ffdb45a597897cd9 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-12Temporarily disable bottlenecks CI job on zte-pod1.wu.zhihui1-1/+1
We are troubleshooting Daisy4nfv which is a new deployment installer project of OPNFV on zte-pod1. There is not enough resource for bottlenecks temporarily. So we decide to disable bottlenecks CI job temporarily. Meanwhile, we are building zte shanghai testlab to offer more lab resource to community. Change-Id: Ia3820e9ab59b2887fc3760147b7e218d9e64f7e8 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-05-11bottlenecks: Disable jobs running against CI PODsFatih Degirmenci1-1/+10
Test Strategy Group must come to a decision regarding what to run against CI PODs. Until that happens, business as usual; deploy, functest, yardstick. In order for bottlenecks to run against CI PODs, it must be discussed in Test Strategy Group and a decision must be presented to releng. If the jobs get activated and run again, next step is removal of the jobs. Apart from CI PODs, permission was never asked and never given for ericsson-pod1 so job running on it is disabled as well. Change-Id: I82b481775475ef36d132541efdc40c325d05e77a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-11Rename ZTE Jenkins Slaveszhifeng.jiang1-2/+2
Change-Id: I0e2722ce81d1ffca966832f608b51f8624866ce1 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>