[ https://issues.apache.org/jira/browse/PROTON-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15392198#comment-15392198 ]
ASF subversion and git services commented on PROTON-1230: --------------------------------------------------------- Commit f8ad40565650353e49221523806bf18d5ae9256f in qpid-proton's branch refs/heads/master from [~astitcher] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=f8ad405 ] PROTON-1230: Set up SASL environment for C++ tests > cpp_container_example_test fails due to /etc/sasl2/proton-server.conf > configuration > ----------------------------------------------------------------------------------- > > Key: PROTON-1230 > URL: https://issues.apache.org/jira/browse/PROTON-1230 > Project: Qpid Proton > Issue Type: Bug > Components: cpp-binding > Affects Versions: 0.13.0 > Reporter: Ken Giusti > Assignee: Andrew Stitcher > Fix For: 0.14.0 > > > I had an old stale /etc/sasl2/proton-server.conf file lying around that had > set mech_list: ANONYMOUS > This cause the following unit test failure: > test 23 > Start 23: cpp_container_example_test > 23: Test command: /usr/bin/python > "/home/kgiusti/work/proton/0.13.0/qpid-proton-0.13.0/proton-c/env.py" "--" > "PATH=/home/kgiusti/work/proton/0.13.0/qpid-proton-0.13.0/BUILD/examples/cpp:/home/kgiusti/.local/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/kgiusti/bin:/opt/coverity/bin" > "VALGRIND=/usr/bin/valgrind" "/usr/bin/python" > "/home/kgiusti/work/proton/0.13.0/qpid-proton-0.13.0/examples/cpp/example_test.py" > "-v" "ContainerExampleTest" > 23: Test timeout computed to be: 1500 > 23: test_encode_decode (__main__.ContainerExampleTest) ... ok > 23: test_flow_control (__main__.ContainerExampleTest) ... ok > 23: test_helloworld (__main__.ContainerExampleTest) ... ok > 23: test_helloworld_direct (__main__.ContainerExampleTest) ... ok > 23: test_request_response (__main__.ContainerExampleTest) ... ok > 23: test_request_response_direct (__main__.ContainerExampleTest) ... ok > 23: test_simple_recv_direct_send (__main__.ContainerExampleTest) ... ok > 23: test_simple_recv_send (__main__.ContainerExampleTest) ... ok > 23: test_simple_send_direct_recv (__main__.ContainerExampleTest) ... ok > 23: test_simple_send_recv (__main__.ContainerExampleTest) ... ok > 23: test_ssl (__main__.ContainerExampleTest) ... ok > 23: test_ssl_client_cert (__main__.ContainerExampleTest) ... ERROR > 23: > 23: ====================================================================== > 23: ERROR: test_ssl_client_cert (__main__.ContainerExampleTest) > 23: ---------------------------------------------------------------------- > 23: Traceback (most recent call last): > 23: File > "/home/kgiusti/work/proton/0.13.0/qpid-proton-0.13.0/examples/cpp/example_test.py", > line 320, in test_ssl_client_cert > 23: out = self.proc(["ssl_client_cert", addr, self.ssl_certs_dir()], > skip_valgrind=True).wait_exit() > 23: File > "/home/kgiusti/work/proton/0.13.0/qpid-proton-0.13.0/examples/cpp/example_test.py", > line 128, in wait_exit > 23: self.check_() > 23: File > "/home/kgiusti/work/proton/0.13.0/qpid-proton-0.13.0/examples/cpp/example_test.py", > line 93, in run_ > 23: raise ProcError(self) > 23: ProcError: ['ssl_client_cert', 'amqps://127.0.0.1:16333/examples', > '/home/kgiusti/work/proton/0.13.0/qpid-proton-0.13.0/examples/cpp/ssl_certs'] > non-0 exit, code=1 > 23: vvvvvvvvvvvvvvvv > 23: amqp:unauthorized-access: Authentication failed [mech=(null)] > 23: ^^^^^^^^^^^^^^^^ > 23: > 23: > 23: ---------------------------------------------------------------------- > 23: Ran 12 tests in 10.584s > 23: > 23: FAILED (errors=1) > The tests should be set up so that they are not influenced by the system's > native configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org