2013-08-14 12:23:42 +04:00
|
|
|
[metadata]
|
|
|
|
name = rally
|
2013-10-15 19:43:55 -03:00
|
|
|
summary = Benchmark System for OpenStack
|
2013-08-14 12:23:42 +04:00
|
|
|
description-file =
|
|
|
|
README.rst
|
|
|
|
author = OpenStack
|
|
|
|
author-email = openstack-dev@lists.openstack.org
|
|
|
|
home-page = http://www.openstack.org/
|
|
|
|
classifier =
|
|
|
|
Environment :: OpenStack
|
|
|
|
Intended Audience :: Developers
|
|
|
|
Intended Audience :: Information Technology
|
|
|
|
License :: OSI Approved :: Apache Software License
|
|
|
|
Operating System :: POSIX :: Linux
|
|
|
|
Programming Language :: Python
|
|
|
|
Programming Language :: Python :: 2
|
Fix all py3 related issues
This patch makes output of `tox -epy34` to finish with following message:
> py34: commands succeeded
> congratulations :)
Issues:
* module "__builtin__" was renamed to "builtins" in Python 3
Related modules:
- rally.api
- tests.unit.benchmark.scenarios.vm.test_utils
* function "map"/"filter" returns "builtins.map"/"builtins.filter" object
in Python 3 instead of list in Python 2. "builtins.map" and
"builtins.filter" object is not subscriptable and has no len(), so list
comprehension is preferable to use and py2/py3 compatible way.
Related modules:
- rally.benchmark.context.sahara.sahara_edp
- rally.benchmark.processing.plot
- rally.benchmark.sla.base
- rally.benchmark.types
- rally.cmd.commands.task
- rally.cmd.commands.verify
- tests.unit.benchmark.scenarios.test_base
- tests.unit.benchmark.wrappers.test_keystone
- tests.unit.cmd.commands.test_task
- tests.unit.cmd.commands.test_verify
* dict.keys()/dict.values() returns "dict_keys"/"dict_values" object in
Python 3 instead of list in Python 2. so list(dict) and
list(dict.values()) should be used instead.
Related modules:
- rally.benchmark.scenarios.utils
- rally.benchmark.scenarios.vm.vmtasks
- tests.unit.cmd.commands.test_show
- tests.unit.common.test_broker
- tests.unit.deploy.engines.test_fuel
- tests.unit.fakes
* Some changes was made in Python 3 related to data model, so we should
change our inspect code. See code changes for more details
Related modules:
- rally.cmd.cliutils
- rally.common.utils
* ConfigParser is more strict for duplicate items in Python 3, so
duplicates are removed
Related files:
- rally/verification/tempest/config.ini
* Exception object doesn't have "message" attribute in Python 3, so
if we want to get it, the most proper way is using "getattr"
Related modules:
- rally.verification.tempest.config
* "mock.MagicMock" is not sortable in Python 3, so we should add required
attributes to fix that.
Related modules:
- tests.unit.benchmark.context.test_base
* assertSequenceEqual assertation method was added in tests.unit.test to
compare sequence objects
Related modules:
- tests.unit.benchmark.context.cleanup.test_resources
- tests.unit.benchmark.scenarios.nova.test_utils
* function "range" returns "range" object in Python 3 instead of list
in Python 2.
Related modules:
- tests.unit.benchmark.processing.test_utils
* keyword arguments should be transmitted to self.assertRaises as kwargs,
not like a dict
Related modules:
- tests.unit.benchmark.scenarios.dummy.test_dummy
Additional changes:
* Python 2.6 was added to setup.cfg, since Rally supports it.
* py33, py34 environments were added to tox.ini
* wrong ignore path was removed from tox.ini
* made items of bash complition sorted
Several tests are skipped in Python 3 env. For more details see notes in code:
- tests.unit.benchmark.processing.test_plot.PlotTestCase.test__process_main_time
- tests.unit.benchmark.processing.test_plot.PlotTestCase.test__process_atomic_time
- tests.unit.common.test_utils.MethodClassTestCase.test_method_class_for_class_level_method
During porting Rally to Python3, several issues found and fixed in
TempestContext and its unit tests:
- If process of cleanup is failed, exception is handled and cleanup is
marked as successfull. This issue was fixed and CleanUpException was
added to rally.exception module
- Cleanup was called with wrong path.
Change-Id: If04e873790dcb4c9c882d4be4bf40479deedd36d
2015-01-21 02:37:15 +02:00
|
|
|
Programming Language :: Python :: 2.6
|
2013-08-14 12:23:42 +04:00
|
|
|
Programming Language :: Python :: 2.7
|
2015-02-24 17:59:49 +02:00
|
|
|
Programming Language :: Python :: 3
|
|
|
|
Programming Language :: Python :: 3.4
|
2013-08-14 12:23:42 +04:00
|
|
|
|
|
|
|
[files]
|
|
|
|
packages =
|
|
|
|
rally
|
|
|
|
|
2015-05-14 00:20:14 +03:00
|
|
|
data_files =
|
|
|
|
etc/bash_completion.d =
|
|
|
|
etc/rally.bash_completion
|
|
|
|
|
2013-09-23 12:19:36 +03:00
|
|
|
[entry_points]
|
|
|
|
console_scripts =
|
2015-05-20 22:10:22 +03:00
|
|
|
rally = rally.cli.main:main
|
|
|
|
rally-manage = rally.cli.manage:main
|
Remove all non-incubated oslo code
Rally repository includes openstack.common module with modules from
oslo-incubator(modules are listed in openstack-common.conf file).
All those modules can be splitted by 4 categories:
1. logging modules
2. aas related modules
3. cliutils
4. config
Modules from first category were graduated to separate lib, so we can remove
them and use `oslo.log`.
Modules from second category are not really used and will be not used,
because Rally-as-a-Service will use flask microframework instead of
pecan(modules from oslo-incubator are designed for pecan).
Since oslo core team did not plan to graduate `cliutils` module from
oslo-incubator, so there are no reasons to sync this module with oslo, we
can copy needed functions and maintain them in our repo.
Additional to rally.openstack dir, modules from oslo incubator are located
in tools dir.
tools/config modules works pretty bad, opts from rally.osclients always lost
during automated config generator.
`oslo.config` lib provides a better way to autogenerate config sample of
Rally. It requires new entry point, which returns a list with all opts(look
at 'rally.common.opts', 'setup.cfg' for more details). Since all opts are
used in one place, their names were unified.
Also config was updated(via `tox -egenconfig`).
tools/rally.bash_completion file is moved to etc dir, because etc dir
corresponds better and it gave us ability to remove whole tools dir
Closes-Bug: #1378960
Change-Id: Ic127269c367275d3adcfc9f40d9144fce8295391
2015-02-04 12:23:08 +02:00
|
|
|
oslo.config.opts =
|
|
|
|
rally = rally.common.opts:list_opts
|
2014-01-15 09:20:06 +00:00
|
|
|
|
2013-08-14 12:23:42 +04:00
|
|
|
[global]
|
|
|
|
setup-hooks =
|
|
|
|
pbr.hooks.setup_hook
|
2014-01-11 04:22:41 +04:00
|
|
|
|
|
|
|
[build_sphinx]
|
|
|
|
all_files = 1
|
|
|
|
build-dir = doc/build
|
|
|
|
source-dir = doc/source
|