yardstick.git
6 years agoMerge "Remove __init__ method overriding in HeatContextTestCase" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:04:50 +0000 (13:04 +0000)]
Merge "Remove __init__ method overriding in HeatContextTestCase" into stable/fraser

6 years agoMerge "Bump oslo.messaging version to 5.36.0" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:04:21 +0000 (13:04 +0000)]
Merge "Bump oslo.messaging version to 5.36.0" into stable/fraser

6 years agoMerge "Set "cmd2" library to version 0.8.6" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:04:08 +0000 (13:04 +0000)]
Merge "Set "cmd2" library to version 0.8.6" into stable/fraser

6 years agoRemove __init__ method overriding in HeatContextTestCase 87/58787/3
Rodolfo Alonso Hernandez [Fri, 1 Jun 2018 08:38:28 +0000 (09:38 +0100)]
Remove __init__ method overriding in HeatContextTestCase

Unit test case clases should implement setUp() method instead of overriding
__init__() method.

JIRA: YARDSTICK-1210

Change-Id: I0f9a10575f9aeebf76dfa84619e59589b3ea83f6
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 619bed631f064a94ab20ac296802d467ebe32318)

6 years agoCorrectly set PYTHONPATH in Dockerfile 49/58849/1
John O Loughlin [Wed, 2 May 2018 07:50:53 +0000 (08:50 +0100)]
Correctly set PYTHONPATH in Dockerfile

JIRA: YARDSTICK-1144

Change-Id: I8c0fe229ed620417a85356e017b171260373c43f
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
(cherry picked from commit a114dc39f003beb1bb1ed12ed17fd3a6d0e7deaa)

6 years agoBump oslo.messaging version to 5.36.0 79/58779/1
Rodolfo Alonso Hernandez [Mon, 28 May 2018 15:25:26 +0000 (16:25 +0100)]
Bump oslo.messaging version to 5.36.0

A decoding error was introduced in the AMQP libraries installed by
oslo.messaging version 5.30.2.

Error example:

File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/
        .tox/functional/local/lib/python2.7/site-packages/amqp/utils.py",
         line 89, in str_to_bytes
  return s.encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd2 in position 3: ordinal not in range(128)

This problem is fixed in the library versions installed in version 5.36.0.

JIRA: YARDSTICK-1204

Change-Id: I4719d8e0a0891ebbb3b87c31d593d15f897ef53a
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry-picked from commit bcc841699c8072a74378774593729931e81b4398)

6 years agoSet "cmd2" library to version 0.8.6 77/58777/1
Rodolfo Alonso Hernandez [Mon, 28 May 2018 16:55:51 +0000 (17:55 +0100)]
Set "cmd2" library to version 0.8.6

Last "cmd2" version, 0.9.0, removed Python 2+ support [1]. In order to
support Python 2.7, version 0.8.6 (or earlier) must be installed.

[1] https://github.com/python-cmd2/cmd2/commit/e54e5a5b891548df4df0acb04b6e607ad8f871b1

JIRA: YARDSTICK-1205

Change-Id: Ic2fe57438720de5b21c75f9456e653c6facf3ae9
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit c4d821c58858418ce8dfec95426f06ae11b25c7b)

6 years agoMove tests: unit/network_services/{lib/,collector/,*.py} 51/58751/1
Emma Foley [Fri, 27 Apr 2018 10:29:27 +0000 (10:29 +0000)]
Move tests: unit/network_services/{lib/,collector/,*.py}

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Idc2e70291b6d9b4cf7e7249a10c4a290b999206c
(cherry picked from commit 2e75e6d27240945ec985998bbe9ec6241d11626a)

6 years agoUpdate pmd/lcore mask for OVS-DPDK context 11/58711/1
Stepan Andrushko [Mon, 18 Jun 2018 11:23:16 +0000 (14:23 +0300)]
Update pmd/lcore mask for OVS-DPDK context

Added default values for pmd/lcore mask to the SampleVNF test case for
Trex TG.
lcore mask - specifies the CPU cores used for non-datapath OVS-DPDK
threads.
pmd mask - specifies the CPU cores used for data path packet processing.
Updated documentation for Standalone OVS-DPDK context.

JIRA: YARDSTICK-1246

Change-Id: I8d008a185c94d2047ffa4769d7974bc4d283fd7f
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
(cherry picked from commit 779a868348c3361f2a3054f06002807fd69a6549)

6 years agoMerge "Bugfix: openrc api dump should be safe_dump" into stable/fraser
Abhijit Sinha [Thu, 14 Jun 2018 13:32:40 +0000 (13:32 +0000)]
Merge "Bugfix: openrc api dump should be safe_dump" into stable/fraser

6 years agoMerge "[release] Yardstick release note 6.1.0" into stable/fraser opnfv-6.1.0
Ross Brattain [Fri, 25 May 2018 21:13:52 +0000 (21:13 +0000)]
Merge "[release] Yardstick release note 6.1.0" into stable/fraser

6 years agoMerge "Get HA test case results on failure" into stable/fraser
Ross Brattain [Fri, 25 May 2018 20:35:44 +0000 (20:35 +0000)]
Merge "Get HA test case results on failure" into stable/fraser

6 years agoMerge "Bugfix: Yardstick GUI build fails on Fraser 6.1.0" into stable/fraser
Ross Brattain [Fri, 25 May 2018 18:29:37 +0000 (18:29 +0000)]
Merge "Bugfix: Yardstick GUI build fails on Fraser 6.1.0" into stable/fraser

6 years agoMerge "update docker image tag to 6.1.0" into stable/fraser
Ross Brattain [Fri, 25 May 2018 17:44:17 +0000 (17:44 +0000)]
Merge "update docker image tag to 6.1.0" into stable/fraser

6 years ago[release] Yardstick release note 6.1.0 85/57885/1
rexlee8776 [Thu, 17 May 2018 02:28:30 +0000 (10:28 +0800)]
[release] Yardstick release note 6.1.0

JIRA: YARDSTICK-1182

Change-Id: I3baca52e9bc0360b43f2ce61ea2f166a70e8c90a
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 23d911a604f5686ade4fbbf80e0e046a2160dc8c)

6 years agoBugfix: Yardstick GUI build fails on Fraser 6.1.0 81/57881/1
rexlee8776 [Fri, 25 May 2018 07:49:43 +0000 (07:49 +0000)]
Bugfix: Yardstick GUI build fails on Fraser 6.1.0

Yardstick web GUI build fails due to angular version

JIRA: YARDSTICK-1202

Change-Id: Ie075d18cb2eac2070267759978cbdb7c784599ef
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 81059ba8c7293a50aee72251afee89eb65547562)

6 years agoupdate docker image tag to 6.1.0 75/57875/1
Ross Brattain [Fri, 25 May 2018 04:17:26 +0000 (21:17 -0700)]
update docker image tag to 6.1.0

Change-Id: Ia7a0668c1c2461fceb97425bcb6ade5bdb105c79
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoDockerfile: add ping for prepare_env.sh 23/57823/1
Ross Brattain [Thu, 24 May 2018 14:17:32 +0000 (07:17 -0700)]
Dockerfile: add ping for prepare_env.sh

INFO: Creating openstack credentials ..
Verifying connectivity to 10.20.0.2...
/home/opnfv/repos/yardstick//tests/ci/prepare_env.sh: line 56: ping: command not found
/home/opnfv/repos/yardstick//tests/ci/prepare_env.sh: line 56: ping: command not found

https://build.opnfv.org/ci/view/yardstick/job/yardstick-fuel-baremetal-daily-master/2400/console

JIRA: YARDSTICK-1201

Change-Id: Ib9e139046724ece4be7a85cc1ae74cbb0ec8e203
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoGet HA test case results on failure 97/57797/2
Miikka Koistinen [Mon, 9 Apr 2018 14:40:39 +0000 (17:40 +0300)]
Get HA test case results on failure

Now, yardstick HA test cases (which have 'sla action: monitor') do
not output results if the test case SLA validation fails.
This patch modifies the task runner and the serviceHA scenario so
that during an SLA validation failure the test result data is
captured correctly.

Do similar changes in the general scenario.

fix missing variable k
s/envrioment/environment

JIRA: YARDSTICK-1115

Change-Id: I648a8b229600c0ad089320ac3f803698f73aa800
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
(cherry picked from commit dd87e15c9c4f0aff3577c1bcd68bd86dd2d64898)
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoTest case spec for SDN controller resilience in HA config 99/57799/1
Georg Kunz [Tue, 23 Jan 2018 12:43:24 +0000 (13:43 +0100)]
Test case spec for SDN controller resilience in HA config

This is the test case specification for verifying the HA capabilities
of a SDN controller running in a HA configuration.

JIRA: HA-33
JIRA: YARDSTICK-955

Change-Id: I016ec1ef7bb51b79f8c21440abf8f04c923ef9dc
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoBugfix: openrc api dump should be safe_dump 29/57729/1
rexlee8776 [Wed, 9 May 2018 09:52:27 +0000 (09:52 +0000)]
Bugfix: openrc api dump should be safe_dump

1. fix safe_dump
2. fix pep8 problem, use flask_restapi custom error handling [1]

[1] https://flask-restful.readthedocs.io/en/latest/extending.html#custom-error-handlers

JIRA: YARDSTICK-1165

RestApi openrc dump clouds.yaml error

it now use yarml.dump, should be yaml.safe_dump.

dump would gererate !!python/unicode and cause error when upload openrc file in gui

Change-Id: Id3e85f7ba7d4967277ef79109b07d7552179e5db
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit f1a71b2889da3b49358b10b9a12ea5a512dd2743)

6 years agoTest case spec for SDN Virtual Switch resilience. 97/57597/1
Dimitrios Markou [Tue, 24 Apr 2018 08:09:37 +0000 (11:09 +0300)]
Test case spec for SDN Virtual Switch resilience.

This is a test case for verifying the proper functionality of
SDN Vswitches which are located in the Compute nodes of an OpenStack
environment.
This test case is unaware of the configuration (non-HA,HA)

JIRA: HA-34
JIRA: YARDSTICK-955

Change-Id: I701bf1f9527b1a31b9cb52e102734e10c4162766
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 4cc2882c73a64e243f98c0448ca2d1f9a677953c)

6 years agoMerge "Update samples/test_suite.yaml" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 17 May 2018 08:11:02 +0000 (08:11 +0000)]
Merge "Update samples/test_suite.yaml" into stable/fraser

6 years agoMerge "Fix log typos in benchmark/scenarios/availability" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 17 May 2018 07:46:38 +0000 (07:46 +0000)]
Merge "Fix log typos in benchmark/scenarios/availability" into stable/fraser

6 years agoMerge "Remove unused methods in SampleVNF" into stable/fraser
Rex Lee [Thu, 17 May 2018 02:25:29 +0000 (02:25 +0000)]
Merge "Remove unused methods in SampleVNF" into stable/fraser

6 years agoFix log typos in benchmark/scenarios/availability 01/57201/2
Miikka Koistinen [Mon, 7 May 2018 09:12:33 +0000 (12:12 +0300)]
Fix log typos in benchmark/scenarios/availability

This commit fixes multiple log message typos and all the emerged pylint
errors.

MonitorProcess/MonitorOpenstackCmd.verify_SLA() repeat already logged
information, so these prints are removed.

JIRA: YARDSTICK-1145

Change-Id: Ifef26e4b4ff7766089caec24785511969c2d663e
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
(cherry picked from commit 6fa51bdcc7ad7e4d407f2803fc05b1cfaf66c115)

6 years agoMerge "Update the dummy-scenario-heat-context testcase" into stable/fraser
Rodolfo Alonso Hernandez [Wed, 16 May 2018 08:41:34 +0000 (08:41 +0000)]
Merge "Update the dummy-scenario-heat-context testcase" into stable/fraser

6 years agoMerge "Document for Euphrates test case results" into stable/fraser
Jing Lu [Wed, 16 May 2018 04:05:10 +0000 (04:05 +0000)]
Merge "Document for Euphrates test case results" into stable/fraser

6 years agoDocument for Euphrates test case results 95/57395/1
JingLu5 [Mon, 23 Apr 2018 02:47:08 +0000 (02:47 +0000)]
Document for Euphrates test case results

JIRA: YARDSTICK-1132

In B and C releases, Yardstick provides an overview of the results of test cases
developed by Yardstick, executed on OPNFV community labs.

This work has not been done for the D and E releases, although result analysis
for Euphrates is available at (https://wiki.opnfv.org/display/yardstick/Euphrates+release+test+results+analysis).
We plan to restart to provide a basic test case results analysis for Fraser and compare performance data with Euphrates.

This JIRA ticket will be resolved into 3 commits: 1. Document for E release test case data; 2. Document for F release test case data;
3. Document for results analysis.

Change-Id: I372a60807ac3dfaab87e70cdb956c1059b019f7a
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit 4c20fb57684bc21e7ae0461341088100e518307d)

6 years agoUpdate samples/test_suite.yaml 53/57253/1
Emma Foley [Mon, 16 Apr 2018 13:08:25 +0000 (13:08 +0000)]
Update samples/test_suite.yaml

The sample test suite at sample/test_suite.yaml contained incorrect
syntax. It has been updated to add the "default" parameter to
"task_args" when running a testcase.

JIRA: YARDSTICK-1125
Change-Id: I53409168e47d969317145623df1e2c789396cc32
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 7b00d64494bdd61f2ab37005de76fa5f6496d45d)

6 years agoImplement Virtual Switch resilience test case 63/57163/1
Dimitrios Markou [Wed, 25 Apr 2018 14:32:18 +0000 (17:32 +0300)]
Implement Virtual Switch resilience test case

This testcase tests the resilience of the Virtual
Switch in an OpenStack environment. It can only run in a
non Ubuntu distro because it is limited by this bug [0]

[0]: JIRA: YARDSTICK-1140

Change-Id: Ia1480fba9f3549d1144c80699056b501d3b07a0f
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 53f5951a47fcaa5a3f8bcd6ea1020e54a1b285d3)

6 years agoBug Fix: Start openvswitch service in Centos distro 57/57157/3
Dimitrios Markou [Fri, 27 Apr 2018 08:51:17 +0000 (11:51 +0300)]
Bug Fix: Start openvswitch service in Centos distro

JIRA: YARDSTICK-1142

Change-Id: I82c479c95e10de37416081eacf2d8bee396e50dc
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit d00660e583ef89fe07149c7f0cffcced7cd72133)

6 years agoAdd support for restarting a service 55/57155/3
Dimitrios Markou [Wed, 25 Apr 2018 14:37:03 +0000 (17:37 +0300)]
Add support for restarting a service

JIRA: YARDSTICK-1138

Change-Id: Id57defb574eb7e0f5be81b52803cdb05f46796ab
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 131b9f04a360ccc894510a275bd33c57634608fc)

6 years agoAdd ODL HA testcase 53/57153/3
Dimitrios Markou [Fri, 16 Mar 2018 13:51:49 +0000 (15:51 +0200)]
Add ODL HA testcase

This testcase confirms the resiliency of Opendaylight
in a HA deployment

SPEC: https://gerrit.opnfv.org/gerrit/#/c/50991

JIRA: HA-33
JIRA: YARSTICK-955

Change-Id: I4cb39d1970ed0333a43fbb58f8c7138908379dcb
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit d16b2e14fe420a646d4399986bd9f4d1ae3a606d)

6 years agoAdd pod.yaml files for Apex 51/57151/2
Dimitrios Markou [Wed, 21 Mar 2018 14:09:58 +0000 (16:09 +0200)]
Add pod.yaml files for Apex

JIRA: YARDSTICK-1097

Change-Id: If116174c562bc08c0b7602324599bc85d8c60be0
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 6f374141466640655cc57277b4b49d6deffa9092)

6 years agoUpdate the dummy-scenario-heat-context testcase 67/57067/1
Emma Foley [Wed, 18 Apr 2018 14:17:00 +0000 (14:17 +0000)]
Update the dummy-scenario-heat-context testcase

The testcase is included in the docs to demonstrate definining a heat context.
It previously used cirros, but this is not included by default.
Set-up instructions/scripts add yardstick-image and yardstick-flavor, so these
have been added to the testcase instead.

A default value for context_name was also added.

Change-Id: I5f642086971487b334ae48a5cf5c9b71e9b99e2e
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit f37e4dcf771caec3be52e95047997aa22cbd7a88)

6 years agoRemove unused methods in SampleVNF 25/57025/1
Emma Foley [Thu, 12 Apr 2018 14:45:42 +0000 (14:45 +0000)]
Remove unused methods in SampleVNF

The following private methods are unused in
yardstick/network_services/vnf_generic/vnf/sample_vnf.py:SampleVNF

* _build_ports(self)
* _get_route_data(self, route_index, route_type)
* _get_port0localip6(self)
* _get_port1localip6(self)
* _get_port0prefixlen6(self)
* _get_port1prefixlen6(self)
* _get_port0gateway6(self)
* _get_port1gateway6(self)

They are being removed as:
* _get_port* functions are already implemented and used in MultiPortConfig
* _get_route_data is an auxillary functions used by the previous ones
* _build_ports is implemented in the helpers

JIRA: YARDSTICK-1122
Change-Id: Ie7a706cd87b610ea56f89214118a02e612a70dc0
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 50bcd3e477bc29abb43ed73643d551ff55a73403)

6 years ago[release] Yardstick Fraser 6.0.0 Release notes 09/56609/1 opnfv-6.0.0
rexlee8776 [Sat, 21 Apr 2018 01:51:04 +0000 (01:51 +0000)]
[release] Yardstick Fraser 6.0.0 Release notes

JIRA: YARDSTICK-1129

Change-Id: I5adb2e9547c58b90d3eafb0e2b90015ce5472cfa
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit a324c1b922ae2598dbe25e9b2885620ef09f4901)

6 years agoBugfix: ansible can't not run without config 61/56561/2
chenjiankun [Tue, 24 Apr 2018 01:58:10 +0000 (01:58 +0000)]
Bugfix: ansible can't not run without config

JIRA: YARDSTICK-1135

Ansible need ansible.cfg when run in the remote node.
However the file name is wrong. Need:
setup.cfg -> ansible.cfg

Change-Id: Ifa674fb624ca83d90c3ac9ad3bfe148013bf8bfd
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
(cherry picked from commit 170842f20426ad244f3e49b3780b0256302b0be3)

6 years agonsb_setup: pin docker image version to release tag 95/56495/1
Ross Brattain [Wed, 25 Apr 2018 14:42:50 +0000 (07:42 -0700)]
nsb_setup: pin docker image version to release tag

The install scripts pull tags for stable releases.

We need to temporarily pin the image tag to the unreleased tag
because we have to update the code before we actually tag the image.

Or maybe we should make this a parameter to the script

JIRA: YARDSTICK-1137

Change-Id: I2e5f13ffe19d1c19fd7b8e071df28fd225be3d79
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "extra loopback cleanup" into stable/fraser
Ross Brattain [Tue, 24 Apr 2018 08:41:50 +0000 (08:41 +0000)]
Merge "extra loopback cleanup" into stable/fraser

6 years agoMerge "[docs] Updated baremetal instalation instructions" into stable/fraser
Ross Brattain [Tue, 24 Apr 2018 08:40:29 +0000 (08:40 +0000)]
Merge "[docs] Updated baremetal instalation instructions" into stable/fraser

6 years agoMerge "Bugfix: Can't get image list in API" into stable/fraser
Jack Chan [Tue, 24 Apr 2018 01:41:07 +0000 (01:41 +0000)]
Merge "Bugfix: Can't get image list in API" into stable/fraser

6 years agoremove more old apexlake testcases 01/56301/1
Ross Brattain [Mon, 23 Apr 2018 21:42:35 +0000 (14:42 -0700)]
remove more old apexlake testcases

fix fraser failures

Change-Id: I8bb12a762054a4c3274cc6e0297e948b92700e7e
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years ago[docs] Updated baremetal instalation instructions 83/56283/1
Chornyi, TarasX [Fri, 23 Mar 2018 14:29:31 +0000 (16:29 +0200)]
[docs] Updated baremetal instalation instructions

JIRA: YARDSTICK-1111

Change-Id: Iefab24f74c87a0855c2d70090ac34256ffa9200c
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit 1c4a5e82aec771aba616879a9a351bade6d6d8d0)

6 years agoextra loopback cleanup 35/56235/1
Ross Brattain [Thu, 19 Apr 2018 20:58:26 +0000 (13:58 -0700)]
extra loopback cleanup

try to cleanup in the shell script in case ansible errors

maybe it is hopeless because of docker

JIRA: YARDSTICK-1096
JIRA: YARDSTICK-1054

Change-Id: I759ded4731a7710a194a81530cfb35376eb7800d
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agodisable NSB (DPDK) image load for ARM 63/56163/1
Ross Brattain [Fri, 20 Apr 2018 16:57:35 +0000 (09:57 -0700)]
disable NSB (DPDK) image load for ARM

we skip the building now but we also need to skip the image loading

JIRA: YARDSTICK-1124

Change-Id: I27c40d6319e74374282203132cfc2c7ebff9b094
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 15cec319ab06f161c239ead78da9ecdf1673b7ce)

6 years agodisable DPDK images for ARM 15/56115/1
Ross Brattain [Thu, 19 Apr 2018 05:00:53 +0000 (22:00 -0700)]
disable DPDK images for ARM

We are trying to compile DPDK for the os-nosdn-ovs-ha scenario because we added TC042  "Measure network latency using testpmd and pktgen-dpdk".

However it looks like TC042 is only enabled for compass in opnfv_os-nosdn-kvm_ovs_dpdk-ha

https://gerrit.opnfv.org/gerrit/#/c/54659/1/tests/opnfv/test_suites/opnfv_os-nosdn-kvm_ovs_dpdk-ha_daily.yaml

-
  file_name: opnfv_yardstick_tc042.yaml
  constraint:
      installer: compass
      pod: huawei-pod1

We don't actually need TC042 and DPDK or os-nosdn-ovs-ha.

But in order to run TC042 we have to know beforehand that we are going to use DPDK, so we have a conditional in the load_images.sh script that tries to guess when we will need a DPDK image.

The conditional only checks for *[_-]ovs[_-]*
if [[ $DEPLOY_SCENARIO == *[_-]ovs[_-]* ]]; then
    ansible-playbook \
             -e img_property="nsb" \
             -e YARD_IMG_ARCH=${YARD_IMG_ARCH} \
             -vvv -i inventory.ini build_yardstick_image.yml
    if [ ! -f "${QCOW_NSB_IMAGE}" ]; then
        echo "Failed building QCOW NSB image"
        exit 1
    fi
fi

For this release we won't be able to get DPDK images to compile on ARM, we should fix this conditional and not try to compile.

Also change the shell glob to match *[_-]ovs_dpdk[_-]* to only enable DPDK
images for ovs_dpdk scenarios

JIRA: YARDSTICK-1124

Change-Id: I03142e6b8aa00dc9cdf9b446868fb723cd10198b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 50154694f8dc37726d456cfb8efddc6d3e126dbd)

6 years agoremove apex lake tc007 from test suites 03/56003/1
Ross Brattain [Tue, 17 Apr 2018 07:45:17 +0000 (00:45 -0700)]
remove apex lake tc007 from test suites

fixes opnfv_os-nosdn-fdio-noha_daily.yaml failures due
to missing testcase

Change-Id: I5f050d72334da46b94de5fa3662047bf694f7e3e
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 01ef85fc8234c8ddeaae65eceaf5bbb9545b9e98)

6 years agoMerge "[userguide] Use literalinclude directive in 05-operation" into stable/fraser
Emma Foley [Wed, 18 Apr 2018 14:02:48 +0000 (14:02 +0000)]
Merge "[userguide] Use literalinclude directive in 05-operation" into stable/fraser

6 years agoBugfix: Can't get image list in API 45/55845/1
chenjiankun [Tue, 3 Apr 2018 06:23:42 +0000 (06:23 +0000)]
Bugfix: Can't get image list in API

JIRA: YARDSTICK-1110

To match OpenStack Pike release, we upgrade novaclient from 7.1.1 to 9.1.1.
And the client interface has changed, it no longer has nova_client.images attribute.
So I use shade instead. Later will change all same issue.

Change-Id: Ie4f54069d4346e44e2ad925439930504b945cbad
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
(cherry picked from commit 5ac59e495d74b64ab377f1ba25bb00b11da14e67)

6 years agoMerge "Bugfix: interface down HA tc050 attack and monitor logistic wrong" into stable...
Jack Chan [Tue, 17 Apr 2018 01:42:18 +0000 (01:42 +0000)]
Merge "Bugfix: interface down HA tc050 attack and monitor logistic wrong" into stable/fraser

6 years ago[userguide] Use literalinclude directive in 05-operation 03/55803/1
Emma Foley [Mon, 12 Mar 2018 12:42:57 +0000 (12:42 +0000)]
[userguide] Use literalinclude directive in 05-operation

Uses literalinclude directive instead of having a copy of the file content in documentation.
This means that any update to this file is detected, and the most up-to-date content is used.

If a testcase is updated, the updates wil be picked up.
The examples used are ones that are tested reqularly.

JIRA: YARDSTICK-1066

Change-Id: I15d967eb04d1e6f4348683d8746fa9989dceda94
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit ee9995c42368ee04ba06cd101b086c57dbbb3bba)

6 years agoMerge "[docs] update the user guide for "yardstick-operation"" into stable/fraser
Rex Lee [Mon, 16 Apr 2018 01:49:19 +0000 (01:49 +0000)]
Merge "[docs] update the user guide for "yardstick-operation"" into stable/fraser

6 years agoBugfix: interface down HA tc050 attack and monitor logistic wrong 83/55783/1
rexlee8776 [Thu, 12 Apr 2018 06:53:17 +0000 (06:53 +0000)]
Bugfix: interface down HA tc050 attack and monitor logistic wrong

1. simplify the attack to be one interface
2. move monitor step before attack
3. update rst doc to match

JIRA: YARDSTICK-1120

Change-Id: Icfa21d58e7ccdbeaca8a9a1a3098cceb21c981c3
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit af7f0bea3a0d24bdf084622acc9932ccd261e42e)

6 years agoMerge "[docs] Move user guide chapters to make room for new chapter." into stable...
Rex Lee [Fri, 13 Apr 2018 01:29:33 +0000 (01:29 +0000)]
Merge "[docs] Move user guide chapters to make room for new chapter." into stable/fraser

6 years agoBug fix in using Unixbench 21/55521/1
liyin [Wed, 11 Apr 2018 03:32:36 +0000 (03:32 +0000)]
Bug fix in using Unixbench

JIRA: YARDSTICK-1117

This bug will cause the error in running unixbench.
"no such file named ./run"
So we have to fix it.

Change-Id: I141fcb5567fbb0e3df97aee677cb946a25a9788e
Signed-off-by: liyin <liyin11@huawei.com>
(cherry picked from commit 941d3b0c0fa4583c49fa6fd2aa3686a1b55ab187)

6 years ago[docs] update the user guide for "yardstick-operation" 51/55351/1
Emma Foley [Mon, 12 Mar 2018 10:25:50 +0000 (10:25 +0000)]
[docs] update the user guide for "yardstick-operation"

* Add a new chapter: operation which shows how to use Yardstick and
  how to create test cases
* Include details on how to reuse and keep VNFs between testcases

JIRA: YARDSTICK-885
JIRA: YARDSTICK-886
Change-Id: I630e701136b9d573539fe69ea0a42018a67d040f
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 5b4cee9606f26f4c208fcd1aec544ddd436b8162)

6 years ago[docs] Move user guide chapters to make room for new chapter. 49/55349/1
Emma Foley [Wed, 7 Mar 2018 18:40:28 +0000 (18:40 +0000)]
[docs] Move user guide chapters to make room for new chapter.

* Increment the numbering on chapters
* Fix some of the changes flagged by doc8

Change-Id: I9dbf4a3d33c2b38f7567bc3493466e72a59e1a0c
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 3248682fcc789f95ff8246a8d1f208a6a3abd46d)

6 years agoBugfix: k8 scenario fix 01/55301/1
rexlee8776 [Tue, 3 Apr 2018 03:39:33 +0000 (03:39 +0000)]
Bugfix: k8 scenario fix

JIRA: YARDSTICK-1109

Change-Id: Ic61a63099c3d2d4af5fa5634299e4b2946d53eaf
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 3b1316647b50bc3bbb1eb6216aa07fd4dff34edf)

6 years agodocker/supervisor.sh: Fix condition block end 55/55155/1
Alexandru Avadanii [Fri, 6 Apr 2018 22:13:42 +0000 (00:13 +0200)]
docker/supervisor.sh: Fix condition block end

Fixes: 18546b4f

Change-Id: I51fcb48e790ff7c57273a3f6712ccb2b9bc4aa32
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit ead90064d12be552bd334828d41ffffa75fad01b)

6 years ago[AArch64] Dockerfile: Fix malformed patch 97/55097/1
Alexandru Avadanii [Fri, 6 Apr 2018 19:26:01 +0000 (21:26 +0200)]
[AArch64] Dockerfile: Fix malformed patch

Change-Id: Ia2dfc6c4def8e71e36747b8f27cbf22700f676b1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 161f7d676b4404a5445681a7871e086b751fdafc)

6 years agoADD tc042 into CI 59/54659/1
liyin [Sat, 31 Mar 2018 02:38:19 +0000 (02:38 +0000)]
ADD tc042 into CI

JIRA: YARDSTICK-1108

We add this test case in ovs_dpdk-ha and ovs_dpdk-noha testsuites
also add image build into load_images script

Change-Id: I2b0c6b106dd98c3693df18dba46259ff8ef0a76e
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoMerge "Fix RabbitMQ service installation and initialization"
Ross Brattain [Thu, 29 Mar 2018 22:56:45 +0000 (22:56 +0000)]
Merge "Fix RabbitMQ service installation and initialization"

6 years agoMerge "don't print exceptions in atexit handler"
Ross Brattain [Thu, 29 Mar 2018 22:52:54 +0000 (22:52 +0000)]
Merge "don't print exceptions in atexit handler"

6 years agoMerge "task: don't hide exceptions in Task"
Ross Brattain [Thu, 29 Mar 2018 22:52:42 +0000 (22:52 +0000)]
Merge "task: don't hide exceptions in Task"

6 years agodon't print exceptions in atexit handler 23/54623/3
Ross Brattain [Thu, 29 Mar 2018 21:02:49 +0000 (14:02 -0700)]
don't print exceptions in atexit handler

atexit handler calls terminate_all after the regular python execution
path, and it looks like the traceback stack is None somehow.

In this context log.debug("", exc_info=True) doesn't work
it prints out NoneType on Python3 and
causes other problems on Python2.7

remove the exc_info=True from the logging call

JIRA: YARDSTICK-1107

Change-Id: Ida0a0ced7ff5e017e2f8608880e3bb531724af95
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoadd new Fraser scenarios 93/54593/1
Ross Brattain [Thu, 29 Mar 2018 06:38:43 +0000 (23:38 -0700)]
add new Fraser scenarios

New scenarios from wiki: https://wiki.opnfv.org/display/SWREL/Fraser+Scenario+Statu

Change-Id: Ifd6e45e73be2bbb99743aa3f4981d22899aab92a
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "restore Heat stack failure logs for CI"
Ross Brattain [Wed, 28 Mar 2018 20:04:43 +0000 (20:04 +0000)]
Merge "restore Heat stack failure logs for CI"

6 years agoFix RabbitMQ service installation and initialization 49/54549/3
Rodolfo Alonso Hernandez [Wed, 28 Mar 2018 11:13:35 +0000 (12:13 +0100)]
Fix RabbitMQ service installation and initialization

RabbitMQ service added in [1] is not correctly installed and initialized:
- There is an error during the installation process ("\" character
  missing).
- In the installation script, the service needs to be started first.
- In the container installation, the service needs to be started via
  supervisor.

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

JIRA: YARDSTICK-1103

Change-Id: Iade3d6ce4b522e6f576af71b7afe5559081f7929
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoMerge "Replace neutron create security group rule with shade."
Rex Lee [Wed, 28 Mar 2018 00:15:36 +0000 (00:15 +0000)]
Merge "Replace neutron create security group rule with shade."

6 years agoMerge "Dashboard for TC056"
Rex Lee [Wed, 28 Mar 2018 00:06:16 +0000 (00:06 +0000)]
Merge "Dashboard for TC056"

6 years agotask: don't hide exceptions in Task 61/54461/5
Ross Brattain [Mon, 26 Mar 2018 06:53:18 +0000 (23:53 -0700)]
task: don't hide exceptions in Task

If the Task raised an exception we currently hide it
and replace it with RuntimeError.  This is bad.

If an exception occured, then we don't have a result so
re-raise the original exception.

Or we could log the traceback and raise RuntimeError, but
that doesn't seem to be a good idea.

Sample traceback after re-raising original.  Without this patch the ValueError is only written
to _write_error_data

2018-03-25 22:57:56,511 yardstick.benchmark.contexts.node node.py:85 DEBUG BareMetals: []
2018-03-25 22:57:56,511 yardstick.benchmark.contexts.node node.py:89 DEBUG Env: {}
2018-03-25 22:57:56,511 yardstick.cmd.commands.task task.py:57 INFO Task FAILED
Traceback (most recent call last):
  File "/home/rbbratta/yardstick-upstream/yardstick/yardstick/cmd/commands/task.py", line 54, in do_start
    result = Task().start(param, **kwargs)
  File "/home/rbbratta/yardstick-upstream/yardstick/yardstick/benchmark/core/task.py", line 103, in start
    task_args_fnames)
  File "/home/rbbratta/yardstick-upstream/yardstick/yardstick/benchmark/core/task.py", line 321, in _parse_tasks
    task_args_fnames[i]
  File "/home/rbbratta/yardstick-upstream/yardstick/yardstick/benchmark/core/task.py", line 558, in parse_task
    context.init(cfg_attrs)
  File "/home/rbbratta/yardstick-upstream/yardstick/yardstick/benchmark/contexts/heat.py", line 131, in init
    server = Server(name, self, server_attrs)
  File "/home/rbbratta/yardstick-upstream/yardstick/yardstick/benchmark/contexts/model.py", line 210, in __init__
    (name, p))
ValueError: server 'trafficgen_1', placement 'pgrp2' is invalid
2018-03-25 22:57:56,512 yardstick.cmd.commands.task task.py:62 INFO Task FAILED
2018-03-25 22:57:56,662 yardstick.benchmark.runners.base base.py:124 DEBUG Terminating all runners
NoneType

JIRA: YARDSTICK-1102

Change-Id: I7e6fa41fc1d36f6d438a1602ab60cb41ffbee1e9
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agorestore Heat stack failure logs for CI 63/54463/6
Ross Brattain [Mon, 26 Mar 2018 06:51:28 +0000 (23:51 -0700)]
restore Heat stack failure logs for CI

We need to see what Heat failures occured
so that we can debug CI failures.

The only way to do this seems to be to use the
private event_utils.get_events function to
query for all failures

Also since we had a failure go ahead and dump the
Heat template that failed.

Sample output:

2018-03-25 23:50:08,765 [INFO] yardstick.orchestrator.heat heat.py:629 Creating stack 'yardstick-460ed969' START
2018-03-25 23:50:21,932 [ERROR] yardstick.orchestrator.heat heat.py:644 Resource CREATE failed: BadRequest: resources.yardstick-460ed969-xe1: Invalid input for operation: physical_network 'nosuch' unknown for flat provider network.
Neutron server returns request_ids: ['req-6f981f1e-a9e2-4114-af84-1ee528aed51b']
2018-03-25 23:50:21,933 [ERROR] yardstick.orchestrator.heat heat.py:644 BadRequest: resources.yardstick-460ed969-xe1: Invalid input for operation: physical_network 'nosuch' unknown for flat provider network.
Neutron server returns request_ids: ['req-6f981f1e-a9e2-4114-af84-1ee528aed51b']
2018-03-25 23:50:21,972 [ERROR] yardstick.orchestrator.heat heat.py:645 {'description': '\n'
                'All referred generated resources are prefixed with the '
                'template\n'
                'name (i.e. yardstick-460ed969).\n',
 'heat_template_version': '2013-05-23',
 'outputs': {'trafficgen_1.yardstick-460ed969': {'description': 'VM UUID',
                                                 'value': {'get_resource': 'trafficgen_1.yardstick-460ed969'}},
             'trafficgen_1.yardstick-460ed969-fip': {'description': 'floating '
                                                                    'ip '
JIRA: YARDSTICK-998

Change-Id: Ia8f4e5ba7e280fb9086519680d5ee90a2b442e6b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Improve "Libvirt.virsh_destroy_vm" function"
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:47:54 +0000 (16:47 +0000)]
Merge "Improve "Libvirt.virsh_destroy_vm" function"

6 years agoMerge "Improve "Libvirt.virsh_create_vm" function"
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:47:50 +0000 (16:47 +0000)]
Merge "Improve "Libvirt.virsh_create_vm" function"

6 years agoMerge "Improve NSB Standalone XML generation"
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:47:45 +0000 (16:47 +0000)]
Merge "Improve NSB Standalone XML generation"

6 years agoMerge "Improve OVS-DPDK setup process"
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:47:33 +0000 (16:47 +0000)]
Merge "Improve OVS-DPDK setup process"

6 years agoMerge "Improve OVS-DPDK boot process"
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:47:26 +0000 (16:47 +0000)]
Merge "Improve OVS-DPDK boot process"

6 years agoReplace neutron create security group rule with shade. 89/53789/6
Shobhi Jain [Wed, 14 Mar 2018 11:53:06 +0000 (11:53 +0000)]
Replace neutron create security group rule with shade.

Rename create_secgroup_rule with create_security_group_rule.
Function create_security_group_rule now uses shade client.

JIRA: YARDSTICK-890

Change-Id: Ie0ebac67a281e55dc95c0e3e33ba43de80aba9ec
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoMerge "Replace neutron floating ip deletion with shade."
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:46:41 +0000 (16:46 +0000)]
Merge "Replace neutron floating ip deletion with shade."

6 years agoMerge "Replace neutron floating ip creation with shade."
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:46:31 +0000 (16:46 +0000)]
Merge "Replace neutron floating ip creation with shade."

6 years agoMerge "Replace neutron router interface deletion with shade."
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 16:46:22 +0000 (16:46 +0000)]
Merge "Replace neutron router interface deletion with shade."

6 years agoReplace neutron floating ip deletion with shade. 23/53423/11
Shobhi Jain [Tue, 27 Feb 2018 13:19:00 +0000 (13:19 +0000)]
Replace neutron floating ip deletion with shade.

Function delete_floating_ip now uses shade client.

JIRA: YARDSTICK-890

Change-Id: I960630926b664266afbe7be00bb1352243b41be0
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoMerge "env: validate installer_ip from environment"
Rodolfo Alonso Hernandez [Tue, 27 Mar 2018 12:48:37 +0000 (12:48 +0000)]
Merge "env: validate installer_ip from environment"

6 years agoMerge "Install RabitMQ for RPC messaging between processes"
Rodolfo Alonso Hernandez [Mon, 26 Mar 2018 07:29:46 +0000 (07:29 +0000)]
Merge "Install RabitMQ for RPC messaging between processes"

6 years agoMerge "Test case spec for SDN controller resilience in non-HA config"
Ross Brattain [Sat, 24 Mar 2018 01:46:03 +0000 (01:46 +0000)]
Merge "Test case spec for SDN controller resilience in non-HA config"

6 years agoMerge "ansible: disable Extra cloud image kernel stub"
Ross Brattain [Sat, 24 Mar 2018 01:31:05 +0000 (01:31 +0000)]
Merge "ansible: disable Extra cloud image kernel stub"

6 years agoMerge "use basename to delete yardstick image loop devices"
Ross Brattain [Sat, 24 Mar 2018 00:04:18 +0000 (00:04 +0000)]
Merge "use basename to delete yardstick image loop devices"

6 years agoMerge "TC042 bug fix"
Ross Brattain [Fri, 23 Mar 2018 21:51:18 +0000 (21:51 +0000)]
Merge "TC042 bug fix"

6 years agoMerge "Test case description and configuration file for yardstick_tc090:Control Node...
Ross Brattain [Fri, 23 Mar 2018 21:45:43 +0000 (21:45 +0000)]
Merge "Test case description and configuration file for yardstick_tc090:Control Node Openstack Service High Availability - Database Instances"

6 years agouse basename to delete yardstick image loop devices 09/54409/3
Ross Brattain [Fri, 23 Mar 2018 18:35:20 +0000 (11:35 -0700)]
use basename to delete yardstick image loop devices

the full path probably isn't matching, so just grep
for the basename

JIRA: YARDSTICK-1096
JIRA: YARDSTICK-1054

Change-Id: I403a7f51310c0856fae0f79d115ba0786b7c417c
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Added scale-up documentation"
Emma Foley [Fri, 23 Mar 2018 18:13:54 +0000 (18:13 +0000)]
Merge "Added scale-up documentation"

6 years agoMerge "Bugfix: 'module' object has no attribute 'UnsupportedExtension'"
Jack Chan [Fri, 23 Mar 2018 09:18:17 +0000 (09:18 +0000)]
Merge "Bugfix: 'module' object has no attribute 'UnsupportedExtension'"

6 years agoMerge "Add "Scenario" class wait methods for runners"
Rodolfo Alonso Hernandez [Fri, 23 Mar 2018 09:05:56 +0000 (09:05 +0000)]
Merge "Add "Scenario" class wait methods for runners"

6 years agoMerge "Make "Scenario" class abstract"
Rodolfo Alonso Hernandez [Fri, 23 Mar 2018 08:36:29 +0000 (08:36 +0000)]
Merge "Make "Scenario" class abstract"

6 years agoBugfix: 'module' object has no attribute 'UnsupportedExtension' 85/54385/1
chenjiankun [Fri, 23 Mar 2018 07:08:07 +0000 (07:08 +0000)]
Bugfix: 'module' object has no attribute 'UnsupportedExtension'

JIRA: YARDSTICK-1100

This Error occur when run kuberntes test case:
The Key is the pyopenssl dependency, it seems
YARDSTICK-1032(https://jira.opnfv.org/browse/YARDSTICK-1032) encounter
the same problem. Downgrade requests from 2.18.2 to 2.11.1 would solve
this problem.

Here it is the error log:
Traceback (most recent call last):
    File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
        func(*targs, **kargs)
        File
    "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py",
        line 301, in atexit_handler
        context.undeploy()
        File
        "/home/opnfv/repos/yardstick/yardstick/benchmark/contexts/kubernetes.py",
        line 63, in undeploy
        self._delete_ssh_key()
        File
        "/home/opnfv/repos/yardstick/yardstick/benchmark/contexts/kubernetes.py",
        line 133, in _delete_ssh_key
        k8s_utils.delete_config_map(self.ssh_key)
        File
        "/home/opnfv/repos/yardstick/yardstick/common/kubernetes_utils.py",
        line 179, in delete_config_map
        **kwargs)
        File
        "/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/core_v1_api.py",
        line 9059, in delete_namespaced_config_map
        (data) =
    self.delete_namespaced_config_map_with_http_info(name,
                        namespace, body, **kwargs)
        File
        "/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/core_v1_api.py",
        line 9159, in delete_namespaced_config_map_with_http_info
        collection_formats=collection_formats)
        File
        "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py",
        line 321, in call_api
        _return_http_data_only, collection_formats,
        _preload_content,
            _request_timeout)
        File
        "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py",
        line 155, in __call_api
        _request_timeout=_request_timeout)
        File
        "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py",
        line 387, in request
        body=body)
        File
        "/usr/local/lib/python2.7/dist-packages/kubernetes/client/rest.py",
        line 256, in DELETE
        body=body)
        File
        "/usr/local/lib/python2.7/dist-packages/kubernetes/client/rest.py",
        line 166, in request
        headers=headers)
        File
    "/usr/local/lib/python2.7/dist-packages/urllib3/request.py",
        line 66, in request
        **urlopen_kw)
        File
    "/usr/local/lib/python2.7/dist-packages/urllib3/request.py",
        line 87, in request_encode_url
        return self.urlopen(method, url, **extra_kw)
        File
        "/usr/local/lib/python2.7/dist-packages/urllib3/poolmanager.py",
        line 321, in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
        File
        "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py",
        line 601, in urlopen
        chunked=chunked)
        File
        "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py",
        line 346, in _make_request
        self._validate_conn(conn)
        File
        "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py",
        line 850, in _validate_conn
        conn.connect()
        File
    "/usr/local/lib/python2.7/dist-packages/urllib3/connection.py",
        line 337, in connect
        cert = self.sock.getpeercert()
        File
        "/usr/local/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py",
        line 348, in getpeercert
        'subjectAltName': get_subj_alt_name(x509)
        File
        "/usr/local/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py",
        line 202, in get_subj_alt_name
        except (x509.DuplicateExtension, x509.UnsupportedExtension,
                AttributeError: 'module' object has no attribute 'UnsupportedExtension'

Change-Id: I444dde829c91defb475e045aea094d74fc43e75b
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoMerge "dump CI failures with kpartx and no /dev/loop devices"
Ross Brattain [Fri, 23 Mar 2018 01:41:12 +0000 (01:41 +0000)]
Merge "dump CI failures with kpartx and no /dev/loop devices"

6 years agoAdded scale-up documentation 13/53513/7
Chornyi, TarasX [Mon, 12 Mar 2018 08:22:14 +0000 (10:22 +0200)]
Added scale-up documentation

Change-Id: I65770a4a879d890c75a2e5774579794fb9b591f6
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
6 years agoMerge "Make Sample VNF hugepages size configurable"
Ross Brattain [Thu, 22 Mar 2018 13:40:46 +0000 (13:40 +0000)]
Merge "Make Sample VNF hugepages size configurable"