summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
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-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>
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-28Refactor Docker build jobsjose.lausuch1-136/+0
- Remove incremental tags for stable branches - Use "latest" or "stable" tags only - Have a single job template for all projects More info here: https://wiki.opnfv.org/display/INF/Docker+handling+in+CI Change-Id: Ibce3ef2faee136f56f0eab12dfe7a93c267db854 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-24utils: jenkins-jnlp-connect.sh: Fix start up scriptMarkos Chandras1-4/+2
The jenkins-jnlp-connect.sh script is meant to be executed from the $jenkinshome directory. The monit script was configured to enter a different directory before starting the jenkins script which always resulted in a broken start-up phase like this: "This script needs to be run from the jenkins users home dir" We fix this by entering the $jenkinshome directory before starting up the jenkins script. Change-Id: If0f65417f07a7fa9328f9adcd1ca1a1a3bc530ed Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-11-17Merge "Correct SFC testcase match in the reporting Dashboard"Morgan Richomme1-1/+1
2016-11-17Merge "Refactor reporting dir"Morgan Richomme112-611/+897
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>
2016-11-17Refactor reporting dirMorgan Richomme112-611/+897
- dockerization - create util function for all the test projects - create a common config files - add unit tests - pep8 JIRA: RELENG-162 Change-Id: Ib209be4233084100ff238a7aeb2843ccc24a6f1e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-16Move installer adapters to the new modules directoryjose.lausuch9-603/+0
JIRA: RELENG-149 JIRA: RELENG-161 Now that we have a modules directory in place, let's move all the shared python code to this location. We need to create a setup.py to install these modules in the system so that we don't have to modify the pythonpath. Change-Id: I7e608ce6e1e6b3d111405bc789cdb2ff7fcb49c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-09Remove Old 'test-sign-daily-master' Job and ScriptTrevor Bramwell1-26/+0
Artifact signing is in place and working. This job is currently returning false-positive successful runs and consuming resources on Jenkins master. Change-Id: I6e94f361c117221b4b9d0ba08f9359f539815834 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-10-21Refactor SSHUtilsGeorge Paraskevopoulos6-153/+150
- Add utility functions to get and put remote files - Add JumpHostHopClient class that creates an ssh connection to a remote server through a jumphost. This class inherits from paramiko SSHClient and provides all the methods SSHClient provides - Add get_ssh_connection utility function that creates an ssh client object. Change-Id: Ic5e56f53781a861e991ae02864eb2e06dacaee1f Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-10-19Merge "bug fix: pdf generation"Morgan Richomme2-39/+50
2016-10-18Merge "make elastic index configurable rather than settled in code"Jose Lausuch4-14/+14
2016-10-18bug fix: pdf generationMorgan Richomme2-39/+50
Change-Id: Ic101411a991b4baac8e1683bc5cad924f85f05c2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-18rename result_collection_api to testapiSerenaFeng86-1/+1
Change-Id: Iec4e3db23cd44f30831e17c127eda74e9d9b5d14 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-18make elastic index configurable rather than settled in codeSerenaFeng4-14/+14
JIRA: FUNCTEST-519 Change-Id: I4c97c01492ed47b589b0e8981dcfb431ca0838ae Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-17Merge "project-ize kibana_dashboard"Morgan Richomme15-21/+324
2016-10-17Merge "fix files with MIT or BSD licenses in testapi"Morgan Richomme29-205/+21
2016-10-17fix files with MIT or BSD licenses in testapiSerenaFeng29-205/+21
moving tornado_swagger/static/ dir under 3rd_party/ dir JIRA: RELENG-156 Change-Id: I8c15f6776a7626d5837982d5961106a120f0c7a5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-17project-ize kibana_dashboardSerenaFeng15-21/+324
JIRA: FUNCTEST-513 Change-Id: Id25dbea72b5945bc40f30c0a4b3ffe3898c3ab0b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-13Merge "Installer adapters"Fatih Degirmenci9-0/+606
2016-10-13Merge "rename elasticsearch index of kibana_dashboard"Serena Feng2-2/+2
2016-10-12Add d3 graph presentation to yardstick reportingchenjiankum4-30/+111
JIRA: YARDSTICK-367 Change-Id: Ifa2cca1bdfc7d94a84758019d0b1693e09b46e47 Signed-off-by: chenjiankum <chenjiankun1@huawei.com>
2016-10-12rename elasticsearch index of kibana_dashboardSerenaFeng2-2/+2
JIRA: FUNCTEST-508 Change-Id: I3c12d76438fd55922ece62aa5ab98cbf03a7facd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-12Merge "visualize qpi using kibana_dashboard"Serena Feng5-2/+99
2016-10-11Merge "always config conf.js in kibana_dashboard"Morgan Richomme3-16/+9
2016-10-11visualize qpi using kibana_dashboardSerenaFeng5-2/+99
JIRA: QTIP-122 Change-Id: Ice29c0a841e911b23959c91322331c5a66281be5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11Merge "Add export functions to reporting"Morgan Richomme3-8/+123
2016-10-11always config conf.js in kibana_dashboardSerenaFeng3-16/+9
JIRA: FUNCTEST-507 Change-Id: Iad6000ccc94285bd8be03939eb2e83d7f254a887 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11Merge "refactor dashboard_construct"Serena Feng4-124/+123
2016-10-10refactor dashboard_constructSerenaFeng4-124/+123
JIRA: FUNCTEST-506 Change-Id: Ib80e35140ce4f759749a932ca3b8b49572378d79 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-10Add export functions to reportingMorgan Richomme3-8/+123
JIRA: FUNCTEST-486 Change-Id: I84ad52f12097bbc5976c754d28ebc76d49b1eff2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-10Merge "separate visualization building from dashboard building"Serena Feng7-173/+225
2016-10-10separate visualization building from dashboard buildingSerenaFeng7-173/+225
JIRA: RELENG-155 Change-Id: I19355898d5dc5ef73fcfe4ebaf4604c4bf1e8f10 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-09Installer adaptersjose.lausuch9-0/+606
This tool might be used by any project in OPNFV to retrieve information about the deployed OpenStack nodes. It is python based and using paramiko. It can: - get info about deployment - get the info about the nodes (ip, mac, ...) - stablish ssh connection even with ProxyCommand option - run remote commands - scp to/from nodes (i.e. fetch credentials from controller) Added FuelAdapter as an example. JIRA: RELENG-149 JIRA: RELENG-150 Change-Id: I49d8be96d754e0950e337aa2f88172341446fdd4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-10-09refactor _verify_documentSerenaFeng1-86/+71
JIRA: FUNCTEST-505 Change-Id: I284c3e09b295c083300fa8a557bdb8178ded1521 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-06create nice reporting landing pagesMorgan Richomme69-0/+8811
Change-Id: I91f897f7be9112e8abc71069bff2882a75bc40cf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-05Merge "use template to build Kibana dashboard"Morgan Richomme2-89/+100
2016-10-05Merge "Add dots in trend line"Morgan Richomme2-0/+13
2016-10-03Add dots in trend lineMorgan Richomme2-0/+13
JIRA: FUNCTEST-483 Change-Id: I014faccf9358fff5c47d4be6f4d8f55fd7133691 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-02I will figure out how to add a check for this laterAric Gardner1-0/+1
Change-Id: I52b2c9f8bcc56f69d6479b85dc6210665e27b26b Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-09-30use template to build Kibana dashboardSerenaFeng2-89/+100
JIRA: FUNCTEST-502 Change-Id: Iac9cc762cff3585e76d2861524e831eb0dc5e773 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>