summaryrefslogtreecommitdiffstats
path: root/utils/test
AgeCommit message (Collapse)AuthorFilesLines
2017-02-14Fix flake8 violations in relengjose.lausuch12-65/+84
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-11Change automation to original testresults serverrohitsakala1-2/+2
Changed port from 8711 to 8082 and auto to test in url. There are 3 successful builds. https://build.opnfv.org/ci/job/testapi-automate-master/ Change-Id: I099b026eb22c7d95d8bf7345837e7c2234ef571d Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-10Merge "update scenario and related unittest"Morgan Richomme4-28/+384
2017-02-10Added VNF_Catalogue ServerKumar Rishabh16-146/+458
Change-Id: I45cedac46f06e6e1f080dd3bc38d6f79eec37fa6 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-02-09update scenario and related unittestSerenaFeng4-28/+384
JIRA: RELENG-163 Change-Id: I137898dc84de5f8cb6cab5de9b4ac5de5e4bb978 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-08Merge "Update on Functest reporting processing"Morgan Richomme3-11/+27
2017-02-06Change testresults url to auto testresults urlrohitsakala1-2/+2
The url is being changed to auto because the auto testresults website is updated and the api-docs should be in sync with the testresults website. Note - The auto testresults is created temporarily. Change-Id: If2428511c46183bd57b1a466fbdd04786528b103 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-06Update on Functest reporting processingMorgan Richomme3-11/+27
- new param to exclude or not results from virtual PODs - new param to exclude or not noha results - fix path - add rally_sanity in black list until we fixed the format issue Change-Id: Ie952f7d6968a322edbcf2effffbc1a75beddc52f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-03Added helper scriptsKumar Rishabh3-0/+151
Helper scripts to migrate schema for the mysql database. Change-Id: Id598c398318967a117a4dbaa3dc21eab22b24d68 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-02-03Added VNF_Catalogue Landing PageKumar Rishabh5-0/+1696
Change-Id: Idc5184c3e98bff5297afe18c5e8e25e91490b767 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-01-25Merge "Add nose and coverage requirements in unittest script"Jose Lausuch1-9/+5
2017-01-25Add nose and coverage requirements in unittest scriptrohitsakala1-9/+5
bugfix to :- https://build.opnfv.org/ci/job/testapi-verify-master/22/console Change-Id: I0eaa730aed68ce11b9095c2810c223a0519ffcde Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-24Merge "Remove start and finish builders from jenkins job"Jose Lausuch4-42/+12
2017-01-23Merge "Add code coverage report in jenkins job"Morgan Richomme2-14/+37
2017-01-23Add code coverage report in jenkins jobrohitsakala2-14/+37
Modified existing bash script to enable code coverage report in jenkins job. Removed test-requirements.txt. JIRA: FUNCTEST-703 Change-Id: I7ea6b5c87ce7d098dcb0c74ed195db0f6c3b9692 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-22Shortening swagger spec nicknamesrohitsakala6-22/+22
This is being done because titles have become so long in index of documentation [0] that they don't fit in one line. [0] http://artifacts.opnfv.org/releng/docs/testapi.html JIRA: FUNCTEST-704 Change-Id: I046a21d7ceac6dc203ac71d169d4303095bdc69c Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-21Remove start and finish builders from jenkins jobrohitsakala4-42/+12
Removing those builders as it is unnecessary to start and finish server instead calling testresults.opnfv.org for specs. JIRA: FUNCTEST-705 Change-Id: Icfbce0c0eaf9d4ca20920de78450a1ffd580344c Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-20Merge "Add exit in build script to notify jenkins"Jose Lausuch2-1/+6
2017-01-20Merge "implement get/query scenario(s) and add unittest"Serena Feng7-27/+289
2017-01-20Add exit in build script to notify jenkinsrohitsakala2-1/+6
Jenkins job gives success even if swagger codegen fails, so added appropriate code to make jenkins build fail if swagger codegen fails. Change-Id: Ia8e61a7b37531ecfa16c7fd60bf8101d6da9fc5f Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-18implement get/query scenario(s) and add unittestSerenaFeng7-27/+289
supported queries: scenario name/version/installer/project JIRA: RELENG-163 Change-Id: I3f6ea6e3c81edff30569918e0789e8c1e693b9fc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-17Clean case declaration prototypeMorgan Richomme3-297/+0
not used in Colorado angular framework (landing page) could be used for Danube Change-Id: I86ded631b4c5b78260bd03b376bf6264dabc2f89 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-17Merge "Fix a bug - add requests in virtualenv"Morgan Richomme4-7/+13
2017-01-17Merge "bugfix: fail to access testapi swagger"Morgan Richomme1-1/+1
2017-01-17bugfix: fail to access testapi swaggerSerenaFeng1-1/+1
bugfix [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/opnfv_testapi/tornado_swagger/static/index.html' Change-Id: Id1cad9a34a3a0331a2f8a0c27c2fa54ca40c7bd6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-16Fix a bug - add requests in virtualenvrohitsakala4-7/+13
Change-Id: Iecd20b69f7a3abf04a34d4ee7e9c94f1a039d8b1 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-16implement create scenario and add unittestSerenaFeng6-7/+135
JIRA: RELENG-163 Change-Id: Id715a2e5de1022cfd0a745505771d250935541bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-12Merge "Add Daisy for reporting"Morgan Richomme4-0/+4
2017-01-10Add Daisy for reportingMorgan Richomme4-0/+4
Change-Id: Ie9d6d5e351e5d673252f08ed304d4fef96a1e00b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-09add scenario models and frameworkSerenaFeng6-3/+157
JIRA: RELENG-163 Change-Id: I36a51022c087621d9539dc40f7d9acee4db95dfb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-05Merge "Create Jenkins Job for testapi automation"Serena Feng4-0/+121
2017-01-04Merge "Create Test Reporting landing page"Morgan Richomme47-1/+20488
2017-01-04Create Jenkins Job for testapi automationrohitsakala4-0/+121
Right now, only builder for creating testapi doc is included JIRA: FUNCTEST-664 Change-Id: If0a34154084c1d01ed6b997d2226779da43bcb14 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-04Update nicknames in swagger specrohitsakala5-18/+18
Swagger codegen uses nicknames for defining titles in the api documentation. Link - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md Change-Id: Ia35718b77dfcac53317384c4445225f28e505919 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2016-12-30Create Test Reporting landing pagechenjiankun47-1/+20488
JIRA: RELENG-165 In this patch, I do the follow things: 1.deploy tornado server(currently I haven't write any backend code, since the backend code depend on the testapi and I need to communicate with Serena). 2.landing page code(almostly finished. But I haven't the data, so for now, the data this page shows is a mock json. When the testapi and my backend code ready, this page will finally finished) 3.deployment: supervisor + nginx + tornado + angular usage: docker run -itd -p 8000:8000 opnfv/reporting:<tag> visit landing page: http://server_ip:8000/reporting/index.html test api: http://server_ip:8000/landing-page/filters visit old reporting page: http://server_ip:8000/display/master/yardstick/status-apex.html Change-Id: I527ab2661ce9e84b2942ebe673afbf5f2bc7878f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-12-29Fix installation of testapi in virtualenvrohitsakala1-3/+11
Ref :- https://openstack.nimeyo.com/87286/openstack-packaging-all-definition-data-files-config-setup Change-Id: I2519d3930bfeb4d22f92623dcc7ac88e2980b132 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2016-12-26correct swagger model of TestAPISerenaFeng2-1/+2
Change-Id: I101283cb118416823a4d1c77b3de6d7882135f1e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-23bugfix: access results failed of Test APISerenaFeng2-5/+8
File "/Users/fengxiaowei/opnfv/releng/utils/test/testapi/venv/lib/python2.7/site-packages/opnfv_testapi/resources/models.py", line 47, in format_http return self._format([]) File "/Users/fengxiaowei/opnfv/releng/utils/test/testapi/venv/lib/python2.7/site-packages/opnfv_testapi/resources/models.py", line 37, in _format hs.append(h.format()) AttributeError: 'dict' object has no attribute 'format' JIRA: FUNCTEST-676 Change-Id: I9d8d8a31e5580be51fb690628a03d452742f12d4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-20Merge "Add SNAPS for reporting"Jose Lausuch1-15/+21
2016-12-20Merge "delete useless file dashboard.tar.gz"Jose Lausuch1-0/+0
2016-12-20delete useless file dashboard.tar.gzSerenaFeng1-0/+0
Change-Id: I04a91d12885d6a832899d1241845e8f17c94dde1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-20simplify model process of TestAPISerenaFeng5-361/+107
JIRA: FUNCTEST-671 Change-Id: I8a398f04f2d12c880ec0803aa56c2645dc673523 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-18Add SNAPS for reportingMorgan Richomme1-15/+21
Change-Id: If61bbd435cd9858924e850bcc959f9596579c205 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-16Bugfix: reporting docker image build failedchenjiankun4-12/+13
JIRA: RELENG-181 Since we just decide to use dynamic server, we need to deploy a dynamic server such as tornado . But when I use the Dockerfile to build image, it failed due to some reasons. So I need fix it first and then deploy the dynamic server. Then we can use this command: docker run -it -d -p 8080:80 opnfv/releng:latest And visit reporting page by http://server_ip:8080/display/... Change-Id: Id04575c7b38e4c07625ce217d23ebca1c5bf0191 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-12-14automatic deploy a wholeset of TestAPI ecosystemSerenaFeng2-0/+55
deploy.py is used to deploy a wholeset of TestAPI ecosystem, including TestAPI container & mongo container. docker-compose.yml.template will be used in deploy.py to render out docker-compose.yml JIRA: FUNCTEST-655 Change-Id: I9b070783ef23aeadbe5e9be1e655072e18954ff9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-09Update testcase model for Test DBMorgan Richomme1-4/+84
JIRA: FUNCTEST-587 Change-Id: I8473cf5df181197a16920f507aff2a5c00dc332e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-30Add parameters in init functionrohitsakala1-1/+2
Change-Id: I8ce5219251ff21f2cf3a554d275b4d2584d70e0b Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2016-11-28bug Fix: adapt reporting to merge of smoke+sdn tiersMorgan Richomme1-4/+4
Change-Id: I74d9834b609797f85d52e97ccdfeab614c1c07bf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-17Merge "Correct SFC testcase match in the reporting Dashboard"Morgan Richomme1-1/+1
2016-11-17Correct SFC testcase match in the reporting Dashboardjose.lausuch1-3/+3
The test is specified as odl-sfc, but in the DB we have functest-odl-sfc. http://testresults.opnfv.org/test/api/v1/results?case_name=functest-odl-sfc Change-Id: Ie8c0ed60df3b11fc4d74c26796ae7a19d63c22b7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>