Intermittent "expected string or buffer" exception in py3 jobs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.utils |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We've seen this at least a couple of times in the gate, although to my knowledge no one has been able to reproduce locally. In the exception propagation test tests.test_
Example traceback:
2015-03-18 17:35:23.220 | Traceback (most recent call last):
2015-03-18 17:35:23.220 | File "/home/
2015-03-18 17:35:23.220 | return func(*args, **keywargs)
2015-03-18 17:35:23.220 | File "/home/
2015-03-18 17:35:23.220 | self.assertEqua
2015-03-18 17:35:23.220 | File "/home/
2015-03-18 17:35:23.221 | self.assertThat
2015-03-18 17:35:23.221 | File "/home/
2015-03-18 17:35:23.221 | raise mismatch_error
2015-03-18 17:35:23.221 | testtools.
Changed in oslo.utils: | |
status: | Fix Committed → Fix Released |
Bash script to reproduce the issue:
set -e -x
find -name "*.pyc" -delete
find -name "__pycache__"|xargs rm -rf
rm -rf .testrepository
tox -e py34
tox -e py27
rm -rf .testrepository
tox -e py34
The sporadic failure may be related to the order of imports?