[ 
https://issues.apache.org/jira/browse/THRIFT-3436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020512#comment-15020512
 ] 

Hudson commented on THRIFT-3436:
--------------------------------

SUCCESS: Integrated in Thrift #1736 (See 
[https://builds.apache.org/job/Thrift/1736/])
THRIFT-3436 cross test fails with "UnicodeDecodeError: 'ascii' codec (jensg: 
rev aad06deedd780d443312905fbd80a081fa8fb442)
* test/crossrunner/run.py
* test/crossrunner/report.py
* test/crossrunner/test.py


> misc. cross test issues with UTF-8 path names
> ---------------------------------------------
>
>                 Key: THRIFT-3436
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3436
>             Project: Thrift
>          Issue Type: Bug
>          Components: Test Suite
>         Environment: Python 2.x on openSUSE
> working copy consists of a path with some non-ASCII characters ( like 
> "Arbeitsfläche")
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 1.0
>
>         Attachments: 
> THRIFT-3436-cross-test-fails-with-UnicodeDecodeError.patch
>
>
> {code}
> /usr/bin/python test/test.py -s --server 
> cpp,c_glib,java,csharp,py,py3,rb,hs,perl,php,go,nodejs,dart, --client 
> cpp,c_glib,java,csharp,py,py3,rb,hs,perl,php,go,nodejs,dart,
> Apache Thrift - Integration Test Suite
> Wed Nov 18 16:46:50 2015
> ======================================================================
> server-client:     protocol:    transport:               result:
> Traceback (most recent call last):
>   File "test/test.py", line 123, in <module>
>     sys.exit(main(sys.argv[1:]))
>   File "test/test.py", line 119, in main
>     res = run_tests(server_match, client_match, options.jobs, 
> options.skip_known_failures)
>   File "test/test.py", line 63, in run_tests
>     for r in [dispatcher.dispatch(test) for test in tests]:
>   File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/run.py", line 296, 
> in dispatch
>     index = self._report.add_test(test)
>   File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/report.py", line 
> 367, in add_test
>     test = TestEntry(self.testdir, **test_dict)
>   File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/test.py", line 97, 
> in __init__
>     self.server = TestProgram('server', 
> **self._fix_workdir(merge_dict(self._config, server)))
>   File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/test.py", line 116, 
> in _fix_workdir
>     path = os.path.realpath(os.path.join(self.testdir, path))
>   File "/usr/lib/python2.7/posixpath.py", line 80, in join
>     path += '/' + b
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: 
> ordinal not in range(128)
> Makefile:1043: recipe for target 'cross' failed
> make: *** [cross] Error 1
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to