functest-xtesting.git
7 years agoDocumentation for unit test project
ashishk1994 [Wed, 5 Apr 2017 08:07:48 +0000 (13:37 +0530)]
Documentation for unit test project

JIRA: FUNCTEST-594

Change-Id: I2ae821f4bc2283d736a635357aea89dc95a7c839
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoMerge "Adding label for userguide"
Jose Lausuch [Fri, 31 Mar 2017 07:39:43 +0000 (07:39 +0000)]
Merge "Adding label for userguide"

7 years agoAdding label for userguide
ShubhamRathi [Fri, 31 Mar 2017 07:04:55 +0000 (12:34 +0530)]
Adding label for userguide

Change-Id: Iaab305c913173594ee2d857255b6492d15f15916
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
7 years agoMake tempest cleanup resources after running
Linda Wang [Thu, 30 Mar 2017 08:14:16 +0000 (08:14 +0000)]
Make tempest cleanup resources after running

JIRA: FUNCTEST-773

1. When running refstack_defcore, create tenant and user failed due to conflict
   with those created when runnning tempest_smoke_serial.
2. Clean all resources created for tempest_smoke_serial.

Change-Id: Icf8ec95f6db0b2f93bf6c56ec10a6e8ea1a91ab1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Re-enable rally and tempest full for weekly"
Jose Lausuch [Thu, 30 Mar 2017 14:46:48 +0000 (14:46 +0000)]
Merge "Re-enable rally and tempest full for weekly"

7 years agoMerge "Check a rule existence for a specific security group"
Jose Lausuch [Thu, 30 Mar 2017 14:46:33 +0000 (14:46 +0000)]
Merge "Check a rule existence for a specific security group"

7 years agoCheck a rule existence for a specific security group
tomsou [Mon, 27 Mar 2017 15:56:02 +0000 (15:56 +0000)]
Check a rule existence for a specific security group

    Implement a functionality to check if a rule concerning
    a specific security group exists
    - function get_security_group_rules(neutron_client, sg_id)
      returns the list of the security rules for a specific security group
    - function check_security_group_rules(neutron_client,
                                          sg_id, direction,
                                          protocol,
                                          port_min=None,
                                          port_max=None)
      checks if a specific rule for a specific security group exists
      and returns True or False
    - implement unit tests for the two new functions

     This new functionality is needed for sdnvpn project

Change-Id: Ib930bc9a76141932f4164d88e2640b49f3df4d77
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoUpgrade to the latest kingbird version
Dimitri Mazmanov [Thu, 30 Mar 2017 10:56:25 +0000 (12:56 +0200)]
Upgrade to the latest kingbird version

Change-Id: I80015fa05811f11c2c62e4c87f6008bea279fbf7
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
7 years agoMerge "Release notes for Danube 1.0"
Jose Lausuch [Thu, 30 Mar 2017 09:48:30 +0000 (09:48 +0000)]
Merge "Release notes for Danube 1.0"

7 years agoRe-enable rally and tempest full for weekly
jose.lausuch [Thu, 30 Mar 2017 09:47:54 +0000 (11:47 +0200)]
Re-enable rally and tempest full for weekly

Change-Id: I640531ebcc471adebe780c75627d822cf8fd956d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoRelease notes for Danube 1.0
jose.lausuch [Wed, 29 Mar 2017 15:57:42 +0000 (17:57 +0200)]
Release notes for Danube 1.0

JIRA: FUNCTEST-562

Change-Id: I1e2c827bad7c924561bbe433dac97c096282024d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "More Unit Tests for utils module"
Morgan Richomme [Thu, 30 Mar 2017 07:48:06 +0000 (07:48 +0000)]
Merge "More Unit Tests for utils module"

7 years agoMerge "More Unit Tests for ci directory"
Morgan Richomme [Thu, 30 Mar 2017 07:47:47 +0000 (07:47 +0000)]
Merge "More Unit Tests for ci directory"

7 years agoMerge "Clean up Tempest blacklist"
Jose Lausuch [Thu, 30 Mar 2017 07:47:10 +0000 (07:47 +0000)]
Merge "Clean up Tempest blacklist"

7 years agoMerge "More Unit Tests for tempest and IMS module"
Morgan Richomme [Thu, 30 Mar 2017 07:44:00 +0000 (07:44 +0000)]
Merge "More Unit Tests for tempest and IMS module"

7 years agoMerge "Disable tempest server reboot test for SDNVPN and Gluon"
Jose Lausuch [Thu, 30 Mar 2017 07:29:12 +0000 (07:29 +0000)]
Merge "Disable tempest server reboot test for SDNVPN and Gluon"

7 years agoClean up Tempest blacklist
jose.lausuch [Wed, 29 Mar 2017 22:30:21 +0000 (00:30 +0200)]
Clean up Tempest blacklist

This list has been generated in Colorado and there are
some scenarios that are deprecated and there is no
need to list them here.

Change-Id: I62a30b5026ed1df65ebdb7a68a6acf3364469865
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoDisable tempest server reboot test for SDNVPN and Gluon
Georg Kunz [Wed, 29 Mar 2017 09:00:50 +0000 (11:00 +0200)]
Disable tempest server reboot test for SDNVPN and Gluon

Bug report: https://bugs.opendaylight.org/show_bug.cgi?id=5586
As a result, floating IPs are not working in Apex at the moment.

Change-Id: I437c10b53dc01810ed757f040d3378c92320274b
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "rename FeatureBase to Feature"
Cedric Ollivier [Wed, 29 Mar 2017 12:53:16 +0000 (12:53 +0000)]
Merge "rename FeatureBase to Feature"

7 years agoMerge "rename feature_base to feature"
Cedric Ollivier [Wed, 29 Mar 2017 12:52:31 +0000 (12:52 +0000)]
Merge "rename feature_base to feature"

7 years agoMore Unit Tests for tempest and IMS module
ashishk1994 [Mon, 27 Mar 2017 06:56:20 +0000 (12:26 +0530)]
More Unit Tests for tempest and IMS module

This patch adds more unit tests for
openstack/tempest/ and ims/ modules
with coverage >= 80%

Change-Id: I7c18cea791ac8dc3e890da98066179225283b068
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoMerge "Add docstrings in odl"
Jose Lausuch [Wed, 29 Mar 2017 07:17:44 +0000 (07:17 +0000)]
Merge "Add docstrings in odl"

7 years agoMerge "refstack: bugfix of name TestCase"
Morgan Richomme [Wed, 29 Mar 2017 06:45:31 +0000 (06:45 +0000)]
Merge "refstack: bugfix of name TestCase"

7 years agoAdded test case for opera vims
helenyao [Thu, 16 Mar 2017 12:24:56 +0000 (20:24 +0800)]
Added test case for opera vims

1. Created a ImsOnBoardingBase to wrap up all common ims operations
2. Created test case to test opera vims onboarding

Change-Id: Idf3a82e10661271ad413f4dd5795c80ca4421d73
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agorefstack: bugfix of name TestCase
MatthewLi [Wed, 29 Mar 2017 02:05:59 +0000 (22:05 -0400)]
refstack: bugfix of name TestCase

JIRA: FUNCTEST-758

Change-Id: I1b90597c9745faa67afa58e5653f72411a95aa3d
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoMerge "modify old naming Testcase_base to TestCase"
Jose Lausuch [Tue, 28 Mar 2017 16:32:29 +0000 (16:32 +0000)]
Merge "modify old naming Testcase_base to TestCase"

7 years agoAdd docstrings in odl
Cédric Ollivier [Tue, 28 Mar 2017 15:21:05 +0000 (17:21 +0200)]
Add docstrings in odl

It has been rated at 10.00/10 by pylint.

Change-Id: If45656080a47c2582556f841a02379b37e481fd9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFully fix pylint warnings in test_testcase
Cédric Ollivier [Tue, 28 Mar 2017 12:53:44 +0000 (14:53 +0200)]
Fully fix pylint warnings in test_testcase

It partially takes into account missing-docstring.
It is disabled for public methods as they are unit tests.

It has been rated at 10.00/10.

Change-Id: I70e6729b9228d58cc67a18da29b925dad22cf5bd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRename test_testcase_base to test_testcase
Cédric Ollivier [Tue, 28 Mar 2017 12:46:30 +0000 (14:46 +0200)]
Rename test_testcase_base to test_testcase

It follows "Rename testcase_base to testcase" [1]

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

Change-Id: I54bb62a37bdab842f433790688128a459b0ac78c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agorename FeatureBase to Feature
SerenaFeng [Tue, 28 Mar 2017 11:46:43 +0000 (19:46 +0800)]
rename FeatureBase to Feature

delete useless suffix 'Base'

Change-Id: Ie789da2e83cc90585fd281fe183e8430af498436
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agorename feature_base to feature
SerenaFeng [Tue, 28 Mar 2017 10:42:42 +0000 (18:42 +0800)]
rename feature_base to feature

remove useless suffix _base

Change-Id: I63a73fd6fef2fccd9b92c405f64dda50735b0026
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoFix pylint warnings in test_odl
Cédric Ollivier [Mon, 27 Mar 2017 14:39:45 +0000 (16:39 +0200)]
Fix pylint warnings in test_odl

It takes into account the following warnings:
  - wrong-import-order
  - bad-continuation
  - unused-argument
  - invalid-name
  - too-many-arguments

missing-docstring is partially disabled as they are unit tests.

It has been rated at 10.00/10.

Change-Id: I35886ec75a9e66817cfd0fe18534f157d7500a2b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Revert "Make SFC test a python call to main()""
Cedric Ollivier [Tue, 28 Mar 2017 12:09:51 +0000 (12:09 +0000)]
Merge "Revert "Make SFC test a python call to main()""

7 years agomodify old naming Testcase_base to TestCase
SerenaFeng [Tue, 28 Mar 2017 11:13:10 +0000 (19:13 +0800)]
modify old naming Testcase_base to TestCase

Testcase_base is the first version, now TestCase is adopted

Change-Id: If25eef0d8164220bd36f86fe636f7f1c0b247564
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoRevert "Make SFC test a python call to main()"
George Paraskevopoulos [Tue, 28 Mar 2017 09:27:22 +0000 (12:27 +0300)]
Revert "Make SFC test a python call to main()"

This reverts commit d5820bef80ea4bdb871380dbfe41db12290fc5f8.

Robot test runs before SFC test and it imports
https://github.com/robotframework/SSHLibrary
which does a monkey patching in
the python runtime / paramiko.
Untill now sfc run in a new python process (clean)
because it run using the bash command.
But when importing it as a module and call main()
from python, it will run in the patched runtime
and it will error out.
https://hastebin.com/iyobuxutib.py

Change-Id: I54237c32c957718b363d302efe84e01bc78e4f47
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agorefstack client: manually running improvement
MatthewLi [Sat, 25 Mar 2017 06:44:00 +0000 (02:44 -0400)]
refstack client: manually running improvement

JIRA: FUNCTEST-758

1.python tempest_conf.py can generate a reference tempest.conf under /hom/opnfv/.../refstack_client
  this is based on "rally verify configure-verifier"
  surely, user can define his/her own tempest.conf by not using this
2.python refstack_client.py -c <tempest_conf_path> --testlist <testlist_file_path>
  if not given, will use default path, if file not exists, will have error

Change-Id: I1ceecbe8fe86fbe0d53b736a0f3b9a9ae01f262f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoMerge "Fix pylint warnings in odl"
Jose Lausuch [Tue, 28 Mar 2017 08:50:19 +0000 (08:50 +0000)]
Merge "Fix pylint warnings in odl"

7 years agoMore Unit Tests for utils module
ashishk1994 [Tue, 28 Mar 2017 08:46:14 +0000 (14:16 +0530)]
More Unit Tests for utils module

This patch adds some more unit tests for
utils/openstack_tacker file and also
adds unit tests for utils/functest_logger file

Change-Id: I1a4c91eff87aebc3614ef01c3b5de0d2e6716afa
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoMerge "Add docstrings in testcase.py"
Cedric Ollivier [Tue, 28 Mar 2017 08:12:28 +0000 (08:12 +0000)]
Merge "Add docstrings in testcase.py"

7 years agoMerge "Rename testcase_base to testcase"
Cedric Ollivier [Tue, 28 Mar 2017 08:12:21 +0000 (08:12 +0000)]
Merge "Rename testcase_base to testcase"

7 years agoMerge "Switch TestcaseBase to TestCase"
Cedric Ollivier [Tue, 28 Mar 2017 08:12:15 +0000 (08:12 +0000)]
Merge "Switch TestcaseBase to TestCase"

7 years agoRemove vping_ssh from bgpvpn and gluon scenario
Nikolas Hermanns [Mon, 27 Mar 2017 16:15:01 +0000 (18:15 +0200)]
Remove vping_ssh from bgpvpn and gluon scenario

Cause of the bug:
https://bugs.opendaylight.org/show_bug.cgi?id=5586
Floating ip is not working at the moment for us.

We don't want to remove the vping_ssh test from
fuel. the scenarios are called different in fuel and
in apex. odl-bgpvpn in apex. odl_l2-bgpvpn in fuel.

Change-Id: Iaa2e6cea8a4fdb8635f018427aaf30634fd8d2d5
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoFix pylint warnings in odl
Cédric Ollivier [Mon, 27 Mar 2017 13:32:59 +0000 (15:32 +0200)]
Fix pylint warnings in odl

It takes into account the following warnings:
  - invalid-name
  - logging-not-lazy
  - dangerous-default-value
  - broad-except (locally-disabled)
  - too-few-public-methods (locally-disabled)

Change-Id: Iec59108cc16872090c5def0bb38c10a7aeec46fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd docstrings in testcase.py
Cédric Ollivier [Mon, 27 Mar 2017 12:47:16 +0000 (14:47 +0200)]
Add docstrings in testcase.py

testcase.py is now rated at 10.00/10 by pylint.

Change-Id: Ia90e53db7a25aac3827cd29bb9fd6baaa46cd487
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoChanging project name of vRouter
ShuyaNakama [Mon, 27 Mar 2017 09:15:43 +0000 (18:15 +0900)]
Changing project name of vRouter

JIRA: FUNCTEST-769

 When pushing result to DB in vRouter module an error occurred.
 couse is wrong project name.
 We changed project name from "vRouter" to "functest".

Change-Id: I8b8289b48330b17b6d6620524024dea4f488e38a
Signed-off-by: Shuya Nakama <shuya.nakama@okinawaopenlabs.org>
7 years agoMore Unit Tests for ci directory
ashishk1994 [Sun, 26 Mar 2017 20:34:13 +0000 (02:04 +0530)]
More Unit Tests for ci directory

This patch adds more unit tests for ci/prepare_env,
ci/run_tests and ci/tier_handler to reach the coverage
more than 80%

Change-Id: Ia3b7105542105bf8c5e3db58c898ba0569190a80
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoRename testcase_base to testcase
Cédric Ollivier [Mon, 27 Mar 2017 08:26:05 +0000 (10:26 +0200)]
Rename testcase_base to testcase

It simply removes the useless suffix.

Change-Id: Ib9a682b57d8f33518359d817a593bb3786577390
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoSwitch TestcaseBase to TestCase
Cédric Ollivier [Mon, 27 Mar 2017 07:33:20 +0000 (09:33 +0200)]
Switch TestcaseBase to TestCase

It partially reverts "Rename TestCasesBase into TestcaseBase" [1] and
removes the useless suffix too.

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

Change-Id: Iddf2ec8d6c1dafe6e4c6713c2e69969613317471
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Fix pylint warnings in test_testcase_base"
Cedric Ollivier [Mon, 27 Mar 2017 07:21:45 +0000 (07:21 +0000)]
Merge "Fix pylint warnings in test_testcase_base"

7 years agoMerge "Fix pylint warnings in testcase_base"
Morgan Richomme [Mon, 27 Mar 2017 06:47:57 +0000 (06:47 +0000)]
Merge "Fix pylint warnings in testcase_base"

7 years agoMerge "Update documentation for Danube"
Morgan Richomme [Mon, 27 Mar 2017 06:41:33 +0000 (06:41 +0000)]
Merge "Update documentation for Danube"

7 years agoFix pylint warnings in test_testcase_base
Cédric Ollivier [Sun, 26 Mar 2017 10:08:32 +0000 (12:08 +0200)]
Fix pylint warnings in test_testcase_base

It takes into account the following warnings:
  - wrong-import-order
  - no-value-for-parameter

The 'no-value-for-parameter' warnings are false positive. The added
default values are useless but avoid them.

Change-Id: I50d0af178d9da668a3c72e75f5af467d36ca0e6a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix pylint warnings in testcase_base
Cédric Ollivier [Sun, 26 Mar 2017 09:55:10 +0000 (11:55 +0200)]
Fix pylint warnings in testcase_base

It takes into account the following warnings:
  - bare-except
  - unused-argument
  - broad-except

Change-Id: I3a50bf6d07823edc80a7f0f78f46681ace7f4a39
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Fix Dockerfile.aarch64"
Jose Lausuch [Sat, 25 Mar 2017 15:25:09 +0000 (15:25 +0000)]
Merge "Fix Dockerfile.aarch64"

7 years agoMerge "Printing the flavor_metadata for SnapsTestRunner"
Jose Lausuch [Sat, 25 Mar 2017 15:08:39 +0000 (15:08 +0000)]
Merge "Printing the flavor_metadata for SnapsTestRunner"

7 years agoFix Dockerfile.aarch64
Linda Wang [Sat, 25 Mar 2017 05:04:38 +0000 (05:04 +0000)]
Fix Dockerfile.aarch64

Bugfix for error:
https://build.opnfv.org/ci/view/functest/job/functest-docker-build-arm-push-master/99/console

Change-Id: I04b45c05d4bb48c9b5b55050addce707177abcd4
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Change api version"
Helen Yao [Sat, 25 Mar 2017 01:22:46 +0000 (01:22 +0000)]
Merge "Change api version"

7 years agoUpdate documentation for Danube
Morgan Richomme [Fri, 17 Mar 2017 16:40:12 +0000 (17:40 +0100)]
Update documentation for Danube

JIRA: FUNCTEST-559
JIRA: FUNCTEST-560

Change-Id: I2104a9b68bb3985c9f5900ebc30bab89b09b7835
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoPrinting the flavor_metadata for SnapsTestRunner
randyl [Fri, 24 Mar 2017 14:51:35 +0000 (08:51 -0600)]
Printing the flavor_metadata for SnapsTestRunner

Need to print what is being tested to debug and
verify results.

JIRA : FUNCTEST-768

This is needed by the Apex team for the danube release.

Change-Id: Ie7400af14f7e54d1deb5b2b5d2fc91eb5b14ca91
Signed-off-by: randyl <r.levensalor@cablelabs.com>
7 years agoChange api version
Dimitri Mazmanov [Fri, 24 Mar 2017 10:59:41 +0000 (11:59 +0100)]
Change api version

The api_version had full API url instead of just the version.

Change-Id: I78b39ea5d39e1ffab54d2bca41df96aadd47ac86
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
7 years agoMerge "Clean redundant error logs of refstack_defcore in the console"
Jose Lausuch [Fri, 24 Mar 2017 07:49:42 +0000 (07:49 +0000)]
Merge "Clean redundant error logs of refstack_defcore in the console"

7 years agoFix VIM onboarding
Michael Pauls [Thu, 23 Mar 2017 10:28:25 +0000 (11:28 +0100)]
Fix VIM onboarding

Usage openstack client in order to get project id directly

Change-Id: Id75dcd594430501152c3ba02a969ac1a2aaaadc5
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoMerge "bug fix: unit test on openstack_utils"
Morgan Richomme [Thu, 23 Mar 2017 14:51:09 +0000 (14:51 +0000)]
Merge "bug fix: unit test on openstack_utils"

7 years agoMerge "Replace domain name from Default to default"
Jose Lausuch [Thu, 23 Mar 2017 14:43:56 +0000 (14:43 +0000)]
Merge "Replace domain name from Default to default"

7 years agobug fix: unit test on openstack_utils
Morgan Richomme [Thu, 23 Mar 2017 14:33:58 +0000 (15:33 +0100)]
bug fix: unit test on openstack_utils

test_check_credentials_missing_env was corrected
but correction lead to good execution but false results

Change-Id: I47ff7d6aa0d5dda78cd978f1905b570c02160a8a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "[fuel] Skip test_server_basic_ops tempest test"
Jose Lausuch [Thu, 23 Mar 2017 14:00:27 +0000 (14:00 +0000)]
Merge "[fuel] Skip test_server_basic_ops tempest test"

7 years agoMerge "Ignore certain modules for logging"
Jose Lausuch [Thu, 23 Mar 2017 13:39:56 +0000 (13:39 +0000)]
Merge "Ignore certain modules for logging"

7 years agoClean redundant error logs of refstack_defcore in the console
Linda Wang [Wed, 22 Mar 2017 01:35:42 +0000 (01:35 +0000)]
Clean redundant error logs of refstack_defcore in the console

1. Remove the file "refstack-error.log", and all the stderr and stdout
will be stored in refstack.log
2. Clean redundant error logs in the console and all the detailed error
logs will be found in refstack.log.

Change-Id: I7e71567c98dc89c529421eccbf1b497962b07405
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Enable functest offline by installing tempest system wide"
Jose Lausuch [Thu, 23 Mar 2017 11:06:05 +0000 (11:06 +0000)]
Merge "Enable functest offline by installing tempest system wide"

7 years agoMerge "Switch test_db_url to a directory"
Morgan Richomme [Thu, 23 Mar 2017 10:31:36 +0000 (10:31 +0000)]
Merge "Switch test_db_url to a directory"

7 years agoMerge "Make SFC test a python call to main()"
Morgan Richomme [Thu, 23 Mar 2017 09:47:37 +0000 (09:47 +0000)]
Merge "Make SFC test a python call to main()"

7 years agoMerge "Add reveal.js as a submodule"
valentin boucher [Thu, 23 Mar 2017 09:46:52 +0000 (09:46 +0000)]
Merge "Add reveal.js as a submodule"

7 years agoReplace domain name from Default to default
Dimitri Mazmanov [Thu, 23 Mar 2017 09:05:11 +0000 (10:05 +0100)]
Replace domain name from Default to default

The tests don't pass if the domain name is Default.
Instead the domain id 'default' should be used.

Change-Id: Ife919f79f007ab3fea3d53744634a92ddb172c23
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
7 years agoMerge "Support running on openstack which enabled https"
Jose Lausuch [Thu, 23 Mar 2017 09:08:11 +0000 (09:08 +0000)]
Merge "Support running on openstack which enabled https"

7 years agoMerge "Fix Dockerfile"
Jose Lausuch [Wed, 22 Mar 2017 23:26:24 +0000 (23:26 +0000)]
Merge "Fix Dockerfile"

7 years agoIgnore certain modules for logging
jose.lausuch [Tue, 21 Mar 2017 16:50:25 +0000 (17:50 +0100)]
Ignore certain modules for logging

Some modules are logged to functest.log or the console
and are not relevant for us since they are already
in the openstack logs.
This causes a huge log which makes it unreadable.

Change-Id: I3f0fb83e2080e41cd5bf815f8448f5bc25e3464a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMake SFC test a python call to main()
jose.lausuch [Tue, 21 Mar 2017 14:17:46 +0000 (15:17 +0100)]
Make SFC test a python call to main()

Instead of python -> bash -> python, call
the SFC test using the execute() method that
is inherited from FeatureBase and it's a bash
call by default.
With this change, we call the SFC test using main()
of run_tests.py of SFC repo and will have
real time output.

Change-Id: I6d59821e603c88697a82b95c5626c5b703c11026
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoDisable blocking status for odl_netvirt
Jamo Luhrsen [Wed, 22 Mar 2017 21:30:25 +0000 (14:30 -0700)]
Disable blocking status for odl_netvirt

Change-Id: I4a3f10a82d3109a44f8db237cbd7beda06a361da
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix Dockerfile
jose.lausuch [Wed, 22 Mar 2017 17:03:45 +0000 (18:03 +0100)]
Fix Dockerfile

Bugfix for error:
https://build.opnfv.org/ci/job/functest-docker-build-push-master/1001/console

Change-Id: I4bc398ecfaa5163e7ee271dd5b67b3d953fb59b1
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoSwitch test_db_url to a directory
xudan [Thu, 16 Mar 2017 07:09:53 +0000 (07:09 +0000)]
Switch test_db_url to a directory

We must now set a dir (e.g. /home/opnfv/db) to dump results. It avoids
replacing "results" and prevent from limiting the use of this decorator.
All data will be dumped into url/dump.txt

As also proposed in FUNCTEST-729, missing directories are created too.
The decorator will raise exceptions if dir exists or if target is not a
directory.

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
JIRA: FUNCTEST-729
Change-Id: I9650c72493043539f17725f5c328c12639ecc059
Signed-off-by: xudan <xudan16@huawei.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "bugfix: fail to push odl-sfc test result to TestDB"
Morgan Richomme [Wed, 22 Mar 2017 11:59:47 +0000 (11:59 +0000)]
Merge "bugfix: fail to push odl-sfc test result to TestDB"

7 years agobugfix: fail to push odl-sfc test result to TestDB
SerenaFeng [Wed, 22 Mar 2017 10:50:32 +0000 (18:50 +0800)]
bugfix: fail to push odl-sfc test result to TestDB

'functest-odl-sfc"' will appear as [functest-odl-sfc"],
tailing with ", it is not defined in TestDB. led to
failure pushing

Change-Id: I43966236e25578aed12952710b22ba99e244cf56
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "refstack: bugfix of testcase failure"
Jose Lausuch [Wed, 22 Mar 2017 09:57:15 +0000 (09:57 +0000)]
Merge "refstack: bugfix of testcase failure"

7 years agorefstack: bugfix of testcase failure
MatthewLi [Fri, 17 Mar 2017 03:42:55 +0000 (23:42 -0400)]
refstack: bugfix of testcase failure

JIRA: DOVETAIL-366
JIRA: DOVETAIL-758

1)for compass, joid, failure log
  https://build.opnfv.org/ci/view/functest/job/functest-joid-baremetal-daily-master/1062/consoleFull
  https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/936/consoleFull
  volume_device_name should be set vdb.
  for fuel, "vdb" is used for config, drive when force_config_drive=True is in action, so set to vdc
  testcase test_attach_detach_volume is not dynamic enough, to skip temporarily.
2)rename defcore_201608.txt to defcore.txt
  since this file is the default running file, can be changed as version changes.
  and will be easy for dovetail to consume with a general name rather than a special name.
  then dovetail can define the testcases to replace this file when running.

Change-Id: I58f89095721a7bdb15230b9af2b96234c3c7dcb9
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoMerge "Update keys of details dic for refstack_defcore"
Morgan Richomme [Wed, 22 Mar 2017 08:59:35 +0000 (08:59 +0000)]
Merge "Update keys of details dic for refstack_defcore"

7 years agoMerge "Set refstack_defcore criteria to 100%"
Morgan Richomme [Wed, 22 Mar 2017 08:58:49 +0000 (08:58 +0000)]
Merge "Set refstack_defcore criteria to 100%"

7 years agoMerge changes from topics '644', 'improve_unix_permission_check'
Cedric Ollivier [Wed, 22 Mar 2017 08:53:23 +0000 (08:53 +0000)]
Merge changes from topics '644', 'improve_unix_permission_check'

* changes:
  Change execute bits
  Improve unix permissions fixes

7 years agoMerge "Respect common unix permissions"
Cedric Ollivier [Wed, 22 Mar 2017 08:53:06 +0000 (08:53 +0000)]
Merge "Respect common unix permissions"

7 years agoMerge "bug fix: version not retrieved on weekly jobs"
Morgan Richomme [Tue, 21 Mar 2017 13:03:58 +0000 (13:03 +0000)]
Merge "bug fix: version not retrieved on weekly jobs"

7 years agoChange execute bits
Cédric Ollivier [Tue, 21 Mar 2017 10:38:08 +0000 (11:38 +0100)]
Change execute bits

It applies the rules proposed by "Improve unix permissions fixes" [1].

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

Change-Id: If5142befb74165a982f9281e8770289b303d483d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoImprove unix permissions fixes
Cédric Ollivier [Tue, 21 Mar 2017 09:40:26 +0000 (10:40 +0100)]
Improve unix permissions fixes

It now removes exec permissions for files which don't require them.
It prevents from modifying files in functest_venv too.

Change-Id: I3c88817713711a0009a7392f19fe5ccc63ba98cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "[cloudify_ims] Change VNF flavor value"
valentin boucher [Tue, 21 Mar 2017 09:43:41 +0000 (09:43 +0000)]
Merge "[cloudify_ims] Change VNF flavor value"

7 years agoMerge "Remove functest_defcore testcases"
Morgan Richomme [Tue, 21 Mar 2017 09:41:04 +0000 (09:41 +0000)]
Merge "Remove functest_defcore testcases"

7 years agoRespect common unix permissions
Cédric Ollivier [Tue, 21 Mar 2017 09:33:26 +0000 (10:33 +0100)]
Respect common unix permissions

It was fixed by the following rule:
find ${FUNCTEST_REPO_DIR} -name "*.py" \
    -not -path "*tests/unit*" |xargs grep __main__ \
    |cut -d\: -f 1 |xargs chmod -c 755 &&
    find ${FUNCTEST_REPO_DIR} -name "*.sh" \
    |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755

Change-Id: I23fab3ff90d41d040264b5b8c0e425b6a42c7e55
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUpdate keys of details dic for refstack_defcore
Linda Wang [Tue, 21 Mar 2017 09:28:43 +0000 (09:28 +0000)]
Update keys of details dic for refstack_defcore

Update the keys of details in refstack_defcore ("num_tests", "num_failures",
and "failed") to "tests", "failures" and "errors", in order to be consistent
with those in tempest.

Change-Id: I24f8a23548ffa253621083bbf6eb988306fd6edb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoSet refstack_defcore criteria to 100%
Linda Wang [Tue, 21 Mar 2017 09:03:33 +0000 (09:03 +0000)]
Set refstack_defcore criteria to 100%

In order to be consistent with other tests, set refstack_defcore
criteria to 100%.

Change-Id: Iab8bc0cb66b834a661b860a032192d502fde578b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years ago[cloudify_ims] Change VNF flavor value
boucherv [Tue, 21 Mar 2017 08:49:09 +0000 (09:49 +0100)]
[cloudify_ims] Change VNF flavor value

Change-Id: I843f77fa5051a99be8bdbdbb76300ab965e9d8af
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoFix usage of v3 APIs of OpenStack
Michael Pauls [Mon, 20 Mar 2017 15:08:13 +0000 (16:08 +0100)]
Fix usage of v3 APIs of OpenStack

Using OS_PROJECT_ID instead of OS_TENANT_NAME as tenant
when onboarding a new VIM/PoP with Open Baton

Change-Id: I873badc73e7b33179fa487505d18ce89840d6599
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoAdd reveal.js as a submodule
Cédric Ollivier [Mon, 20 Mar 2017 09:32:32 +0000 (10:32 +0100)]
Add reveal.js as a submodule

It modifies all presentations to be conformed with the new dir. It also
deletes reveal.js' README.txt which is now useless.

Change-Id: Ic16b087416e855dab8fa8a4ae2f8dd591b70859c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years ago[vnf_base] improve exception
boucherv [Mon, 20 Mar 2017 09:52:48 +0000 (10:52 +0100)]
[vnf_base] improve exception

Return on part of previous changes in commit: 30257
https://gerrit.opnfv.org/gerrit/#/c/30257/

Change-Id: I11b33ee2a6f9d4cbcf1449006b47be508fce655e
Signed-off-by: boucherv <valentin.boucher@orange.com>