functest.git
7 years agoAdd stable/brahmaputra as defaultbranch 61/20461/1 stable/brahmaputra
Cédric Ollivier [Tue, 6 Sep 2016 13:40:33 +0000 (15:40 +0200)]
Add stable/brahmaputra as defaultbranch

Change-Id: I7e153fbe7b7859a0801a4b33889e899390b9271f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoFix Rally version 43/14143/1
Juha Kosonen [Sat, 14 May 2016 17:03:02 +0000 (17:03 +0000)]
Fix Rally version

Use Rally version 0.3.3 instead of the latest in repo.

JIRA: FUNCTEST-230

Change-Id: If2af8190d16e26c8bee27749e03fec4c046d596b
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoAllow rally to use existing glance image 47/14047/1
Ciprian Barbu [Thu, 14 Apr 2016 12:06:58 +0000 (15:06 +0300)]
Allow rally to use existing glance image

This allows to use a prebuilt glance image without deleting it after the test.
For ARM platforms this is especially helpful because the test image is
three-part and can be created before running any tests.

Change-Id: Ia79f519d10fc9155ab2fb44a3e427ae3bb1ce399
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
8 years agoAllow vping to use existing glance image 93/13493/1
Ciprian Barbu [Wed, 30 Mar 2016 13:49:34 +0000 (16:49 +0300)]
Allow vping to use existing glance image

This allows to use a prebuilt glance image without deleting it after the test.
For ARM platforms this is especially helpful because the test image is
three-part and can be created before running any tests.

Change-Id: I3bc16eab592b9ad629693c402466755b6fa6db8a
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
(cherry picked from commit 4830cbe462c1081906292b027073644904e42970)

8 years agoFunctest - documentation small corrections 53/13453/1
David Blaisonneau [Fri, 29 Apr 2016 14:58:25 +0000 (16:58 +0200)]
Functest - documentation small corrections

Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
(cherry picked from commit a1df84c2e9f4883ebc4565bbbb7f378f70eea184)

Change-Id: Ic66b5f1dcb0413021929bac58f7d8456789cdbc1

8 years agoAdd a step to enable docker run without sudo 51/13451/1
David Blaisonneau [Fri, 29 Apr 2016 08:00:43 +0000 (10:00 +0200)]
Add a step to enable docker run without sudo

Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
(cherry picked from commit 29dc5482608c8504e9becbc6dabb92f32d55d696)

Change-Id: Ia9ef8d17935707e525005d1b67ccb8d58a25f522

8 years agoExecute successive scenarios after task failure 39/13439/1
Juha Kosonen [Fri, 29 Apr 2016 13:23:12 +0000 (13:23 +0000)]
Execute successive scenarios after task failure

Log the result of task validation and proceed executing next rally
scenario when the current task start-up fails.

JIRA: FUNCTEST-230

Change-Id: I5544a9559636f671035578f9cc5cf6f934bcbcd8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 4bdb6ed6d41aed8763f22aa84155ac810569deb1)

8 years agoPrepare Brahmaputra 3.0 release 37/12737/1 brahmaputra.3.0
Morgan Richomme [Tue, 26 Apr 2016 16:35:16 +0000 (18:35 +0200)]
Prepare Brahmaputra 3.0 release

Change-Id: I12530573ff6cac7764e169225e130d46455ce54f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 385be28ce7c48928361d1ec70c54cb2c73450f9e)

8 years agobug fix: fix regex to allow vping_ssh on all the scenarios 23/12723/1
Morgan Richomme [Wed, 27 Apr 2016 13:28:11 +0000 (15:28 +0200)]
bug fix: fix regex to allow vping_ssh on all the scenarios

regression introduced with bgpvpn case

JIRA: FUNCTEST-231

Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUpdate python-openstackclient to version 2.3.0 47/12347/1
jose.lausuch [Fri, 15 Apr 2016 13:32:45 +0000 (15:32 +0200)]
Update python-openstackclient to version 2.3.0

Change-Id: Ic9e68ade15e93f76d17db715c5790eaa31b49209
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years ago[BGPVPN] Exclude vims and vping_ssh from testlist 25/12325/2
Nikolas Hermanns [Fri, 15 Apr 2016 09:54:40 +0000 (11:54 +0200)]
[BGPVPN] Exclude vims and vping_ssh from testlist

Since vims and vping_ssh are meant to fail for
bgpvpn scenario we will exclude them
from testlist.

Change-Id: Id9da6fdd3d9a1d7c1fb5c7fb1379c13720af34af

8 years ago[BGPVPN] Use system wide installation of tempest 29/12329/3
Nikolas Hermanns [Fri, 15 Apr 2016 11:19:39 +0000 (13:19 +0200)]
[BGPVPN] Use system wide installation of tempest

Since rally setup tempest system-wide now
we do not integrate with the virtual env
of tempest anymore.

Change-Id: Ia5f132371c4eb0b67ac84bf044b349480195f633
(cherry picked from commit 8e2969f2137764a4a1b27d01d82b4d9babcdc519)

8 years agoAdding Apex able to run BGPVPN tests 19/12319/1
Nikolas Hermanns [Fri, 15 Apr 2016 07:37:03 +0000 (09:37 +0200)]
Adding Apex able to run BGPVPN tests

Change-Id: Ia346f5843fc4a1242c9a60f4dbe07e54c4920f46

8 years ago[BGPVPN] Remove odl-vpnservice test cases 39/12139/1
Nikolas Hermanns [Mon, 11 Apr 2016 10:39:50 +0000 (12:39 +0200)]
[BGPVPN] Remove odl-vpnservice test cases

The odl-vpnservice test cases are meant to be
tested in the mini-net setup. We would need to
change our enviroment under test to include
mini-net to be able to run this tests.

Since this is not wanted we remove the test
cases.

Change-Id: Ic916e1e89d54fea78371bc566d8428141949e412

8 years ago[BGPVPN] Bugfix for /etc/tempest/ no there 33/12133/1
Nikolas Hermanns [Mon, 11 Apr 2016 09:35:55 +0000 (11:35 +0200)]
[BGPVPN] Bugfix for /etc/tempest/ no there

Change-Id: I0dbbbf486e97c202eba2b4b38d877a836942759b

8 years agoTry configdrive in vping userdata test case 77/11477/1
carey.xu [Tue, 22 Mar 2016 02:11:28 +0000 (10:11 +0800)]
Try configdrive in vping userdata test case

JIRA: FUNCTEST-158

Change-Id: Ic4205a4a7d125bc2b160403daf5e577d6d29c34f
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
(cherry picked from commit 43f0967f0966c63e6176885abc1b0a396387ad59)

8 years agoFix support for CACERT and set OS_INSECURE=true 31/11431/1
jose.lausuch [Fri, 18 Mar 2016 11:25:33 +0000 (12:25 +0100)]
Fix support for CACERT and set OS_INSECURE=true

JIRA: FUNCTEST-145

Change-Id: If8fce037117d7c7d16d08a558d0675cbfe5f9836
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Fix pip install in Dockerfile" into stable/brahmaputra
Morgan Richomme [Fri, 18 Mar 2016 13:57:04 +0000 (13:57 +0000)]
Merge "Fix pip install in Dockerfile" into stable/brahmaputra

8 years agoFix pip install in Dockerfile 29/11429/1
jose.lausuch [Fri, 18 Mar 2016 13:40:58 +0000 (14:40 +0100)]
Fix pip install in Dockerfile

NOTE: This fix is just in stable/brahmaputra because
it has been fixed in master together with new features
that don't have to part of stable branch

Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRevert "Checkout the Latest stable Tempest" 23/11423/1
Nikolas Hermanns [Fri, 18 Mar 2016 13:32:23 +0000 (13:32 +0000)]
Revert "Checkout the Latest stable Tempest"

This reverts commit af8b4ca46eb0baa867a8cbc3731debc28e31890b.

Change-Id: I85d4201b862cec02092df4ffe969cdbe11c1d923

8 years agoCheckout the Latest stable Tempest 15/11415/1
Nikolas Hermanns [Fri, 18 Mar 2016 09:01:13 +0000 (10:01 +0100)]
Checkout the Latest stable Tempest

To not consume any unstable tempest
we checkout the latest stable
version.

Change-Id: I5a0a29a12bf6e3205988df2151b2f3b6477904f2
(cherry picked from commit fd95510eb2caa63ec1613b271fb620f9c66e2278)

8 years agoAdd exception handling for output processing 41/11341/1
Juha Kosonen [Tue, 15 Mar 2016 12:20:17 +0000 (12:20 +0000)]
Add exception handling for output processing

Handle the exception if parsed result in report cannot be converted to a
numeric value.

JIRA: FUNCTEST-149

Change-Id: Ibb259abdaa800761ee8dd2270c6bc2529081242d
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit d9d32a3f3f45b4f9008201e82235b33910e0f7f6)

8 years agoMerge "Add support for SSL endpoints in Functest" into stable/brahmaputra
Morgan Richomme [Tue, 8 Mar 2016 13:22:46 +0000 (13:22 +0000)]
Merge "Add support for SSL endpoints in Functest" into stable/brahmaputra

8 years agoAdd support for SSL endpoints in Functest 75/10975/1
jose.lausuch [Fri, 4 Mar 2016 09:49:56 +0000 (10:49 +0100)]
Add support for SSL endpoints in Functest

JIRA: FUNCTEST-145

Change-Id: I051f1b71fda251e57d70f147433b9f038d30e7f9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit d0a5214093293a2295038b0810fe776723895bc0)

8 years agoRally and Tempest pre-installed in the Docker image. 73/10973/1
jose.lausuch [Fri, 4 Mar 2016 13:23:31 +0000 (14:23 +0100)]
Rally and Tempest pre-installed in the Docker image.

Also, upgrade Rally to version 0.3.1

JIRA: FUNCTEST-147

Change-Id: I6aa15a7c282462058b7786c7dc7174d48c905d3a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit def1634a5b8a2c8ca794fa878394234a8ebb3468)

8 years agoAdd Proxy section in the config guide 05/10805/1 brahmaputra.1.0
jose.lausuch [Thu, 25 Feb 2016 12:13:07 +0000 (13:13 +0100)]
Add Proxy section in the config guide

Change-Id: I887ef72d3298c83bc623f478de9e4317827d91d0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit c5e191cabe0a8215ed3975fb5c06c1cb15fdb158)

8 years agoFix Dockerfile to use proper bashrc file for the alias 'll' 93/10793/1
jose.lausuch [Thu, 25 Feb 2016 11:53:02 +0000 (12:53 +0100)]
Fix Dockerfile to use proper bashrc file for the alias 'll'

Change-Id: I7236fa9f00b8f0200f910ac4833c58237f66aef2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 851834d0fe59639aeb261c71b9b561eb6d3de563)

8 years agoSamll corrections in the config guide 89/10789/1
jose.lausuch [Thu, 25 Feb 2016 11:06:00 +0000 (12:06 +0100)]
Samll corrections in the config guide

Change-Id: I02d7db461ed3380d9127e3e01d7f99d4ddb8151c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 9a63f6bf5387d44723220595c584680921c16713)

8 years agoremove ref to Opencontrail 85/10785/1
Morgan Richomme [Thu, 25 Feb 2016 10:59:36 +0000 (11:59 +0100)]
remove ref to Opencontrail

Change-Id: I3e77711b3a5380f87f305006a397d73f5b0945c4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 697b59a403acecc6c98461823ceead5d4fef5ca1)

8 years agoUpdates and fixes in the Config Guide 79/10779/1
jose.lausuch [Thu, 25 Feb 2016 10:42:12 +0000 (11:42 +0100)]
Updates and fixes in the Config Guide

Change-Id: I71474490e18fcf33b70766cb4446ade2d58a80b8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 9536d72755a80023154b712667ac622b286a1425)

8 years agoAdd release note 67/10767/1
Morgan Richomme [Thu, 25 Feb 2016 08:58:09 +0000 (09:58 +0100)]
Add release note

Change-Id: Id01c349e89d77be6dc783afcd8d41478aa0bedbb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 40053a1f779096ff25710d6c020389693d6418b2)

8 years agoUpdates and fixes to the user guide 23/10723/1
jose.lausuch [Thu, 25 Feb 2016 08:00:00 +0000 (09:00 +0100)]
Updates and fixes to the user guide

Change-Id: I42198bbdf4f9e6f6f337761b6ff6900c4bb7f171
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 94dbd87d341ed72beb975b4b7b76135ea52d3b17)

8 years agodocs: fix pdf creation bug in userguide 13/10713/1
Ryota MIBU [Thu, 25 Feb 2016 07:14:34 +0000 (16:14 +0900)]
docs: fix pdf creation bug in userguide

Change-Id: I3fa1c98a43c8952700cef1deea0e0731158d99e2
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
(cherry picked from commit 139d2ed0874af3447ec80db5fc81227a130953f6)

8 years agominor fix on format + add doctor references 01/10701/1
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>
(cherry picked from commit 3ed935546cf0e3f74362cffdd59d796ac7f4e2ab)

8 years agoFix tables in the troubleshooting guide 35/10635/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>
(cherry picked from commit ad50b6b1284bd0e799c1f12e3d779f6970ff646f)

8 years agoAdd rally troubleshooting guide 27/10627/1
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>
(cherry picked from commit fd7cee7f8629c46bd2d2f7671ed9f98f55932a26)

8 years agoAdd vPing troubleshooting guides 21/10621/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>
(cherry picked from commit d2775f8d819b357d8b64de48f97ad58871d9ea22)

8 years agoAdjusting the heading level for composite doc rendering. 17/10617/1
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>
(cherry picked from commit c2ad2cc5eead2f8a4047871572a2490ec434fa73)

8 years agoFix Doc errors detected in opnfv-docs-verify and add license 03/10603/1
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>
(cherry picked from commit 9f02fb0b914b52336d04a5e8e25102a828fe6191)

8 years agoChange table format 01/10601/1
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>
(cherry picked from commit 331f246f2b8be355ecf07e3e207b66e124af3799)

8 years agoFix formatting for compass and joid scenarios 85/10585/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>
(cherry picked from commit fa2cbbcd065997bfd0712f01b432864ffa06e2e2)

8 years agoCorrect rst formatting for fuel scenarios and set proper order 81/10581/1
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>
(cherry picked from commit 9de85e7fcd1fa33982fd494d2f7b6e169eef8b91)

8 years agoAdd doctor results to apex-odl-l2 scenario 73/10573/1
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>
(cherry picked from commit a6fab7def0699971dbb7396ca7f18d2cccbc54bb)

8 years agoAdd the missing scenario results to the doc html page 71/10571/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>
(cherry picked from commit 58356df02d77f3ed53237ff0d1a210d3d836f69a)

8 years agoAdd result docs for apex, compass, joid 63/10563/1
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>
(cherry picked from commit 2232cdeef8c076455a81068fe8ab5aa66f2f517a)

8 years agoAdd fuel scenarios test report 35/10535/1
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>
(cherry picked from commit a71539a6ff0f9691a8f14c44b3bd8edb5997c904)

8 years agoFix differences in stable/brahmaputra 19/10519/1
jose.lausuch [Tue, 23 Feb 2016 14:36:18 +0000 (15:36 +0100)]
Fix differences in stable/brahmaputra

Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMoving testusage.rst to introduction.rst to avoid being pulled into the userguide. 17/10517/1
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>
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd compass onos and odl_l2 scenario 13/10513/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>
(cherry picked from commit 2515014f340542d0f39e1ea516314ddb5fb86c0a)

Change-Id: I9331aec4fb2548e15a37f63da6190ad490d5b8e6

8 years agoremove "print" in tempest to avoid having a message "None" in the output 55/10455/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>
(cherry picked from commit f937af8864c6fe6d392c9b9766df98d164c64459)

8 years agoCreate troubleshooting guide as a separate .rst 53/10453/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>
(cherry picked from commit a931c6fe03313fac0cb1374acad2d753670328bf)

8 years agoAdd git support for Doctor repo in config_functest.yaml 85/10385/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>
(cherry picked from commit e0e52cec1e43491714f0ce078a7722e2cc3d9fca)

8 years agoFix message outputs taken from the console log in vPing_ssh 81/10281/1
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>
(cherry picked from commit 8960264f843abd8c261b0effe9014d1be5cd4dae)

8 years agoCorrected using of echo command 65/10265/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>
(cherry picked from commit 78fd590723f24a723fe8ab32bf992b80f0956f25)

8 years agoRemove network failed message check form vping_ssh 23/10223/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>
(cherry picked from commit 4789710123718723adbc84ab6445ac141e074a9b)

8 years agoAdd VI and alias support in the docker container 97/10197/1
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>
(cherry picked from commit 80ddf6005f1e1afbcbc3183f2a0ced1a66fdfe8b)

8 years agoRelease floating ip after vPing_ssh test 29/10129/1
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>
(cherry picked from commit 62131c3f53e66b6305bdd163037d452483821cfd)

8 years agoCreate vPing_userdata instances with dynamic ports created by nova/neutron 03/10103/1
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>
(cherry picked from commit 81892929f7fc0949b08eb79c93583658a2b87c50)

8 years agoCreate vPing instances with dynamic ports created by nova/neutron 97/10097/1
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>
(cherry picked from commit 12c1b110e91b2c062b378561f3fb271fe0626aec)

8 years agoRally live migration case selection 73/9873/1
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>
(cherry picked from commit 1d62586d396d948c523fb0b0e351ae162e7fdc6b)

8 years agoAdd result overview and onos-nosdn-ha scenario reults 61/9861/1
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>
(cherry picked from commit 6e424590b9e3129ffc2801df9b23b7313126389e)

8 years agodocs: add userguide file for the central doc 59/9859/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>
(cherry picked from commit 3bdc2171d87e61da1589fe238c6fa6ed5981ffe5)

8 years agoAdding a structure for the reporting of test cases for functest 11/9811/1
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>
(cherry picked from commit 75bfd472302483a201a48eb18c69447343f83b75)

8 years agobug fiw syntax when calling push to db from vIMS 93/9793/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>
(cherry picked from commit b577ceda844c7fae4b2991b12a335f34fcf9cd73)

8 years agoAdd project in push_to_db function of functests utils to allow external project onboa... 87/9787/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>
(cherry picked from commit 9812bf270c6ef1a5f0582bd8be3c5a3776e73960)

8 years agoPush results without extra formating 81/9781/1
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>
(cherry picked from commit 4c2674593f1bf6f093bbdc5de41241e46bfcbe14)

8 years agoEnadled --serial option for run_tests.sh 77/9777/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>
(cherry picked from commit 66df82a76334015e3e2d25ddcc22b343b110320c)

8 years agoBugfix add "fi" at the end of the if-else statement in run_tests.sh 55/9755/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>
(cherry picked from commit 188aef4912beee7a8eb87272de1500a1bded99f0)

8 years agoAdd -n|--no-clean flag to vPing,Tempest,Rally,vIMS scripts 43/9743/1
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>
(cherry picked from commit abc81e24d33b9bf8d2f8fb05dc5f5f57443abe93)

8 years agoRename the vPing scripts proplery and adapt documentation 33/9733/1
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 agoDoc updates 21/9721/1
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>
(cherry picked from commit e637e75435587014cb99edbc57e79970095d0464)

8 years agoCreate Rally summary report also for verbose mode 13/9713/1
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>
(cherry picked from commit 945aff5ef35837170fc09953b83cfb6081a1edad)

8 years agoPush rally summary results into DB 09/9709/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>
(cherry picked from commit 96f4bbb9aef2b4d3a8bda16b82a06157c110d2e9)

8 years agoRemove obsolete public network definitions 43/9643/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>
(cherry picked from commit 41eaec87fe939a8511dc6c0ec63976b53cbf5578)

8 years agoCreate Rally output summary at the end of the tests 41/9641/1
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>
(cherry picked from commit 76ee625343b28868ca7c6c6108ee974bb57dbea8)

8 years agodoctor: adds logger 13/9613/1
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>
(cherry picked from commit fc19da3f029594b4e0a72bfe11b66d0ed76f0ff4)

8 years agoupdate doc 11/9611/1
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>
(cherry picked from commit 6ab2ccb7071f1d4925f25344d4b4a29d0525d935)

8 years agoUsed sed instead of crudini for updating regex 89/9589/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>
(cherry picked from commit 8d7f1158885ca2d880811747b07f34ab50d2031d)

8 years agoMerge "enable doctor test scenario" into stable/brahmaputra
Morgan Richomme [Mon, 8 Feb 2016 10:59:38 +0000 (10:59 +0000)]
Merge "enable doctor test scenario" into stable/brahmaputra

8 years agoenable doctor test scenario 09/9509/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>
(cherry picked from commit f91f448317ea36ce5c790bcac345dfdcefbe1fb7)

8 years agoAdded configuration of ssh_user_regex parameter 07/9507/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>
(cherry picked from commit 04cf934e24b0f7e0c53125711b4e98c14d54f049)

8 years agoReduce the number of iterations to ten in rally scenarios 27/9427/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>
(cherry picked from commit 01608c214878c19c9f01c60e1b08e106a5d684cf)

8 years agoupdate user guide 99/9399/1
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>
(cherry picked from commit c348fa9a9dcd8fd4fb4d83b36d441e3c949af390)

8 years agoImport request python module for promise test case 75/9275/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>
(cherry picked from commit b0e19118c80d694820dd75c53001e0b9563061a9)

8 years agoFix success status parsing of rally results 53/9253/1
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>
(cherry picked from commit 5cf9b7fe8f380f6315e656527b90778c2d91a95c)

8 years agoUse python json parser to get the results form the Promise json report 37/9237/1
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>
(cherry picked from commit 75149a9d278b5a969606ad182fff580c08e37d6c)

8 years agobug fix: get installer using functest_utils 87/9187/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>
(cherry picked from commit a6a3af39986e61f5f7c9094befec41fd753610d5)

8 years agoFIX:use 'info' after sourcing the common.sh 21/9121/2
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>
(cherry picked from commit 778325ba0b725ab524ffb1944140e3e555dcfd5d)

8 years agoFIX: sleep 3 second to release create_venv.sh from chmod command 29/9129/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 agoShow Promise results output and push results to DB 25/9125/1
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>
(cherry picked from commit 17baf4a83e8b9962281ed230e75c362047c34487)

8 years agoConsider volumes and floatingips as defaults in clean_openstack 23/9123/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>
(cherry picked from commit 16038f444c1e80006e13b72cb0597976a0b2f92e)

8 years agoCreate security groups with ICMP and SSH rules for vPing tests 71/9071/1
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>
(cherry picked from commit ab3413a15aeb3b3669da94fa383ec07212eeb915)

8 years agobug fix to run tempest and minor display error in run_test.sh 69/9069/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>
(cherry picked from commit 86c95df05ef125218f392748a177d2f9aa79848f)

8 years agoReport vPing timeouts to the DB with duration = 0 and test status=NOK 37/9037/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>
(cherry picked from commit 5bb53025a593bbda834ef6ad325faba5aa073f7f)

8 years agoRemove error message if instance is not found 29/9029/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>
(cherry picked from commit 7dd58acc208727aaed83807f065dedcc899b0137)

8 years agoSmall improvements with output messages 21/9021/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>
(cherry picked from commit ac0d556e54a09b5a3470b20384ac58f7ed383202)

8 years agoUse openstack client to avoid keystone deprecation warnings 17/9017/1
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>
(cherry picked from commit 906b3b2f7e85f1269d009684b1a557a6c19e96bc)

8 years agoUse generate_defaults instead of os_defaults fixed parameters 09/9009/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>
(cherry picked from commit 47635924e6def36be3c44a047d91018e47a439eb)

8 years agoUse promise-flavor if exists and don't try to create it again 31/8931/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>
(cherry picked from commit 81d7877b7f124f393c929e3a862e64125218e945)

8 years agoAdd script to generate the OpenStack defaults 25/8925/1
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>
(cherry picked from commit 954907ac2995cfc158d5e363829af7c776be5f90)