[PKG-Openstack-devel] Bug#881209: rally FTBFS: TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db'

Adrian Bunk bunk at debian.org
Wed Nov 8 20:27:42 UTC 2017


Source: rally
Version: 0.2.0-1.2
Severity: serious
Tags: buster sid

Some recent change in unstable makes rally FTBFS:

https://tests.reproducible-builds.org/debian/history/rally.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rally.html

...
===> Testing with python2.7 (python2)
+ rm -rf .testrepository
+ testr-python2 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.evzXapbO2m
+ PYTHONPATH=/build/1st/rally-0.2.0 PYTHON=python2.7 testr-python2 run --subunit tests\.unit\.(?!(.*deploy.serverprovider.providers.test_lxc.LxcHostTestCase.test_prepare.*|.*deploy.test_lxc.LxcEngineTestCase.test_cleanup.*))
+ + tee /tmp/tmp.evzXapbO2m
subunit2pyunit
rally/common/log.py:19: UserWarning: rally.common.log is deprecated since Rally 0.1.2. Please use rally.common.logging instead.
  warnings.warn("rally.common.log is deprecated since Rally 0.1.2. "
Non-zero exit code (2) from test listing.
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./tests/unit --list 
--- import errors ---
Failed to import test module: tests.unit.cli.commands.test_deployment
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "tests/unit/cli/commands/test_deployment.py", line 21, in <module>
    from rally.cli.commands import deployment
  File "rally/cli/commands/deployment.py", line 30, in <module>
    from rally import api
  File "rally/api.py", line 28, in <module>
    from rally.common import objects
  File "rally/common/objects/__init__.py", line 18, in <module>
    from rally.common.objects.deploy import Deployment  # noqa
  File "rally/common/objects/deploy.py", line 18, in <module>
    from rally.common import db
  File "rally/common/db/__init__.py", line 16, in <module>
    from rally.common.db.api import *  # noqa
  File "rally/common/db/api.py", line 52, in <module>
    sqlite_db="rally.sqlite")
TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db'

Failed to import test module: tests.unit.cli.commands.test_plugin
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "tests/unit/cli/commands/test_plugin.py", line 22, in <module>
    from tests.unit import test
  File "tests/unit/test.py", line 24, in <module>
    from rally.common import db
  File "rally/common/db/__init__.py", line 16, in <module>
    from rally.common.db.api import *  # noqa
  File "rally/common/db/api.py", line 52, in <module>
    sqlite_db="rally.sqlite")
TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db'
...



More information about the Openstack-devel mailing list