yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73914
[Bug 1783095] [NEW] Fullstack tests fail on python3 parsing MTU configuration
Public bug reported:
On python3 gate master, fullstack tests fail to load configuration since
Ia838d2a661c5098f90b58b2cb31557f2ebf78868 was merged
Sample failure:
ft1.1: neutron.tests.fullstack.test_connectivity.TestConnectivitySameNetworkNoDhcp.test_connectivity(Open vSwitch agent)_StringException: traceback-1: {{{
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/config.py", line 103, in _setUp
super(NeutronConfigFixture, self)._setUp()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 55, in _setUp
self.write_config_to_configfile()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 58, in write_config_to_configfile
config_parser = self.dict_to_config_parser(self.config)
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 71, in dict_to_config_parser
config_parser.set(section, option, value)
File "/usr/lib/python3.5/configparser.py", line 1189, in set
self._validate_value_types(option=option, value=value)
File "/usr/lib/python3.5/configparser.py", line 1174, in _validate_value_types
raise TypeError("option values must be strings")
TypeError: option values must be strings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 208, in setUp
raise SetupError(details)
fixtures.fixture.SetupError: {}
}}}
traceback-2: {{{
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/config.py", line 103, in _setUp
super(NeutronConfigFixture, self)._setUp()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 55, in _setUp
self.write_config_to_configfile()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 58, in write_config_to_configfile
config_parser = self.dict_to_config_parser(self.config)
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 71, in dict_to_config_parser
config_parser.set(section, option, value)
File "/usr/lib/python3.5/configparser.py", line 1189, in set
self._validate_value_types(option=option, value=value)
File "/usr/lib/python3.5/configparser.py", line 1174, in _validate_value_types
raise TypeError("option values must be strings")
TypeError: option values must be strings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/environment.py", line 380, in _setUp
cfg.CONF.database.connection, self.rabbitmq_environment))
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 257, in useFixture
fixture.setUp()
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 212, in setUp
raise MultipleExceptions(*errors)
testtools.runtest.MultipleExceptions: ((<class 'TypeError'>, TypeError('option values must be strings',), <traceback object at 0x7f74e3b229c8>), (<class 'fixtures.fixture.SetupError'>, SetupError({},), <traceback object at 0x7f74e3ae9048>))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 208, in setUp
raise SetupError(details)
fixtures.fixture.SetupError: {}
}}}
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/config.py", line 103, in _setUp
super(NeutronConfigFixture, self)._setUp()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 55, in _setUp
self.write_config_to_configfile()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 58, in write_config_to_configfile
config_parser = self.dict_to_config_parser(self.config)
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 71, in dict_to_config_parser
config_parser.set(section, option, value)
File "/usr/lib/python3.5/configparser.py", line 1189, in set
self._validate_value_types(option=option, value=value)
File "/usr/lib/python3.5/configparser.py", line 1174, in _validate_value_types
raise TypeError("option values must be strings")
TypeError: option values must be strings
** Affects: neutron
Importance: Medium
Assignee: Bernard Cafarelli (bcafarel)
Status: In Progress
** Tags: fullstack py34
** Tags removed: full
** Tags added: fullstack py34
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1783095
Title:
Fullstack tests fail on python3 parsing MTU configuration
Status in neutron:
In Progress
Bug description:
On python3 gate master, fullstack tests fail to load configuration
since Ia838d2a661c5098f90b58b2cb31557f2ebf78868 was merged
Sample failure:
ft1.1: neutron.tests.fullstack.test_connectivity.TestConnectivitySameNetworkNoDhcp.test_connectivity(Open vSwitch agent)_StringException: traceback-1: {{{
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/config.py", line 103, in _setUp
super(NeutronConfigFixture, self)._setUp()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 55, in _setUp
self.write_config_to_configfile()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 58, in write_config_to_configfile
config_parser = self.dict_to_config_parser(self.config)
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 71, in dict_to_config_parser
config_parser.set(section, option, value)
File "/usr/lib/python3.5/configparser.py", line 1189, in set
self._validate_value_types(option=option, value=value)
File "/usr/lib/python3.5/configparser.py", line 1174, in _validate_value_types
raise TypeError("option values must be strings")
TypeError: option values must be strings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 208, in setUp
raise SetupError(details)
fixtures.fixture.SetupError: {}
}}}
traceback-2: {{{
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/config.py", line 103, in _setUp
super(NeutronConfigFixture, self)._setUp()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 55, in _setUp
self.write_config_to_configfile()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 58, in write_config_to_configfile
config_parser = self.dict_to_config_parser(self.config)
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 71, in dict_to_config_parser
config_parser.set(section, option, value)
File "/usr/lib/python3.5/configparser.py", line 1189, in set
self._validate_value_types(option=option, value=value)
File "/usr/lib/python3.5/configparser.py", line 1174, in _validate_value_types
raise TypeError("option values must be strings")
TypeError: option values must be strings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/environment.py", line 380, in _setUp
cfg.CONF.database.connection, self.rabbitmq_environment))
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 257, in useFixture
fixture.setUp()
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 212, in setUp
raise MultipleExceptions(*errors)
testtools.runtest.MultipleExceptions: ((<class 'TypeError'>, TypeError('option values must be strings',), <traceback object at 0x7f74e3b229c8>), (<class 'fixtures.fixture.SetupError'>, SetupError({},), <traceback object at 0x7f74e3ae9048>))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 208, in setUp
raise SetupError(details)
fixtures.fixture.SetupError: {}
}}}
Traceback (most recent call last):
File "/opt/stack/new/neutron/.tox/dsvm-fullstack-python35/lib/python3.5/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/config.py", line 103, in _setUp
super(NeutronConfigFixture, self)._setUp()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 55, in _setUp
self.write_config_to_configfile()
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 58, in write_config_to_configfile
config_parser = self.dict_to_config_parser(self.config)
File "/opt/stack/new/neutron/neutron/tests/common/config_fixtures.py", line 71, in dict_to_config_parser
config_parser.set(section, option, value)
File "/usr/lib/python3.5/configparser.py", line 1189, in set
self._validate_value_types(option=option, value=value)
File "/usr/lib/python3.5/configparser.py", line 1174, in _validate_value_types
raise TypeError("option values must be strings")
TypeError: option values must be strings
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1783095/+subscriptions
Follow ups