Public bug reported: I know that python 3.5 is out of the scope but I noticed that this is the only unit test that fails in that version. In order to setup my env, I had to change the values of python3.4 for python3.5 in tox.ini file.
(py35)$ testr run TestParseOneVlanRange running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutron/tests/unit} --list Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutron/tests/unit} --load-list /var/folders/53/4xjcqmt56fb8bswzn3v4q5h80000gp/T/tmpyr72wx3d Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. ====================================================================== FAIL: neutron.tests.unit.common.test_utils.TestParseOneVlanRange.test_parse_one_net_incomplete_range tags: worker-0 ---------------------------------------------------------------------- Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/opt/stack/neutron/neutron/tests/unit/common/test_utils.py", line 271, in test_parse_one_net_incomplete_range self.assertEqual(str(err), expected_msg) File "/opt/stack/neutron/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 362, in assertEqual self.assertThat(observed, matcher, message) File "/opt/stack/neutron/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 447, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = "Invalid network VLAN range: 'net1:100' - 'not enough values to unpack (expected 3, got 2)'." actual = "Invalid network VLAN range: 'net1:100' - 'need more than 2 values to unpack'." sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=1 encoding='UTF-8'> Ran 9 tests in 0.246s (-0.097s) FAILED (id=72, failures=1) ** Affects: neutron Importance: Undecided Assignee: Victor Morales (electrocucaracha) Status: In Progress ** Changed in: neutron Assignee: (unassigned) => Victor Morales (electrocucaracha) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1559191 Title: TestParseOneVlanRange fails in python3.5 Status in neutron: In Progress Bug description: I know that python 3.5 is out of the scope but I noticed that this is the only unit test that fails in that version. In order to setup my env, I had to change the values of python3.4 for python3.5 in tox.ini file. (py35)$ testr run TestParseOneVlanRange running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutron/tests/unit} --list Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutron/tests/unit} --load-list /var/folders/53/4xjcqmt56fb8bswzn3v4q5h80000gp/T/tmpyr72wx3d Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. ====================================================================== FAIL: neutron.tests.unit.common.test_utils.TestParseOneVlanRange.test_parse_one_net_incomplete_range tags: worker-0 ---------------------------------------------------------------------- Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/opt/stack/neutron/neutron/tests/unit/common/test_utils.py", line 271, in test_parse_one_net_incomplete_range self.assertEqual(str(err), expected_msg) File "/opt/stack/neutron/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 362, in assertEqual self.assertThat(observed, matcher, message) File "/opt/stack/neutron/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 447, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = "Invalid network VLAN range: 'net1:100' - 'not enough values to unpack (expected 3, got 2)'." actual = "Invalid network VLAN range: 'net1:100' - 'need more than 2 values to unpack'." sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=1 encoding='UTF-8'> Ran 9 tests in 0.246s (-0.097s) FAILED (id=72, failures=1) To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1559191/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp