[
https://issues.apache.org/jira/browse/DISPATCH-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567398#comment-16567398
]
ASF GitHub Bot commented on DISPATCH-1095:
------------------------------------------
GitHub user fgiorgetti opened a pull request:
https://github.com/apache/qpid-dispatch/pull/351
DISPATCH-1095 - Improved SkipIfNeeded decorator and added it to metho…
…ds using SASL when it is not installed
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fgiorgetti/qpid-dispatch
fgiorgetti-DISPATCH-1095
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/351.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #351
----
commit 81504e94502807f8434c28715d9b2aab0845df47
Author: Fernando Giorgetti <fgiorget@...>
Date: 2018-08-02T19:29:23Z
DISPATCH-1095 - Improved SkipIfNeeded decorator and added it to methods
using SASL when it is not installed
----
> Skipped system tests are marked as failed on rhel6
> ---------------------------------------------------
>
> Key: DISPATCH-1095
> URL: https://issues.apache.org/jira/browse/DISPATCH-1095
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.2.0
> Reporter: Ganesh Murthy
> Priority: Major
> Fix For: 1.3.0
>
>
> {noformat}
> Start 27: system_tests_sasl_plain
> 27: Test command: /usr/bin/python "/foo/qpid-dispatch/build/tests/run.py"
> "-x" "unit2" "-v" "system_tests_sasl_plain"
> 27: Test timeout computed to be: 1500
> 27: test_inter_router_plain_exists
> (system_tests_sasl_plain.RouterTestPlainSasl) ... ERROR
> 27: test_qdstat_connect_sasl (system_tests_sasl_plain.RouterTestPlainSasl)
> ... ERROR
> 27: test_qdstat_connect_sasl_password_file
> (system_tests_sasl_plain.RouterTestPlainSasl) ... ERROR
> 27: test_zzzz_teardown_class (system_tests_sasl_plain.RouterTestPlainSasl)
> 27: Fake test to call tearDownClass ... ok
> 27: test_zzzz_teardown_class
> (system_tests_sasl_plain.RouterTestPlainSaslCommon)
> 27: Fake test to call tearDownClass ... ok
> 27: test_aaa_qdstat_connect_sasl_over_ssl
> (system_tests_sasl_plain.RouterTestPlainSaslOverSsl) ... ERROR
> 27: test_inter_router_plain_over_ssl_exists
> (system_tests_sasl_plain.RouterTestPlainSaslOverSsl)
> 27: The setUpClass sets up two routers with SASL PLAIN enabled over TLS. ...
> ERROR
> 27: test_zzzz_teardown_class
> (system_tests_sasl_plain.RouterTestPlainSaslOverSsl)
> 27: Fake test to call tearDownClass ... ok
> 27: test_inter_router_plain_over_ssl_exists
> (system_tests_sasl_plain.RouterTestVerifyHostNameNo) ... ERROR
> 27: test_zzz_delete_create_ssl_profile
> (system_tests_sasl_plain.RouterTestVerifyHostNameNo) ... ERROR
> 27: test_zzzz_teardown_class
> (system_tests_sasl_plain.RouterTestVerifyHostNameNo)
> 27: Fake test to call tearDownClass ... ok
> 27: test_no_inter_router_connection
> (system_tests_sasl_plain.RouterTestVerifyHostNameYes) ... ERROR
> 27: test_zzzz_teardown_class
> (system_tests_sasl_plain.RouterTestVerifyHostNameYes)
> 27: Fake test to call tearDownClass ... ok
> 27: test_zzzz_teardown_class (system_test.TestCase)
> 27: Fake test to call tearDownClass ... ok
> 27:
> 27: ======================================================================
> 27: ERROR: test_inter_router_plain_exists
> (system_tests_sasl_plain.RouterTestPlainSasl)
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 128,
> in test_inter_router_plain_exists
> 27: ['qdstat', '-b', str(self.routers[0].addresses[1]), '-c'],
> 27: AttributeError: 'RouterTestPlainSasl' object has no attribute 'routers'
> 27:
> 27: ======================================================================
> 27: ERROR: test_qdstat_connect_sasl
> (system_tests_sasl_plain.RouterTestPlainSasl)
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 147,
> in test_qdstat_connect_sasl
> 27: ['qdstat', '-b', str(self.routers[0].addresses[2]), '-c',
> '--sasl-mechanisms=PLAIN',
> 27: AttributeError: 'RouterTestPlainSasl' object has no attribute 'routers'
> 27:
> 27: ======================================================================
> 27: ERROR: test_qdstat_connect_sasl_password_file
> (system_tests_sasl_plain.RouterTestPlainSasl)
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 179,
> in test_qdstat_connect_sasl_password_file
> 27: ['qdstat', '-b', str(self.routers[0].addresses[2]), '-c',
> '--sasl-mechanisms=PLAIN',
> 27: AttributeError: 'RouterTestPlainSasl' object has no attribute 'routers'
> 27:
> 27: ======================================================================
> 27: ERROR: test_aaa_qdstat_connect_sasl_over_ssl
> (system_tests_sasl_plain.RouterTestPlainSaslOverSsl)
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 279,
> in test_aaa_qdstat_connect_sasl_over_ssl
> 27: ['qdstat', '-b', str(self.routers[0].addresses[2]), '-c',
> 27: AttributeError: 'RouterTestPlainSaslOverSsl' object has no attribute
> 'routers'
> 27:
> 27: ======================================================================
> 27: ERROR: test_inter_router_plain_over_ssl_exists
> (system_tests_sasl_plain.RouterTestPlainSaslOverSsl)
> 27: The setUpClass sets up two routers with SASL PLAIN enabled over TLS.
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 319,
> in test_inter_router_plain_over_ssl_exists
> 27: local_node = Node.connect(self.routers[0].addresses[1],
> timeout=TIMEOUT)
> 27: AttributeError: 'RouterTestPlainSaslOverSsl' object has no attribute
> 'routers'
> 27:
> 27: ======================================================================
> 27: ERROR: test_inter_router_plain_over_ssl_exists
> (system_tests_sasl_plain.RouterTestVerifyHostNameNo)
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 538,
> in test_inter_router_plain_over_ssl_exists
> 27: local_node = Node.connect(self.routers[1].addresses[0],
> timeout=TIMEOUT)
> 27: AttributeError: 'RouterTestVerifyHostNameNo' object has no attribute
> 'routers'
> 27:
> 27: ======================================================================
> 27: ERROR: test_zzz_delete_create_ssl_profile
> (system_tests_sasl_plain.RouterTestVerifyHostNameNo)
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 551,
> in test_zzz_delete_create_ssl_profile
> 27: local_node = self.routers[1].management
> 27: AttributeError: 'RouterTestVerifyHostNameNo' object has no attribute
> 'routers'
> 27:
> 27: ======================================================================
> 27: ERROR: test_no_inter_router_connection
> (system_tests_sasl_plain.RouterTestVerifyHostNameYes)
> 27: ----------------------------------------------------------------------
> 27: Traceback (most recent call last):
> 27: File "/foo/qpid-dispatch/tests/system_tests_sasl_plain.py", line 416,
> in test_no_inter_router_connection
> 27: local_node = Node.connect(self.routers[1].addresses[0],
> timeout=TIMEOUT)
> 27: AttributeError: 'RouterTestVerifyHostNameYes' object has no attribute
> 'routers'
> 27:
> 27: ----------------------------------------------------------------------
> 27: Ran 14 tests in 0.018s
> 27:
> 27: FAILED (errors=8)
> 27: Skipping test
> system_tests_sasl_plain.RouterTestPlainSasl.test_inter_router_plain_exists:
> Cyrus library not available. skipping test
> 27: Skipping test
> system_tests_sasl_plain.RouterTestPlainSasl.test_qdstat_connect_sasl: Cyrus
> library not available. skipping test
> 27: Skipping test
> system_tests_sasl_plain.RouterTestPlainSasl.test_qdstat_connect_sasl_password_file:
> Cyrus library not available. skipping test
> 27: Skipping test
> system_tests_sasl_plain.RouterTestPlainSaslOverSsl.test_aaa_qdstat_connect_sasl_over_ssl:
> Cyrus library not available. skipping test
> 27: Skipping test
> system_tests_sasl_plain.RouterTestPlainSaslOverSsl.test_inter_router_plain_over_ssl_exists:
> Cyrus library not available. skipping test
> 27: Skipping test
> system_tests_sasl_plain.RouterTestVerifyHostNameNo.test_inter_router_plain_over_ssl_exists:
> Cyrus library not available. skipping test
> 27: Skipping test
> system_tests_sasl_plain.RouterTestVerifyHostNameNo.test_zzz_delete_create_ssl_profile:
> Cyrus library not available. skipping test
> 27: Skipping test
> system_tests_sasl_plain.RouterTestVerifyHostNameYes.test_no_inter_router_connection:
> Cyrus library not available. skipping test
> 27/48 Test #27: system_tests_sasl_plain ...........................***Failed
> 0.18 sec
> test 28{noformat}
> Notice above that although the tests are being skipped, they are marked as
> FAIL
> The tests are being skipped because the cyrus sasl libraries are not
> installed on the rhel6 system
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]