summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
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-20Merge "Add ericsson-pod1 as it is complained by CI"Fatih Degirmenci1-1/+1
2017-01-20Add ericsson-pod1 as it is complained by CIhelenyao1-1/+1
Change-Id: I1b8492e6c2de1a4cd5f426358d850ff89c93d9bb Signed-off-by: helenyao <yaohelan@huawei.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-19Merge "Add Huawei pod6 and 7"Morgan Richomme1-0/+1
2017-01-18Merge "Clean case declaration prototype"Morgan Richomme3-297/+0
2017-01-18Merge "Use public endpoints in the RC file for compass only"Jose Lausuch1-0/+11
2017-01-18Add Huawei pod6 and 7Morgan Richomme1-0/+1
JIRA: FUNCTEST-693 Change-Id: I134d32045656969ba52c395a95b4d9255a197cc7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.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-17Declare additional huawei PODSMorgan Richomme1-1/+2
new pods have been declared in the DB they are used as production pods and may push results to artifact Change-Id: Ifca4e68b4d8e9fe696142db59e48d255f5b3019c 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-17Use public endpoints in the RC file for compass onlyjose.lausuch1-0/+11
Change-Id: Ic6be1e5559653145e6a80442b205533901c0a2bd Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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-11Merge "utils/jenkins-jnlp-connect.sh: Make sure the pid directory exists"Fatih Degirmenci1-1/+13
2017-01-11[FUNCTEST-FUEL] Remove URL swapNikolas Hermanns1-5/+0
Since the virtual deployments are now able to use the internal mgmt network we remove the swap Change-Id: I8eed4dd8218a78c697ffde4716c35170fa72d814 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-11[Functest] Removing admin to Public enpoint swapNikolas Hermanns1-7/+0
The openstack.creds file is not aligned with commonly used methodologies. Change-Id: Iba0afc83ebbe35dd189cc35e5bf682680fc96535 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-11utils/jenkins-jnlp-connect.sh: Make sure the pid directory existsMarkos Chandras1-1/+13
/var/run/ is only writable by root so Monit will fail to create the necessary subdirectory for the jenkins pid file since we run it as the 'jenkin' user. We add another entry to the monit configuration file to check the presence and the permissions of that directory before we try to start the jenkins slave. Change-Id: Ica7153c3e90900f60e4f65708c8f08abf5af9201 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-01-11[Functest][Keystone] --long argument not available anymoreNikolas Hermanns1-2/+2
For newton we have to grep differently for the public ip. Change-Id: I646358005b163829004e0016514e254575d03157 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
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 "utils: jenkins-jnlp-connect.sh: Fix 'started_monit' block indentation"Fatih Degirmenci1-23/+23
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>
2017-01-03Merge "Fix installation of testapi in virtualenv"Morgan Richomme1-3/+11
2017-01-03Merge "Fix compass public vip fetch bug in Newton"Jun Li1-3/+11
2017-01-03Merge "modify the output message in push-test-log.sh"Jun Li1-1/+1
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 compass public vip fetch bug in NewtonQiLiang1-3/+11
Error log: More than one endpoint exists with the name 'identity'. fetch_os_creds.info: public_ip: Change-Id: Ie7c8eeec5e84de4c38a17b4e718be65f36c562a7 Signed-off-by: QiLiang <liangqi1@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-28modify the output message in push-test-log.shwutianwei1-1/+1
This patch modify the output message. It make people quickly find the error, when failed to run the command: gsutil ls Change-Id: Idff6a4fd7b627c1566049ac266af852b6ae49497 Signed-off-by: wutianwei <wutianwei1@huawei.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-21Allow ericsson-virtual1 to push to artifactsjose.lausuch1-1/+2
JIRA: FUNCTEST-677 Change-Id: Id0e02f5155b16ea40809031966a88e1c7e573f2f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>