functest.git
8 years agoMerge "minor fix on format + add doctor references"
Morgan Richomme [Thu, 25 Feb 2016 07:05:23 +0000 (07:05 +0000)]
Merge "minor fix on format + add doctor references"

8 years agoFix tables in the troubleshooting guide 33/10633/1
jose.lausuch [Wed, 24 Feb 2016 17:55:06 +0000 (18:55 +0100)]
Fix tables in the troubleshooting guide

Change-Id: I1e1f741cc17961d5ff4542884b51b6fb81530560
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd rally troubleshooting guide 23/10623/4
jose.lausuch [Wed, 24 Feb 2016 17:14:31 +0000 (18:14 +0100)]
Add rally troubleshooting guide

Change-Id: If964d6270d5574d9e249bf42ecfb00669c224df6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add vPing troubleshooting guides"
Morgan Richomme [Wed, 24 Feb 2016 17:03:13 +0000 (17:03 +0000)]
Merge "Add vPing troubleshooting guides"

8 years agominor fix on format + add doctor references 15/10615/5
Morgan Richomme [Wed, 24 Feb 2016 16:29:04 +0000 (17:29 +0100)]
minor fix on format + add doctor references

Change-Id: I0e2d1d56557eef2940ee033bfe482ea89ae1c83f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd vPing troubleshooting guides 19/10619/1
jose.lausuch [Wed, 24 Feb 2016 16:57:42 +0000 (17:57 +0100)]
Add vPing troubleshooting guides

Change-Id: I47ff023d720b4348ecb465ca6c3fa4653d3ab2f8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdjusting the heading level for composite doc rendering. 13/10613/2
ChristopherPrice [Wed, 24 Feb 2016 16:21:01 +0000 (17:21 +0100)]
Adjusting the heading level for composite doc rendering.

Change-Id: Ib73ffdff9c08a5e34b85c9a73f7878f3ae15974b
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoMerge "Fix Doc errors detected in opnfv-docs-verify and add license"
jose.lausuch [Wed, 24 Feb 2016 15:08:38 +0000 (15:08 +0000)]
Merge "Fix Doc errors detected in opnfv-docs-verify and add license"

8 years agoFix Doc errors detected in opnfv-docs-verify and add license 87/10587/10
jose.lausuch [Wed, 24 Feb 2016 13:15:10 +0000 (14:15 +0100)]
Fix Doc errors detected in opnfv-docs-verify and add license

Some changes taken from https://gerrit.opnfv.org/gerrit/#/c/10595/1

Change-Id: I39f295841c3a89b24e74b7ee613c9da4b223ccab
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoChange table format 93/10593/7
Morgan Richomme [Wed, 24 Feb 2016 13:56:54 +0000 (14:56 +0100)]
Change table format

Change-Id: I051208e31ba58ffe241725302cdcb5f662c1899e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoFix formatting for compass and joid scenarios 83/10583/1
jose.lausuch [Wed, 24 Feb 2016 12:44:02 +0000 (13:44 +0100)]
Fix formatting for compass and joid scenarios

Change-Id: I74309a19ff33462ee549cfd8d43e8046907044dc
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCorrect rst formatting for fuel scenarios and set proper order 77/10577/4
jose.lausuch [Wed, 24 Feb 2016 10:37:59 +0000 (11:37 +0100)]
Correct rst formatting for fuel scenarios and set proper order

Change-Id: If9f59e36eb39db97a206f5e3e715b144aeef7fe8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add doctor results to apex-odl-l2 scenario"
Morgan Richomme [Wed, 24 Feb 2016 09:50:07 +0000 (09:50 +0000)]
Merge "Add doctor results to apex-odl-l2 scenario"

8 years agoAdd the missing scenario results to the doc html page 67/10567/1
jose.lausuch [Wed, 24 Feb 2016 09:33:15 +0000 (10:33 +0100)]
Add the missing scenario results to the doc html page

Removed those who won't be part of SR0. We can add them when
they get the green light

Change-Id: I463e22a32b77f3b12994f72a71f5441b76b7fbcd
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd doctor results to apex-odl-l2 scenario 65/10565/2
jose.lausuch [Wed, 24 Feb 2016 09:07:18 +0000 (10:07 +0100)]
Add doctor results to apex-odl-l2 scenario

Change-Id: I56661f953fab0275b089f718ac22c7403f9cfc71
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add result docs for apex, compass, joid"
Morgan Richomme [Wed, 24 Feb 2016 08:49:34 +0000 (08:49 +0000)]
Merge "Add result docs for apex, compass, joid"

8 years agoAdd result docs for apex, compass, joid 27/10527/7
Morgan Richomme [Tue, 23 Feb 2016 16:00:14 +0000 (17:00 +0100)]
Add result docs for apex, compass, joid

Change-Id: I3124c6128c4222410514b08e32d6815cb7f60ace
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd fuel scenarios test report 07/10507/4
jose.lausuch [Tue, 23 Feb 2016 12:56:53 +0000 (13:56 +0100)]
Add fuel scenarios test report

Removed those which won't be part of the  release

Change-Id: I99c837d367de8d2bc4ac6f32d2d20fa8bb731759
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMoving testusage.rst to introduction.rst to avoid being pulled into the userguide. 57/10457/2
ChristopherPrice [Tue, 23 Feb 2016 10:02:58 +0000 (11:02 +0100)]
Moving testusage.rst to introduction.rst to avoid being pulled into the userguide.

Change-Id: I96bc3bd578ccb19b0aac2af2f2134619e476605f
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoMerge "remove "print" in tempest to avoid having a message "None" in the output"
Morgan Richomme [Tue, 23 Feb 2016 09:53:47 +0000 (09:53 +0000)]
Merge "remove "print" in tempest to avoid having a message "None" in the output"

8 years agoremove "print" in tempest to avoid having a message "None" in the output 49/10449/1
jose.lausuch [Tue, 23 Feb 2016 09:36:12 +0000 (10:36 +0100)]
remove "print" in tempest to avoid having a message "None" in the output

Change-Id: If2008fa7ed1bce1b5acc40cad82c21afa55ec4e5
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreate troubleshooting guide as a separate .rst 41/10441/1
jose.lausuch [Tue, 23 Feb 2016 08:58:45 +0000 (09:58 +0100)]
Create troubleshooting guide as a separate .rst

Change-Id: I2d5a1544e7c07dbc164b5d7403318ccafe75e5c1
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd git support for Doctor repo in config_functest.yaml 79/10379/1
jose.lausuch [Mon, 22 Feb 2016 11:51:02 +0000 (12:51 +0100)]
Add git support for Doctor repo in config_functest.yaml

Change-Id: I10ad0dc6cd6697a2a93f5e11edcdd69f70f86c5f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix message outputs taken from the console log in vPing_ssh 79/10279/2
jose.lausuch [Fri, 19 Feb 2016 10:09:02 +0000 (11:09 +0100)]
Fix message outputs taken from the console log in vPing_ssh

Change-Id: Id169167d90d60b8266913a8451699969abb4ef7c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCorrected using of echo command 63/10263/1
Viktor Tikkanen [Fri, 19 Feb 2016 07:45:04 +0000 (09:45 +0200)]
Corrected using of echo command

Full path of echo is needed when using -e option in Docker file.
Otherwise -e will be output as part of the string.

Change-Id: Ic226209a3ef5dac991ccae996f6e7afa0061fccf
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoRemove network failed message check form vping_ssh 21/10221/1
jose.lausuch [Thu, 18 Feb 2016 15:04:22 +0000 (16:04 +0100)]
Remove network failed message check form vping_ssh

Change-Id: I72d97af3ddd76f698ce54918cf92f98c8f5a7fd4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd VI and alias support in the docker container 53/10153/4
jose.lausuch [Wed, 17 Feb 2016 15:19:04 +0000 (16:19 +0100)]
Add VI and alias support in the docker container

When editing a file with VI in the container, the
keyboard is not properly setup. This options will
help to do things more smoothly..

Change-Id: I4c9004a4df067d7bbb558461dd98d76e32e64591
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRelease floating ip after vPing_ssh test 19/10119/8
jose.lausuch [Wed, 17 Feb 2016 09:30:01 +0000 (10:30 +0100)]
Release floating ip after vPing_ssh test

Also, check the console to see if the instance fails
when sending the discover to the dhcp agent

Change-Id: I314051886b9580a42bb88f2d88a9bdbf2a9e198a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreate vPing_userdata instances with dynamic ports created by nova/neutron 99/10099/2
jose.lausuch [Tue, 16 Feb 2016 21:54:06 +0000 (22:54 +0100)]
Create vPing_userdata instances with dynamic ports created by nova/neutron

Change-Id: I1808763f6ccf1ac90b8a696c48ecdfba03d782fb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreate vPing instances with dynamic ports created by nova/neutron 05/9805/8
jose.lausuch [Thu, 11 Feb 2016 15:26:20 +0000 (16:26 +0100)]
Create vPing instances with dynamic ports created by nova/neutron

Also,
- check if the used network is already created to not create it again
- check if the image already exists to not create it again
- check if the sec group already exists to not create it again

Change-Id: I243619a1538444d836fdda84a86b834668aaf456
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add compass onos and odl_l2 scenario"
Jose Lausuch [Tue, 16 Feb 2016 09:52:56 +0000 (09:52 +0000)]
Merge "Add compass onos and odl_l2 scenario"

8 years agoRenaming the description text to include in composite docs. 45/10045/1
ChristopherPrice [Tue, 16 Feb 2016 09:26:44 +0000 (10:26 +0100)]
Renaming the description text to include in composite docs.

testusage.rst will be automatically pulled into the composite docs.
I have updated the heading and included a link to the functest userguide.

Change-Id: I9ff980f8c33898cc43570b4d544a1dc2d5219222

8 years agoAdd compass onos and odl_l2 scenario 09/9909/1
mrichomme [Fri, 12 Feb 2016 20:55:12 +0000 (21:55 +0100)]
Add compass onos and odl_l2 scenario

Signed-off-by: mrichomme <morgan.richomme@orange.com>
8 years agoMerge "Rally live migration case selection"
Jose Lausuch [Fri, 12 Feb 2016 16:26:01 +0000 (16:26 +0000)]
Merge "Rally live migration case selection"

8 years agoRally live migration case selection 67/9867/2
Juha Kosonen [Fri, 12 Feb 2016 15:43:11 +0000 (15:43 +0000)]
Rally live migration case selection

Execute live migration cases only if the feature is enabled in Tempest configuration file.

Change-Id: Ie88da2a8f6a4e22cbc96d6aa1f749d555ac58d84
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoMerge "Add result overview and onos-nosdn-ha scenario reults"
Morgan Richomme [Fri, 12 Feb 2016 14:26:36 +0000 (14:26 +0000)]
Merge "Add result overview and onos-nosdn-ha scenario reults"

8 years agoMerge "docs: add userguide file for the central doc"
Morgan Richomme [Fri, 12 Feb 2016 14:04:42 +0000 (14:04 +0000)]
Merge "docs: add userguide file for the central doc"

8 years agoAdd result overview and onos-nosdn-ha scenario reults 23/9823/9
Morgan Richomme [Thu, 11 Feb 2016 17:48:54 +0000 (18:48 +0100)]
Add result overview and onos-nosdn-ha scenario reults

Change-Id: I5978d06dc2f991630a6fd3ebfb8c20c5f8978b1b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Adding a structure for the reporting of test cases for functest"
Morgan Richomme [Thu, 11 Feb 2016 16:08:11 +0000 (16:08 +0000)]
Merge "Adding a structure for the reporting of test cases for functest"

8 years agoAdding a structure for the reporting of test cases for functest 45/9745/3
ChristopherPrice [Wed, 10 Feb 2016 17:29:52 +0000 (18:29 +0100)]
Adding a structure for the reporting of test cases for functest

The structure builds on an index.rst in the results folder.
The results are seperated inot specific files for each scenario.
All scenarios are commented out at this time and we can add them when ready.
Not all scenario files have template text at this time.  (have to run, wanted to push this)

Change-Id: Iaff140a5e8106f19d15d23f937f6dd27453a5680
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agobug fiw syntax when calling push to db from vIMS 91/9791/1
Morgan Richomme [Thu, 11 Feb 2016 13:25:02 +0000 (14:25 +0100)]
bug fiw syntax when calling push to db from vIMS

Change-Id: I79ce10993c5a21fcb840681efd364ad2dc366e50
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd project in push_to_db function of functests utils to allow external project onboa... 83/9783/1
Morgan Richomme [Thu, 11 Feb 2016 10:29:51 +0000 (11:29 +0100)]
Add project in push_to_db function of functests utils to allow external project onboarded in Functest to push their results

Change-Id: I3a065e6ce82b1a87bbd07810f13df7d146655933
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Push results without extra formating"
Morgan Richomme [Thu, 11 Feb 2016 09:37:14 +0000 (09:37 +0000)]
Merge "Push results without extra formating"

8 years agoPush results without extra formating 79/9779/2
Morgan Richomme [Thu, 11 Feb 2016 08:04:31 +0000 (09:04 +0100)]
Push results without extra formating

Change-Id: I70713a30cec556ca7cd32122b9c10cf4c1732c3f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoEnadled --serial option for run_tests.sh 75/9775/1
Viktor Tikkanen [Thu, 11 Feb 2016 07:04:30 +0000 (09:04 +0200)]
Enadled --serial option for run_tests.sh

It could be useful to execute e.g. Tempest test cases in a single
thread in order to troubleshoot possible concurrency problems.

Change-Id: I5e5fc190fb4483ff075a8f837a8d4116ece90c80
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoBugfix add "fi" at the end of the if-else statement in run_tests.sh 53/9753/1
jose.lausuch [Wed, 10 Feb 2016 20:39:54 +0000 (21:39 +0100)]
Bugfix add "fi" at the end of the if-else statement in run_tests.sh

Change-Id: I14945cf335803936043ab71dff93250577bc6601
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd -n|--no-clean flag to vPing,Tempest,Rally,vIMS scripts 41/9741/2
jose.lausuch [Wed, 10 Feb 2016 17:14:52 +0000 (18:14 +0100)]
Add -n|--no-clean flag to vPing,Tempest,Rally,vIMS scripts

Use --no-clean flag in run_tests.sh to tell the test scripts to cleanup
or not the resources

Change-Id: I597eca5199e1eaf16b1f03a223222d33e4adf170
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRename the vPing scripts proplery and adapt documentation 25/9725/4
jose.lausuch [Wed, 10 Feb 2016 13:38:08 +0000 (14:38 +0100)]
Rename the vPing scripts proplery and adapt documentation

Change-Id: Idb498eb7cefd938006661f42f1bf1772395d9d47
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Doc updates"
Morgan Richomme [Wed, 10 Feb 2016 13:25:59 +0000 (13:25 +0000)]
Merge "Doc updates"

8 years agoDoc updates 53/9653/4
jose.lausuch [Tue, 9 Feb 2016 17:29:01 +0000 (18:29 +0100)]
Doc updates

- Some clarifications, rephrasing
- Remove more statements related to the DB
- Add more info for vPing
- Add more info about clean defaults

Change-Id: I12e97443852dc38a23bda589945ca0333a37e410
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreate Rally summary report also for verbose mode 11/9711/4
jose.lausuch [Wed, 10 Feb 2016 11:42:26 +0000 (12:42 +0100)]
Create Rally summary report also for verbose mode

Also:
- Fix percentage format of summary
- Get the percentage from the row 'total'

JIRA: FUNCTEST-134

Change-Id: Ifb45523921b4096c3242578cf4ddc6b084e8bbb2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoPush rally summary results into DB 07/9707/1
Morgan Richomme [Wed, 10 Feb 2016 10:51:37 +0000 (11:51 +0100)]
Push rally summary results into DB

json produced by Rally are pushed to rally_details

Change-Id: I2f057093307cb395f5c5ffd42c3d228b05133a09
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Remove obsolete public network definitions"
Morgan Richomme [Tue, 9 Feb 2016 16:23:15 +0000 (16:23 +0000)]
Merge "Remove obsolete public network definitions"

8 years agodocs: add userguide file for the central doc 39/9639/1
Ryota MIBU [Tue, 9 Feb 2016 15:55:57 +0000 (00:55 +0900)]
docs: add userguide file for the central doc

See https://wiki.opnfv.org/documentation/userguide .

Change-Id: Id3786ca6d69b517e9dc8ddc96c9cf3a8cf3438ea
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoCreate Rally output summary at the end of the tests 31/9631/4
jose.lausuch [Tue, 9 Feb 2016 15:27:55 +0000 (16:27 +0100)]
Create Rally output summary at the end of the tests

Added template to start pushing results to DB

JIRA: FUNCTEST-134

Change-Id: Ibc04eae8478827146947df2bcf3460b8c7ef0bc7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRemove obsolete public network definitions 25/9625/1
Juha Kosonen [Tue, 9 Feb 2016 14:04:17 +0000 (14:04 +0000)]
Remove obsolete public network definitions

Use functest_utils.py routines in run_rally-cert.py to retrive external
network name instead of static definition in config_functest.yaml. Also
change the network name and id setting in task arguments.

Change-Id: Iced9e9a28e79d6ac6ddd2f9f593481949f5fc8a0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoMerge "doctor: adds logger"
Morgan Richomme [Tue, 9 Feb 2016 13:09:09 +0000 (13:09 +0000)]
Merge "doctor: adds logger"

8 years agoMerge "update doc - update external test cases - add chapter on push to DB"
Morgan Richomme [Tue, 9 Feb 2016 13:08:23 +0000 (13:08 +0000)]
Merge "update doc - update external test cases - add chapter on push to DB"

8 years agodoctor: adds logger 93/9593/2
Ryota MIBU [Tue, 9 Feb 2016 08:48:28 +0000 (17:48 +0900)]
doctor: adds logger

Change-Id: Idc9c0f17049b9e6d2d7a0b8dc2bf35778d3c29dd
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoupdate doc 53/9553/3
Morgan Richomme [Mon, 8 Feb 2016 17:35:18 +0000 (18:35 +0100)]
update doc
- update external test cases
- add chapter on push to DB

Change-Id: I10cd5c9583233604c8b8595f173c690f45124789
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUsed sed instead of crudini for updating regex 55/9555/1
Viktor Tikkanen [Mon, 8 Feb 2016 17:40:22 +0000 (19:40 +0200)]
Used sed instead of crudini for updating regex

It seems that crudini has limitations regarding quotation marks
so sed tool is used instead in order to replace ssh_user_regex
parameter into tempest.conf file.

Change-Id: I8587b3e6b0c15930407ab90bf05f00086348edf6
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoMerge "enable doctor test scenario"
Morgan Richomme [Mon, 8 Feb 2016 10:58:39 +0000 (10:58 +0000)]
Merge "enable doctor test scenario"

8 years agoMerge "Added configuration of ssh_user_regex parameter"
Morgan Richomme [Mon, 8 Feb 2016 10:54:24 +0000 (10:54 +0000)]
Merge "Added configuration of ssh_user_regex parameter"

8 years agoAdded configuration of ssh_user_regex parameter 05/9505/1
Viktor Tikkanen [Mon, 8 Feb 2016 10:42:32 +0000 (12:42 +0200)]
Added configuration of ssh_user_regex parameter

Some Rally versions don't set correctly SSH user name into
tempest.conf file so that e.g. test_server_basicops test case
of Tempest suite fails with "Please login as 'cirros' user,
not as root" error. This change ensures that correct SSH user
info will be used for Cirros images created by Rally.

Change-Id: I90dcad0024f2034ef3ed20d2c6981e675213558d
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoenable doctor test scenario 03/9503/1
Ryota MIBU [Mon, 8 Feb 2016 10:41:53 +0000 (19:41 +0900)]
enable doctor test scenario

Change-Id: If0e050e979d886fff436daa384a97a651a56aaa5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoMerge "Reduce the number of iterations to ten in rally scenarios"
Morgan Richomme [Fri, 5 Feb 2016 16:29:03 +0000 (16:29 +0000)]
Merge "Reduce the number of iterations to ten in rally scenarios"

8 years agoReduce the number of iterations to ten in rally scenarios 17/9417/1
Juha Kosonen [Fri, 5 Feb 2016 16:01:47 +0000 (16:01 +0000)]
Reduce the number of iterations to ten in rally scenarios

Change-Id: Ibefc3f5eeb57ff6a1daa0be26f482ed0376a0d40
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoupdate user guide 87/9287/3
Morgan Richomme [Thu, 4 Feb 2016 17:34:36 +0000 (18:34 +0100)]
update user guide
- change vIMS logs
- add Promise logs
- modify section on OpenStack audit (now dynamic)
- minor reformating of tables
- typos
- add troubleshooting section on vPing and vPing_userdata

JIRA: FUNCTEST-113

Change-Id: Ib29c4d5e2c4f10f64de764491fc536495b39ea3d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoImport request python module for promise test case 73/9273/1
jose.lausuch [Thu, 4 Feb 2016 14:25:38 +0000 (15:25 +0100)]
Import request python module for promise test case

Change-Id: I437766fe1c595a60a82af3c49a5eb29974e0da33
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Fix success status parsing of rally results"
Morgan Richomme [Thu, 4 Feb 2016 10:04:36 +0000 (10:04 +0000)]
Merge "Fix success status parsing of rally results"

8 years agoFix success status parsing of rally results 83/9183/2
Juha Kosonen [Wed, 3 Feb 2016 15:53:49 +0000 (15:53 +0000)]
Fix success status parsing of rally results

Change-Id: I6053bce6cc919af7ac34a16843b2583e45f01ac2
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoUse python json parser to get the results form the Promise json report 75/9175/9
jose.lausuch [Wed, 3 Feb 2016 15:17:04 +0000 (16:17 +0100)]
Use python json parser to get the results form the Promise json report

JIRA: FUNCTEST-68

Also, add sleep to let the promise instances terminate,
otherwise, clean_openstack will detect them while they
are still being removed and will fail.

Change-Id: I7a5543143758483eb1d7e06dbe4922e9f1e05cfb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRevert "bug fix: get installer using functest_utils" 85/9185/1
Morgan Richomme [Wed, 3 Feb 2016 15:57:53 +0000 (15:57 +0000)]
Revert "bug fix: get installer using functest_utils"

This reverts commit a6a3af39986e61f5f7c9094befec41fd753610d5.

Change-Id: I33d5d77ce166a324582a8f5ca11d75c5d9628c14

8 years agobug fix: get installer using functest_utils 53/9153/1
Morgan Richomme [Wed, 3 Feb 2016 10:36:58 +0000 (11:36 +0100)]
bug fix: get installer using functest_utils

JIRA: FUNCTEST-68

Change-Id: I0b4847f28ca77e171ca525b301b7bfa6cf366e94
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "FIX:use 'info' after sourcing the common.sh"
Morgan Richomme [Wed, 3 Feb 2016 08:26:06 +0000 (08:26 +0000)]
Merge "FIX:use 'info' after sourcing the common.sh"

8 years agoFIX: sleep 3 second to release create_venv.sh from chmod command 27/9127/1
grakiss [Wed, 3 Feb 2016 08:09:41 +0000 (03:09 -0500)]
FIX: sleep 3 second to release create_venv.sh from chmod command

sometimes vIMS failed to create venv for "Text file busy",it should
be a side effect of last command "chmod +x ..."

Change-Id: I6a94b644e89988efa92afc46e9fbdeb8564db89e
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
8 years agoMerge "Show Promise results output and push results to DB"
Morgan Richomme [Wed, 3 Feb 2016 07:46:42 +0000 (07:46 +0000)]
Merge "Show Promise results output and push results to DB"

8 years agoFIX:use 'info' after sourcing the common.sh 01/9101/1
grakiss [Wed, 3 Feb 2016 03:33:57 +0000 (22:33 -0500)]
FIX:use 'info' after sourcing the common.sh

Change-Id: I0572375d79983791970ece0d31ed2e3d7df8cfc3
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
8 years agoShow Promise results output and push results to DB 79/9079/4
jose.lausuch [Tue, 2 Feb 2016 18:35:43 +0000 (19:35 +0100)]
Show Promise results output and push results to DB

JIRA: FUNCTEST-68

Change-Id: Iecb1becee1fc788a7c854227a8c3ea2252898eba
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoConsider volumes and floatingips as defaults in clean_openstack 75/9075/1
jose.lausuch [Tue, 2 Feb 2016 18:05:56 +0000 (19:05 +0100)]
Consider volumes and floatingips as defaults in clean_openstack

Change-Id: I3ffc864768a7c474ee1063eecee1e2085de807b5
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Create security groups with ICMP and SSH rules for vPing tests"
jose.lausuch [Tue, 2 Feb 2016 17:27:05 +0000 (17:27 +0000)]
Merge "Create security groups with ICMP and SSH rules for vPing tests"

8 years agobug fix to run tempest and minor display error in run_test.sh 67/9067/1
Morgan Richomme [Tue, 2 Feb 2016 17:09:25 +0000 (18:09 +0100)]
bug fix to run tempest and minor display error in run_test.sh

Change-Id: Ic30bdd1c514aa8dcab37ba91de2f8879729a80a2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoCreate security groups with ICMP and SSH rules for vPing tests 65/9065/4
jose.lausuch [Tue, 2 Feb 2016 16:49:57 +0000 (17:49 +0100)]
Create security groups with ICMP and SSH rules for vPing tests

JIRA: FUNCTEST-133

Some installers don't allow icmp and TCP port 22 (SSH)
in the default security group. To avoid any dependency
with the installer, vPing will create its own security
group with those rules and delete it afterwards.

Change-Id: I6f31f21c240d80eed8bead638af51aa7e1e92aad
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoReport vPing timeouts to the DB with duration = 0 and test status=NOK 33/9033/1
jose.lausuch [Tue, 2 Feb 2016 12:59:56 +0000 (13:59 +0100)]
Report vPing timeouts to the DB with duration = 0 and test status=NOK

JIRA: FUNCTEST-132

Change-Id: Ida0c485504fd07db29b0c33ac59da6944da303a9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Remove error message if instance is not found"
Morgan Richomme [Tue, 2 Feb 2016 10:43:50 +0000 (10:43 +0000)]
Merge "Remove error message if instance is not found"

8 years agoRemove error message if instance is not found 23/9023/1
jose.lausuch [Tue, 2 Feb 2016 10:32:52 +0000 (11:32 +0100)]
Remove error message if instance is not found

Reason: vping calls this function until the VMs are deleted,
when that happens, it throws an exception and returns None,
which is fine, but the message error on the output is a
bit confusing if you don't know the context.

Change-Id: I8a4c408197d3c83151fb15a12387575d9fe1d553
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSmall improvements with output messages 19/9019/1
jose.lausuch [Tue, 2 Feb 2016 10:25:19 +0000 (11:25 +0100)]
Small improvements with output messages

Change-Id: I4c274df30bc3123bef23d5423a1762a07dd93e68
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoUse openstack client to avoid keystone deprecation warnings 13/9013/2
jose.lausuch [Tue, 2 Feb 2016 09:34:06 +0000 (10:34 +0100)]
Use openstack client to avoid keystone deprecation warnings

Change-Id: Ib82b3f20d0c23fc67201c7159e3b3a6de5c201cf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Use generate_defaults instead of os_defaults fixed parameters"
jose.lausuch [Tue, 2 Feb 2016 08:45:42 +0000 (08:45 +0000)]
Merge "Use generate_defaults instead of os_defaults fixed parameters"

8 years agoUse promise-flavor if exists and don't try to create it again 29/8929/1
jose.lausuch [Mon, 1 Feb 2016 17:29:24 +0000 (18:29 +0100)]
Use promise-flavor if exists and don't try to create it again

Change-Id: I02ba76acb02f9785d13ca9bcd61ebe1290fa1cd7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoUse generate_defaults instead of os_defaults fixed parameters 27/8927/1
jose.lausuch [Mon, 1 Feb 2016 17:08:56 +0000 (18:08 +0100)]
Use generate_defaults instead of os_defaults fixed parameters

JIRA: FUNCTEST-131

Running generate_defaults.py in prepare_env.sh (before running any test)
will create a file with the CURRENT OpenStack objects in
the deployment. After each test, the cleanup script will take into
consideration those parameters instead of the specified in
os_defaults.yaml

Keep os_defaults.yaml for the moment

Change-Id: I5f38fef47f0a6d79407d1d582b1e7d3713503e07
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add script to generate the OpenStack defaults"
Morgan Richomme [Mon, 1 Feb 2016 16:29:34 +0000 (16:29 +0000)]
Merge "Add script to generate the OpenStack defaults"

8 years agoAdd script to generate the OpenStack defaults 21/8921/4
jose.lausuch [Mon, 1 Feb 2016 15:55:59 +0000 (16:55 +0100)]
Add script to generate the OpenStack defaults

JIRA: FUNCTEST-131

It checks the existing Openstack objects in the current
deployment (i.e. when the script is executed) and it will
create a yaml file to be used afterwards by clean_openstack.

This way, a user can generate the defaults when needed if there
are things that are not meant to be deleted without fear of
using clean_openstack.

Change-Id: Iacf204bdd14f591df21b3f243d27199ead2404b0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoEnable all rally outputs in verbose mode 03/8903/1
Juha Kosonen [Mon, 1 Feb 2016 14:47:41 +0000 (14:47 +0000)]
Enable all rally outputs in verbose mode

In verbose mode the complete output of rally tests is shown.

Change-Id: I315c89b270312b13b3630b97cc24e5f529952645
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoAdding structure to pull content into central docs. 67/8667/4
ChristopherPrice [Fri, 29 Jan 2016 19:08:03 +0000 (20:08 +0100)]
Adding structure to pull content into central docs.

Including minor fixes and corrections.

Change-Id: I7c4bd9ca4f5fb35aeb2350096520c66b11aecbe8
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoMerge "use scenario instead of git info in version field of the test results"
Morgan Richomme [Mon, 1 Feb 2016 13:49:54 +0000 (13:49 +0000)]
Merge "use scenario instead of git info in version field of the test results"

8 years agoMerge "Add testcases results to DB"
Morgan Richomme [Mon, 1 Feb 2016 13:49:01 +0000 (13:49 +0000)]
Merge "Add testcases results to DB"

8 years agoMerge "Replace openstack single clients by python-openstackcclient"
Morgan Richomme [Mon, 1 Feb 2016 13:47:49 +0000 (13:47 +0000)]
Merge "Replace openstack single clients by python-openstackcclient"

8 years agoExport private net OS_TEST_NETWORK for Promise tests 73/8873/1
jose.lausuch [Mon, 1 Feb 2016 12:57:33 +0000 (13:57 +0100)]
Export private net OS_TEST_NETWORK for Promise tests

Change-Id: Ie2e83a049a98f8e63245c3b992ff379fd353a0be
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoReplace openstack single clients by python-openstackcclient 53/8853/1
jose.lausuch [Mon, 1 Feb 2016 09:57:45 +0000 (10:57 +0100)]
Replace openstack single clients by python-openstackcclient

Some projects like Promise need to use the openstack cli directly.
This requirement will also install automatically the following dependent clients:
python-cinderclient (1.5.0)
python-glanceclient (1.2.0)
python-keystoneclient (2.1.1)
python-neutronclient (4.0.0)
python-novaclient (3.2.0)
python-openstackclient (2.0.0)

Change-Id: I6836b8765364b30ae877ec4d1e8d88c8927b030d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>