Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2889

[Travis] python tether test is flaky

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0, 1.10.1
    • None
    • None

    Description

      The python TestTetherTaskRunner for testing tether jobs frequently fails on PRs and master, making the CI difficult to trust.

      The test should be fixed, perhaps disabled in the short term.

      py35 create: /home/travis/build/apache/avro/lang/py/.tox/py35
      py35 installdeps: coverage, python-snappy, zstandard
      py35 inst: /home/travis/build/apache/avro/lang/py/.tox/.tmp/package/1/avro-1.11.0+snapshot.zip
      py35 installed: avro @ file:///home/travis/build/apache/avro/lang/py/.tox/.tmp/package/1/avro-1.11.0%2Bsnapshot.zip,coverage==5.2,python-snappy==0.5.4,zstandard==0.14.0
      py35 run-test-pre: PYTHONHASHSEED='3751010731'
      py35 run-test-pre: commands[0] | mkdir -p avro/test/interop /home/travis/build/apache/avro/lang/py/../../build/interop/data
      py35 run-test-pre: commands[1] | cp -r /home/travis/build/apache/avro/lang/py/../../build/interop/data avro/test/interop
      py35 run-test-pre: commands[2] | coverage run -pm avro.test.gen_interop_data avro/interop.avsc avro/test/interop/data/py.avro
      py35 run-test-pre: commands[3] | cp -r avro/test/interop/data /home/travis/build/apache/avro/lang/py/../../build/interop
      py35 run-test: commands[0] | coverage run -pm unittest discover --buffer --failfast
      .................................................................................................................................................................................................................................1.11.0+SNAPSHOT
      
      ...mock_tether_parent: Launching Server on Port: 53113
      MockParentResponder: Received 'configure': inputPort=34463
      MockParentResponder: Received output
      MockParentResponder: Received output
      MockParentResponder: Received output
      MockParentResponder: Received output
      MockParentResponder: Received output
      MockParentResponder: Received output
      MockParentResponder: Received output
      MockParentResponder: Received complete
      MockParentResponder: Received 'status': message=Status message
      .mock_tether_parent: Launching Server on Port: 46561
      MockParentResponder: Received 'configure': inputPort=44433
      E
      ======================================================================
      ERROR: test1 (avro.test.test_tether_task_runner.TestTetherTaskRunner)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/travis/build/apache/avro/lang/py/avro/test/test_tether_task_runner.py", line 72, in test1
          "localhost", runner.server.server_address[1], avro.tether.tether_task.inputProtocol)
      AttributeError: 'NoneType' object has no attribute 'server_address'
      
      Stdout:
      Mock server started process pid=15289
      
      ----------------------------------------------------------------------
      Ran 230 tests in 4.983s
      
      FAILED (errors=1)
      
      Stdout:
      Mock server started process pid=15289
      
      
      No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
      Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
      
      The build has been terminated
      

      Attachments

        Issue Links

          Activity

            People

              kojiromike Michael A. Smith
              rskraba Ryan Skraba
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: