You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Jacot (Jira)" <ji...@apache.org> on 2021/09/20 09:41:00 UTC

[jira] [Created] (KAFKA-13312) 'NetworkDegradeTest#test_rate' should wait until iperf server is listening

David Jacot created KAFKA-13312:
-----------------------------------

             Summary: 'NetworkDegradeTest#test_rate' should wait until iperf server is listening
                 Key: KAFKA-13312
                 URL: https://issues.apache.org/jira/browse/KAFKA-13312
             Project: Kafka
          Issue Type: Bug
            Reporter: David Jacot
            Assignee: David Jacot


We have seen multiple failures with the following logs:
{noformat}
[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
{noformat}
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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)