test: ConnectionRefusedError on consecutive runs the same test #19234

issue hebasto opened this issue on June 10, 2020
  1. hebasto commented at 10:51 AM on June 10, 2020: member

    On Ubuntu Focal running the same test some times in a row

    $ BITCOIND=/home/hebasto/bitcoin/src/qt/bitcoin-qt QT_QPA_PLATFORM=minimal ./test/functional/feature_versionbits_warning.py
    

    I eventually got

    AssertionError: [node 0] Node returned non-zero exit code (-11) when stopping
    ...
    ConnectionRefusedError: [Errno 111] Connection refused
    [node 0] Cleaning up leftover process
    
  2. hebasto added the label Bug on Jun 10, 2020
  3. maflcko commented at 10:59 AM on June 10, 2020: member

    Related, but different: #18623

  4. willcl-ark commented at 2:16 PM on October 20, 2022: contributor

    I have just tried to reproduce this on 21.04 but have been unable to do so. QT_QPA_PLATFORM=minimal did not work on my system (plugin could not load application fonts) so I tested with QT_QPA_PLATFORM=offscreen, running the test 20 times:

    will@ubuntu in bitcoin (032ceb1 🏷  v24.0rc2) [?] via 🐍 v3.6.12
    ❯ for i in (seq 1 20)
          BITCOIND=/home/will/src/bitcoin/src/qt/bitcoin-qt QT_QPA_PLATFORM=offscreen ./test/functional/feature_versionbits_warning.py
      end
    

    It seems unlikely that this is related to the QPA platform, but do you think it's worth testing on a 20.04 VM too?

  5. hebasto commented at 2:54 PM on October 20, 2022: member

    It seems unlikely that this is related to the QPA platform

    Agree.

    but do you think it's worth testing on a 20.04 VM too?

    It won't hurt :)

  6. maflcko added the label GUI on Oct 24, 2022
  7. maflcko commented at 2:54 PM on October 27, 2022: member

    Can this be closed, given that the bug is fixed in recent version of Ubuntu?

  8. fanquake commented at 11:20 AM on October 28, 2022: member

    I think so. Is this even a bug in Bitcoin Core?

  9. hebasto closed this on Oct 28, 2022

  10. bitcoin locked this on Oct 28, 2023

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: 2026-04-21 18:14 UTC

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