[jira] [Commented] (PROTON-1695) [OSX] Cyrus SASL plugins do not load leading to missing mechanisms

2018-03-29 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on PROTON-1695:
-

Commit 89b31239000bc35204f0e03543166608a29f657c in qpid-proton's branch 
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=89b3123 ]

PROTON-1695: Enable SASL for MacOS CI build


> [OSX] Cyrus SASL plugins do not load leading to missing mechanisms
> --
>
> Key: PROTON-1695
> URL: https://issues.apache.org/jira/browse/PROTON-1695
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.18.0
> Environment: OS X 10.11.6
> Cyrus SASL 2.1.26
>Reporter: Roddie Kieley
>Priority: Major
>
> Found this issue while working on PROTON-522 as per this 
> [comment|https://issues.apache.org/jira/browse/PROTON-522?focusedCommentId=16218540&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16218540]
>  the short version of which is:
> {quote}
> Ran into some trouble with cyrus-sasl after seeing that the go TestAuthPlain 
> failed for both "Unix Makefiles" and "Xcode", in this case 7.3.1. Found that 
> the plugins do not get loaded on OSX due to sasl_client_init(NULL) but 
> rectified with sasl_client_init(pni_user_password_callbacks).
> {quote}
> The issue with the go-test TestAuthPlain was addressed via PROTON-1655, 
> however the work for PROTON-522 does not include the above update as testing 
> the update was not complete.



--
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



[jira] [Commented] (PROTON-1695) [OSX] Cyrus SASL plugins do not load leading to missing mechanisms

2018-03-24 Thread Roddie Kieley (JIRA)

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

Roddie Kieley commented on PROTON-1695:
---

In doing some follow up work on this I first ran into:

{code:java}
1: proton_tests.reactor.ApplicationEventTest.test_application_events ... 
pass
1: proton_tests.reactor.ContainerTest. \
1: test_authentication_via_container_attributes  
start
1:   2018-03-24 22:39:54,593 ERROR proton:io:sasl_error: SASL(-13): user not 
found: no secret in database (Failed to authenticate client [mech=DIGEST-MD5])
1:   2018-03-24 22:39:54,595 ERROR amqp:unauthorized-access: Authentication 
failed [mech=DIGEST-MD5] (connection aborted)
1:   2018-03-24 22:39:54,596 ERROR amqp:unauthorized-access: Authentication 
failed [mech=DIGEST-MD5] (connection aborted)
1: proton_tests.reactor.ContainerTest. \
1: test_authentication_via_container_attributes  
fail
1: Error during test:  Traceback (most recent call last):
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/tests/python/proton-test", 
line 365, in run
1:   phase()
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/tests/python/proton_tests/reactor.py",
 line 395, in test_authentication_via_container_attributes
1:   container.run()
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/reactor.py",
 line 148, in run
1:   while self.process(): pass
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/reactor.py",
 line 174, in process
1:   self._check_errors()
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/reactor.py",
 line 170, in _check_errors
1:   _compat.raise_(exc, value, tb)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/__init__.py",
 line 4081, in dispatch
1:   ev.dispatch(self.handler)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/__init__.py",
 line 3990, in dispatch
1:   result = dispatch(handler, type.method, self)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/__init__.py",
 line 3868, in dispatch
1:   return m(*args)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/handlers.py",
 line 418, in on_transport_error
1:   event.connection.close()
1:   AttributeError: 'NoneType' object has no attribute 'close'
1: proton_tests.reactor.ContainerTest.test_authentication_via_kwargs ... 
start
1:   2018-03-24 22:39:54,634 ERROR proton:io:sasl_error: SASL(-13): user not 
found: no secret in database (Failed to authenticate client [mech=DIGEST-MD5])
1:   2018-03-24 22:39:54,636 ERROR amqp:unauthorized-access: Authentication 
failed [mech=DIGEST-MD5] (connection aborted)
1:   2018-03-24 22:39:54,637 ERROR amqp:unauthorized-access: Authentication 
failed [mech=DIGEST-MD5] (connection aborted)
1: proton_tests.reactor.ContainerTest.test_authentication_via_kwargs ... 
fail
1: Error during test:  Traceback (most recent call last):
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/tests/python/proton-test", 
line 365, in run
1:   phase()
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/tests/python/proton_tests/reactor.py",
 line 403, in test_authentication_via_kwargs
1:   container.run()
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/reactor.py",
 line 148, in run
1:   while self.process(): pass
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/reactor.py",
 line 174, in process
1:   self._check_errors()
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/reactor.py",
 line 170, in _check_errors
1:   _compat.raise_(exc, value, tb)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/__init__.py",
 line 4081, in dispatch
1:   ev.dispatch(self.handler)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/__init__.py",
 line 3990, in dispatch
1:   result = dispatch(handler, type.method, self)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/__init__.py",
 line 3868, in dispatch
1:   return m(*args)
1: File 
"/Users/rkieley/LocalProjects/apache/qpid-proton/proton-c/bindings/python/proton/handlers.py",
 line 418, in on_transport_error
1:   event.connection.close()
1:   AttributeError: 'NoneType' object has no attribute 'close'
1: proton_tests.reactor.ContainerTest.test_authentication_via_url .. 
start
1:   2018-03-24 22:39:54,672 ERROR proton:io:sasl_error: SASL(-13): user no