yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82500
[Bug 1856848] Re: py38 unit test failure - TestCheckForMutableDefaultArgs
[Expired for OpenStack Identity (keystone) because there has been no
activity for 60 days.]
** Changed in: keystone
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1856848
Title:
py38 unit test failure - TestCheckForMutableDefaultArgs
Status in OpenStack Identity (keystone):
Expired
Bug description:
I'm hitting one py38 unit test failure in keystone master. You can recreate on Ubuntu Bionic with:
sed -i 's/basepython = python3/basepython = python3.8/g' tox.ini
tox -e py38 -- keystone.tests.unit.test_hacking_checks.TestCheckForMutableDefaultArgs
Test output:
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/home/corey/pkg/ussuri/upstream/keystone/keystone/tests/unit/test_hacking_checks.py", line 65, in test'
b' self.assert_has_errors(code, expected_errors=errors)'
b' File "/home/corey/pkg/ussuri/upstream/keystone/keystone/tests/unit/test_hacking_checks.py", line 52, in assert_has_errors'
b' self.assertItemsEqual(expected_errors or [], actual_errors)'
b' File "/home/corey/pkg/ussuri/upstream/keystone/.tox/py38/lib/python3.8/site-packages/unittest2/case.py", line 1182, in assertItemsEqual'
b' return self.assertSequenceEqual(expected, actual, msg=msg)'
b' File "/home/corey/pkg/ussuri/upstream/keystone/.tox/py38/lib/python3.8/site-packages/unittest2/case.py", line 1014, in assertSequenceEqual'
b' self.fail(msg)'
b' File "/home/corey/pkg/ussuri/upstream/keystone/.tox/py38/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail'
b' raise self.failureException(msg)'
b"AssertionError: Sequences differ: [(7, [32 chars]10, 29, 'K001'), (13, 15, 'K001'), (16, 15, 'K[181 chars]01')] != [(7, [32 chars]10, 28, 'K001'), (13, 15, 'K001'), (16, 15, 'K"
b''
b'First differing element 2:'
b"(10, 29, 'K001')"
b"(10, 28, 'K001')"
b''
b" [(7, 10, 'K001'),"
b" (10, 15, 'K001'),"
b"- (10, 29, 'K001'),"
b'? ^'
b''
b"+ (10, 28, 'K001'),"
b'? ^'
b''
b" (13, 15, 'K001'),"
b" (16, 15, 'K001'),"
b" (16, 31, 'K001'),"
b" (22, 14, 'K001'),"
b" (22, 31, 'K001')," b" (22, 53, 'K001'),"
b" (25, 14, 'K001'),"
b" (25, 36, 'K001')," b" (28, 10, 'K001'),"
b" (28, 26, 'K001'),"
b" (29, 21, 'K001'),"
b" (32, 10, 'K001')]"
b''
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1856848/+subscriptions
References