functest.git
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)

8 years agoEnable all rally outputs in verbose mode 09/8909/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>
(cherry picked from commit e75f34706a8d72ee440d7f94363d4909a02f5293)

8 years agoAdding structure to pull content into central docs. 85/8885/1
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>
(cherry picked from commit 63c77f27ec173fc3684ed980e82a4a7ed97beb6b)

8 years agouse scenario instead of git info in version field of the test results 83/8883/1
Morgan Richomme [Mon, 1 Feb 2016 08:51:28 +0000 (09:51 +0100)]
use scenario instead of git info in version field of the test results

Change-Id: Ie80cc39e64d0fe70981623229560aa145df95c50
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 86728ad2ccfbea4a733b664aaafff0fcc22c4b0e)

8 years agoMerge "Add aodh default user for apex" into stable/brahmaputra
Morgan Richomme [Mon, 1 Feb 2016 13:49:38 +0000 (13:49 +0000)]
Merge "Add aodh default user for apex" into stable/brahmaputra

8 years agoAdd testcases results to DB 81/8881/1
lanqinglong [Mon, 1 Feb 2016 09:54:47 +0000 (17:54 +0800)]
Add testcases results to DB

Change-Id: Iada89aa690f6b3f1d041328b641620ceb0279912
(cherry picked from commit 817f19d6c668176d9e62ab4a3523585fcdd92b01)

8 years agoReplace openstack single clients by python-openstackcclient 79/8879/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>
(cherry picked from commit ff89aea46827ac2fc81429354ad28dfbb4c57fe3)

8 years agoExport private net OS_TEST_NETWORK for Promise tests 77/8877/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>
(cherry picked from commit cc8dd9e8092cc68484d8ad3422c97762658271e8)

8 years agoAdd aodh default user for apex 47/8847/1
jose.lausuch [Mon, 1 Feb 2016 09:29:18 +0000 (10:29 +0100)]
Add aodh default user for apex

Noticed here:
https://build.opnfv.org/ci/view/functest/job/functest-apex-opnfv-jump-1-daily-master/lastBuild/consoleFull

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

8 years agofix the bug of onos test report 87/8787/1
lanqinglong [Fri, 29 Jan 2016 12:05:46 +0000 (20:05 +0800)]
fix the bug of onos test report

Change-Id: I34a068f991b89af6c65c895c7e9e604eac5dadf6
(cherry picked from commit 38cb5f334a2acc034b9757eba68561d134da79fa)

8 years agoCopy tempest.conf to results dir to be uploaded to artifacts 71/8771/1
jose.lausuch [Fri, 29 Jan 2016 23:46:21 +0000 (00:46 +0100)]
Copy tempest.conf to results dir to be uploaded to artifacts

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

8 years agoCreate stdout and stderr files for Tempest results 97/8597/1
jose.lausuch [Fri, 29 Jan 2016 16:03:41 +0000 (17:03 +0100)]
Create stdout and stderr files for Tempest results

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

8 years agoAdd promise section from patch 8361 of Gerald 95/8595/1
Morgan Richomme [Fri, 29 Jan 2016 16:20:22 +0000 (17:20 +0100)]
Add promise section from patch 8361 of Gerald

Change-Id: I106239377020cedafa64ba58cbc765fd9dab7d61
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 1b268ef0cbf5324dffcd5c23ca2c36549ee2833a)

8 years agoEditorials 91/8591/1
Gerald Kunzmann [Fri, 29 Jan 2016 11:15:26 +0000 (12:15 +0100)]
Editorials

Addressing the doc8 warnings.
Fixes also the wrong image file path.
Some more bug fixing on indentation.
Addressing severe title level inconsistencies.

Change-Id: I9ca235205056bf78c8f370055d05b6c6b3b7367d
Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
(cherry picked from commit 1f5d8a36ce871b32aaf4a44102d4e11a67f074cf)

8 years agobugfix: self.logger 79/8579/1
boucherv [Fri, 29 Jan 2016 15:23:44 +0000 (16:23 +0100)]
bugfix: self.logger

Change-Id: I6e9b3a833f590831cddac83e00a6b8809410d2cb
Signed-off-by: boucherv <valentin.boucher@orange.com>
(cherry picked from commit feecd6ccf9231ffdb82ac6bb2b1dcbb8389e457c)

8 years agoMerge "Add some error result in result db api" into stable/brahmaputra
boucherv [Fri, 29 Jan 2016 13:18:48 +0000 (13:18 +0000)]
Merge "Add some error result in result db api" into stable/brahmaputra

8 years agoChange scenario start/result messages in run_rally-cert.py 61/8461/1
Juha Kosonen [Fri, 29 Jan 2016 10:26:06 +0000 (10:26 +0000)]
Change scenario start/result messages in run_rally-cert.py

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

8 years agoAdd some error result in result db api 57/8457/1
boucherv [Thu, 28 Jan 2016 15:30:47 +0000 (16:30 +0100)]
Add some error result in result db api

Change-Id: I1c5f9bc51c04e321ace8c0ee0312be28d321910f
Signed-off-by: boucherv <valentin.boucher@orange.com>
(cherry picked from commit 9ec86196a8e96fea966beef08c01b9c9822a9bc4)

8 years agoAdd scenario name to Rally result message 11/8411/1
Juha Kosonen [Thu, 28 Jan 2016 21:40:15 +0000 (21:40 +0000)]
Add scenario name to Rally result message

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

8 years agoChanged to use $(repos_dir) and removed # 09/8409/1
Stuart Mackie [Thu, 28 Jan 2016 17:32:14 +0000 (09:32 -0800)]
Changed to use $(repos_dir) and removed #

Change-Id: I6e4004aad2d55309b520647eee59608ee7fa66d7
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
(cherry picked from commit abfd2e7b94e4028e8ac032a5282f648b9dac08ec)

8 years agoUpdate doc 07/8407/1
Morgan Richomme [Wed, 20 Jan 2016 14:27:13 +0000 (15:27 +0100)]
Update doc

Change-Id: I415f090e38fa382e0c768758b4b82dd3a7c9294f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 7c5cfcf8085174066c35cfc39c4b6745a5819ecd)

8 years agoSmall typos fixes in functest_utils.py 51/8351/1
jose.lausuch [Thu, 28 Jan 2016 14:48:17 +0000 (15:48 +0100)]
Small typos fixes in functest_utils.py

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

8 years agoChange to logger.error when there is an error in clean_openstack 41/8341/1
jose.lausuch [Thu, 28 Jan 2016 16:11:32 +0000 (17:11 +0100)]
Change to logger.error when there is an error in clean_openstack

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

8 years agoRefactor functest_utils.py 13/8313/1
Juha Kosonen [Thu, 28 Jan 2016 12:32:36 +0000 (12:32 +0000)]
Refactor functest_utils.py

The order of volume type related functions and the error handling changed
to conform general approach used in functest_utils.py.

Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 09f1b2201aaee2c3deee5936c819089bcc86692b)

Change-Id: I1461380ae0c579e5557bf4bfec4ec68f2766ee40

8 years agochange for get joid onos ip 75/8275/1
lanqinglong [Thu, 28 Jan 2016 10:06:07 +0000 (18:06 +0800)]
change for get joid onos ip
(cherry picked from commit 03ec0a88e72ed6c2fdc2995d0c93d2c61f847ae3)

Change-Id: Ic6d420d855615ddf53de707c19771fffaba47bbf

8 years agoFollow change in joid use SDN_CONTROLLER_IP env var instead of ODL_CONTROLLER_IP 69/8269/1
Morgan Richomme [Thu, 28 Jan 2016 09:00:12 +0000 (10:00 +0100)]
Follow change in joid use SDN_CONTROLLER_IP env var instead of ODL_CONTROLLER_IP

Change-Id: I298cfdfe880c52a18580eb607294cf4c7f353e71
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 73f040dd4998cadfbaa7b0706a441ae6ce6f6ffc)

8 years agoMerge "Fix promise test output" into stable/brahmaputra
jose.lausuch [Thu, 28 Jan 2016 08:16:51 +0000 (08:16 +0000)]
Merge "Fix promise test output" into stable/brahmaputra

8 years agoReduce Rally output 51/8251/1
jose.lausuch [Thu, 28 Jan 2016 00:08:59 +0000 (01:08 +0100)]
Reduce Rally output

This patch intends to reduce the output of Rally test,
showing only the important information of the tests,
which is the scenario name and the table with results.
Showing the scenario json/yaml is unnecessary since it is
already in the repo.

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

8 years agoVolume type management moved from run_tests.sh to run_rally-cert.py 49/8249/1
Juha Kosonen [Wed, 27 Jan 2016 23:56:46 +0000 (23:56 +0000)]
Volume type management moved from run_tests.sh to run_rally-cert.py

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

8 years agoFix promise test output 07/8207/1
jose.lausuch [Wed, 27 Jan 2016 23:49:22 +0000 (00:49 +0100)]
Fix promise test output

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

8 years agoBugfix print arguments in functest_utils.py 01/8201/1
jose.lausuch [Wed, 27 Jan 2016 22:59:42 +0000 (23:59 +0100)]
Bugfix print arguments in functest_utils.py

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

8 years agoPrint json result file of Promise testcase 85/8185/1
jose.lausuch [Wed, 27 Jan 2016 14:20:49 +0000 (15:20 +0100)]
Print json result file of Promise testcase

JIRA: FUNCTEST-68

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

8 years agoRemove possible message "No handlers could be found for logger paramiko" 81/8181/1
jose.lausuch [Wed, 27 Jan 2016 12:13:56 +0000 (13:13 +0100)]
Remove possible message "No handlers could be found for logger paramiko"

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

8 years agoOption to redirect stderr output to a file for Tempest test 79/8179/1
jose.lausuch [Wed, 27 Jan 2016 13:56:39 +0000 (14:56 +0100)]
Option to redirect stderr output to a file for Tempest test

The output when we run Tempest from CI is too long
if there are many tests failing. This patch intends to
show only the test cases that passed/failed within a table.
If troubleshooting is needed, it will be a log file with all
the stderr in it.

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

8 years agoRefactor functest_utils.py script 77/8177/1
jose.lausuch [Wed, 27 Jan 2016 17:06:19 +0000 (18:06 +0100)]
Refactor functest_utils.py script

JIRA: FUNCTEST-129

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

8 years agoFUNCTEST-128 39/8139/1
CNlukai [Wed, 27 Jan 2016 10:18:15 +0000 (18:18 +0800)]
FUNCTEST-128
Modify the ssh output match

Change-Id: Ic21823781aa77bdc216dac4c048cd04884516a53
Signed-off-by: CNlukai <lukai1@huawei.com>
(cherry picked from commit 77e92f96dd56659d14d496d86d3814ea69fb2b3d)

8 years agoMerge "bug fix bad var affection when running ODL" into stable/brahmaputra
Morgan Richomme [Wed, 27 Jan 2016 09:54:54 +0000 (09:54 +0000)]
Merge "bug fix bad var affection when running ODL" into stable/brahmaputra

8 years agoFUNCTEST-127 25/8125/1
CNlukai [Wed, 27 Jan 2016 04:02:29 +0000 (12:02 +0800)]
FUNCTEST-127
FIx the condition judgment of vping

Change-Id: I58abace66fb73e0531affc651194473718dfacd5
Signed-off-by: CNlukai <lukai1@huawei.com>
(cherry picked from commit ecc77fad440a63627755e7ff042a98f34f3e9b75)

8 years agobug fix bad var affection when running ODL 21/8121/1
Morgan Richomme [Wed, 27 Jan 2016 09:26:36 +0000 (10:26 +0100)]
bug fix bad var affection when running ODL

Change-Id: I106f01928a2df71d5a46dad2087d767eb5bdf3d2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 5423e53c8c88fcdd62197671ac7e101bb952c783)

8 years agotypo fix on odl 17/8117/1
Morgan Richomme [Wed, 27 Jan 2016 08:56:18 +0000 (09:56 +0100)]
typo fix on odl

Change-Id: If761b7c38f38d3f2c691eab36b797ca7ce7ccb49
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 39724bcf9aef79aa8136863bd07a701b8df14489)

8 years agoAdd timeout in paramiko ssh command 65/8065/1
jose.lausuch [Tue, 26 Jan 2016 15:16:24 +0000 (16:16 +0100)]
Add timeout in paramiko ssh command

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

8 years agoAdd bgpvpn and odl_vpnservice in config_yaml 59/8059/1
Morgan Richomme [Tue, 26 Jan 2016 16:03:28 +0000 (17:03 +0100)]
Add bgpvpn and odl_vpnservice in config_yaml

Change-Id: I36f875efbb7a39b5b62937cb19c0e854a3a1e15c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 7e6dc039febd23ce7a4b2a27e5b8477ebf4d0a91)

8 years agoAdd more OS defaults for Fuel 8.0 51/8051/1
jose.lausuch [Tue, 26 Jan 2016 14:36:44 +0000 (15:36 +0100)]
Add more OS defaults for Fuel 8.0

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

8 years agoPatch ODL scenario to support joid (different keystone and neutron API IP) 47/8047/1
Morgan Richomme [Tue, 26 Jan 2016 14:03:44 +0000 (15:03 +0100)]
Patch ODL scenario to support joid (different keystone and neutron API IP)

JIRA: FUNCTEST-124

Change-Id: I84834fcb78e652f3b39696f0e17bf54cb5804559
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 1a40722cd446af5416029dc0f3b371a835fa444c)

8 years agoAdd function for Promise libraries pre-install 45/8045/1
jose.lausuch [Tue, 26 Jan 2016 10:34:14 +0000 (11:34 +0100)]
Add function for Promise libraries pre-install

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

8 years agoMerge "Replace 'No vPing detected' by a better understandable message" into stable...
Morgan Richomme [Tue, 26 Jan 2016 13:32:29 +0000 (13:32 +0000)]
Merge "Replace 'No vPing detected' by a better understandable message" into stable/brahmaputra

8 years agoAllow executing ODL test as many times as wanted on the same env 37/8037/1
jose.lausuch [Tue, 26 Jan 2016 13:18:24 +0000 (14:18 +0100)]
Allow executing ODL test as many times as wanted on the same env

Since the script add some lines to the file called __init__.robot
every time it executes, the next execution will add it again
which is unnecessary and it will fail.
This checks if those lines are already present and does nothing if so.

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

8 years agoReplace 'No vPing detected' by a better understandable message 35/8035/1
jose.lausuch [Tue, 26 Jan 2016 13:23:10 +0000 (14:23 +0100)]
Replace 'No vPing detected' by a better understandable message

Some people got confused about that message although the test succeded

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

8 years agoAdd whitespace in the vPing2 command 25/8025/1
jose.lausuch [Tue, 26 Jan 2016 12:50:41 +0000 (13:50 +0100)]
Add whitespace in the vPing2 command

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

8 years agoAdd missing directories env variables in common.sh 23/8023/1
jose.lausuch [Tue, 26 Jan 2016 11:30:56 +0000 (12:30 +0100)]
Add missing directories env variables in common.sh

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

8 years agoFix typo in requirements.pip 09/8009/1
jose.lausuch [Tue, 26 Jan 2016 11:03:14 +0000 (12:03 +0100)]
Fix typo in requirements.pip

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

8 years agoUse paramiko library to SSH and SCP the instances in vPing2 03/8003/1
jose.lausuch [Fri, 22 Jan 2016 16:19:35 +0000 (17:19 +0100)]
Use paramiko library to SSH and SCP the instances in vPing2

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

8 years agoRemove vPing_userdata and vIMS from onos scenario 01/8001/1
Morgan Richomme [Tue, 26 Jan 2016 10:25:21 +0000 (11:25 +0100)]
Remove vPing_userdata and vIMS from onos scenario

Change-Id: I8e9a8ccf78ae02f94840e440f36ebe7be1245dbb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 1b0826f0134ad1863453b3e416600818d4b84e12)

8 years agoAdd copy of packages.json to the features path before running npm install 91/7991/1
jose.lausuch [Mon, 25 Jan 2016 20:44:38 +0000 (21:44 +0100)]
Add copy of packages.json to the features path before running npm install

Also, replace REPO_PATH by FUNCTEST_REPO

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

8 years agoUse rally cert script 89/7989/1
jose.lausuch [Tue, 26 Jan 2016 09:00:10 +0000 (10:00 +0100)]
Use rally cert script

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

8 years agobugfix: syntax error 55/7955/1
meimei [Tue, 26 Jan 2016 03:27:05 +0000 (11:27 +0800)]
bugfix: syntax error

Change-Id: Ic068cd162e49abe4ce3ce0f184c224b65bfcfb6c
Signed-off-by: meimei <meimei@huawei.com>
8 years agoAdding BGPVPN and VPNSERVICE testcases 03/7903/1
Nikolas Hermanns [Fri, 15 Jan 2016 15:25:50 +0000 (16:25 +0100)]
Adding BGPVPN and VPNSERVICE testcases

This commit add the testcases to the testcase filter
and makes them run able from run_test.sh

Change-Id: I489687f4f011e77da63e3630b0e70f957b3343c5
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit ea4c222b385c93442a8d3cb4c5cf8747c21efdad)

8 years agoAdd support for Promise test cases 67/7867/1
jose.lausuch [Thu, 21 Jan 2016 12:58:48 +0000 (13:58 +0100)]
Add support for Promise test cases

JIRA: FUNCTEST-68

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

8 years agotest db migration 55/7855/1
Morgan Richomme [Mon, 25 Jan 2016 08:10:17 +0000 (09:10 +0100)]
test db migration

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

8 years agoFIX: args of push_result_to_db changed from git_version to version 43/7843/1
grakiss [Mon, 25 Jan 2016 01:05:03 +0000 (09:05 +0800)]
FIX: args of push_result_to_db changed from git_version to version

Change-Id: I00411286d19a8e8c3f659cff8e2f6ce6f8a0ccf9
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
(cherry picked from commit ad7a7a66e37a4cd31f46b2c753e7124ff16766ec)

8 years agobug fix: when running manually a test, get stuck in echo 45/7745/1
Morgan Richomme [Fri, 22 Jan 2016 16:14:27 +0000 (17:14 +0100)]
bug fix: when running manually a test, get stuck in echo

Change-Id: I0fd6c514b913a709289cabe44fed01a7ce5e953e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 996177900a5114ac48ce9f149773c0ada1efe8c2)

8 years agoRemoved unnecessary references to public subnet cidr 41/7741/1
Juha Kosonen [Fri, 22 Jan 2016 15:48:39 +0000 (15:48 +0000)]
Removed unnecessary references to public subnet cidr

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

8 years agoPut scenario in version field on the Test DB (rather that git indication) 27/7727/1
Morgan Richomme [Fri, 22 Jan 2016 14:17:42 +0000 (15:17 +0100)]
Put scenario in version field on the Test DB (rather that git indication)

Change-Id: I22f7ff3841d7fca637e400d92926d2e1b1755371
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 59063638116508f7ce4f7612def938bb9eb0e938)

8 years agoAdded --no-clean option for run_tests.sh 17/7717/1
Viktor Tikkanen [Fri, 22 Jan 2016 10:25:41 +0000 (12:25 +0200)]
Added --no-clean option for run_tests.sh

Previously all the OpenStack resources (networks, VMs etc.)
created by user were deleted after executing tempest, vims
and rally test cases with run_tests.sh script.

New --no-clean option can be used for preserving resources
created by user so that the tests can be run also in setups
with deployed stacks.

Change-Id: I8c9505acf955c54b2b837d8ca916dc729c97bbca
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
(cherry picked from commit dce18f616c5c0bf019f72c68c872570f26d2978b)

8 years agoMerge "modify onos functest to suit joid CI" into stable/brahmaputra
Morgan Richomme [Fri, 22 Jan 2016 08:47:20 +0000 (08:47 +0000)]
Merge "modify onos functest to suit joid CI" into stable/brahmaputra

8 years agomodify onos functest to suit joid CI 97/7697/1
lanqinglong [Fri, 22 Jan 2016 02:35:41 +0000 (10:35 +0800)]
modify onos functest to suit joid CI

Change-Id: Ib73d80e06042c849f8f627b252b28c2fb95a283d
(cherry picked from commit cc0375241d59e2c010e6c9e04040187478dc5533)

8 years agoPush ODL results to DB 95/7695/1
Morgan Richomme [Thu, 21 Jan 2016 16:29:09 +0000 (17:29 +0100)]
Push ODL results to DB

JIRA: FUNCTEST-57

Change-Id: I8e998382aff0cc60e82338c27d234abe6be5c505
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 3883923445f5d11e2939865e08438f10f18bc6a9)

8 years agoAdd control to redirect rally stderr 97/7597/1
Juha Kosonen [Thu, 21 Jan 2016 08:26:47 +0000 (08:26 +0000)]
Add control to redirect rally stderr

By default rally stderr output is suppressed. Option --verbose enables
the output by redirecting it to stdout.

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

8 years agoAdd default admin_floating for Fuel 8.0 87/7587/1
jose.lausuch [Wed, 20 Jan 2016 15:32:30 +0000 (16:32 +0100)]
Add default admin_floating for Fuel 8.0

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

8 years agoTemp solution to workaround the problem with pip when installing tempest 75/7575/1
jose.lausuch [Thu, 21 Jan 2016 09:12:44 +0000 (10:12 +0100)]
Temp solution to workaround the problem with pip when installing tempest

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

8 years agoCheck if rally image already exist and don't create it again if so 79/7479/1
jose.lausuch [Wed, 20 Jan 2016 14:39:29 +0000 (15:39 +0100)]
Check if rally image already exist and don't create it again if so

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

8 years agoadd doc of onos usergide 53/7453/1
lanqinglong [Wed, 20 Jan 2016 08:46:53 +0000 (16:46 +0800)]
add doc of onos usergide

Change-Id: I5d401d84dc3a84054a60470d65ee7ed20235b112
(cherry picked from commit 6a7a338199a82fc4f8bd246f2208a20e6bc54341)

8 years agoDetect if userdata is not supported by nova in vPing-userdata test 51/7451/1
jose.lausuch [Wed, 20 Jan 2016 11:34:49 +0000 (12:34 +0100)]
Detect if userdata is not supported by nova in vPing-userdata test

Also, reduce the number of output messages from every second to every 10 sec

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

8 years agocreate 2 vPing scenario:vping and vping-userdata 25/7425/1
Morgan Richomme [Wed, 20 Jan 2016 10:01:59 +0000 (11:01 +0100)]
create 2 vPing scenario:vping and vping-userdata

the new vping scenario does not use the userdata/cloudinit functions

JIRA: FUNCTEST-3

Change-Id: Ia535a50a9cfd50d520b87c2dd9195747a61b0f1f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 4475765f05a24e14f1d90db28941ff5ba5ca1be7)

8 years agoAdded vPing2 using SCP and SSH instead of nova userdata 07/7407/1
jose.lausuch [Tue, 19 Jan 2016 10:53:39 +0000 (11:53 +0100)]
Added vPing2 using SCP and SSH instead of nova userdata

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

8 years agoModify ONOS CI running 25/7325/1
lanqinglong [Tue, 19 Jan 2016 15:10:58 +0000 (23:10 +0800)]
Modify ONOS CI running

Change-Id: I4b662b494c6c488d8643ec459a949b781ba3374a
Signed-off-by: lanqinglong <lanqinglong@huawei.com>
(cherry picked from commit 16e9bf66c5737e725a09064783599eb94e215095)

8 years agoAdd mention to apache 2 license in Functest files and remove unused files 05/7305/2
Morgan Richomme [Tue, 19 Jan 2016 10:48:39 +0000 (11:48 +0100)]
Add mention to apache 2 license in Functest files and remove unused files

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

8 years agoEnsure nameserver ip works 97/7297/1
boucherv [Tue, 19 Jan 2016 13:13:43 +0000 (14:13 +0100)]
Ensure nameserver ip works

Change-Id: I380b69bcfa79873fbde3412ab994f9c34c4b9ac2
Signed-off-by: boucherv <valentin.boucher@orange.com>
(cherry picked from commit 4dc35c36e80521b0fe0ca6ab528d2c4e062b2a12)

8 years agoAdd developer guide 51/7251/1
Morgan Richomme [Mon, 18 Jan 2016 17:44:36 +0000 (18:44 +0100)]
Add developer guide

JIRA: FUNCTEST-114

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

8 years agoRemove rally stderr output from rally-cert 49/7249/1
jose.lausuch [Tue, 19 Jan 2016 09:19:31 +0000 (10:19 +0100)]
Remove rally stderr output from rally-cert

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

8 years agoMerge "Updated Tempest related parts into User guide" into stable/brahmaputra
Morgan Richomme [Tue, 19 Jan 2016 09:10:39 +0000 (09:10 +0000)]
Merge "Updated Tempest related parts into User guide" into stable/brahmaputra

8 years agoRemove all the unnecessary Rally output 41/7241/1
jose.lausuch [Fri, 15 Jan 2016 16:31:18 +0000 (17:31 +0100)]
Remove all the unnecessary Rally output

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

8 years agoUpdated Tempest related parts into User guide 39/7239/1
Viktor Tikkanen [Mon, 18 Jan 2016 07:58:08 +0000 (09:58 +0200)]
Updated Tempest related parts into User guide

Added "Troubleshooting" chapter.

Change-Id: Iae787ed735e45fc6c0e7e04b7191c69f648084f1
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
(cherry picked from commit eb6ee356961a93f96e6250323870e47172ac332f)

8 years agobug fix: duration time not initialized in case of VPing error (timeout) 37/7237/1
Morgan Richomme [Mon, 18 Jan 2016 16:13:26 +0000 (17:13 +0100)]
bug fix: duration time not initialized in case of VPing error (timeout)

JIRA: FUNCTEST-3

Change-Id: I115bf46f341e742970a911bb049a99ca8bb7aa70
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 537911794f3f1c9e7a10bb38fe379b2a68a950e6)

8 years agoBugfix Missing "$" in front of some variables 35/7235/1
jose.lausuch [Mon, 18 Jan 2016 21:55:08 +0000 (22:55 +0100)]
Bugfix Missing "$" in front of some variables

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

8 years agoRemove --offline flag 33/7233/1
jose.lausuch [Mon, 18 Jan 2016 23:13:27 +0000 (00:13 +0100)]
Remove --offline flag

Also, add extra info messages for debugging purposes.

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

8 years agoFix array of test in run_tests.sh 87/7187/1
jose.lausuch [Mon, 18 Jan 2016 18:56:43 +0000 (19:56 +0100)]
Fix array of test in run_tests.sh

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

8 years agoPrepare integration of ovno 53/7153/1
Morgan Richomme [Mon, 18 Jan 2016 11:02:48 +0000 (12:02 +0100)]
Prepare integration of ovno

JIRA: FUNCTEST-125

Change-Id: I9d13509ea91f3a5359aa4c16f9eccb8719279346
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 77718c073d682f4330b751c67f76b05e08c26b03)

8 years agoAdd 'neutron' default user for joid 21/7121/1
jose.lausuch [Mon, 18 Jan 2016 12:18:56 +0000 (13:18 +0100)]
Add 'neutron' default user for joid

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

8 years agoPrint openstack defaults before running clean_openstack.py 93/7093/1
jose.lausuch [Mon, 18 Jan 2016 09:59:12 +0000 (10:59 +0100)]
Print openstack defaults before running clean_openstack.py

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

8 years agoAdd --debug flag to first clean_functest.py 89/7089/1
jose.lausuch [Mon, 18 Jan 2016 09:50:40 +0000 (10:50 +0100)]
Add --debug flag to first clean_functest.py

This way we see if we remove something we shouldn't

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

8 years agoRemove FUNCTEST_BRANCH and FUNCTEST_COMMIT from the output 35/7035/1
jose.lausuch [Sun, 17 Jan 2016 23:31:35 +0000 (00:31 +0100)]
Remove FUNCTEST_BRANCH and FUNCTEST_COMMIT from the output

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

8 years agoReplace command "pass" in the shell script by ":" 27/7027/1
jose.lausuch [Sun, 17 Jan 2016 19:20:31 +0000 (20:20 +0100)]
Replace command "pass" in the shell script by ":"

"pass" is a python command, not bash. ":" is the equivalent.

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

8 years agobugfix: update cinder quota strange space 91/6891/1
boucherv [Fri, 15 Jan 2016 15:37:47 +0000 (16:37 +0100)]
bugfix: update cinder quota strange space

Change-Id: I984be5267a3492c4d3b5922a982aed0ad94e7c5b
Signed-off-by: boucherv <valentin.boucher@orange.com>
(cherry picked from commit f4aa5fbebff139543acb891d9d38c9f8fa864cda)

8 years agoRemove ODL and ONOS from base scenarios 73/6873/1
jose.lausuch [Fri, 15 Jan 2016 15:10:25 +0000 (16:10 +0100)]
Remove ODL and ONOS from base scenarios

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

8 years agoChange novaclient usage 71/6871/1
jose.lausuch [Fri, 15 Jan 2016 15:04:39 +0000 (16:04 +0100)]
Change novaclient usage

Avoid having this warning:
UserWarning: 'novaclient.v2.client.Client' is not designed to be initialized directly.

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

8 years agoRemove extra output if CI_DEBUG is false 63/6863/1
jose.lausuch [Fri, 15 Jan 2016 14:37:28 +0000 (15:37 +0100)]
Remove extra output if CI_DEBUG is false

This way we have a nicer view in Jenkins when
preparing Functest

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

8 years agoMerge "Add explicit logs when creating list of runnable tests" into stable/brahmaputra
Morgan Richomme [Fri, 15 Jan 2016 10:40:21 +0000 (10:40 +0000)]
Merge "Add explicit logs when creating list of runnable tests" into stable/brahmaputra