[
https://issues.apache.org/jira/browse/DISPATCH-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521278#comment-16521278
]
ASF GitHub Bot commented on DISPATCH-1047:
------------------------------------------
GitHub user kgiusti opened a pull request:
https://github.com/apache/qpid-dispatch/pull/329
DISPATCH-1047: open the pipe to saslpasswd2 in text mode
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kgiusti/dispatch DISPATCH-1047
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/329.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #329
----
commit aeb5d5f7793cd2c60801a0c9940fc24c53bf45aa
Author: Kenneth Giusti <kgiusti@...>
Date: 2018-06-23T21:18:39Z
DISPATCH-1047: open the pipe to saslpasswd2 in text mode
----
> system_tests_ssl fail when running under python3 environment
> ------------------------------------------------------------
>
> Key: DISPATCH-1047
> URL: https://issues.apache.org/jira/browse/DISPATCH-1047
> Project: Qpid Dispatch
> Issue Type: Bug
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
> Attachments: Dockerfile-ctest
>
>
> Can be reproduced in attached dockerfile
> ------
> Start 45: system_tests_ssl
> 45: Test command: /usr/bin/python
> "/main/qpid-dispatch-master/BUILD/tests/run.py" "-x" "unit2" "-v"
> "system_tests_ssl"
> 45: Test timeout computed to be: 1500
> 45: ERROR
> 45: ERROR
> 45:
> 45: ======================================================================
> 45: ERROR: setUpClass (system_tests_ssl.RouterTestSslClient)
> 45: ----------------------------------------------------------------------
> 45: Traceback (most recent call last):
> 45: File "/main/qpid-dispatch-master/tests/system_tests_ssl.py", line 105,
> in setUpClass
> 45: super(RouterTestSslClient, cls).create_sasl_files()
> 45: File "/main/qpid-dispatch-master/tests/system_tests_ssl.py", line 57,
> in create_sasl_files
> 45: result = pipe.communicate('password')
> 45: File "/usr/lib64/python3.6/subprocess.py", line 843, in communicate
> 45: stdout, stderr = self._communicate(input, endtime, timeout)
> 45: File "/usr/lib64/python3.6/subprocess.py", line 1499, in _communicate
> 45: input_view = memoryview(self._input)
> 45: TypeError: memoryview: a bytes-like object is required, not 'str'
> 45:
> 45: ======================================================================
> 45: ERROR: setUpClass (system_tests_ssl.RouterTestSslInterRouter)
> 45: ----------------------------------------------------------------------
> 45: Traceback (most recent call last):
> 45: File "/main/qpid-dispatch-master/tests/system_tests_ssl.py", line 410,
> in setUpClass
> 45: super(RouterTestSslInterRouter, cls).create_sasl_files()
> 45: File "/main/qpid-dispatch-master/tests/system_tests_ssl.py", line 57,
> in create_sasl_files
> 45: result = pipe.communicate('password')
> 45: File "/usr/lib64/python3.6/subprocess.py", line 843, in communicate
> 45: stdout, stderr = self._communicate(input, endtime, timeout)
> 45: File "/usr/lib64/python3.6/subprocess.py", line 1499, in _communicate
> 45: input_view = memoryview(self._input)
> 45: TypeError: memoryview: a bytes-like object is required, not 'str'
> 45:
> 45: ----------------------------------------------------------------------
> 45: Ran 0 tests in 0.005s
> 45:
> 45: FAILED (errors=2)
> 45/47 Test #45: system_tests_ssl ..................................***Failed
> 0.22
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]