qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-154) dispatch-router coredumps when connector address is unresolvable
Date Tue, 10 Apr 2018 23:55:00 GMT

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

ASF GitHub Bot commented on DISPATCH-154:
-----------------------------------------

Github user ganeshmurthy commented on the issue:

    https://github.com/apache/qpid-dispatch/pull/285
  
    test_unresolvable_host fails for me locally. 
    [gmurthy@localhost build]$ /usr/bin/python "/home/gmurthy/opensource/qpid-dispatch/build/tests/run.py"
"-x" "unit2" "-v" "system_tests_bad_configuration"
    test_qdmanage_query (system_tests_bad_configuration.RouterTestBadConfiguration) ... ok
    test_unresolvable_host (system_tests_bad_configuration.RouterTestBadConfiguration) ...
FAIL
    
    ======================================================================
    FAIL: test_unresolvable_host (system_tests_bad_configuration.RouterTestBadConfiguration)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_bad_configuration.py",
line 81, in test_unresolvable_host
        self.assertGreater(len(errors_caught), 0)
    AssertionError: 0 not greater than 0
    
    ----------------------------------------------------------------------
    Ran 2 tests in 3.094s
    
    FAILED (failures=1)
    [gmurthy@localhost build]$ 
    
    This is what I see when the router starts up
    
    2018-04-10 19:47:17.416339 -0400 CONN_MGR (info) Configured Connector: unresolvable.host.name:amqp
proto=any, role=normal


> dispatch-router coredumps when connector address is unresolvable
> ----------------------------------------------------------------
>
>                 Key: DISPATCH-154
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-154
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>            Priority: Major
>             Fix For: 0.5
>
>
> If the address of a connector is unresolvable, the router will crash upon resolution
failure.  This can be reproduced by adding the following configuration:
> {noformat}
> connector {
>     addr: unres.bogus.unreg
>     port: amqp
>     role: on-demand
>     saslMechanisms: ANONYMOUS
>     name: bogus
> }
> linkRoutePattern {
>     prefix: abc
>     connector: bogus
> }
> {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


Mime
View raw message