Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-13312

'NetworkDegradeTest#test_rate' should wait until iperf server is listening

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      We have seen multiple failures with the following logs:

      [DEBUG - 2021-09-17 09:57:58,603 - remoteaccount - _log - lineno:160]: ubuntu@worker26: Running ssh command: iperf -i 1 -t 20 -f k -c worker25 [INFO - 2021-09-17 09:57:58,611 - network_degrade_test - test_rate - lineno:114]: iperf output connect failed: Connection refused
      

      The iperf client can not connect to the iperf server. The test launches the server and then immediately launches the client but there is not guarantee that the server listens when the client is started.

      It seems that we should add a condition to wait until the server prints `Server listening` before starting the client.

      Attachments

        Issue Links

          Activity

            People

              dajac David Jacot
              dajac David Jacot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: