You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2021/04/20 08:23:03 UTC

[GitHub] [ratis] adoroszlai opened a new pull request #463: RATIS-1361. Connection errors in Netty-based tests

adoroszlai opened a new pull request #463:
URL: https://github.com/apache/ratis/pull/463


   ## What changes were proposed in this pull request?
   
   Few Netty-based tests started failing recently in CI with errors like:
   
   ```
   org.apache.ratis.thirdparty.io.netty.channel.ConnectTimeoutException: connection timed out: /0.0.0.0:33307
   ```
   
   without any code change.  [First failed](https://github.com/apache/ratis/runs/2329275686#step:5:4) on `master` for a simple [version number update](https://github.com/apache/ratis/commit/bd3f36bd324257d5898d59f203f7d19c1405a26c).
   
   Also:
   https://github.com/apache/ratis/runs/2379889361#step:5:4
   https://github.com/apache/ratis/runs/2368524547?check_suite_focus=true#step:5:4
   https://github.com/apache/ratis/runs/2379594469?check_suite_focus=true#step:5:4
   
   They pass locally.
   
   This PR attempts to fix these by resolving the "any local address" (0.0.0.0) specifically to the loopback address in the mini cluster.
   
   https://issues.apache.org/jira/browse/RATIS-1359
   
   ## How was this patch tested?
   
   The same set of tests passed 5x repeatedly:
   
   https://github.com/adoroszlai/incubator-ratis/runs/2384632003#step:5:1
   https://github.com/adoroszlai/incubator-ratis/runs/2388377845#step:5:1
   https://github.com/adoroszlai/incubator-ratis/runs/2388513282#step:5:1
   https://github.com/adoroszlai/incubator-ratis/runs/2388574384#step:5:1
   https://github.com/adoroszlai/incubator-ratis/runs/2388605600#step:5:1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ratis] adoroszlai closed pull request #463: RATIS-1361. Connection errors in Netty-based tests

Posted by GitBox <gi...@apache.org>.
adoroszlai closed pull request #463:
URL: https://github.com/apache/ratis/pull/463


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org