[ 
https://issues.apache.org/jira/browse/DISPATCH-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chuck Rolke updated DISPATCH-1333:
----------------------------------
    Attachment: run_console_test.out.txt

> Console test fails printing to file with python 3
> -------------------------------------------------
>
>                 Key: DISPATCH-1333
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1333
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.7.0
>         Environment: Fedora 29, Python 3, proton and dispatch master branches
>            Reporter: Chuck Rolke
>            Priority: Major
>         Attachments: console-test.patch, run_console_test.out.txt
>
>
> {code:java}
> test 53
>     Start 53: system_tests_console
> 53: Test command: /bin/python 
> "/home/chug/git/qpid-dispatch/build/tests/run.py" "unit2" "-v" 
> "system_tests_console"
> 53: Test timeout computed to be: 1500
> 53: test_console (system_tests_console.ConsoleTest) ... ERROR
> 53: 
> 53: ======================================================================
> 53: ERROR: test_console (system_tests_console.ConsoleTest)
> 53: ----------------------------------------------------------------------
> 53: Traceback (most recent call last):
> 53:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 706, in 
> wrap
> 53:     return f(*args, **kwargs)
> 53:   File "/home/chug/git/qpid-dispatch/tests/system_tests_console.py", line 
> 132, in test_console
> 53:     self.run_console_test()
> 53:   File "/home/chug/git/qpid-dispatch/tests/system_tests_console.py", line 
> 116, in run_console_test
> 53:     popenfile.writelines(out)
> 53: TypeError: write() argument must be str, not int
> 53: 
> 53: ----------------------------------------------------------------------
> 53: Ran 1 test in 0.959s
> 53: 
> 53: FAILED (errors=1)
> 1/1 Test #53: system_tests_console .............***Failed    1.63 sec
> 0% tests passed, 1 tests failed out of 1
> {code}
>  The test passes with the attached patch.
> The content of the failed printout is attached.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to