Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2080

Cannot write log output to 'test_router_1.log': Bad file descriptor during system_tests_qdmanage

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 1.16.0
    • 1.17.0
    • None
    • None

    Description

      https://travis-ci.com/github/apache/qpid-dispatch/jobs/501027530#L4823

      29: Router R1 output file:
      29: >>>>
      29: Cannot write log output to 'test_router_1.log': Bad file descriptor
      29: 
      29: <<<<
      
      29: ======================================================================
      29: ERROR: test_update (system_tests_qdmanage.QdmanageTest)
      29: ----------------------------------------------------------------------
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 91, in run_qdmanage
      29:     p.teardown()
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 311, in teardown
      29:     error("exit code %s, expected %s" % (status, self.expect))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 299, in error
      29:     raise RuntimeError("Process %s error: %s\n%s\n%s\n>>>>\n%s<<<<" % (
      29: RuntimeError: Process 14735 error: exit code 1, expected 0
      29: qdmanage UPDATE --type org.apache.qpid.dispatch.log --name log/DEFAULT enable=trace+ outputFile=A.log --bus amqp://0.0.0.0:21138 --indent=-1 --timeout 300.0
      29: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_qdmanage/QdmanageTest/test_update/qdmanage-61.cmd
      29: >>>>
      29: <<<<
      29: 
      29: During handling of the above exception, another exception occurred:
      29: 
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 289, in test_update
      29:     output = json.loads(self.run_qdmanage("UPDATE --type org.apache.qpid.dispatch.log --name log/DEFAULT "
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 93, in run_qdmanage
      29:     raise Exception(out if out else str(e))
      29: Exception: ConnectionException: Connection amqp://0.0.0.0:21138 disconnected: Condition('amqp:connection:framing-error', 'connection aborted')
      29: 
      29: 
      29: ======================================================================
      29: ERROR: test_worker_threads (system_tests_qdmanage.QdmanageTest)
      29: ----------------------------------------------------------------------
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 1173, in __call__
      29:     p.teardown()
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 311, in teardown
      29:     error("exit code %s, expected %s" % (status, self.expect))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 299, in error
      29:     raise RuntimeError("Process %s error: %s\n%s\n%s\n>>>>\n%s<<<<" % (
      29: RuntimeError: Process 14737 error: exit code 1, expected 0
      29: qdmanage QUERY --type=org.apache.qpid.dispatch.router --bus amqp://0.0.0.0:21138 --indent=-1 --timeout 300.0
      29: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_qdmanage/QdmanageTest/test_worker_threads/qdmanage-62.cmd
      29: >>>>
      29: <<<<
      29: 
      29: During handling of the above exception, another exception occurred:
      29: 
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 598, in test_worker_threads
      29:     output = qd_manager.query('org.apache.qpid.dispatch.router')
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 1205, in query
      29:     return json.loads(self('QUERY --type=%s' % long_type))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 1175, in __call__
      29:     raise Exception("%s\n%s" % (e, out))
      29: Exception: Process 14737 error: exit code 1, expected 0
      29: qdmanage QUERY --type=org.apache.qpid.dispatch.router --bus amqp://0.0.0.0:21138 --indent=-1 --timeout 300.0
      29: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_qdmanage/QdmanageTest/test_worker_threads/qdmanage-62.cmd
      29: >>>>
      29: <<<<
      29: ConnectionException: Connection amqp://0.0.0.0:21138 disconnected: Condition('proton.pythonio', 'Connection refused to all addresses')
      29: 
      29: 
      29: ======================================================================
      29: ERROR: test_yy_query_many_links (system_tests_qdmanage.QdmanageTest)
      29: ----------------------------------------------------------------------
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 526, in test_yy_query_many_links
      29:     c = BlockingConnection(self.address())
      29:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_utils.py", line 373, in __init__
      29:     self.wait(lambda: not (self.conn.state & Endpoint.REMOTE_UNINIT),
      29:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_utils.py", line 510, in wait
      29:     raise ConnectionException(
      29: proton._exceptions.ConnectionException: Connection amqp://0.0.0.0:21138 disconnected: Condition('proton.pythonio', 'Connection refused to all addresses')
      29: 
      29: ======================================================================
      29: ERROR: test_zzz_add_connector (system_tests_qdmanage.QdmanageTest)
      29: ----------------------------------------------------------------------
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 91, in run_qdmanage
      29:     p.teardown()
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 311, in teardown
      29:     error("exit code %s, expected %s" % (status, self.expect))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 299, in error
      29:     raise RuntimeError("Process %s error: %s\n%s\n%s\n>>>>\n%s<<<<" % (
      29: RuntimeError: Process 14739 error: exit code 1, expected 0
      29: qdmanage CREATE --type=connector --name=eaconn1 port=21140 host=0.0.0.0 --bus amqp://0.0.0.0:21138 --indent=-1 --timeout 300.0
      29: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_qdmanage/QdmanageTest/test_zzz_add_connector/qdmanage-63.cmd
      29: >>>>
      29: <<<<
      29: 
      29: During handling of the above exception, another exception occurred:
      29: 
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 399, in test_zzz_add_connector
      29:     output = json.loads(self.run_qdmanage(command))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 93, in run_qdmanage
      29:     raise Exception(out if out else str(e))
      29: Exception: ConnectionException: Connection amqp://0.0.0.0:21138 disconnected: Condition('proton.pythonio', 'Connection refused to all addresses')
      29: 
      29: 
      29: ======================================================================
      29: ERROR: test_zzz_create_delete_listener (system_tests_qdmanage.QdmanageTest)
      29: ----------------------------------------------------------------------
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 91, in run_qdmanage
      29:     p.teardown()
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 311, in teardown
      29:     error("exit code %s, expected %s" % (status, self.expect))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 299, in error
      29:     raise RuntimeError("Process %s error: %s\n%s\n%s\n>>>>\n%s<<<<" % (
      29: RuntimeError: Process 14741 error: exit code 1, expected 0
      29: qdmanage CREATE --type=org.apache.qpid.dispatch.listener --name=ealistener host=0.0.0.0 port=21141 --bus amqp://0.0.0.0:21138 --indent=-1 --timeout 300.0
      29: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_qdmanage/QdmanageTest/test_zzz_create_delete_listener/qdmanage-64.cmd
      29: >>>>
      29: <<<<
      29: 
      29: During handling of the above exception, another exception occurred:
      29: 
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 416, in test_zzz_create_delete_listener
      29:     listener = self.create(long_type, name, str(listener_port))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 296, in create
      29:     connector = json.loads(self.run_qdmanage(create_command))
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_qdmanage.py", line 93, in run_qdmanage
      29:     raise Exception(out if out else str(e))
      29: Exception: ConnectionException: Connection amqp://0.0.0.0:21138 disconnected: Condition('proton.pythonio', 'Connection refused to all addresses')
      29: 
      29: 
      29: ======================================================================
      29: ERROR: tearDownClass (system_tests_qdmanage.QdmanageTest)
      29: ----------------------------------------------------------------------
      29: Traceback (most recent call last):
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 865, in tearDownClass
      29:     cls.tester.teardown()
      29:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 808, in teardown
      29:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
      29: RuntimeError: Errors during teardown: 
      29: 
      29: Process 14609 error: exit code 1, expected -1
      29: qdrouterd -c test_router_1.conf -I /home/travis/build/apache/qpid-dispatch/python
      29: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_qdmanage/QdmanageTest/setUpClass/test_router_1-2.cmd
      29: >>>>
      29: Cannot write log output to 'test_router_1.log': Bad file descriptor
      29: <<<<
      29: 
      29: ----------------------------------------------------------------------
      29: Ran 34 tests in 309.784s
      29: 
      29: FAILED (errors=6)
      29/74 Test #29: system_tests_qdmanage .............................***Failed  309.90 sec
      

      Unusual flaky fail.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: