cross-swift-py27 and cross-swift-py36 are failing 3 unit tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Tim Burke | ||
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The jobs cross-swift-py27 and cross-swift-py36 are failing on the stable/train branch of the openstack requirements project, effectively blocking merging of patches.
In both cases, the unit tests appear to fail due encoding change of the tested string, breaking the test assertion.
Trace:
------
#2564 test_obj_odd_chars (test.unit.
#3375 test_401_
#3400 Copied from swift.common.
=======
FAIL: test_obj_odd_chars (test.unit.
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 401 != 200
'401 != 200' = '%s != %s' % _common_
'401 != 200' = self._formatMes
>> raise self.failureExc
=======
FAIL: test_401_
-------
Traceback (most recent call last):
File "/home/
resp.
AssertionError: 'Swift realm="
- Swift realm="
? ------
+ Swift realm="
"""Fail immediately, with the given message."""
>> raise self.failureExc
=======
FAIL: Copied from swift.common.
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 'Invalid path: on%20e' != 'Invalid path: o%0An%20e'
- Invalid path: on%20e
+ Invalid path: o%0An%20e
? +++
"""Fail immediately, with the given message."""
>> raise self.failureExc
Logs:
-----
https:/
https:/
Changed in swift: | |
status: | In Progress → Fix Released |
Should get fixed for train by https:/ /review. opendev. org/c/openstack /swift/ +/838589. Starting 3/31, Ubuntu released fixes for https:/ /bugs.python. org/issue43882 across many python versions; many of Swift's stable branches have been busted since then.