Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Iaab305c913173594ee2d857255b6492d15f15916
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
(cherry picked from commit 9e1dba02a3e545fb6c3d28fa6478b01ece36647c)
|
|
|
|
|
|
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>
(cherry picked from commit 41b103d9a6804a97ca85e2b09b628cea06219faf)
|
|
|
|
Change-Id: I640531ebcc471adebe780c75627d822cf8fd956d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 6c9981cf03127c847481235e2b26377ecd108c2d)
|
|
Change-Id: I80015fa05811f11c2c62e4c87f6008bea279fbf7
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
(cherry picked from commit 251b25f7dc3a42d3717e696a164a92510e21cb38)
|
|
JIRA: FUNCTEST-562
Change-Id: I1e2c827bad7c924561bbe433dac97c096282024d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit b59f2b7f4d2f9aac185ff043c8b9cdad410ef966)
|
|
|
|
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>
(cherry picked from commit 69de5300f0a5b75aed99a24a809f852498dc0695)
|
|
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>
(cherry picked from commit 9fba4aed6b8f2ef1c939498d866f2cae57b89246)
|
|
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>
(cherry picked from commit e59055e29b5cc6a027d3a24803cc05fd709cca90)
|
|
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>
(cherry picked from commit 5af67bcca589c275b73fe5e4bca9bea5871948aa)
|
|
|
|
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>
(cherry picked from commit 9439d684449825f8d580c26b1b9475ccbdde698a)
|
|
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>
(cherry picked from commit e7440f39c66121cf915f156897c0a7d0e2af2951)
|
|
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>
(cherry picked from commit e4d7506a5a21550a89f897dfaea3f0dcae352e5b)
|
|
JIRA: FUNCTEST-559
JIRA: FUNCTEST-560
Change-Id: I2104a9b68bb3985c9f5900ebc30bab89b09b7835
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 19f9f2a99641cca98b896aa975a2182c43ba7f97)
|
|
|
|
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>
(cherry picked from commit 16cda37220675370bb18ab06079d829fcd9f6050)
|
|
The api_version had full API url instead of just the version.
Change-Id: I78b39ea5d39e1ffab54d2bca41df96aadd47ac86
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
(cherry picked from commit 3fb0175dab6d60af2fe40274fab19abf3ea6162f)
|
|
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>
(cherry picked from commit 0a07e0f686d9aaaa12b6445e99a67e0a7f7dbbd0)
|
|
Usage openstack client in order to get project id directly
Change-Id: Id75dcd594430501152c3ba02a969ac1a2aaaadc5
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit 84a87e788b47d5a8fa3565195672fdddd35f4cf0)
|
|
|
|
|
|
JIRA: FUNCTEST-757
Change-Id: Ic87bee3020b9714bcd83105127440a9c1a7ff2ad
Signed-off-by: helenyao <yaohelan@huawei.com>
(cherry picked from commit 4a989722feca53e1baa6f64985841bd6a244d627)
|
|
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>
(cherry picked from commit d832b215a844cc2e0008eb0a86b689830e0277bb)
|
|
Tempest ssh client is hanging on opendaylight enabled envs
(getting deadlock in paramiko recv_exit_status method) while
trying to execute a command on a vm.
Change-Id: I6660cebc6bc44a5f02e6a1e83ee9a61bae141746
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 1b2db725757ef1c444e094db45287b291ad9f3a6)
|
|
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>
(cherry picked from commit d6f4f25e6269a23120b37f58178164740f1cf0e9)
|
|
JIRA: FUNCTEST-764
1. When creating verifier via rally in functest env prepare, without the
parameter "--system-wide", rally will install tempest and its dependent
packages into the virtual env of rally. Thus, it needs to connect internet
when installing tempest, which will not enable functest offline.
2. Some packages are needed for multisite testcase, and they are installed
in virtual env of rally before. But if "--system-wide" is set, there packages
should be installed addtionally.
Change-Id: I340701e9ed4a0f8f278ff952f0dd61470c6deed1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 264896f475e3f0975754c9fa78980051661698c0)
|
|
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>
(cherry picked from commit 18bdde48e866f198b5d08b62fc9e26e3dfe4e818)
|
|
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>
(cherry picked from commit d5820bef80ea4bdb871380dbfe41db12290fc5f8)
|
|
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>
(cherry picked from commit 9ae14f931da5baf42a3b62eef49c644e762405fc)
|
|
Change-Id: I4a3f10a82d3109a44f8db237cbd7beda06a361da
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
(cherry picked from commit 569182f4b24de6b0f020754d717129a82d19930b)
|
|
'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>
(cherry picked from commit 3137017fd435547abdcc2df0d73be5f1b2ef443a)
|
|
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>
(cherry picked from commit 93d5bf2ad47f431bfab173ed718bb7469b67514f)
|
|
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>
(cherry picked from commit fa1dea1dbcf36e7a9d44fcb716fa9af0ef47b445)
|
|
a first fix had been done
but the version was retrieved 2 times with the regex
this patch removes the second regex and re-use get_version
the associated unit tests has been removed because even
if the build_tag is badly formated, it will not prevent
the results to be pushed with version = unknown
JIRA: FUNCTEST-765
Change-Id: I2cbe8ba1dd7278c3f3510a47c667c433f65e00f8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit afc59e6af25a60c68a3095365c780974721f1364)
|
|
Change-Id: I843f77fa5051a99be8bdbdbb76300ab965e9d8af
Signed-off-by: boucherv <valentin.boucher@orange.com>
(cherry picked from commit 442cedd8fd0453d5b662319c6d307bc0ee6437da)
|
|
refstack_defcore has been merged
the testcase is no more needed (duplication)
Change-Id: I287406b40cdd89ff2c4eadcde7e9d5a93e21953a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 9f6db60565be34a886f457d92d655d364bd71f9d)
|
|
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>
(cherry picked from commit 340cf9330af728dac334de7b391c3ea3971fd125)
|
|
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>
(cherry picked from commit 3575dcb2a262c623dd4ded0823bc78adf3a1012e)
|
|
until exceptions are better managed in abstraction
Currently it triggers an exit from the jenkins job
and prevent other tests to be run
Change-Id: Id3b18c1d6d3b786fc78456b3ad51963d2cbb2cc1
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 6ac6937237bc03b27935f71bbb33c0abffc1e993)
|
|
- fix regex issue
- add unit test to cover weekly and dummy build tags
- remove useless logs
JIRA: FUNCTEST-765
Change-Id: I7a8d40b4662f4557cd080669da46fb1c32d2ad6d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit f15a4f277fb61b86074e949e2323b8f652969dd1)
|
|
Change-Id: I6d6cf36c2a82df1ff9943cc3084b38967033bb94
Signed-off-by: boucherv <valentin.boucher@orange.com>
(cherry picked from commit 5b8aa73c0ae774649998c62d9d38d4c7bd09bb84)
|
|
Change-Id: I3aa00be7e6e7d3e8de86a8b6a8e9564dc548a3d3
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit dce6afeedc21ec9e5b97d630493b9307682ccaa4)
|
|
The criteria of refstack_defcore is supposed to be ">= 80%" rather
than "== 80%".
Change-Id: I9f9e38c84925c3725289e8b427e5735d131459f1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 5f500e6a33c9b8ea904a46b2f84d734f26da4aaf)
|
|
JIRA: FUNCTEST-758
JIRA: DOVETAIL-366
Change-Id: I02784263bca26a1bfc786949b933d688c35c950f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
(cherry picked from commit 0deaa18a03be4ba14a3d1c7c71ae404e0f6837a8)
|
|
JIRA: DOVETAIL-366
JIRA: FUNCTEST-758
Parse refstack_defcore results, including:
1. show number of tests passed, skipped and failed
2. record the detailed info about testcases passed, skipped and failed.
Change-Id: I355a907c5c9ea2739f845447144c62613ec3bb6a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 2223051412c8855afebb7a9d657c90e9f235f78a)
|
|
JIRA: DOVETAIL-366
JIRA: FUNCTEST-758
usage:
1,functest testcase run refstack_defcore, will run the
default testcases in defcore_201608.txt
2,cd <path>/functest/functest/opnfv_tests/openstack/refstack_client
python refstack_client.py -c <tempest-conf-file-path> --testlist <testlist-path>
this has been worked with openstack-refstack experts, etc.
tested workedi.
result see http://paste.openstack.org/show/602173/
Change-Id: I1aaffea01dec9dc8d1c572885bdf516614a16894
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
(cherry picked from commit 99f308dc9b11e8f99d928840de576af274229331)
|