summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
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-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>
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-29utils: jenkins-jnlp-connect.sh: Fix 'started_monit' block indentationMarkos Chandras1-23/+23
Change-Id: Id2eb5f63944e73a764e6a0f950f9147c6d6c8d88 Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-11-29Merge "Remove trailing slash in example"Fatih Degirmenci1-1/+2
2016-11-29Merge "Refactor Docker build jobs"Fatih Degirmenci1-136/+0
2016-11-29Merge changes from topic 'fix-monit-script'Aric Gardner1-25/+22
* changes: utils: jenkins-jnlp-connect.sh: Make monit actions conditional utils: jenkins-jnlp-connect.sh: Fix start up script
2016-11-29utils: jenkins-jnlp-connect.sh: Make monit actions conditionalMarkos Chandras1-21/+20
When executing the connection testing command as indicated in [1], -t is added to the monit start-up script parameters. This prevents the jenkins service from running in the background and create the pid file. Because of that, monit is confused and reports the service as failed. We fix this by moving all the monit related actions inside the 'monit' conditional block. [1]: http://artifacts.opnfv.org/octopus/brahmaputra/docs/octopus_docs/opnfv-jenkins-slave-connection.html#connecting-slaves-from-community-labs-to-opnfv-jenkins Change-Id: I7371c4560311b84f56eff3461254264e1769ff7e Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-11-28Remove trailing slash in exampleAric Gardner1-1/+2
also add caveat note Change-Id: Ie662ffb9240c3ffdbc4c7317d63744a8beedec4a Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>