Hello,

I compiled qpid-proton 0.16.0 with "-DSASL_IMPL=none", but i have an 3 of
qpid-dispatch 0.7.0 unit tests that are failing:

system_tests_qdstat

system_tests_sasl_plain

system_tests_deprecated


I attached the tests output.

Do you have any idea, where should i look? Is Cyrus mandatory for the
qpid-dispatch 0.7.0?

Best regards,
Rabih

On Thu, Feb 2, 2017 at 10:18 PM, Andrew Stitcher <astitc...@redhat.com>
wrote:

> On Thu, 2017-02-02 at 19:54 +0000, Adel Boutros wrote:
> > In our case, we only use EXTERNAL or ANONYMOUS so it should be
> > enough.
> >
> >
> > Is there a reason it is called "null"?
>
> It's actually the "none" implementation! As in, no other sasl library
> found.
>
> You can make sure it is used by adding "-DSASL_IMPL=none" to the cmake
> command line. Or use ccmake to set SASL_IMPL interactively.
>
> Andrew
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>
FAIL: test_ssl_cert_to_auth_fail_no_sasl_external 
(system_tests_qdstat.QdstatSslNoExternalTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_qdstat.py",
 line 325, in test_ssl_cert_to_auth_fail_no_sasl_external
    self.ssl_test_bad('auth_s', ['client_cert_all'])
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_qdstat.py",
 line 322, in ssl_test_bad
    self.assertRaises(AssertionError, self.ssl_test, url_name, arg_names)
AssertionError: AssertionError not raised

======================================================================
FAIL: test_inter_router_plain_exists 
(system_tests_sasl_plain.RouterTestPlainSasl)
The setUpClass sets up two routers with SASL PLAIN enabled.
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 121, in test_inter_router_plain_exists
    self.assertIn("inter-router", out)
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_test.py",
 line 674, in assertIn
    assert item in items, "%s not in %s" % (item, items)
AssertionError: inter-router not in Connections
  Id  host             container                             role    dir  
security     authentication
  
=====================================================================================================
  13  127.0.0.1:43271  09eaefc9-7250-4a3b-a9d0-42c58e48a194  normal  in   
no-security  anonymous-user


======================================================================
FAIL: test_qdstat_connect_sasl (system_tests_sasl_plain.RouterTestPlainSasl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 135, in test_qdstat_connect_sasl
    "qdstat exit status %s, output:\n%s" % (p.returncode, out)
AssertionError: qdstat exit status 1, output:
ConnectionException: Connection amqp://0.0.0.0:24677/$management disconnected: 
Condition('amqp:unauthorized-access', 'Authentication failed [mech=NULL]')


======================================================================
FAIL: test_qdstat_connect_sasl_password_file 
(system_tests_sasl_plain.RouterTestPlainSasl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 163, in test_qdstat_connect_sasl_password_file
    "qdstat exit status %s, output:\n%s" % (p.returncode, out)
AssertionError: qdstat exit status 1, output:
ConnectionException: Connection amqp://0.0.0.0:24677/$management disconnected: 
Condition('amqp:unauthorized-access', 'Authentication failed [mech=NULL]')


======================================================================
FAIL: test_aaa_qdstat_connect_sasl_over_ssl 
(system_tests_sasl_plain.RouterTestPlainSaslOverSsl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 263, in test_aaa_qdstat_connect_sasl_over_ssl
    "qdstat exit status %s, output:\n%s" % (p.returncode, out)
AssertionError: qdstat exit status 1, output:
ConnectionException: Connection amqps://0.0.0.0:24681/$management disconnected: 
Condition('amqp:unauthorized-access', 'Authentication failed [mech=NULL]')


======================================================================
FAIL: test_inter_router_plain_over_ssl_exists 
(system_tests_sasl_plain.RouterTestPlainSaslOverSsl)
The setUpClass sets up two routers with SASL PLAIN enabled over TLS/SSLv3.
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 287, in test_inter_router_plain_over_ssl_exists
    self.assertEqual(u'TLSv1/SSLv3', 
local_node.query(type='org.apache.qpid.dispatch.connection').results[0][4])
AssertionError: u'TLSv1/SSLv3' != None

======================================================================
FAIL: test_inter_router_plain_over_ssl_exists 
(system_tests_sasl_plain.RouterTestVerifyHostNameNo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 501, in test_inter_router_plain_over_ssl_exists
    self.common_asserts(results)
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 479, in common_asserts
    self.assertTrue(found, "Connection to %s not found" % search)
AssertionError: Connection to QDR.X not found

======================================================================
FAIL: test_zzz_delete_create_connector 
(system_tests_sasl_plain.RouterTestVerifyHostNameNo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 541, in test_zzz_delete_create_connector
    self.common_asserts(results)
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 479, in common_asserts
    self.assertTrue(found, "Connection to %s not found" % search)
AssertionError: Connection to QDR.X not found

======================================================================
FAIL: test_zzz_delete_create_ssl_profile 
(system_tests_sasl_plain.RouterTestVerifyHostNameNo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 594, in test_zzz_delete_create_ssl_profile
    self.common_asserts(results)
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_sasl_plain.py",
 line 479, in common_asserts
    self.assertTrue(found, "Connection to %s not found" % search)
AssertionError: Connection to QDR.X not found

test_deprecated (system_tests_deprecated.RouterTestDeprecated) ... FAIL

======================================================================
FAIL: test_deprecated (system_tests_deprecated.RouterTestDeprecated)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/data/jenkins-slave/home/workspace/qpid-dispatch-router/label/linux/qpid-dispatch-0.7.0/tests/system_tests_deprecated.py",
 line 103, in test_deprecated
    self.assertEqual(u'inter-router', 
local_node.query(type='org.apache.qpid.dispatch.connection').results[0][9])
AssertionError: u'inter-router' != u'normal'
- inter-router
+ normal
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to