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-736) 3 system tests in the test suite are failing on RHEL 6.4
Date Mon, 03 Apr 2017 20:31:41 GMT

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

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

GitHub user ganeshmurthy opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/158

    DISPATCH-736 - Fix code that detects if IPV6 is enabled

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-736-4

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/158.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 #158
    
----
commit 5e000b5f1f527f55323485e5082e6240d61b9cba
Author: Ganesh Murthy <gmurthy@redhat.com>
Date:   2017-04-03T15:51:12Z

    DISPATCH-736 - Fix code that detects if IPV6 is enabled

----


> 3 system tests in the test suite are failing on RHEL 6.4
> --------------------------------------------------------
>
>                 Key: DISPATCH-736
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-736
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.7.0
>         Environment: RHEL 6.4
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>             Fix For: 0.8.0
>
>
> Three system tests are failing in RHEL 6.4
> {noformat}
> The following tests FAILED:
> 	 12 - router_policy_test (Failed)
> 	 18 - system_tests_policy (Failed)
> 	 19 - system_tests_protocol_family (Failed)
> Errors while running CTest
> script returned exit code 8
> {noformat}
> More details about the failures
> {noformat}
> 19: Test command: /python278/bin/python "/qpid-dispatch-router/dispatch-workspace/build-dir/qpid-dispatch/tests/run.py"
"-m" "unittest" "-v" "system_tests_protocol_family"
> 19: Test timeout computed to be: 1500
> 19: ERROR
> 19: 
> 19: ======================================================================
> 19: ERROR: setUpClass (system_tests_protocol_family.ProtocolFamilyTest)
> 19: ----------------------------------------------------------------------
> 19: Traceback (most recent call last):
> 19:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_tests_protocol_family.py",
line 75, in setUpClass
> 19:     if not is_ipv6_enabled():
> 19:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_test.py",
line 150, in is_ipv6_enabled
> 19:     sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
> 19:   File "/python278/lib/python2.7/socket.py", line 187, in __init__
> 19:     _sock = _realsocket(family, type, proto)
> 19: error: [Errno 97] Address family not supported by protocol
> 19: 
> 19: ----------------------------------------------------------------------
> 19: Ran 0 tests in 0.017s
> 19: 
> 19: FAILED (errors=1)
> 19/32 Test #19: system_tests_protocol_family ..........***Failed    0.35 sec
> 18: Test command: /python278/bin/python "/qpid-dispatch-router/dispatch-workspace/build-dir/qpid-dispatch/tests/run.py"
"-m" "unittest" "-v" "system_tests_policy"
> 18: Test timeout computed to be: 1500
> 18: test_verify_maximum_connections (system_tests_policy.AbsoluteConnectionCountLimit)
... ok
> 18: ERROR
> 18: test_verify_n_receivers (system_tests_policy.SenderReceiverLimits) ... ok
> 18: test_verify_n_senders (system_tests_policy.SenderReceiverLimits) ... ok
> 18: 
> 18: ======================================================================
> 18: ERROR: setUpClass (system_tests_policy.LoadPolicyFromFolder)
> 18: ----------------------------------------------------------------------
> 18: Traceback (most recent call last):
> 18:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_tests_policy.py",
line 88, in setUpClass
> 18:     cls.router = cls.tester.qdrouterd('conn-limit-router', config, wait=True)
> 18:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_test.py",
line 588, in qdrouterd
> 18:     return self.cleanup(Qdrouterd(*args, **kwargs))
> 18:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_test.py",
line 356, in __init__
> 18:     self.wait_ready()
> 18:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_test.py",
line 483, in wait_ready
> 18:     self.wait_ports(**retry_kwargs)
> 18:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_test.py",
line 468, in wait_ports
> 18:     wait_ports(self.ports_family, **retry_kwargs)
> 18:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_test.py",
line 193, in wait_ports
> 18:     wait_port(port=port, protocol_family=protocol_family, **retry_kwargs)
> 18:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/system_test.py",
line 185, in wait_port
> 18:     raise Exception("wait_port timeout on host %s port %s: %s"%(host, port, e))
> 18: Exception: wait_port timeout on host 127.0.0.1 port 23053: [Errno 111] Connection
refused
> 18: 
> 18: ----------------------------------------------------------------------
> 18: Ran 3 tests in 60.837s
> 18: 
> 18: FAILED (errors=1)
> 12: Test command: /python278/bin/python "/qpid-dispatch-router/dispatch-workspace/build-dir/qpid-dispatch/tests/run.py"
"-m" "unittest" "-v" "router_policy_test"
> 12: Test timeout computed to be: 1500
> 12: Run python module 'unittest': PolicyError: u'Policy \'photoserver\' is invalid: Policy
vhost \'photoserver\' user group \'superuser\' option \'remoteHosts\' connectionOption \'::1\'
failed to translate: \'\'HostStruct: \\\'::1\\\' failed to resolve: \\\'"HostStruct: \\\'::1\\\'
did not resolve to one of the supported address family"\\\'\'\'.'
> 12: Traceback (most recent call last):
> 12:   File "/qpid-dispatch-router/dispatch-workspace/build-dir/qpid-dispatch/tests/run.py",
line 148, in <module>
> 12:     runpy.run_module(sys.argv[0], alter_sys=True, run_name="__main__")
> 12:   File "/python278/lib/python2.7/runpy.py", line 176, in run_module
> 12:     fname, loader, pkg_name)
> 12:   File "/python278/lib/python2.7/runpy.py", line 82, in _run_module_code
> 12:     mod_name, mod_fname, mod_loader, pkg_name)
> 12:   File "/python278/lib/python2.7/runpy.py", line 72, in _run_code
> 12:     exec code in run_globals
> 12:   File "/nfs_tools/Linux/2.6/python_release/python278/lib/python2.7/unittest/__main__.py",
line 12, in <module>
> 12:     main(module=None)
> 12:   File "/python278/lib/python2.7/unittest/main.py", line 94, in __init__
> 12:     self.parseArgs(argv)
> 12:   File "/python278/lib/python2.7/unittest/main.py", line 149, in parseArgs
> 12:     self.createTests()
> 12:   File "/python278/lib/python2.7/unittest/main.py", line 158, in createTests
> 12:     self.module)
> 12:   File "/python278/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
> 12:     suites = [self.loadTestsFromName(name, module) for name in names]
> 12:   File "/python278/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
> 12:     module = __import__('.'.join(parts_copy))
> 12:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/router_policy_test.py",
line 140, in <module>
> 12:     class PolicyFile(TestCase):
> 12:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/tests/router_policy_test.py",
line 144, in PolicyFile
> 12:     policy.test_load_config()
> 12:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/python/qpid_dispatch_internal/policy/policy_local.py",
line 712, in test_load_config
> 12:     self.create_ruleset(ruleset[1])
> 12:   File "/qpid-dispatch-router/dispatch-workspace/qpid-dispatch-0.8.0-rc1/python/qpid_dispatch_internal/policy/policy_local.py",
line 493, in create_ruleset
> 12:     raise PolicyError("Policy '%s' is invalid: %s" % (name, diag[0]))
> 12: qpid_dispatch_internal.policy.policy_util.PolicyError: u'Policy \'photoserver\' is
invalid: Policy vhost \'photoserver\' user group \'superuser\' option \'remoteHosts\' connectionOption
\'::1\' failed to translate: \'\'HostStruct: \\\'::1\\\' failed to resolve: \\\'"HostStruct:
\\\'::1\\\' did not resolve to one of the supported address family"\\\'\'\'.'
> 12/32 Test #12: router_policy_test ....................***Failed    0.26 sec
> test 13
>       Start 13: system_tests_link_routes
> {noformat}



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

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


Mime
View raw message