functest.git
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 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>
8 years agoAdd testcases results to DB 51/8851/1
lanqinglong [Mon, 1 Feb 2016 09:54:47 +0000 (17:54 +0800)]
Add testcases results to DB

Change-Id: Iada89aa690f6b3f1d041328b641620ceb0279912

8 years agoAdd aodh default user for apex 43/8843/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>
8 years agouse scenario instead of git info in version field of the test results 33/8833/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>
8 years agoMerge "fix the bug of onos test report"
Morgan Richomme [Sat, 30 Jan 2016 19:53:53 +0000 (19:53 +0000)]
Merge "fix the bug of onos test report"

8 years agoCopy tempest.conf to results dir to be uploaded to artifacts 17/8717/2
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>
8 years agoMerge "Create stdout and stderr files for Tempest results"
Morgan Richomme [Fri, 29 Jan 2016 16:33:05 +0000 (16:33 +0000)]
Merge "Create stdout and stderr files for Tempest results"

8 years agoAdd promise section from patch 8361 of Gerald 93/8593/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>
8 years agoMerge "Editorials"
Morgan Richomme [Fri, 29 Jan 2016 16:15:38 +0000 (16:15 +0000)]
Merge "Editorials"

8 years agoCreate stdout and stderr files for Tempest results 87/8587/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>
8 years agobugfix: self.logger 77/8577/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>
8 years agoEditorials 65/8465/10
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>
8 years agofix the bug of onos test report 67/8467/1
lanqinglong [Fri, 29 Jan 2016 12:05:46 +0000 (20:05 +0800)]
fix the bug of onos test report

Change-Id: I34a068f991b89af6c65c895c7e9e604eac5dadf6

8 years agoMerge "Change scenario start/result messages in run_rally-cert.py"
Morgan Richomme [Fri, 29 Jan 2016 11:12:15 +0000 (11:12 +0000)]
Merge "Change scenario start/result messages in run_rally-cert.py"

8 years agoMerge "Add some error result in result db api"
boucherv [Fri, 29 Jan 2016 10:26:39 +0000 (10:26 +0000)]
Merge "Add some error result in result db api"

8 years agoChange scenario start/result messages in run_rally-cert.py 55/8455/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>
8 years agoAdd some error result in result db api 25/8325/4
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>
8 years agoMerge "Add scenario name to Rally result message"
Morgan Richomme [Fri, 29 Jan 2016 08:30:22 +0000 (08:30 +0000)]
Merge "Add scenario name to Rally result message"

8 years agoMerge "Changed to use $(repos_dir) and removed #"
Morgan Richomme [Fri, 29 Jan 2016 08:29:24 +0000 (08:29 +0000)]
Merge "Changed to use $(repos_dir) and removed #"

8 years agoMerge "Update doc"
Morgan Richomme [Fri, 29 Jan 2016 08:27:55 +0000 (08:27 +0000)]
Merge "Update doc"

8 years agoUpdate doc 65/7465/11
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>
8 years agoAdd scenario name to Rally result message 67/8367/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>
8 years agoMerge "Small typos fixes in functest_utils.py"
Morgan Richomme [Thu, 28 Jan 2016 17:59:01 +0000 (17:59 +0000)]
Merge "Small typos fixes in functest_utils.py"

8 years agoChanged to use $(repos_dir) and removed # 47/8347/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>
8 years agoChange to logger.error when there is an error in clean_openstack 33/8333/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>
8 years agoSmall typos fixes in functest_utils.py 17/8317/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>
8 years agoMerge "Refactor functest_utils.py"
Morgan Richomme [Thu, 28 Jan 2016 13:39:34 +0000 (13:39 +0000)]
Merge "Refactor functest_utils.py"

8 years agoRefactor functest_utils.py 05/8305/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>
8 years agochange for get joid onos ip 73/8273/1
lanqinglong [Thu, 28 Jan 2016 10:06:07 +0000 (18:06 +0800)]
change for get joid onos ip

8 years agoFollow change in joid use SDN_CONTROLLER_IP env var instead of ODL_CONTROLLER_IP 61/8261/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>
8 years agoMerge "Reduce Rally output"
Morgan Richomme [Thu, 28 Jan 2016 07:47:13 +0000 (07:47 +0000)]
Merge "Reduce Rally output"

8 years agoMerge "Volume type management moved from run_tests.sh to run_rally-cert.py"
Morgan Richomme [Thu, 28 Jan 2016 07:46:11 +0000 (07:46 +0000)]
Merge "Volume type management moved from run_tests.sh to run_rally-cert.py"

8 years agoReduce Rally output 11/8211/3
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>
8 years agoVolume type management moved from run_tests.sh to run_rally-cert.py 09/8209/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>
8 years agoFix promise test output 05/8205/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>
8 years agoBugfix print arguments in functest_utils.py 99/8199/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>
8 years agoMerge "Print json result file of Promise testcase"
Morgan Richomme [Wed, 27 Jan 2016 17:59:44 +0000 (17:59 +0000)]
Merge "Print json result file of Promise testcase"

8 years agoPrint json result file of Promise testcase 53/8153/4
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>
8 years agoMerge "Remove possible message "No handlers could be found for logger paramiko""
Morgan Richomme [Wed, 27 Jan 2016 17:37:53 +0000 (17:37 +0000)]
Merge "Remove possible message "No handlers could be found for logger paramiko""

8 years agoMerge "Option to redirect stderr output to a file for Tempest test"
Morgan Richomme [Wed, 27 Jan 2016 17:36:56 +0000 (17:36 +0000)]
Merge "Option to redirect stderr output to a file for Tempest test"

8 years agoRefactor functest_utils.py script 69/8169/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>
8 years agoOption to redirect stderr output to a file for Tempest test 51/8151/4
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>
8 years agoRemove possible message "No handlers could be found for logger paramiko" 45/8145/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>
8 years agoFUNCTEST-128 37/8137/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>
8 years agoMerge "FUNCTEST-127 FIx the condition judgment of vping"
Jose Lausuch [Wed, 27 Jan 2016 09:53:50 +0000 (09:53 +0000)]
Merge "FUNCTEST-127 FIx the condition judgment of vping"

8 years agoFUNCTEST-127 05/8105/4
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>
8 years agobug fix bad var affection when running ODL 19/8119/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>
8 years agotypo fix on odl 15/8115/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>
8 years agoMerge "Add timeout in paramiko ssh command"
Morgan Richomme [Tue, 26 Jan 2016 17:10:25 +0000 (17:10 +0000)]
Merge "Add timeout in paramiko ssh command"

8 years agoAdd bgpvpn and odl_vpnservice in config_yaml 55/8055/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>
8 years agoAdd timeout in paramiko ssh command 53/8053/3
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>
8 years agoAdd more OS defaults for Fuel 8.0 49/8049/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>
8 years agoMerge "Patch ODL scenario to support joid (different keystone and neutron API IP)"
Morgan Richomme [Tue, 26 Jan 2016 14:32:18 +0000 (14:32 +0000)]
Merge "Patch ODL scenario to support joid (different keystone and neutron API IP)"

8 years agoMerge "Add function for Promise libraries pre-install"
Morgan Richomme [Tue, 26 Jan 2016 14:28:34 +0000 (14:28 +0000)]
Merge "Add function for Promise libraries pre-install"

8 years agoPatch ODL scenario to support joid (different keystone and neutron API IP) 41/8041/2
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>
8 years agoMerge "Allow executing ODL test as many times as wanted on the same env"
Morgan Richomme [Tue, 26 Jan 2016 13:32:01 +0000 (13:32 +0000)]
Merge "Allow executing ODL test as many times as wanted on the same env"

8 years agoReplace 'No vPing detected' by a better understandable message 31/8031/2
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>
8 years agoAllow executing ODL test as many times as wanted on the same env 29/8029/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>
8 years agoMerge "Add whitespace in the vPing2 command"
Morgan Richomme [Tue, 26 Jan 2016 13:02:59 +0000 (13:02 +0000)]
Merge "Add whitespace in the vPing2 command"

8 years agoAdd whitespace in the vPing2 command 19/8019/3
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>
8 years agoAdd missing directories env variables in common.sh 15/8015/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>
8 years agoAdd function for Promise libraries pre-install 99/7999/6
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>
8 years agoFix typo in requirements.pip 07/8007/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>
8 years agoMerge "Use paramiko library to SSH and SCP the instances in vPing2"
Morgan Richomme [Tue, 26 Jan 2016 10:45:10 +0000 (10:45 +0000)]
Merge "Use paramiko library to SSH and SCP the instances in vPing2"

8 years agoRemove vPing_userdata and vIMS from onos scenario 97/7997/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>
8 years agoUse paramiko library to SSH and SCP the instances in vPing2 43/7743/4
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>
8 years agoMerge "Add copy of packages.json to the features path before running npm install"
Morgan Richomme [Tue, 26 Jan 2016 09:30:33 +0000 (09:30 +0000)]
Merge "Add copy of packages.json to the features path before running npm install"

8 years agoUse rally cert script 85/7985/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>