Travis: failed to bind to port 11211 #10869

issue jnewbery openend this issue on July 18, 2017
  1. jnewbery commented at 5:16 pm on July 18, 2017: member

    Looks like a spurious Travis failure in p2p-segwit.py here: https://travis-ci.org/bitcoin/bitcoin/jobs/254520908#L5356

    02017-07-17 19:06:34.660901 Unable to bind to 0.0.0.0:11211 on this computer. Bitcoin Core is probably already running.
    

    test_runner.py and test_framework.py are very careful to not re-use ports for p2p and rpc interfaces on different nodes/tests, so perhaps another process was bound to 11211. Googling for port 11211 shows that it’s memcached’s default port.

    Should be easy to test whether port 11211 causes problems by pushing a branch with port_seed() changed.

  2. fanquake added the label Tests on Jul 21, 2017
  3. laanwj commented at 12:11 pm on July 27, 2017: member
    Most intermittent failures with ports could be avoided by using UNIX sockets for testing, too bad that that didn’t make it.
  4. MarcoFalke added the label Priority Low on Nov 10, 2017
  5. MarcoFalke commented at 9:55 pm on November 10, 2017: member

    The most simple work around would be to stop picking 11211:

     0diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py
     1index acca72aa8..43f689df5 100644
     2--- a/test/functional/test_framework/util.py
     3+++ b/test/functional/test_framework/util.py
     4@@ -164,5 +164,5 @@ def satoshi_round(amount):
     5 MAX_NODES = 8
     6 # Don't assign rpc or p2p ports lower than this
     7-PORT_MIN = 11000
     8+PORT_MIN = 11222
     9 # The number of ports to "reserve" for p2p and rpc, each
    10 PORT_RANGE = 5000
    
  6. laanwj removed the label Priority Low on Dec 6, 2017
  7. MarcoFalke commented at 8:04 pm on April 11, 2018: member
    @jnewbery Do you think this issue is worth to tackle/keep open?
  8. jnewbery added the label Up for grabs on Apr 11, 2018
  9. jnewbery commented at 8:14 pm on April 11, 2018: member

    Setting ‘Up for grabs’. Next steps, for anyone who wants this:

    • confirm that it really is port 11211 that causes problems.
    • fix using Marco’s workaround or some other way.
  10. jnewbery closed this on Apr 11, 2018

  11. MarcoFalke removed the label Up for grabs on Jun 3, 2018
  12. laanwj referenced this in commit 531a0337ca on Jun 11, 2018
  13. MarcoFalke referenced this in commit 13377b7a69 on Sep 22, 2019
  14. UdjinM6 referenced this in commit 8d22516df1 on Jun 19, 2021
  15. UdjinM6 referenced this in commit ad11ad8ec5 on Jun 24, 2021
  16. UdjinM6 referenced this in commit 4fb22e4c31 on Jun 26, 2021
  17. UdjinM6 referenced this in commit b02642d53f on Jun 26, 2021
  18. UdjinM6 referenced this in commit 69fd5dee3d on Jun 26, 2021
  19. UdjinM6 referenced this in commit 05dd5c7079 on Jun 28, 2021
  20. DrahtBot locked this on Sep 8, 2021
  21. vijaydasmp referenced this in commit ee3ddab11f on Dec 7, 2021
  22. Munkybooty referenced this in commit 29b690bd07 on Dec 7, 2021
  23. Munkybooty referenced this in commit a23eba8d09 on Dec 7, 2021
  24. Munkybooty referenced this in commit a8b224a9f0 on Dec 7, 2021
  25. Munkybooty referenced this in commit d449f75f97 on Dec 7, 2021
  26. vijaydasmp referenced this in commit 1f6e879097 on Dec 10, 2021
  27. vijaydasmp referenced this in commit 663bb9c04e on Dec 10, 2021
  28. vijaydasmp referenced this in commit ad21e4c6e2 on Dec 10, 2021
  29. vijaydasmp referenced this in commit ac4bc44c74 on Dec 10, 2021
  30. vijaydasmp referenced this in commit bb0b816d91 on Dec 13, 2021
  31. vijaydasmp referenced this in commit e7cb205d8d on Dec 13, 2021
  32. vijaydasmp referenced this in commit a03af87cf7 on Dec 15, 2021
  33. Munkybooty referenced this in commit 02dbc2e1e7 on Dec 15, 2021
  34. Munkybooty referenced this in commit d6e2993ff8 on Dec 15, 2021
  35. Munkybooty referenced this in commit bc5fd23d3c on Dec 20, 2021
  36. Munkybooty referenced this in commit 3cdd1e74fd on Dec 23, 2021
  37. Munkybooty referenced this in commit a402c3b6c2 on Dec 24, 2021
  38. Munkybooty referenced this in commit 00b0484819 on Dec 27, 2021
  39. Munkybooty referenced this in commit 9558b1881f on Dec 27, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-07-03 19:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me