[sos-devel] Fixed: sosreport/sos#334 (master - ed58d3a)
Travis CI
notifications at travis-ci.org
Mon Jun 30 17:41:19 UTC 2014
Build Update for sosreport/sos
-------------------------------------
Build: #334
Status: Fixed
Duration: 45 seconds
Commit: ed58d3a (master)
Author: Bryn M. Reeves
Message: [plugin] fix unicode vs. byte array handling in string IO
Causes a nosetests failure on python3:
======================================================================
ERROR: test_glob_file_over_limit (plugin_tests.AddCopySpecTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/breeves/src/git/sos/tests/plugin_tests.py", line 269, in test_glob_file_over_limit
self.mp.add_copy_spec_limit("/tmp/tmp*", 1)
File "/home/breeves/src/git/sos/sos/plugins/__init__.py", line 414, in add_copy_spec_limit
self.add_string_as_file(tail(_file, sizelimit), strfile)
File "/home/breeves/src/git/sos/sos/plugins/__init__.py", line 520, in add_string_as_file
content = "..." + content.splitlines()[0]
TypeError: Can't convert 'bytes' object to str implicitly
======================================================================
ERROR: test_single_file_over_limit (plugin_tests.AddCopySpecTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/breeves/src/git/sos/tests/plugin_tests.py", line 253, in test_single_file_over_limit
self.mp.add_copy_spec_limit(fn, 1)
File "/home/breeves/src/git/sos/sos/plugins/__init__.py", line 414, in add_copy_spec_limit
self.add_string_as_file(tail(_file, sizelimit), strfile)
File "/home/breeves/src/git/sos/sos/plugins/__init__.py", line 520, in add_string_as_file
content = "..." + content.splitlines()[0]
TypeError: Can't convert 'bytes' object to str implicitly
----------------------------------------------------------------------
Signed-off-by: Bryn M. Reeves <bmr at redhat.com>
View the changeset: https://github.com/sosreport/sos/compare/e1661f4722d5...ed58d3ac7e69
View the full build log and details: https://travis-ci.org/sosreport/sos/builds/28798371
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sos-devel/attachments/20140630/3a931de3/attachment.htm>
More information about the sos-devel
mailing list