Skip to content

Bootstrap test inconsistent #1597

Open
Open

Description

@PeterSurda

The boostrap test (e.g. on travis) sometimes fails. It probably is due to a fault in the test, client connection handling (drop a connection before downloading all the data), server connection handling (they drop connection before sending addresses or flushing the stream) or some combination thereof.

It's not exclusively a problem of travis, I'm moving the tests to buildbot and the same happens there. If you retry the test enough it will eventually succeed.

I'll check if the bootstrap servers that I have access to have the latest code, if that doesn't fix it maybe someone can look at it in more detail.

  • fix Excessive memory usage #1598
  • check bootstrap servers up to date
  • check if test is working correctly
  • check if servers send addresses if full / duplicate IP
  • check if servers close the connection after the stream is flushed
  • check if client closes connection after all data is read
  • if it's still broken, investigate what else it could be

Activity

  1. added
    bugSomething isn't working as it's supposed to
    developersThe issue is relevant mainly for developers rather than users
    on Jan 30, 2020
  2. added this to the v0.6.4 milestone on Jan 30, 2020
  3. g1itch commented on Jan 30, 2020

    @g1itch
    Collaborator

    Maybe this is related:

    ERROR - bootstrap8080.bitmessage.org:8080 error: 2, Too many connections from your IP. Closing connection.
    
  4. PeterSurda commented on Jan 31, 2020

    @PeterSurda
    MemberAuthor

    @g1itch In such a case, the server is supposed to send an addr command before dropping the connection. But maybe it wasn't correctly implemented or refactored to asyncore as I don't remember ever testing it.

  5. PeterSurda commented on Jan 31, 2020

    @PeterSurda
    MemberAuthor

    Update: bootstrap servers don't have the latest code, but there are excessive memory usage problems with the latest code, so I'm postponing upgrades until #1598 is resolved.

  6. PeterSurda commented on Feb 6, 2020

    @PeterSurda
    MemberAuthor

    So I updated the bootstrap servers and while checking them, only those that I operate appear to be online. All the others probably belonged to former users who don't run a node anymore or their IP changed. One I think belongs to Jonathan Warren but don't know about the others.

    I made sure all mine ( 5 ) are up and running with the latest code. There is currently no working IPv6 boostrap, and I haven't checked the tor bootstrap (which also is run by me but it's an weak system so want to setup a different one).

    I'll keep rerunning the test job to see if it improves. Maybe this (making sure mine work and have the latest code) is enough to fix it, but over longer period of time more servers run by others would be welcome, and I need to adjust the DNS records accordingly.

  7. PeterSurda commented on Aug 27, 2020

    @PeterSurda
    MemberAuthor

    Update: Today I removed non-responding servers from DNS records and updated all those servers that I control to the current v0.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working as it's supposed todevelopersThe issue is relevant mainly for developers rather than userstest

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions