[ 
https://issues.apache.org/jira/browse/DISPATCH-631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rabih Mourad updated DISPATCH-631:
----------------------------------
    Attachment: failedTests.txt

> Tests should be made conditional to skip tests for SASL features that are not 
> available
> ---------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-631
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-631
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.7.0, 0.8.0
>         Environment: linux, sunos
>            Reporter: Rabih Mourad
>         Attachments: failedTests.txt
>
>
> > I compiled qpid-proton 0.16.0 with "-DSASL_IMPL=none", but i have an
> > qpid-dispatch 0.7.0 unit tests that are failing in:
> > 
> > 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?
> Not mandatory, the tests should probably be made conditional to skip tests 
> for SASL features that are not available. Raise a JIRA for that.
> Failing tests output:
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to