You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2018/08/02 18:03:00 UTC

[jira] [Commented] (DISPATCH-1095) Skipped system tests are marked as failed on rhel6

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

Ganesh Murthy commented on DISPATCH-1095:
-----------------------------------------

unittest2 does not support skipping feature on python 2.6

Look at https://issues.apache.org/jira/browse/DISPATCH-963

Adapt that fix to fix this issue

> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org