Ken Giusti created DISPATCH-1047:
------------------------------------
Summary: 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
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]