summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick/yardstick-project-jobs.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-05-18Build Timeout Wrapper for YardstickTrevor Bramwell1-0/+13
Yardstick builds are hanging and not being caught for 19+ hours. Using the build timeout plugin we should be able to quickly stop these builds and let the project know much sooner there is an issue with their builds. The default timeout is set to fail if the job takes longer than 30 minutes. This can be adjusted later if the time is too long or too short. ssh-agent-wrapper is included as it is the default from globals, and defaults are superceded by fields added to jobs. Change-Id: I9529ab7b6ab8819ceb91694fefbb4ecb3f5cf81c Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-02-05yardstick: install python3-dev so we can build librariesRoss Brattain1-0/+2
We need python3-dev so we can install Python3 libraries like lxml Otherwise we fail with: building 'lxml.etree' extension creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/src creating build/temp.linux-x86_64-3.5/src/lxml x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python3.5m -I/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/include/python3.5m -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.5/src/lxml/lxml.etree.o -w src/lxml/lxml.etree.c:85:20: fatal error: Python.h: No such file or directory compilation terminated. Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1 creating tmp cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitmtir1fki.c -o tmp/xmlXPathInitmtir1fki.o /tmp/xmlXPathInitmtir1fki.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main (int argc, char **argv) { ^ cc tmp/xmlXPathInitmtir1fki.o -lxml2 -o a.out error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 JIRA: RELENG-190 Change-Id: Icea4cff9bb9699fbd4bfc25dd201ff8bc6e6a902 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-02-02yardstick: use tox to add support for python3Ross Brattain1-14/+1
We need to start adding support to Python3 to match Openstack support for Python3. Use tox and move all the env setup to tox.ini JIRA: YARDSTICK-452 Change-Id: Ie57b5edd87ab6fad641a174f468d3265757e0f71 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-2/+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-26Bugfix: yardstick verify failedJingLu51-0/+1
JIRA: RELENG-187 see log: https://build.opnfv.org/ci/job/yardstick-verify-master/1688/console Change-Id: Id6ac66a34fba5a0d18ab4a60e457582bbb4f03d0 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-01-24Bugfix: yardstick verify failedchenjiankun1-1/+1
JIRA: RELENG-187 yardstick verify failed. There is some wrong with setuptools new version 34.0.1 I will change it to 33.1.1 see log: https://build.opnfv.org/ci/job/yardstick-verify-master/1688/console Change-Id: If3c65a9a8047b57549c40501b0a83118cd5dc3e7 Signed-off-by: chenjiankun <chenjiankun1@huawei.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>
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-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-11-28Make the requirements.txt compatible with Coloradochenjiankun1-1/+1
JIRA: YARDSTICK-428 Now in master, we move the requirements.txt from tests/ci/ to yardstick root path. But in colorado, this has yet to be done.If we cherry pick from master to colorado, it will encounter error. So we must make it compatible. Change-Id: I0537d989e677b73e19a1e093166493f3f6d25783 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-11-18Modify yardstick requirements.txt path config in relengchenjiankun1-1/+1
JIRA: YARDSTICK-415 Change-Id: I8e3e38842e10e5fbc335f3f23250f0292f2c05c5 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-08-22Create project jobs for colorado branchFatih Degirmenci1-1/+7
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-25clean opnfv/opnfv-docs.ymlRyota MIBU1-14/+0
- make 'opnfv-docs-*' jobs run against all repositories which has docs directory. - remove docs builder from yardstick-project-jobs JIRA: RELENG-133 Change-Id: Id0cf6e600ed112c6f082f6bc924eaeccb0481e49 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-14Merge "fixes for docs-build.sh migration"Aric Gardner1-2/+2
2016-07-08Cleanup slave parametersFatih Degirmenci1-2/+2
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-07-07fixes for docs-build.sh migrationRyota MIBU1-2/+2
JIRA: RELENG-130 See also https://gerrit.opnfv.org/gerrit/16515 . Change-Id: I365ecc4efd6f361f76ec527b4b43fae643f8478b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-05-24Yardstick: change the /ci directory pathMatthewLi1-1/+1
JIRA: YARDSTICK-269 Change-Id: Ibaf305db81d3a24164e9791249408f09cdd41e27 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-03-14yardstick: upgrade pip versionJo¶rgen Karlsson1-1/+1
Change-Id: Ifd718fa026ff20fade6873aa0e75fadb50ce0cd8 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2016-02-25yardstick: Fix issues by switching to pip installFatih Degirmenci1-1/+3
Change-Id: I7ea7db22c8a1e85c5cbd1ea262fb0ee36ce0a23b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-04docs: fix setuptools problemsJo¶rgen Karlsson1-1/+2
Change-Id: Id1033c939e0862005fd596b73e71b2f33c46822a Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2016-02-03docs: fix command to install packages for yardstick venvRyota MIBU1-1/+2
Change-Id: Ibc884debaa47041d24c7a85a693c319dedfc9644 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-03docs: add missing python packages for yardstick venvRyota MIBU1-1/+3
Change-Id: I5ad0d194f5a181bc239beedeb1618069fe3ff106 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-03docs: fix yardstick docs builderRyota MIBU1-29/+23
Change-Id: I7b3e08a8f5950515bfd0d8e94948f71d395aec7b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-03docs: fix jobs for yardstick doc builderRyota MIBU1-4/+2
Change-Id: I8accb7e58c273a728cb05f0414f677b2637e46d3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-02docs: create new job for yardstick autodocsRyota MIBU1-0/+24
Yardstick needs packages installed to build document using docstring, so this patch adds new document builder in yardstick project jobs and removes yardstick from opnfv-docs jobs. We should consider to support venv or tox when aother project wants to use various python packages for their document build. Change-Id: I453b0dec02a450e338a1bb379ce790e9ddaf8083 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-02-01build: Update slave-params.yml and jobs to use new build serversFatih Degirmenci1-2/+2
Change-Id: I69848dd40abf425acc671b332aec4199d4116ba3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-07Enable verify and merge jobs for stable/brahmaputra branchFatih Degirmenci1-5/+4
Change-Id: I5f811a0db6c1725e02b3bfd51d8c7c21b12633a2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-21Refactor yardstick JJB to prepare for Milestone EFatih Degirmenci1-0/+118
Replace default stream definitions with stream anchors in order to be able to specify which job on which POD runs against which branch. Move project specific verify and merge jobs to own file to ease the stream handling. Change-Id: I504978402d2d9e305357846806a9f81d3f17a27b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>