[ 
https://issues.apache.org/jira/browse/KAFKA-13312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jacot resolved KAFKA-13312.
---------------------------------
    Resolution: Fixed

> '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
>            Priority: Minor
>
> 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.20.1#820001)

Reply via email to