aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/com/pres/dockerslicing/dockerslicing.md22
-rw-r--r--functest/opnfv_tests/openstack/rally/blacklist.txt3
-rw-r--r--functest/opnfv_tests/openstack/rally/rally.py8
-rw-r--r--functest/tests/unit/openstack/rally/test_rally.py4
4 files changed, 24 insertions, 13 deletions
diff --git a/docs/com/pres/dockerslicing/dockerslicing.md b/docs/com/pres/dockerslicing/dockerslicing.md
index f56cf958..003712c0 100644
--- a/docs/com/pres/dockerslicing/dockerslicing.md
+++ b/docs/com/pres/dockerslicing/dockerslicing.md
@@ -2,7 +2,8 @@
[Cédric Ollivier](mailto:cedric.ollivier@orange.com)
-2017/10/16
+2017/10/18
+
## Danube issues
@@ -10,19 +11,20 @@
### OPNFV projects' setup.py
-- no requirement is installed when calling *python setup.py install* as none of the next keys are set:
+- no requirements were installed when calling *python setup.py install* as none of the next keys was set:
- install_requires
- tests_require
- dependency_links
-- shell scripts are not installed neither in $PATH nor in dist-packages
+- shell scripts were not installed neither in $PATH nor in dist-packages
+- all requirements were not synchronized over the OPNFV projects
### Functest's Dockerfile
-- it copies all the files hosted by the third-party projects (e.g. docs, .git...)
-- several requirements are downgraded/upgraded when building the container as they are managed one after the other
+- it copied all the files hosted by the third-party projects (e.g. docs, .git...)
+- several requirements were downgraded/upgraded when building the container as they were managed one after the other
- it could download packages from [PyPI](https://pypi.python.org/pypi) (e.g. [networking-bgpvpn](https://pypi.python.org/pypi/networking-bgpvpn)...) instead of cloning git repository
-- build dependencies can't be removed to save space as it creates multiple layers (>70)
+- build dependencies couldn't be removed to save space as it created multiple layers (>70)
@@ -109,6 +111,14 @@ Please see [Run Alpine Functest containers](https://wiki.opnfv.org/display/funct
- to write a generic Dockerfile using a set of python packages as input
+### 2 OPNFV project proposals
+
+- requirements, the counterpart of [OpenStack requirements](https://wiki.openstack.org/wiki/Requirements),
+focused on additional OPNFV project needs
+- xtesting which would be declined from Functest (core and ci parts) as proposed in
+[Functional testing gating](https://wiki.opnfv.org/display/functest/Functional+testing+gating)
+
+
## Thank you!
diff --git a/functest/opnfv_tests/openstack/rally/blacklist.txt b/functest/opnfv_tests/openstack/rally/blacklist.txt
index cdb5be66..13d8fc5f 100644
--- a/functest/opnfv_tests/openstack/rally/blacklist.txt
+++ b/functest/opnfv_tests/openstack/rally/blacklist.txt
@@ -53,8 +53,9 @@ scenario:
functionality:
-
functions:
- - no_live_migration
+ - no_migration
tests:
- NovaServers.boot_and_live_migrate_server
- NovaServers.boot_server_attach_created_volume_and_live_migrate
- NovaServers.boot_server_from_volume_and_live_migrate
+ - NovaServers.boot_and_migrate_server
diff --git a/functest/opnfv_tests/openstack/rally/rally.py b/functest/opnfv_tests/openstack/rally/rally.py
index c295b05a..fd251899 100644
--- a/functest/opnfv_tests/openstack/rally/rally.py
+++ b/functest/opnfv_tests/openstack/rally/rally.py
@@ -203,8 +203,8 @@ class RallyBase(testcase.TestCase):
return True
- def _live_migration_supported(self):
- """Determine if live migration is supported."""
+ def _migration_supported(self):
+ """Determine if migration is supported."""
if self.compute_cnt > 1:
return True
@@ -274,8 +274,8 @@ class RallyBase(testcase.TestCase):
with open(RallyBase.BLACKLIST_FILE, 'r') as black_list_file:
black_list_yaml = yaml.safe_load(black_list_file)
- if not self._live_migration_supported():
- func_list.append("no_live_migration")
+ if not self._migration_supported():
+ func_list.append("no_migration")
if 'functionality' in black_list_yaml.keys():
for item in black_list_yaml['functionality']:
diff --git a/functest/tests/unit/openstack/rally/test_rally.py b/functest/tests/unit/openstack/rally/test_rally.py
index 40aab952..6a85536d 100644
--- a/functest/tests/unit/openstack/rally/test_rally.py
+++ b/functest/tests/unit/openstack/rally/test_rally.py
@@ -167,9 +167,9 @@ class OSRallyTesting(unittest.TestCase):
@mock.patch('__builtin__.open', mock.mock_open())
@mock.patch('functest.opnfv_tests.openstack.rally.rally.yaml.safe_load',
return_value={'functionality': [
- {'functions': ['no_live_migration'], 'tests': ['test']}]})
+ {'functions': ['no_migration'], 'tests': ['test']}]})
@mock.patch('functest.opnfv_tests.openstack.rally.rally.RallyBase.'
- '_live_migration_supported', return_value=False)
+ '_migration_supported', return_value=False)
def test_excl_func_default(self, mock_func, mock_yaml_load):
CONST.__setattr__('INSTALLER_TYPE', 'test_installer')
CONST.__setattr__('DEPLOY_SCENARIO', 'test_scenario')