Pyhton27 and 35 tests fail with: ValueError: Value 'm' doesn't match regex

Bug #1690753 reported by Andreas Scheuring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-dpm
Fix Released
Undecided
Andreas Scheuring

Bug Description

Error message:
2017-05-15 08:17:11.367872 |
2017-05-15 08:17:11.367901 | networking_dpm.tests.unit.conf.test_config.TestConfig.test_config
2017-05-15 08:17:11.367930 | -----------------------------------------------------------------
2017-05-15 08:17:11.367942 |
2017-05-15 08:17:11.367960 | Captured traceback:
2017-05-15 08:17:11.367978 | ~~~~~~~~~~~~~~~~~~~
2017-05-15 08:17:11.367999 | Traceback (most recent call last):
2017-05-15 08:17:11.368055 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tmp/tmp.zIzcMsqIKj/openstack/neutron/neutron/tests/base.py", line 115, in func
2017-05-15 08:17:11.368079 | return f(self, *args, **kwargs)
2017-05-15 08:17:11.368129 | File "networking_dpm/tests/unit/conf/test_config.py", line 31, in test_config
2017-05-15 08:17:11.368148 | 'dpm')
2017-05-15 08:17:11.368206 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_messaging/conffixture.py", line 88, in _wrapper
2017-05-15 08:17:11.368233 | return wrapped_function(*args, **kwargs)
2017-05-15 08:17:11.368290 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/debtcollector/removals.py", line 261, in wrapper
2017-05-15 08:17:11.368311 | return f(*args, **kwargs)
2017-05-15 08:17:11.368366 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2314, in __inner
2017-05-15 08:17:11.368390 | result = f(self, *args, **kwargs)
2017-05-15 08:17:11.368447 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2638, in set_override
2017-05-15 08:17:11.368472 | opt_info['opt'], override, enforce_type)
2017-05-15 08:17:11.368531 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2667, in _get_enforced_type_value
2017-05-15 08:17:11.368559 | converted = self._convert_value(value, opt)
2017-05-15 08:17:11.368616 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2943, in _convert_value
2017-05-15 08:17:11.368639 | return [opt.type(v) for v in value]
2017-05-15 08:17:11.368668 | File "networking_dpm/conf/types.py", line 41, in __call__
2017-05-15 08:17:11.368698 | val = super(NetworkAdapterMappingType, self).__call__(value)
2017-05-15 08:17:11.368754 | File "/home/jenkins/workspace/gate-networking-dpm-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_config/types.py", line 141, in __call__
2017-05-15 08:17:11.368775 | (value, self.regex.pattern))
2017-05-15 08:17:11.368820 | ValueError: Value 'm' doesn't match regex '^[^:]+:[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}(:?|(:[0,1])?)$'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-dpm (master)

Fix proposed to branch: master
Review: https://review.openstack.org/464614

Changed in networking-dpm:
assignee: nobody → Andreas Scheuring (andreas-scheuring)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-dpm (master)

Reviewed: https://review.openstack.org/464614
Committed: https://git.openstack.org/cgit/openstack/networking-dpm/commit/?id=6760d541668c3fd68eb75d9f85ef411812c23fc1
Submitter: Jenkins
Branch: master

commit 6760d541668c3fd68eb75d9f85ef411812c23fc1
Author: Andreas Scheuring <email address hidden>
Date: Mon May 15 13:18:55 2017 +0200

    Adapt to default val change of oslo.cfg enforce_type

    The default value of oslo config opitons 'enforce_type' parameter
    changed from "False" to "True" [1]. This caused test failures in
    networking-dpm where the physical_network_adapter_mappings are not
    set to a valid value.

    [1] https://github.com/openstack/oslo.config/commit/827bd738dc5324af6445168a07afbcc30b0543fe

    Change-Id: I3c318c8f1cbefb6105d170a815405c96ae9c029c
    Closes-Bug: #1690753

Changed in networking-dpm:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.