summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-31fuel: Adjust throttling for deploy jobsFatih Degirmenci1-1/+1
Change-Id: Ia9939f489320b95bd417d3e25b2a5b99644f549f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-31Merge "bottlenecks: redefine the jobs accordingly"MatthewLi1-86/+52
2016-05-31Merge "bugfix: version return body is inconsistent with the designed model"Morgan Richomme3-10/+31
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-31Merge "refactor fake_pymongo.py to eliminate repeated codes"Morgan Richomme1-15/+11
2016-05-31Merge "bugfix: query results failed due to using mutable list initiation and ↵Morgan Richomme6-24/+32
forget to swagger-ize TestResult model"
2016-05-31bugfix: version return body is inconsistent with the designed modelSerenaFeng3-10/+31
JIRA: FUNCTEST-278 Change-Id: I53fa2eca6476c07ad513e72241d9715431cbdee8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31bugfix: query results failed due to using mutable list initiationSerenaFeng6-24/+32
and forget to swagger-ize TestResult model JIRA: FUNCTEST-277 Change-Id: I5d8ddd9983484a61df9b77392d5ae24bde6a16dc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30Format the script for better readingJulien1-112/+102
esp for heading spaces and if/else/fi JIRA:RELENG-113 Change-Id: I9009cfec71be653e1009d8d59aec2f27d7206a8d Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-05-30Yardstick, Apex: Fixes yardstick to use right Apex vm name (undercloud)Tim Rozet1-1/+1
Change-Id: I709dbf36667202ed0e1feb4793aa10071dc137c4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-30refactor fake_pymongo.py to eliminate repeated codesSerenaFeng1-15/+11
JIRA: FUNCTEST-276 Change-Id: I2e40e12bc5b472aae88d294fb11dc479d5dd538c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30Merge "Functest, switch CI_DEBUG to false."Morgan Richomme1-1/+1
2016-05-30eliminate flake8 violation of testAPISerenaFeng3-15/+3
JIRA: FUNCTEST-274 Change-Id: I64e5e1c0d1165ac7ad7ff59dfd824dc00e131cdc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30Functest, switch CI_DEBUG to false.jose.lausuch1-1/+1
JIRA: FUNCTEST-275 At least until we fix the issue with the python logger showing the output twice. Change-Id: I121b6164cd9dc263b0c6f87afb661f853bcca708 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-30swagger-ize dashboard and version apis of testAPISerenaFeng10-203/+276
JIRA: FUNCTEST-273 Change-Id: I6f2b1de5488ba684d0c00e9f40daee2487a011cc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30Merge "swagger-ize result-apis of testAPI"Morgan Richomme14-208/+189
2016-05-29Apex, Functest: Reconfigure Apex with labelsTim Rozet3-11/+42
Change-Id: Ia56ceefe5bf93cf15f89133c40f0e23c678e11d3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-28Apex: Fixes yardstick/functest for dailyTim Rozet1-1/+29
Also adds ODL_L2 to daily Change-Id: Ic9e29d440988ff2eba42ae314cfc0f86313092f2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-29swagger-ize result-apis of testAPISerenaFeng14-208/+189
JIRA: FUNCTEST-270 Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-28Merge "[compass] wrong job name of verify smoke test"Jun Li1-3/+3
2016-05-28[compass] wrong job name of verify smoke testmeimei1-3/+3
Change-Id: Ib56f4675e840c05ab2ed331efef553362cd16fb3 Signed-off-by: meimei <meimei@huawei.com>
2016-05-27Apex: Adds block level per node for baremetalTim Rozet1-0/+1
Change-Id: If9de486a95ed7a890d23abfe88f6eb70803d2cae Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-28Merge "Fixes network/inventory checks for baremetal deployments"Tim Rozet1-4/+4
2016-05-27Fixes network/inventory checks for baremetal deploymentsTim Rozet1-4/+4
Change-Id: Ic18bafda91538d93ba66ee2969fec2949cecdb52 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-27Apex: Fixes artifact uploadTim Rozet1-4/+9
Fixes include: - SRPM extension was wrong, causing SRPMs to not be uploaded correctly - No more redirecting stderr to stdout - More print statements to Jenkins Change-Id: Ib96bb1efd967d9510d14a2e63bdf7d97b5d07cb2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-27Merge "swagger-ize testcase-apis of testAPI"Morgan Richomme10-236/+239
2016-05-27fastpathmetrics: add daily and merge jobsMaryam Tahhan1-1/+104
Add daily, verify and merge jobs for fastpath metrics project. Change-Id: Ieeca12b0743cc4387ce6725b018360627b5164e7 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-05-27swagger-ize testcase-apis of testAPISerenaFeng10-236/+239
Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace JIRA: FUNCTEST-266 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-27Merge "Fix "Illegal option -o pipefail" problem and correct the parser path."mei mei1-6/+4
2016-05-27Fix "Illegal option -o pipefail" problem and correct the parser path.zhifeng.jiang1-6/+4
JIRA:RELENG-110 Change-Id: I7cf0a79cd7046878de50c0214837d266770560c1 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-05-26Apex: fixes env vars that cannot be exported due to sudoTim Rozet1-10/+14
Change-Id: I2d27170c3797b1191dd39c3c9f6741a343acf70d Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-26Apex: Converges separate virtual and baremetal deploy scriptsTim Rozet4-244/+168
Changes Include: - Combined apex-deploy-baremetal and apex-deploy-virtual into the apex-deploy.sh into functions - JJB modified to only use single builder for deploy Change-Id: Ia129d8d6004b36c09bdb01685f2a0fced13bccea Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-26Merge "Adapt push_logs after CI refactoring"Morgan Richomme1-4/+6
2016-05-26Adapt push_logs after CI refactoringMorgan Richomme1-4/+6
- change POD names - remove branch for local results Change-Id: I8749cfe34e9819c42f859c9a1f2f5d5cce5ccbb1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-26swagger-ize project-apis of testAPISerenaFeng8-215/+241
rename pod_handler.py to pod_handlers.py JIRA: FUNCTEST-264 Change-Id: I8699999776bdb238f680a128b83cea0a098534c5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26swagger-ize pod-apis of testAPISerenaFeng6-93/+152
JIRA: FUNCTEST-263 Change-Id: I293e05f565f882ea39bbf6368405f10241269716 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26Merge "compass: Switch using labels instead of slaves"Fatih Degirmenci8-159/+118
2016-05-26Merge "eliminate flake8 violation in testAPI except dashboard dir"Morgan Richomme8-61/+106
2016-05-26compass: Switch using labels instead of slavesFatih Degirmenci8-159/+118
This change switches compass jobs to use labels instead of tying jobs to slaves. The changes in detail are: - Compass jobs can roam on any pod that is labelled with compass-baremetal and compass-virtual. - Above means that there is no branch/pod allocation anymore. - New jobs are created in order to get rid of pod names from them and just use baremetal or virtual in names. - Old jobs are removed. - Related test jobs are updated. - huawei-virtual label is renamed to compass-virtual since we still have installer specific slaves, not company specific. In future the job might end up on a none-Huawei slave too. - huawei-pod2 is not a CI POD so it is left in none-CI PODs section. - block relations and triggers might require fine tuning and left to compass project to decide how to adjust Job structure remains same; one parent job calling 3 downstream jobs: deploy, functest, yardstick. The OS to deploy (trusty or centos7) needs to be solved in a separate patch in a sustainable way. Change-Id: I22bfaff36640667b6764f0e303a3286af0eb41b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-26eliminate flake8 violation in testAPI except dashboard dirSerenaFeng9-63/+109
JIRA: FUNCTEST-262 Change-Id: Ib77bb080111392b8e3248c5e6152f55c12b8c67c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26joid: Switch using labels instead of slavesFatih Degirmenci4-109/+123
This change switches joid jobs to use labels instead of tying jobs to slaves. The changes in detail are: - Joid jobs can roam on any pod that is labelled with joid-baremetal and joid-virtual. - Above means that there is no branch/pod allocation anymore. - New jobs are created in order to get rid of pod names from them and just use baremetal or virtual in names. - Old jobs are removed. - Related test jobs are updated. - POD specific parameters are updated and instead of adding pod specific parameters, they now become parameters for all the pods labelled with same label. It is not a problem at the moment as both Intel PODs (pod5, pod6) have same parameters but a different pod with different parameters will require alignment between pods. Job structure remains same; one parent job calling 3 downstream jobs: deploy, functest, yardstick. Change-Id: I30d270cd05ba3756f6f161d65ee5160eab6b80f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-26Merge "attach version number to url in testAPI"Morgan Richomme9-50/+57
2016-05-26Add the pep8 check in parser verifyzhifeng.jiang1-1/+12
JIRA:RELENG-110 Change-Id: I5c877d558bb04255a9e99dbe3459fba40217232c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-05-26attach version number to url in testAPISerenaFeng9-50/+57
version - /versions api - /api/v1/pods(projects/results) dashboard - /dashboard/v1/results I tried to make the code smart, but in vain, sad...... JIRA: FUNCTEST-261 Change-Id: I3e9e3ad7180a6c6349fd743e24eafea07bdefd1d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-25Apex: Fixes RPM checking in virtual deploymentTim Rozet1-5/+8
Change-Id: I2e02f16173ec495e250bc60bc225ad1bb6a91828 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-26apex: Take builders out of jjbFatih Degirmenci7-360/+366
Having builders embedded in jjb makes maintenance harder than what it could be and error prone so the builders have been taken out. Apart from this, the upcoming change proposals will split yml files in 2, aligning with the rest and jobs in these files can reuse same builders when they are converted in shell scripts. This is the first change in series, trying to align job structure with the rest in order to ease the effort required to troubleshoot the deployments during release verification. The changes are - take builders out of jjb (this patch) - align the main CI jobs with the rest; 1 parent job per scenario/branch which controls triggering and execution of 3 downstream jobs; deploy, yardstick, functest - split yml file in 2; ci jobs ending in apex-ci-jobs.yml (daily) and project jobs ending in apex-project-jobs.yml. (verify, merge, build) Change-Id: I01f8bf351f0cbafbee1f41ec24ad5c2c6f21316f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-25fuel: Switch using labels instead of slavesFatih Degirmenci6-438/+247
This change switches fuel jobs to use labels instead of tying jobs to slaves. The possibilities and changes introduced with this approach are - If things do not work as expected, slave-label parameter can be set to certain slave name to get back to old way of tying jobs to slaves. - If a scenario requires a different slave, it can still be created using baremetal or virtual but the label can be different, pointing to a slave that is capable of running that scenario. (fuel-baremetal-multisite, etc.) - The auto-trigger-name for brahmaputra is moved under the branch anchor and can be used like this if triggers for all all the jobs for a certain branch need not to be triggered automatically but job is still kept enabled in case if some crucial bug needs to be tested. - No of max concurrent builds stepped to 4 in order to use all the labelled slaves available. This will require some adjustments before colorado jobs start to run in order to share resources between branches fairly. - All the fuel CI PODs except lf-pod1 have been removed. Change-Id: I91eca6743bb3d34263e634f9b74550efa1e2ddbe Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-25Test API add start_date, stop_date parameters in resultsMorgan Richomme9-36/+42
Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-25Merge "add test result/dashboard related unittests in testAPI and refactor ↵Morgan Richomme10-307/+653
its response"
2016-05-25Merge "Add pod role in pod description in the API"Morgan Richomme2-5/+15