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/07/17 15:01:00 UTC

[jira] [Resolved] (DISPATCH-1080) system_tests_ssl failing consistently on Travis

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

Ganesh Murthy resolved DISPATCH-1080.
-------------------------------------
    Resolution: Fixed

> system_tests_ssl failing consistently on Travis
> -----------------------------------------------
>
>                 Key: DISPATCH-1080
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1080
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.2.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.3.0
>
>
> system_tests_ssl is consistently failing on Travis
> {noformat}
> Test command: /usr/bin/python "/home/travis/build/apache/qpid-dispatch/build/tests/run.py" "-x" "unit2" "-v" "system_tests_ssl"
> 47: Test timeout computed to be: 1500
> 47: test_ssl_invalid (system_tests_ssl.RouterTestSslClient) ... ok
> 47: test_ssl_sasl_client_invalid (system_tests_ssl.RouterTestSslClient) ... ok
> 47: test_ssl_sasl_client_valid (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_tls11_only (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_tls11_tls12_only (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_tls12_only (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_tls1_only (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_tls1_tls11_only (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_tls1_tls12_only (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_tls_all (system_tests_ssl.RouterTestSslClient) ... FAIL
> 47: test_connected_tls_sasl_routers (system_tests_ssl.RouterTestSslInterRouter) ... ERROR
> 47: 
> 47: ======================================================================
> 47: ERROR: test_connected_tls_sasl_routers (system_tests_ssl.RouterTestSslInterRouter)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 584, in test_connected_tls_sasl_routers
> 47:     router_nodes = self.get_router_nodes()
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 572, in get_router_nodes
> 47:     node = Node.connect(url)
> 47:   File "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py", line 111, in connect
> 47:     return Node(Node.connection(url, router, timeout, ssl_domain, sasl))
> 47:   File "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py", line 106, in connection
> 47:     password=str(sasl.password) if sasl else None)
> 47:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/utils.py", line 237, in __init__
> 47:     msg="Opening connection")
> 47:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/utils.py", line 314, in wait
> 47:     "Connection %s disconnected: %s" % (self.url, self.disconnected))
> 47: ConnectionException: Connection amqp://0.0.0.0:0/$management disconnected: Condition('proton:io', 'recv: Connection refused')
> 47: 
> 47: ======================================================================
> 47: FAIL: test_ssl_sasl_client_valid (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 374, in test_ssl_sasl_client_valid
> 47:     self.assertTrue(self.is_ssl_sasl_client_accepted(self.PORT_TLS_SASL, "TLSv1"))
> 47: AssertionError: False is not true
> 47: 
> 47: ======================================================================
> 47: FAIL: test_tls11_only (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 325, in test_tls11_only
> 47:     self.get_allowed_protocols(self.PORT_TLS11))
> 47: AssertionError: Lists differ: [False, True, False] != [False, False, False]
> 47: 
> 47: First differing element 1:
> 47: True
> 47: False
> 47: 
> 47: - [False, True, False]
> 47: ?         ^^^
> 47: 
> 47: + [False, False, False]
> 47: ?         ^^^^
> 47: 
> 47: 
> 47: ======================================================================
> 47: FAIL: test_tls11_tls12_only (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 353, in test_tls11_tls12_only
> 47:     self.get_allowed_protocols(self.PORT_TLS11_TLS12))
> 47: AssertionError: Lists differ: [False, True, True] != [False, False, False]
> 47: 
> 47: First differing element 1:
> 47: True
> 47: False
> 47: 
> 47: - [False, True, True]
> 47: + [False, False, False]
> 47: 
> 47: ======================================================================
> 47: FAIL: test_tls12_only (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 332, in test_tls12_only
> 47:     self.get_allowed_protocols(self.PORT_TLS12))
> 47: AssertionError: Lists differ: [False, False, True] != [False, False, False]
> 47: 
> 47: First differing element 2:
> 47: True
> 47: False
> 47: 
> 47: - [False, False, True]
> 47: ?                ^^^
> 47: 
> 47: + [False, False, False]
> 47: ?                ^^^^
> 47: 
> 47: 
> 47: ======================================================================
> 47: FAIL: test_tls1_only (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 318, in test_tls1_only
> 47:     self.get_allowed_protocols(self.PORT_TLS1))
> 47: AssertionError: Lists differ: [True, False, False] != [False, False, False]
> 47: 
> 47: First differing element 0:
> 47: True
> 47: False
> 47: 
> 47: - [True, False, False]
> 47: + [False, False, False]
> 47: 
> 47: ======================================================================
> 47: FAIL: test_tls1_tls11_only (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 339, in test_tls1_tls11_only
> 47:     self.get_allowed_protocols(self.PORT_TLS1_TLS11))
> 47: AssertionError: Lists differ: [True, True, False] != [False, False, False]
> 47: 
> 47: First differing element 0:
> 47: True
> 47: False
> 47: 
> 47: - [True, True, False]
> 47: + [False, False, False]
> 47: 
> 47: ======================================================================
> 47: FAIL: test_tls1_tls12_only (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 346, in test_tls1_tls12_only
> 47:     self.get_allowed_protocols(self.PORT_TLS1_TLS12))
> 47: AssertionError: Lists differ: [True, False, True] != [False, False, False]
> 47: 
> 47: First differing element 0:
> 47: True
> 47: False
> 47: 
> 47: - [True, False, True]
> 47: + [False, False, False]
> 47: 
> 47: ======================================================================
> 47: FAIL: test_tls_all (system_tests_ssl.RouterTestSslClient)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_ssl.py", line 360, in test_tls_all
> 47:     self.get_allowed_protocols(self.PORT_TLS_ALL))
> 47: AssertionError: Lists differ: [True, True, True] != [False, False, False]
> 47: 
> 47: First differing element 0:
> 47: True
> 47: False
> 47: 
> 47: - [True, True, True]
> 47: + [False, False, False]
> 47: 
> 47: ----------------------------------------------------------------------
> 47: Ran 11 tests in 0.493s
> 47: 
> 47: FAILED (failures=8, errors=1)
> 47/47 Test #47: system_tests_ssl ..................................***Failed    0.57 sec{noformat}



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