[Gluster-devel] CI failure - NameError: name 'unicode' is not defined (related to changelogparser.py)
Yaniv Kaul
ykaul at redhat.com
Thu Jun 6 06:17:25 UTC 2019
>From [1].
I think it's a Python2/3 thing, so perhaps a CI issue additionally (though
if our code is not Python 3 ready, let's ensure we use Python 2 explicitly
until we fix this).
*00:47:05.207* ok 14 [ 13/ 386] < 34> 'gluster --mode=script
--wignore volume start patchy'*00:47:05.207* ok 15 [ 13/ 70]
< 36> '_GFS --attribute-timeout=0 --entry-timeout=0
--volfile-id=patchy --volfile-server=builder208.int.aws.gluster.org
/mnt/glusterfs/0'*00:47:05.207* Traceback (most recent call
last):*00:47:05.207* File
"./tests/basic/changelog/../../utils/changelogparser.py", line 233, in
<module>*00:47:05.207* parse(sys.argv[1])*00:47:05.207* File
"./tests/basic/changelog/../../utils/changelogparser.py", line 221, in
parse*00:47:05.207* process_record(data, tokens, changelog_ts,
callback)*00:47:05.207* File
"./tests/basic/changelog/../../utils/changelogparser.py", line 178, in
process_record*00:47:05.207* callback(record)*00:47:05.207* File
"./tests/basic/changelog/../../utils/changelogparser.py", line 182, in
default_callback*00:47:05.207*
sys.stdout.write(u"{0}\n".format(record))*00:47:05.207* File
"./tests/basic/changelog/../../utils/changelogparser.py", line 128, in
__str__*00:47:05.207* return
unicode(self).encode('utf-8')*00:47:05.207* NameError: name 'unicode'
is not defined*00:47:05.207* not ok 16 [ 53/ 39] < 42> '2
check_changelog_op /d/backends/patchy0/.glusterfs/changelogs RENAME'
-> 'Got "0" instead of "2"'
Y.
[1] https://build.gluster.org/job/centos7-regression/6318/console
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20190606/8fe019ae/attachment.html>
More information about the Gluster-devel
mailing list