summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
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>
2015-08-25Update result_collection_apigrkoffi7-0/+863
Fix lines length regarding pep8. Add new handlers for cases and results and HTTP methods to projects. JIRA : RELENG-7 Change-Id: Idc7c0868384d29f28bccc78540edfb02ae1dfbaf Signed-off-by: grkoffi <koffirodrigue@gmail.com>
2015-08-18Reboot servers if they are in power-off statePeter Bandzi1-1/+14
Also sleep value increased to 10. We don't need so many cycles. JIRA: OCTO-109 Change-Id: Ia956c77328bc12943e4bd0c4a0d4979ff500c2a2 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-08-14Add exit code 1 when script failsPeter Bandzi1-0/+2
JIRA: OCTO-109 Change-Id: Id0cc879514ae55f448658968b49a6219f47f03e1 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-08-14add an option "compass" in fetch_os_creds.shm001331421-0/+27
JIRA: COMPASS-9 Change-Id: I8df14c81eb4ef02b6a02e01f2d0f57acbb6c102b Signed-off-by: m00133142 <meimei@huawei.com>
2015-08-04Adding boot-policy reconfigurationPeter Bandzi3-76/+106
JIRA: OCTO-109 Change-Id: I430ee78b0749775ac437358c1bc2dfd3c6e55f71 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-07-24Add acknowledgment of reboot if neededPeter Bandzi3-6/+83
add MAC list which is used for NICs JIRA: OCTO-109 Change-Id: I803c3dd4ff7a860efdbae0954502c1e5a833dd9a Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-07-23Fixes python version to be 2.7 for lab-reconfig scriptsTim Rozet1-3/+8
JIRA: OCTO-109 Change-Id: I87535d0f786a90776a0fc0e1f3964f110a7a74a6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-22Script for reconfiguring UCS networkPeter Bandzi5-0/+239
Script will reconfigure POD-2 network for foreman or fuel Networ is specified in yaml file. Template must be created on UCS. JIRA: OCTO-109 Change-Id: I375a387c7607eb5dea126812569d8e19fda0c5c0 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-06-30Get vars from env for fetch_os_creds.shFatih Degirmenci1-1/+5
The vars needed by script is set from env if they're available. Default destination is set to $HOME/opnfv-openrc.sh JIRA: FUNCTEST-16 Change-Id: I92e4498d342f784f9ffdea7a87546b4fbacc09f7 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-06-30fetch_os_creds.sh : small correction for Fuel to grab the public API correctlyjose.lausuch1-2/+2
JIRA: FUNCTEST-16 Change-Id: I6a8d1ff2a58c599cd84426d580024bd962fae51f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-06-29Added script to fetch the OpenStack credentials file for Fuel and Foremanjose.lausuch1-0/+139
JIRA: FUNCTEST-16 Example FUEL: ./fetch_os_creds.sh -d $HOME/creds -i fuel -a 10.20.0.2 Example Foreman: ./fetch_os_creds.sh -d $HOME/creds -i foreman -a 172.30.10.73 Change-Id: I4bddfad43f6200572615da66915822b3dc2f3957 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>