You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Rabih M <ra...@gmail.com> on 2018/09/28 10:07:01 UTC

Problems building dispatch-router 1.3.0

Hello,

We are trying to build the latest released version of the dispatch router
1.3.0.
We are using redhat OS (2.6.32-358.el6.x86_64 GNU/Linux), GCC 4.9.2 and Python
2.7.8.

And we have 2 failing unit tests:

system_tests_two_routers:

============================================================

[linux] 30: FAIL: test_10_propagated_disposition
(system_tests_two_routers.TwoRouterTest)

[linux] 30: ----------------------------------------------------

[linux] 30: Traceback (most recent call last):

[linux] 30:   File
".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_two_routers.py",
line 191, in test_10_propagated_disposition

[linux] 30:     test.run()

[linux] 30:   File
".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_two_routers.py",
line 1229, in run

[linux] 30:     self.test.assertEqual(['accept', 'reject'],
sorted(self.settled))

[linux] 30: AssertionError: Lists differ: [u'accept', u'reject'] !=
[u'reject']

[linux] 30:

[linux] 30: First differing element 0:

[linux] 30: accept

[linux] 30: reject

[linux] 30:

[linux] 30: First list contains 1 additional elements.

[linux] 30: First extra element 1:

[linux] 30: reject

[linux] 30:

[linux] 30: - [u'accept', u'reject']

[linux] 30: + [u'reject']

[linux] 30:


And system_tests_console :



Test command: /opt/rh/python27/root/usr/bin/python
".../dispatch-workspace/build-dir/qpid-dispatch/tests/run.py" "-x"
"unit2" "-v" "system_tests_console"

[linux] 48: Test timeout computed to be: 1500

[linux] 48: ERROR

[linux] 48:

[linux] 48: =============================================

[linux] 48: ERROR: setUpClass (system_tests_console.ConsoleTest)

[linux] 48: ---------------------------------------------

[linux] 48: Traceback (most recent call last):

[linux] 48:   File
"/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_console.py",
line 45, in setUpClass

[linux] 48:     cls.router = cls.tester.qdrouterd('test-router', config)

[linux] 48:   File
".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
line 557, in qdrouterd

[linux] 48:     return self.cleanup(Qdrouterd(*args, **kwargs))

[linux] 48:   File
".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
line 352, in __init__

[linux] 48:     self.wait_ready()

[linux] 48:   File
"/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
line 478, in wait_ready

[linux] 48:     self.wait_ports(**retry_kwargs)

[linux] 48:   File
"/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
line 463, in wait_ports

[linux] 48:     wait_ports(self.ports_family, **retry_kwargs)

[linux] 48:   File
"/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
line 185, in wait_ports

[linux] 48:     wait_port(port=port, protocol_family=protocol_family,
**retry_kwargs)

[linux] 48:   File
"/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
line 177, in wait_port

[linux] 48:     raise Exception("wait_port timeout on host %s port %s:
%s"%(host, port, e))

[linux] 48: Exception: wait_port timeout on host 127.0.0.1 port 27703:
[Errno 111] Connection refused


Any idea why this is happening?

Best regards,
Rabih

Re: Problems building dispatch-router 1.3.0

Posted by Ted Ross <tr...@redhat.com>.
Were there any core dumps in the test directories?

On Fri, Sep 28, 2018 at 6:07 AM Rabih M <ra...@gmail.com> wrote:

> Hello,
>
> We are trying to build the latest released version of the dispatch router
> 1.3.0.
> We are using redhat OS (2.6.32-358.el6.x86_64 GNU/Linux), GCC 4.9.2 and
> Python
> 2.7.8.
>
> And we have 2 failing unit tests:
>
> system_tests_two_routers:
>
> ============================================================
>
> [linux] 30: FAIL: test_10_propagated_disposition
> (system_tests_two_routers.TwoRouterTest)
>
> [linux] 30: ----------------------------------------------------
>
> [linux] 30: Traceback (most recent call last):
>
> [linux] 30:   File
>
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_two_routers.py",
> line 191, in test_10_propagated_disposition
>
> [linux] 30:     test.run()
>
> [linux] 30:   File
>
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_two_routers.py",
> line 1229, in run
>
> [linux] 30:     self.test.assertEqual(['accept', 'reject'],
> sorted(self.settled))
>
> [linux] 30: AssertionError: Lists differ: [u'accept', u'reject'] !=
> [u'reject']
>
> [linux] 30:
>
> [linux] 30: First differing element 0:
>
> [linux] 30: accept
>
> [linux] 30: reject
>
> [linux] 30:
>
> [linux] 30: First list contains 1 additional elements.
>
> [linux] 30: First extra element 1:
>
> [linux] 30: reject
>
> [linux] 30:
>
> [linux] 30: - [u'accept', u'reject']
>
> [linux] 30: + [u'reject']
>
> [linux] 30:
>
>
> And system_tests_console :
>
>
>
> Test command: /opt/rh/python27/root/usr/bin/python
> ".../dispatch-workspace/build-dir/qpid-dispatch/tests/run.py" "-x"
> "unit2" "-v" "system_tests_console"
>
> [linux] 48: Test timeout computed to be: 1500
>
> [linux] 48: ERROR
>
> [linux] 48:
>
> [linux] 48: =============================================
>
> [linux] 48: ERROR: setUpClass (system_tests_console.ConsoleTest)
>
> [linux] 48: ---------------------------------------------
>
> [linux] 48: Traceback (most recent call last):
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_console.py",
> line 45, in setUpClass
>
> [linux] 48:     cls.router = cls.tester.qdrouterd('test-router', config)
>
> [linux] 48:   File
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 557, in qdrouterd
>
> [linux] 48:     return self.cleanup(Qdrouterd(*args, **kwargs))
>
> [linux] 48:   File
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 352, in __init__
>
> [linux] 48:     self.wait_ready()
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 478, in wait_ready
>
> [linux] 48:     self.wait_ports(**retry_kwargs)
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 463, in wait_ports
>
> [linux] 48:     wait_ports(self.ports_family, **retry_kwargs)
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 185, in wait_ports
>
> [linux] 48:     wait_port(port=port, protocol_family=protocol_family,
> **retry_kwargs)
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 177, in wait_port
>
> [linux] 48:     raise Exception("wait_port timeout on host %s port %s:
> %s"%(host, port, e))
>
> [linux] 48: Exception: wait_port timeout on host 127.0.0.1 port 27703:
> [Errno 111] Connection refused
>
>
> Any idea why this is happening?
>
> Best regards,
> Rabih
>

Re: Problems building dispatch-router 1.3.0

Posted by Ganesh Murthy <gm...@redhat.com>.
On Fri, Sep 28, 2018 at 6:07 AM Rabih M <ra...@gmail.com> wrote:

> Hello,
>
> We are trying to build the latest released version of the dispatch router
> 1.3.0.
> We are using redhat OS (2.6.32-358.el6.x86_64 GNU/Linux), GCC 4.9.2 and
> Python
> 2.7.8.
>
What operating system and version are you using?
Thanks.

>
> And we have 2 failing unit tests:
>
> system_tests_two_routers:
>
> ============================================================
>
> [linux] 30: FAIL: test_10_propagated_disposition
> (system_tests_two_routers.TwoRouterTest)
>
> [linux] 30: ----------------------------------------------------
>
> [linux] 30: Traceback (most recent call last):
>
> [linux] 30:   File
>
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_two_routers.py",
> line 191, in test_10_propagated_disposition
>
> [linux] 30:     test.run()
>
> [linux] 30:   File
>
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_two_routers.py",
> line 1229, in run
>
> [linux] 30:     self.test.assertEqual(['accept', 'reject'],
> sorted(self.settled))
>
> [linux] 30: AssertionError: Lists differ: [u'accept', u'reject'] !=
> [u'reject']
>
> [linux] 30:
>
> [linux] 30: First differing element 0:
>
> [linux] 30: accept
>
> [linux] 30: reject
>
> [linux] 30:
>
> [linux] 30: First list contains 1 additional elements.
>
> [linux] 30: First extra element 1:
>
> [linux] 30: reject
>
> [linux] 30:
>
> [linux] 30: - [u'accept', u'reject']
>
> [linux] 30: + [u'reject']
>
> [linux] 30:
>
>
> And system_tests_console :
>
>
>
> Test command: /opt/rh/python27/root/usr/bin/python
> ".../dispatch-workspace/build-dir/qpid-dispatch/tests/run.py" "-x"
> "unit2" "-v" "system_tests_console"
>
> [linux] 48: Test timeout computed to be: 1500
>
> [linux] 48: ERROR
>
> [linux] 48:
>
> [linux] 48: =============================================
>
> [linux] 48: ERROR: setUpClass (system_tests_console.ConsoleTest)
>
> [linux] 48: ---------------------------------------------
>
> [linux] 48: Traceback (most recent call last):
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_tests_console.py",
> line 45, in setUpClass
>
> [linux] 48:     cls.router = cls.tester.qdrouterd('test-router', config)
>
> [linux] 48:   File
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 557, in qdrouterd
>
> [linux] 48:     return self.cleanup(Qdrouterd(*args, **kwargs))
>
> [linux] 48:   File
> ".../dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 352, in __init__
>
> [linux] 48:     self.wait_ready()
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 478, in wait_ready
>
> [linux] 48:     self.wait_ports(**retry_kwargs)
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 463, in wait_ports
>
> [linux] 48:     wait_ports(self.ports_family, **retry_kwargs)
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 185, in wait_ports
>
> [linux] 48:     wait_port(port=port, protocol_family=protocol_family,
> **retry_kwargs)
>
> [linux] 48:   File
>
> "/data/jenkins-slave/home/workspace/proton-acceptance/dispatch-workspace/qpid-dispatch-1.3.0/tests/system_test.py",
> line 177, in wait_port
>
> [linux] 48:     raise Exception("wait_port timeout on host %s port %s:
> %s"%(host, port, e))
>
> [linux] 48: Exception: wait_port timeout on host 127.0.0.1 port 27703:
> [Errno 111] Connection refused
>
>
> Any idea why this is happening?
>
> Best regards,
> Rabih
>