summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2015-12-22fix docs-build.sh bug in rst checksRyota MIBU1-9/+12
After [1] merged, docs-build.sh cannot check and edit rst files to add revision into source files. Build error can be found in [2]. This patch fixes this bug. [1] https://gerrit.opnfv.org/gerrit/#/c/4659 [2] https://build.opnfv.org/ci/job/opnfv-docs-verify-master/211/console Change-Id: I506d85341d665a1e2c854ab5965ef3abffa31446 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-22Merge "fix doc-build.sh to support referring to other dirs"Ryota MIBU1-10/+13
2015-12-21Allow doc-build.sh to ignore D000 of doc8Ryota MIBU1-1/+1
http://lists.opnfv.org/pipermail/opnfv-tech-discuss/2015-December/007286.html Change-Id: Icfdb356566918b7d5c55fbf5eb24b4c8570d32f4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-17fix doc-build.sh to support referring to other dirsRyota MIBU1-10/+13
In [1], we found that current doc-build.sh cannot create document when the main index.rst referring to rst file in another folder. The reason is current script only copies target src folder under the working directory. This patch fix this bug by making doc-build.sh to copy all src files in the original directory structure. Then, all file links (import) can work properly. Error message for '_sha1_' is modified to drop directory info, but developer can find a bad file path from grep output. [1] https://gerrit.opnfv.org/gerrit/#/c/4353 Change-Id: I1d840b8a887306539f97321570f289ac25055a88 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-16update doc-build.sh to allow multiple depth of dirRyota MIBU1-1/+34
In our new documentation guideline, we suggest to create documentation directory just in one depth from top 'docs' directory. This rule can make sure there is no name collision. However, some projects are already using multiple depth of documentation directories. So, let's allow them to create their documents without any namespace collision by creating unique names from directory path. Change-Id: I7806abd00be56b0a4811b3d17216495e11bca825 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-14Adding doc8 check against rst filesRyota MIBU1-0/+22
This patch adds checks for trailing whitespace or length (> 120) in rst files. If there is any violation, the result will be posted on gerrit as jenkins comment, but won't turn the job failed. JIRA: RELENG-26 JIRA: RELENG-27 Change-Id: I9261e3d91921877a95eafe0a650d8da46304ef40 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-09Add status virtual case for Functest dashboardMorgan Richomme1-4/+4
use static value to start, KPI shall be processed according to real results.. JIRA: FUNCTEST-111 Change-Id: I3aa43be36815b99e3a92923e6df3154d83c09b19 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-09add joid to fetch_osMorgan Richomme1-0/+5
temp implementation: do nothing, rely on volume declared during the creation of the docker file JIRA: FUNCTEST-97 Change-Id: I8c2e935ab8a72b5593d68236b9573b380a61dcfa Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-08Add chmod 600 to id_rsa ssh key before scp to Instack VM when fetching credsjose.lausuch1-0/+3
Change-Id: I7cb34330dbfaa94ac5b8d2efd9df6f257eccfa6c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-08Fix ssh issues when fetching the creds of Instack VM (Apex)jose.lausuch1-1/+1
JIRA:RELENG-61 Change-Id: I879fa009d53b6ea586b1fd04c52a7c3c23918427 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-07Add Apex installer in fetch_os_credentials.shjose.lausuch1-26/+37
JIRA:RELENG-61 Change-Id: I9017118a42f0794ac34ef03e6788366322ffd550 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-02Merge "remove test_cases info in project description"Morgan Richomme1-1/+0
2015-12-02remove test_cases info in project descriptionMorgan Richomme1-1/+0
JIRA: RELENG-59 Change-Id: I73246d475b5607832c733026a76bd78d7e50af9e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-01Merge "update builder script and how-to-use-docs"Ryota MIBU1-0/+124
2015-11-30Add tool to backup Mongo tables and postman collection as sampleMorgan Richomme2-0/+1185
JIRA: RELENG-7 Change-Id: Ib06c814fed7e808adbb913dbaf340044f27548b6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-30update builder script and how-to-use-docsRyota MIBU1-0/+124
Change-Id: Ia65ebe61c174dc4129d32148d71505c2a2caf480 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-26Fix chown in jenkins slave connection scriptFatih Degirmenci1-1/+1
Change-Id: Ib5e317f17f3ba2eef3c4f0948739f83a13968c6a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-11-23Merge "Add new jjb macros instead of docu-build-new.sh"Ryota MIBU1-114/+0
2015-11-22Merge "Integrate vsperf with opnfv_test_dashboard"Morgan Richomme1-0/+121
2015-11-20Fix jenkins user losing its group memberships when slave connected using monitFatih Degirmenci1-3/+3
JIRA: RELENG-53 Change-Id: Id19f748e125eb8c439560b42de4f5e1ab8e9553f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-11-20Add new jjb macros instead of docu-build-new.shRyota MIBU1-114/+0
This patch adds new jjb macros equivalent to docu-build-new.sh which is not bash script and includes the both functions of builder and publisher in the single file. Change-Id: Ie078e1d62d56e593e634f7e9633386ba90bf45de Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-20Merge "add vIMS for dahsboard"Morgan Richomme2-6/+124
2015-11-19add vIMS for dahsboardMorgan Richomme2-6/+124
JIRA: FUNCTEST-64 Change-Id: I344c3a882d64acdcd310decf015f234964faeb5a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-19Merge "[functest] modify releng/utils/fetch_os_creds.sh to adapt compass"Morgan Richomme1-6/+4
2015-11-19Add PDF creation in docu-build-new.shRyota MIBU1-7/+12
This patch adds PDF creation into the default document build script (utils/docu-build-new.sh), and also fixes default config file to avoid numfig issue. JIRA: RELENG-16 Change-Id: I6326d444cdc88e0ca6a748d7e3a9779b4321e57c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-19Integrate vsperf with opnfv_test_dashboardRadek Zetik1-0/+121
All the test projects generate results in different format. The goal of a testing dashboard is to provide a consistent view of the different tests from the different projects. We need to enable the data collection for VSPERF, in other words VSPERF pushes data using a REST API. JIRA: VSPERF-112 Change-Id: I5d31a0fcca9fa932ceab398fe5da073966a8809f Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
2015-11-17[functest] modify releng/utils/fetch_os_creds.sh to adapt compassmeimei1-6/+4
JIRA: COMPASS-158 Change-Id: I3b242f7902e7bd6c7079053bfad3b9405d559bdb Signed-off-by: meimei <meimei@huawei.com>
2015-11-11Functest docker build script path correctedjose.lausuch1-1/+1
JIRA: FUNCTEST-78 Change-Id: I90923c8e1a6354292f14921bcfe9ff4601eed717 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-10Script to calculate the version of an OPNFV objectjose.lausuch1-0/+131
This script calculates and outputs the version of the given object: - docker images - artifacts JIRA: RELENG-52 Change-Id: I770dc0acc60ced19e77746584d4d3c484f55223e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-03Small fixes to ownership, test mode.Aric Gardner1-4/+9
Make sure that java connection runs in foregrond if script is run in test mode Make sure slave.jar is owned by jenkinsuser so that it can be updated Change-Id: I919eaf841569f1540f2a3f026f4a87064bda1b45 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-11-03Script to configure monit for jnlp slave connectionsAric Gardner1-0/+177
added optargs added test mode to test connection without monit Creates and/or updates monit config Updates slave.jar before each connection Monit will restart slave connection if it drops. detects distro can generate a help desk email template if firewall not open JIRA: RELENG-42 Change-Id: I237eda32ac59a57202811bc1d0c7ce29010ac71d Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-10-28fix format method (case sensitive)Morgan Richomme1-1/+1
JIRA: FUNCTEST-87 Change-Id: I6ba9a17401480556b19a0918119d554d8b1871ce Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-28Yardstick test results reformat for DashboardQiLiang1-0/+210
JIRA: YARDSTICK-132 Change-Id: Ibfb78e1341fdfe3a877765dd17445f5677a37b0f Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-10-19create post processing for Tempest testMorgan Richomme1-0/+43
JIRA: FUNCTEST-56 Change-Id: I4bfaa80ed2e93c89062a95db014a9a445c6a53de Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-19add dashboard method to test result collection APIMorgan Richomme6-2/+345
+ add new fields in pod section JIRA: RELENG-45 Change-Id: I8e833207b7014d7fd07769af415a4892b9e9d924 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-16Script to get the type of SDN controllerjose.lausuch1-0/+125
This script goes through all the OpenStack controllers checking if there is Karaf container running, and if so, it will ask what type of SDN controller it is running. JIRA: FUNCTEST-49 Change-Id: I9fe800700b9458c1a0f05b9b6a6bbb2716d27954 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-14Do not check key in json fileMorgan Richomme1-1/+2
to avoid warning due to . in key in Rally reports JIRA: RELENG-47 Change-Id: I204714311b9838ec09086950504046be7a29339d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-08Updates for result_collection_apiGuy Rodrigue Koffi5-30/+143
- pod identification : RELENG-33 - add filters on results : RELENG-32 / RELENG-31 - fix bugs on db connection Change-Id: Ie720bb8028e5bfabd914c57df323b81d40c47fcd Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
2015-09-21Test to skip lab-reconfig.Peter Bandzi1-0/+2
Both deployers should have similar network requirement. If it wokrks ok we can disable reconfig job in jjb. JIRA: OCTO-109 Change-Id: I75e3cc8d92ac9a3c0288cf6289449f232b1d1aad Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-09-21Install fuel-plugin-builder pip for fuel-odl-plugin buildFatih Degirmenci1-1/+0
This change also includes these - Remove unnecessary dependency from lab-reconfig venv - Rename fuel-opendaylight-plugin-build builder to fuel-odl-plugin-build Change-Id: I04e3966c7826b1517878d2f311dfc4d7d9bc8fa6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-09-18Bugfix: Fix lab reconfig issue by moving fuel dependency installation to ↵Fatih Degirmenci1-10/+0
master node ODL plugin build dependency installation was incorrectly put into lab-reconfig which runs on master node. This change moves the dependency installation into fuel-odl-plugin-build builder which runs on jumphost. Change-Id: Ic353cabeabb0a98fcdb8b2f94ababbbc79d3e963 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-09-18New job for Fuel Plugin BuildSzilard Cserey2-0/+11
Update of Fuel Deploy job - for fetching the newly build Fuel Plugin Change-Id: I983f4244739370510012ddf6445667f53def3734 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
2015-09-16Merge "fix POD id type in API"Fatih Degirmenci1-1/+1
2015-09-16fix POD id type in APIMorgan Richomme1-1/+1
the pod_id are defined as int but the APi sent a string, then the API was not working well when filtering on pod_id we may discuss if a string description would not be more explicit than an id JIRA: RELENG-7 Change-Id: Ib53263f379047bc4214926f966e40e797e42314e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-09-10Add document generation job for dovetail projectAric Gardner1-0/+109
Moved docu-build-new.sh to utils. hoping I can include it from here to avoid duplication Change-Id: I80359036c954e70268b1a3e63c9b0855551be710 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-09-08Bugfix: corrected fetch credentials for foreman installerjose.lausuch1-2/+3
JIRA: FUNCTEST-43 Change-Id: Id820ef2b2cd248dbc7baa6887312ae90a301a8a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-09-07Add external config support to result_collection_apiGuy Rodrigue Koffi4-20/+104
JIRA : RELENG-7 Change-Id: I2b68aac3e903b237f500bad91e3625aaf57bfdaf Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
2015-09-02Fix minor bugs for result_collection_apigrkoffi4-29/+36
JIRA : RELENG-7 Change-Id: Id3cda0a0a73fcf1d05de751a7f48bbae2145fbf4 Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
2015-08-27Revert "source creds retrieved dynamically by the script"Morgan Richomme1-1/+0
This reverts commit d72b560c1fa16780f1760c243d05fcb669e515c0.
2015-08-27source creds retrieved dynamically by the scriptMorgan Richomme1-0/+1
so far we just cat them and source them in the functest part. It is better to keep all the creds related action in the fetch creds scripts JIRA: FUNCTEST-42 Change-Id: I4c422237398baf13a1af73232a74bd36f82faca7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>