• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 5960861958799360
63%

Build:
DEFAULT BRANCH: master
Ran 22 May 2025 02:38AM UTC
Jobs 5
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 May 2025 06:41PM UTC coverage: 59.516% (-0.001%) from 59.517%
5960861958799360

push

CirrusCI

SomberNight
requirements: bump min dnspython to 2.2.0

follow-up https://github.com/spesmilo/electrum/commit/713a20e30
https://github.com/spesmilo/electrum/pull/9833

On Windows, above commit broke dns_hacks.py with dnspython==2.0.0 and 2.1.0.
Newer dnspython works.
Root cause not immediately obvious. Probably not worth debugging, I will just bump the required version instead.

With dnspython==2.0.0, the log gets spammed and dns fails:
```
$ python3 -m pip install --user "dnspython==2.0.0"

 10.59 | E | asyncio | Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "...\Python310\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "...\Python310\lib\asyncio\proactor_events.py", line 158, in _call_connection_lost
    self._protocol.connection_lost(exc)
  File "...\Python310\site-packages\dns\_asyncio_backend.py", line 38, in connection_lost
    self.recvfrom.set_exception(exc)
asyncio.exceptions.InvalidStateError: invalid state
```
With dnspython==2.1.0, no more log spam but all dns resolutions time out:
```
$ python3 -m pip install --user "dnspython==2.1.0"

 33.29 | I | dns_hacks | dnspython failed to resolve dns (AAAA) for 'testnet.qtornado.com' with error: Timeout('The DNS operation timed out after 31.591506242752075 seconds')
 33.29 | I | dns_hacks | dnspython failed to resolve dns (AAAA) for 'api.coingecko.com' with error: Timeout('The DNS operation timed out after 31.590490579605103 seconds')
 33.29 | I | dns_hacks | dnspython failed to resolve dns (A) for 'testnet.qtornado.com' with error: Timeout('The DNS operation timed out after 31.591506242752075 seconds')
 33.29 | I | dns_hacks | dnspython failed to resolve dns (A) for 'api.coingecko.com' with error: Timeout('The DNS operation timed out after 31.590490579605103 seconds')
 33.35 | I | dns_h... (continued)

1 of 2 new or added lines in 1 file covered. (50.0%)

15 existing lines in 6 files now uncovered.

21608 of 36306 relevant lines covered (59.52%)

2.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
23.19
0.8% electrum/dns_hacks.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
23.19
0.8% electrum/dns_hacks.py
1
95.04
-0.29% electrum/lnonion.py
1
0.0
0.0% electrum/utils/stacktracer.py
2
60.41
-0.15% electrum/util.py
5
87.21
-1.28% electrum/lnrouter.py
5
49.66
-0.24% electrum/lnworker.py
Jobs
ID Job ID Ran Files Coverage
1 5960861958799360.1 22 May 2025 02:38AM UTC 87
59.45
2 5960861958799360.2 22 May 2025 02:39AM UTC 87
59.47
3 5960861958799360.3 22 May 2025 02:39AM UTC 87
59.45
4 5960861958799360.4 22 May 2025 02:39AM UTC 87
59.47
5 5960861958799360.5 22 May 2025 03:00AM UTC 87
59.48
Source Files on build 5960861958799360
  • Tree
  • List 87
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #59608619...
  • e7547643 on github
  • Prev Build on master (#54259705...)
  • Next Build on master (#58495484...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc