functest.git
7 years agoMerge "Refactoring of cloudify_ims."
valentin boucher [Mon, 27 Feb 2017 11:11:35 +0000 (11:11 +0000)]
Merge "Refactoring of cloudify_ims."

7 years agoMerge "Add documentation of testapi internship"
Morgan Richomme [Mon, 27 Feb 2017 10:40:55 +0000 (10:40 +0000)]
Merge "Add documentation of testapi internship"

7 years agoMerge "Adding vRouter test codes using TestCasesBase"
Morgan Richomme [Mon, 27 Feb 2017 10:34:32 +0000 (10:34 +0000)]
Merge "Adding vRouter test codes using TestCasesBase"

7 years agoMerge "Remove shell Healtcheck test case"
Jose Lausuch [Sun, 26 Feb 2017 23:01:22 +0000 (23:01 +0000)]
Merge "Remove shell Healtcheck test case"

7 years agoMerge "Bugfix:Added the adapter info for compass and joid"
Jose Lausuch [Sat, 25 Feb 2017 19:01:00 +0000 (19:01 +0000)]
Merge "Bugfix:Added the adapter info for compass and joid"

7 years agoMerge "Add Tempest Defcore test case"
Jose Lausuch [Fri, 24 Feb 2017 17:46:54 +0000 (17:46 +0000)]
Merge "Add Tempest Defcore test case"

7 years agoAdd Tempest Defcore test case 47/29247/5
jose.lausuch [Wed, 22 Feb 2017 16:54:21 +0000 (17:54 +0100)]
Add Tempest Defcore test case

Refstack is the OpenStack project that provides the tooling
to run the approved specific tempest test cases (Defcore guidelines)
by the Interop working group and by the OpenStack board
for OpenStack certification purposes.
For more info: https://refstack.openstack.org/

This adds the possibility for a Functest user to run this list
of tempest test cases by just issuing the command:
    functest testcase run tempest_defcore

The test will be run on daily loops with the scenario nosdn-nofeature
on any installer.

Change-Id: I920b2a44cff418116008fdf514425e69dc959412
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Integration of orchestra_ims test"
Morgan Richomme [Fri, 24 Feb 2017 13:38:17 +0000 (13:38 +0000)]
Merge "Integration of orchestra_ims test"

7 years agoMerge "WIP: Cirros TestVM: Allow config of username/password"
Jose Lausuch [Fri, 24 Feb 2017 10:33:31 +0000 (10:33 +0000)]
Merge "WIP: Cirros TestVM: Allow config of username/password"

7 years agoAdding vRouter test codes using TestCasesBase 19/28619/5
h-hayashi [Tue, 14 Feb 2017 13:27:29 +0000 (22:27 +0900)]
Adding vRouter test codes using TestCasesBase

JIRA: FUNCTEST-530

1.setting "nosdn-nofeature" scinario in testcase.yaml.
1.adding process of setting result details for push DB
2.Delete of  define "vrouter_data" in config_functest.yaml.
3.modify of vrouter git tag's name  "stable".
4.modrify of testcase name "vyos_vrouter" In order to more specific.

Change-Id: I0602c01dbf9a5e71bf85943c2b5e40ef51269ffd
Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
7 years agoIntegration of orchestra_ims test 87/28587/6
Morgan Richomme [Tue, 14 Feb 2017 07:58:35 +0000 (08:58 +0100)]
Integration of orchestra_ims test

JIRA: FUNCTEST-726

Change-Id: Ie6a35a817aa327a7e9143d93b5ea2582e99e0066
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Use new-style classes which inherit from object"
Morgan Richomme [Fri, 24 Feb 2017 07:00:48 +0000 (07:00 +0000)]
Merge "Use new-style classes which inherit from object"

7 years agoBugfix:Added the adapter info for compass and joid 65/29265/2
helenyao [Thu, 23 Feb 2017 02:45:21 +0000 (21:45 -0500)]
Bugfix:Added the adapter info for compass and joid

CI for compass and joid failed as there is no key defined in
installer_params.yaml

Change-Id: I8d17d36d854974c0751d3fd3bab4994205f786bb
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Prepare env will exit when an error is raised"
Jose Lausuch [Thu, 23 Feb 2017 10:07:43 +0000 (10:07 +0000)]
Merge "Prepare env will exit when an error is raised"

7 years agoMerge "[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout"
Jose Lausuch [Thu, 23 Feb 2017 10:04:21 +0000 (10:04 +0000)]
Merge "[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout"

7 years agoAdd documentation of testapi internship 47/26047/19
rohitsakala [Thu, 15 Dec 2016 19:26:18 +0000 (00:56 +0530)]
Add documentation of testapi internship

JIRA: FUNCTEST-706

Change-Id: I485337c2010f1250f34dcffdca91c52793e274c5
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
7 years agoUse new-style classes which inherit from object 51/27351/2
Linda Wang [Sun, 22 Jan 2017 07:50:45 +0000 (07:50 +0000)]
Use new-style classes which inherit from object

JIRA: FUNCTEST-707

Change-Id: Ieaa888375136eddbbe003a24b32bf09fd0f92923
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoWIP: Cirros TestVM: Allow config of username/password 57/29257/1
Alexandru Avadanii [Wed, 22 Feb 2017 23:57:36 +0000 (00:57 +0100)]
WIP: Cirros TestVM: Allow config of username/password

With the recent changes in Cirros image default password, we
need to support configuring these credentials.

JIRA: ARMBAND-218

Change-Id: I5962ec2aeee4ffecefdd8b7e70bdb7ed88457553
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoRemove shell Healtcheck test case 55/29255/1
jose.lausuch [Wed, 22 Feb 2017 23:31:16 +0000 (00:31 +0100)]
Remove shell Healtcheck test case

The healthcheck tier has grown thanks to the
adoption of SNAPs library. Now we have a SNAPs test
case that checks that creating a Network, a VM
and making sure it gets an IP from the DHCP agent
works. Basically, we are duplicating both test cases.

This patch removes the execution of the former test
without eliminating the code.

Change-Id: Iad6fec10fa1c247151c68313dc3760a55e511555
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Restore Kingbird functest"
Jose Lausuch [Wed, 22 Feb 2017 22:13:41 +0000 (22:13 +0000)]
Merge "Restore Kingbird functest"

7 years agoPrepare env will exit when an error is raised 70/28770/7
helenyao [Thu, 16 Feb 2017 02:04:34 +0000 (21:04 -0500)]
Prepare env will exit when an error is raised

JIRA: FUNCTEST-727

Change-Id: I4d8e24c0cb6272d92dc777dc82d56490948598db
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Undo setting CI_DEBUG to true by default"
Cedric Ollivier [Wed, 22 Feb 2017 09:13:29 +0000 (09:13 +0000)]
Merge "Undo setting CI_DEBUG to true by default"

7 years agoRestore Kingbird functest 03/29003/4
joehuang [Sat, 18 Feb 2017 03:24:51 +0000 (22:24 -0500)]
Restore Kingbird functest

Kingbird functest was excluded from Functest due to python client
dependency conflict. But in Functest container, the kingbird was
installed only for tempest plugin descovery and execution of tempest
test cases. It's safe to restore kingbird installation in the Dockerfile
now.

The kingbird installation works after the functest container image
was built.

Change-Id: I44593dcf47dd1deed2f6a94b7e801230bae9b251
Signed-off-by: joehuang <joehuang@huawei.com>
7 years agoMerge "Integrate BAROMETER feature test case"
Jose Lausuch [Wed, 22 Feb 2017 01:52:31 +0000 (01:52 +0000)]
Merge "Integrate BAROMETER feature test case"

7 years agoMerge "Add deployment_handler printout to prepare env"
Jose Lausuch [Wed, 22 Feb 2017 01:30:48 +0000 (01:30 +0000)]
Merge "Add deployment_handler printout to prepare env"

7 years agoIntegrate BAROMETER feature test case 09/28609/15
jose.lausuch [Tue, 14 Feb 2017 12:37:35 +0000 (13:37 +0100)]
Integrate BAROMETER feature test case

Also, add a executor method in VNFBase
to allow re-write it for some cases
where the feature is another python
script instead of shell script.

Change-Id: Id734553dffe32fdc9a0befc3f4c0e29e5d56fc61
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd deployment_handler printout to prepare env 33/29033/5
jose.lausuch [Sat, 18 Feb 2017 18:15:37 +0000 (19:15 +0100)]
Add deployment_handler printout to prepare env

Example virtual deployment apex:
 http://paste.openstack.org/raw/599536/

Example CI POD:
 http://paste.openstack.org/raw/599537/

Change-Id: I0711b45a525bc074a9c05f0ea3a194b2db05f2d9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoFix neutron auth issue 53/29153/1
boucherv [Tue, 21 Feb 2017 14:37:48 +0000 (15:37 +0100)]
Fix neutron auth issue

Adding admin role to the new_user for the new tenant
It will fix this bug for other tests based on this class

JIRA: FUNCTEST-734

Change-Id: Ia3b8797fa391f528d24425a5b13c1b329cb992f4
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years ago[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout 47/29147/2
Juan Vidal [Tue, 21 Feb 2017 13:10:47 +0000 (13:10 +0000)]
[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout

If the VNF does not properly boot after timeout, wait_for_vnf
should return "None" to flag the error.

Also, refresh the VNF on every iteration.

Change-Id: I9ed7c399e689dfbace7c5c8914552e77bf45fc8f
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
7 years agoMerge "[odl-sfc] Add function get_vnf and fix endless loop in get_vnf_id"
Jose Lausuch [Tue, 21 Feb 2017 12:19:49 +0000 (12:19 +0000)]
Merge "[odl-sfc] Add function get_vnf and fix endless loop in get_vnf_id"

7 years ago[odl-sfc] Add function get_vnf and fix endless loop in get_vnf_id 35/29135/1
Juan Vidal [Tue, 21 Feb 2017 10:26:28 +0000 (10:26 +0000)]
[odl-sfc] Add function get_vnf and fix endless loop in get_vnf_id

Change-Id: I1828242cec6449b36d09be21a62074b3c131af17
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
7 years agoRefactoring of cloudify_ims. 23/29123/2
ashishk1994 [Tue, 21 Feb 2017 08:10:24 +0000 (13:40 +0530)]
Refactoring of cloudify_ims.

Change the way of using few variables like vnf from object
to dictionary for consistency.

Change-Id: I5cf92ff16ba1296f223a60f85de4b815aadc8875
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoMerge "Remove cloudify_ims from ci daily loop"
valentin boucher [Mon, 20 Feb 2017 13:03:34 +0000 (13:03 +0000)]
Merge "Remove cloudify_ims from ci daily loop"

7 years agoMerge "Modifies check_os.sh to check services and cinder is optional"
Jose Lausuch [Mon, 20 Feb 2017 12:13:09 +0000 (12:13 +0000)]
Merge "Modifies check_os.sh to check services and cinder is optional"

7 years agoMerge "[odl-sfc] Add timeout to get_vnf_id and create_vnf functions"
Jose Lausuch [Mon, 20 Feb 2017 12:08:21 +0000 (12:08 +0000)]
Merge "[odl-sfc] Add timeout to get_vnf_id and create_vnf functions"

7 years ago[odl-sfc] Add timeout to get_vnf_id and create_vnf functions 71/29071/1
Juan Vidal [Mon, 20 Feb 2017 10:29:29 +0000 (10:29 +0000)]
[odl-sfc] Add timeout to get_vnf_id and create_vnf functions

create_vnf function could end up in and endless loop if it is not able to
retrieve the VNF id. Also, a timeout could help to detect problems when
instantiation is too slow.

Change-Id: I21744338a73f122d0c7a8fbe699738b11a7e2b76
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
7 years agoUndo setting CI_DEBUG to true by default 65/29065/1
Romanos Skiadas [Mon, 20 Feb 2017 09:49:44 +0000 (11:49 +0200)]
Undo setting CI_DEBUG to true by default

Change-Id: I24ca35ada7591e93413cdda1905ee01f77131889
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoRemove cloudify_ims from ci daily loop 63/29063/1
boucherv [Mon, 20 Feb 2017 08:53:55 +0000 (09:53 +0100)]
Remove cloudify_ims from ci daily loop

JIRA: FUNCTEST-734

Change-Id: I018ba3b14d21b29935a16e1689015c01cb11ffd7
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoSwap SNAPS repo from Cablelabs to OPNFV 17/29017/1
jose.lausuch [Sat, 18 Feb 2017 12:46:18 +0000 (13:46 +0100)]
Swap SNAPS repo from Cablelabs to OPNFV

Change-Id: Ib92804a8690b131c1d2ad1a6f6efcaf4428a5e6a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoModifies check_os.sh to check services and cinder is optional 65/28965/1
Tim Rozet [Fri, 17 Feb 2017 16:19:37 +0000 (11:19 -0500)]
Modifies check_os.sh to check services and cinder is optional

This patch adds being able to detect if the service is enabled on the
target openstack system prior to checking if the corresponding openstack
command for that service works.  It also makes cinder optional, and
warns if that service is not up.  We don't need cinder for every
deployment type, for example: CSIT.

Change-Id: I9556acabbd16f3b13f74b496812a5742b9000153
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoFix flavor config and error log 09/28909/1
boucherv [Fri, 17 Feb 2017 08:56:02 +0000 (09:56 +0100)]
Fix flavor config and error log

JIRA: FUNCTEST-734

Change-Id: Ic124cfa68e1ba50c9dc098c14b17ed694eefb7cc
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoMerge "Revert "Add deployment_handler printout to prepare env""
Jose Lausuch [Thu, 16 Feb 2017 19:33:50 +0000 (19:33 +0000)]
Merge "Revert "Add deployment_handler printout to prepare env""

7 years agoRevert "Add deployment_handler printout to prepare env" 65/28865/1
Jose Lausuch [Thu, 16 Feb 2017 19:31:03 +0000 (19:31 +0000)]
Revert "Add deployment_handler printout to prepare env"

This is causing some problems.
https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/1121/console

This reverts commit 9886535d617d95e7d2c2f294e79a7cd994fcd685.

Change-Id: I8524dff5deea073f0975df1e712766620002523e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "[odl-sfc] Fix bug when getting the params for create_vnf"
Jose Lausuch [Thu, 16 Feb 2017 16:35:37 +0000 (16:35 +0000)]
Merge "[odl-sfc] Fix bug when getting the params for create_vnf"

7 years agoMerge "[odl-sfc] Add symmetric option for sfc_create"
Jose Lausuch [Thu, 16 Feb 2017 16:32:30 +0000 (16:32 +0000)]
Merge "[odl-sfc] Add symmetric option for sfc_create"

7 years agoMerge "Add deployment_handler printout to prepare env"
Jose Lausuch [Thu, 16 Feb 2017 15:52:39 +0000 (15:52 +0000)]
Merge "Add deployment_handler printout to prepare env"

7 years ago[odl-sfc] Add symmetric option for sfc_create 37/28837/2
George Paraskevopoulos [Thu, 16 Feb 2017 14:54:40 +0000 (16:54 +0200)]
[odl-sfc] Add symmetric option for sfc_create

Change-Id: Iead7767b936376c2f5b6c6a5584734ef074c1346
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years ago[odl-sfc] Fix bug when getting the params for create_vnf 23/28823/2
George Paraskevopoulos [Thu, 16 Feb 2017 13:32:32 +0000 (15:32 +0200)]
[odl-sfc] Fix bug when getting the params for create_vnf

Change-Id: Iac1cce36a2f4a8965545507b67584a42c5ef775a
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoMerge "Bugfix: update from security_scan to securityscanning"
Helen Yao [Thu, 16 Feb 2017 10:50:56 +0000 (10:50 +0000)]
Merge "Bugfix: update from security_scan to securityscanning"

7 years agoMerge "Fix auth error"
valentin boucher [Thu, 16 Feb 2017 10:13:23 +0000 (10:13 +0000)]
Merge "Fix auth error"

7 years agoFix auth error 93/28793/2
boucherv [Thu, 16 Feb 2017 08:59:18 +0000 (09:59 +0100)]
Fix auth error

JIRA: FUNCTEST-734

Change-Id: I9e13b9b9459b9051981766fbf32126583a761656
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoBugfix: update from security_scan to securityscanning 95/28795/1
Linda Wang [Thu, 16 Feb 2017 09:11:01 +0000 (09:11 +0000)]
Bugfix: update from security_scan to securityscanning

JIRA: FUNCTEST-731

Security_scan results failed to be pushed to DB due to that in testapi
the project is named as securityscanning.

Change-Id: I2e0b21a41058bdcbefd1b62b0984d488d54341bb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Fix tempest multisite config"
Jose Lausuch [Thu, 16 Feb 2017 08:24:58 +0000 (08:24 +0000)]
Merge "Fix tempest multisite config"

7 years agoMerge "Integration of NETREADY test case"
Serena Feng [Thu, 16 Feb 2017 07:20:07 +0000 (07:20 +0000)]
Merge "Integration of NETREADY test case"

7 years agoIntegration of NETREADY test case 15/28615/7
jose.lausuch [Tue, 14 Feb 2017 13:06:32 +0000 (14:06 +0100)]
Integration of NETREADY test case

Change-Id: I523a05e0f0fbf5971ab7d10a177d793bcff60421
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd parameterized vnfd capabilities on vnf create 07/28707/1
George Paraskevopoulos [Wed, 15 Feb 2017 11:59:00 +0000 (13:59 +0200)]
Add parameterized vnfd capabilities on vnf create

JIRA: SFC-73

We can pass parameters to vnfds when creating a vnf. We need this now to
specify the availability zone

Change-Id: I8d6533ca331361f1581059050aa773936b4dff66
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoMerge "update cloudify_ims case"
valentin boucher [Wed, 15 Feb 2017 10:24:40 +0000 (10:24 +0000)]
Merge "update cloudify_ims case"

7 years agoupdate cloudify_ims case 97/28597/4
boucherv [Tue, 14 Feb 2017 10:22:19 +0000 (11:22 +0100)]
update cloudify_ims case

bug fixes
Provisional change of the ci loop var to daily for VNF testcase.

JIRA: FUNCTEST-710

Change-Id: I6dc8072b4e56c96473a2b09f1881b96024259db5
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoFix tempest multisite config 87/28687/1
Juha Kosonen [Wed, 15 Feb 2017 08:32:44 +0000 (10:32 +0200)]
Fix tempest multisite config

Add multisite parameters into tempest config file after the file have
been (re)configured by rally verifier.

JIRA: FUNCTEST-721

Change-Id: I95fd7e29b5a7d1d9f82e84e383eb23e8fa813d19
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoMerge "Releng environment in unit testing."
Jose Lausuch [Wed, 15 Feb 2017 08:31:01 +0000 (08:31 +0000)]
Merge "Releng environment in unit testing."

7 years agoMerge "Put the Logger as Object oriented."
Jose Lausuch [Wed, 15 Feb 2017 08:30:02 +0000 (08:30 +0000)]
Merge "Put the Logger as Object oriented."

7 years agoAdd deployment_handler printout to prepare env 33/28533/2
jose.lausuch [Mon, 13 Feb 2017 16:35:40 +0000 (17:35 +0100)]
Add deployment_handler printout to prepare env

Example output: http://pastebin.com/raw/xWTe9tAY

Change-Id: Ib8100089318f807fb4d5d4fff2911179eb18216e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Limit the substitution of ' in env vars"
Cedric Ollivier [Tue, 14 Feb 2017 12:25:38 +0000 (12:25 +0000)]
Merge "Limit the substitution of ' in env vars"

7 years agoMerge "Fix config file name setting"
Morgan Richomme [Tue, 14 Feb 2017 11:14:29 +0000 (11:14 +0000)]
Merge "Fix config file name setting"

7 years agoMerge changes from topic 'revert_write_to_file'
Jose Lausuch [Tue, 14 Feb 2017 10:31:44 +0000 (10:31 +0000)]
Merge changes from topic 'revert_write_to_file'

* changes:
  Add can_dump_request_to_file decorator
  Revert "write test results to a local file"

7 years agoLimit the substitution of ' in env vars 99/28599/1
Cédric Ollivier [Tue, 14 Feb 2017 10:16:22 +0000 (11:16 +0100)]
Limit the substitution of ' in env vars

Only ' located and the beginning or at the end of the string are
removed. It completes the first proposal [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/28563/

Change-Id: Ic21cea4c6e98d92983f385c875c3e214411b5f2d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix config file name setting 01/28601/1
Juha Kosonen [Tue, 14 Feb 2017 10:16:21 +0000 (12:16 +0200)]
Fix config file name setting

JIRA: FUNCTEST-725

Change-Id: Ic1e6a54c2dbfb1dee5f8f6e6afd60382749bcd09
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoMerge "Fix again unix permissions"
Morgan Richomme [Tue, 14 Feb 2017 08:44:19 +0000 (08:44 +0000)]
Merge "Fix again unix permissions"

7 years agoMerge "Add ODL netvirt connectivity suites to list of robot tests"
Morgan Richomme [Tue, 14 Feb 2017 08:39:05 +0000 (08:39 +0000)]
Merge "Add ODL netvirt connectivity suites to list of robot tests"

7 years agoMerge "Refactoring of args and parser variable"
Morgan Richomme [Tue, 14 Feb 2017 08:35:10 +0000 (08:35 +0000)]
Merge "Refactoring of args and parser variable"

7 years agoMerge "delete useless file multisite.py"
Jose Lausuch [Tue, 14 Feb 2017 07:59:45 +0000 (07:59 +0000)]
Merge "delete useless file multisite.py"

7 years agoFix again unix permissions 65/28565/1
Cédric Ollivier [Mon, 13 Feb 2017 23:49:49 +0000 (00:49 +0100)]
Fix again unix permissions

It has been induced by [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/26695/

Change-Id: I4bec6bdc30c5901c19bdc4ca43b89f60bd50a6aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoBugfix: remove double quotes from environment variables 63/28563/1
jose.lausuch [Mon, 13 Feb 2017 23:10:06 +0000 (00:10 +0100)]
Bugfix: remove double quotes from environment variables

JIRA: FUNCTEST-724

Change-Id: Iae248d710813a241752e1a06fb87d650caf3d188
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd ODL netvirt connectivity suites to list of robot tests 13/27113/7
Jamo Luhrsen [Tue, 17 Jan 2017 17:12:55 +0000 (09:12 -0800)]
Add ODL netvirt connectivity suites to list of robot tests

Change-Id: I9eb543b18d7646c7746caeec43d610be52a1af65
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Use Exception instead of return code"
Jose Lausuch [Mon, 13 Feb 2017 15:58:58 +0000 (15:58 +0000)]
Merge "Use Exception instead of return code"

7 years agoMerge "[WIP] update cloudify_ims case"
valentin boucher [Mon, 13 Feb 2017 14:49:40 +0000 (14:49 +0000)]
Merge "[WIP] update cloudify_ims case"

7 years agoMerge "Fix source_credentials in openstack_utils"
Jose Lausuch [Mon, 13 Feb 2017 13:03:12 +0000 (13:03 +0000)]
Merge "Fix source_credentials in openstack_utils"

7 years agoAdd can_dump_request_to_file decorator 13/28513/1
Cédric Ollivier [Mon, 13 Feb 2017 12:34:34 +0000 (13:34 +0100)]
Add can_dump_request_to_file decorator

can_dump_request_to_file can be called to dump any request data to a
local file as defined by test_db_url. If its scheme is file,
Session.send() is patched. Else the behavior is kept unchanged.

Change-Id: Id219dad274b5f02a05259a2ed13e882c04eea7b4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRevert "write test results to a local file" 11/28511/1
Cédric Ollivier [Wed, 8 Feb 2017 14:18:24 +0000 (15:18 +0100)]
Revert "write test results to a local file"

This reverts commit ee21af78fbfc93e888acda121f08d2b216dd0159.

Change-Id: If7c8d3b645073574862eb67225b1e11b0dd7a021
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUse Exception instead of return code 15/28015/3
helenyao [Sat, 4 Feb 2017 01:58:01 +0000 (20:58 -0500)]
Use Exception instead of return code

Checking Return status code after each step can be wrapped by Exception
catching
Also, the return code is not as informative as exception

Change-Id: Ic15791d1b8ee47e10cbae8bad46a2cb90ac2b46e
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Logic to trigger Security Scan project"
Morgan Richomme [Fri, 10 Feb 2017 18:23:32 +0000 (18:23 +0000)]
Merge "Logic to trigger Security Scan project"

7 years agoMerge "Refactor configure_tempest() function"
Jose Lausuch [Fri, 10 Feb 2017 11:26:13 +0000 (11:26 +0000)]
Merge "Refactor configure_tempest() function"

7 years agoPut the Logger as Object oriented. 19/28419/1
helenyao [Fri, 10 Feb 2017 08:52:58 +0000 (03:52 -0500)]
Put the Logger as Object oriented.

There is no need to worry about adding duplicate handler as the logging
has the ability to avoid it.

Change-Id: I7198c1e1c05df347feb0d7192e80592e662314b1
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Integrating PyTest contained in SNAPS as a replacement to the old bash healthc...
Jose Lausuch [Fri, 10 Feb 2017 08:48:43 +0000 (08:48 +0000)]
Merge "Integrating PyTest contained in SNAPS as a replacement to the old bash healthcheck."

7 years agoRefactoring of args and parser variable 63/27463/5
ashishk1994 [Tue, 24 Jan 2017 17:33:02 +0000 (23:03 +0530)]
Refactoring of args and parser variable

It also fixes one issue when printing summary for tiers and others
induced by [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/26587/

JIRA: FUNCTEST-438

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I821efaa7d62b208d797d19563f573d1e28da9df4
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix source_credentials in openstack_utils 97/28297/5
Cédric Ollivier [Wed, 8 Feb 2017 16:48:47 +0000 (17:48 +0100)]
Fix source_credentials in openstack_utils

It fixes issues raised when an env var contains '=' (e.g. LS_COLORS).
It now exports the vars listed in rc_file without creating a new
process.

Change-Id: I6e6a4e3ab9c45afe4d40015831acb283acbe564c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years ago[WIP] update cloudify_ims case 71/28371/2
Morgan Richomme [Thu, 9 Feb 2017 15:11:50 +0000 (16:11 +0100)]
[WIP] update cloudify_ims case

bug fixes + adaptation to abstraction class

JIRA: FUNCTEST-710

Change-Id: I687876637bd9eeeba9256e28b98a1e3a4f5c3e22
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agodelete useless file multisite.py 53/28353/1
SerenaFeng [Thu, 9 Feb 2017 08:54:10 +0000 (16:54 +0800)]
delete useless file multisite.py

Change-Id: Iee13f283280610a98847c4560ed58163d01f6e8e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoLogic to trigger Security Scan project 19/28019/7
helenyao [Sat, 4 Feb 2017 04:01:37 +0000 (23:01 -0500)]
Logic to trigger Security Scan project

1. Removed the calling from exec_test.sh
2. Used FeatureBase instead
3. Removed the legacy security scan code

Change-Id: I1984ec951973f337f275e50543b277cd90d9a202
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoRefactor configure_tempest() function 13/28213/3
tomsou [Tue, 7 Feb 2017 10:28:45 +0000 (10:28 +0000)]
Refactor configure_tempest() function

Create two new functions: configure_tempest_update_params and
configure_verifier, distinguishing between tempest.conf
configure verification and add/updating parameters into it

this update is useful and it will be used by sdnvpn/tempest

Change-Id: I76e0bc00e33492252cdecab224380ecca2ce275a
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoIntegrating PyTest contained in SNAPS as a replacement to the old 11/28011/2
spisarski [Fri, 3 Feb 2017 20:29:20 +0000 (13:29 -0700)]
Integrating PyTest contained in SNAPS as a replacement to the old
bash healthcheck.

JIRA: FUNCTEST-570

Change-Id: Ia90dc152d48144c9c53967d5c30256389793ce91
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoExclude Moon feature for Danube 19/28219/2
Morgan Richomme [Tue, 7 Feb 2017 10:47:01 +0000 (11:47 +0100)]
Exclude Moon feature for Danube

Moon will come back mid March with a micro service version
Moon testing could be enabled on this new version

Change-Id: I160fab5d609bad2b0e8a8c81a4a180498c935b2f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoReleng environment in unit testing. 15/28215/1
ashishk1994 [Tue, 7 Feb 2017 10:35:09 +0000 (16:05 +0530)]
Releng environment in unit testing.

Most of modules in ci, openstack are dependent
on opnfv_module. This patch will install the releng
modules in unit test environment.
Credits: https://gerrit.opnfv.org/gerrit/#/c/26501/2/run_unit_tests.sh

Change-Id: Ibc5edeaf8439b8a5e874ee842c119480ed2e517b
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoMerge "Move api_check and connection check to healthcheck category"
Jose Lausuch [Tue, 7 Feb 2017 07:51:25 +0000 (07:51 +0000)]
Merge "Move api_check and connection check to healthcheck category"

7 years agoMerge "bugfix for finding tempest failed testcase"
Morgan Richomme [Tue, 7 Feb 2017 07:38:58 +0000 (07:38 +0000)]
Merge "bugfix for finding tempest failed testcase"

7 years agoMerge "Change log level when pod, scenario or build_tag cannot be retrieved"
Morgan Richomme [Mon, 6 Feb 2017 13:58:40 +0000 (13:58 +0000)]
Merge "Change log level when pod, scenario or build_tag cannot be retrieved"

7 years agoMerge "Change endpoint type for Kingbird"
Morgan Richomme [Mon, 6 Feb 2017 11:10:51 +0000 (11:10 +0000)]
Merge "Change endpoint type for Kingbird"

7 years agoMerge "Add netvirt to odl tests"
Jose Lausuch [Mon, 6 Feb 2017 10:47:38 +0000 (10:47 +0000)]
Merge "Add netvirt to odl tests"

7 years agoChange endpoint type for Kingbird 11/28111/2
Dimitri Mazmanov [Mon, 6 Feb 2017 10:05:44 +0000 (11:05 +0100)]
Change endpoint type for Kingbird

Replaced 'kingbird' with 'multisite' as kingbird
installation scripts register 'multisite'.

JIRA: MULTISITE-720
Change-Id: Ib53bab46a1fa225e371912d74eecb929d84dff3a
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
7 years agoChange log level when pod, scenario or build_tag cannot be retrieved 09/28109/1
Morgan Richomme [Mon, 6 Feb 2017 09:58:40 +0000 (10:58 +0100)]
Change log level when pod, scenario or build_tag cannot be retrieved

when using Functest out of CI, such env variables may not be set
This shall not result in Error messages

JIRA: FUNCTEST-716

Change-Id: I86d2023145480dfa9c8d593ea274acbd9e431ef7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>