spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.33k stars 3.05k forks source link

AssertionError: False is not true in TestUtil.test_is_ip_address #7307

Closed mercurytoxic closed 3 years ago

mercurytoxic commented 3 years ago

On master branch https://github.com/spesmilo/electrum/commit/cad4e77853b1d3ae5fdaaa868c2fce67780a8870 test suite fails in TestUtil.test_is_ip_address with

_______________________________________________________ TestUtil.test_is_ip_address _______________________________________________________

self = <electrum.tests.test_util.TestUtil testMethod=test_is_ip_address>

    def test_is_ip_address(self):
        self.assertTrue(is_ip_address("127.0.0.1"))
>       self.assertTrue(is_ip_address("127.000.000.1"))
E       AssertionError: False is not true

electrum/tests/test_util.py:234: AssertionError
============================================================ warnings summary =============================================================
electrum/tests/test_network.py::TestNetwork::test_can_connect_during_backward
electrum/tests/test_network.py::TestNetwork::test_chain_false_during_binary
electrum/tests/test_network.py::TestNetwork::test_fork_conflict
electrum/tests/test_network.py::TestNetwork::test_fork_noconflict
  /tmp/trizen-vagrant/electrum-git/src/electrum/electrum/interface.py:382: RuntimeWarning: coroutine 'Interface.run' was never awaited
    task = await self.network.taskgroup.spawn(self.run())

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================= short test summary info =========================================================
FAILED electrum/tests/test_util.py::TestUtil::test_is_ip_address - AssertionError: False is not true
===================================== 1 failed, 532 passed, 3 skipped, 4 warnings in 79.84s (0:01:19) =====================================
ERROR: InvocationError for command /tmp/trizen-vagrant/electrum-git/src/electrum/.tox/py39/bin/coverage run --source=electrum '--omit=electrum/gui/*,electrum/plugins/*,electrum/scripts/*,electrum/tests/*' -m py.test -v (exited with code 1)
_________________________________________________________________ summary _________________________________________________________________
ERROR:   py39: commands failed
Full log

```[vagrant@archlinux ~]$ trizen -S electrum-git :: Pulling AUR changes: electrum-git -------------------------------------------------------------------------------- :: Content of /tmp/trizen-vagrant/electrum-git/PKGBUILD -------------------------------------------------------------------------------- # Maintainer: Luis Aranguren # Contributor: Andy Weidenbaum # Contributor: RunningDroid # Contributor: Sebastian Lindqvist # Contributor: Dan Beste # Contributor: Marcel O'Neil pkgname=electrum-git pkgver=4.1.1.r16.g94774c6ad pkgrel=1 pkgdesc="Lightweight Bitcoin wallet" arch=('any') url="https://github.com/spesmilo/electrum" license=('MIT') depends=('hicolor-icon-theme' 'libsecp256k1' 'python' 'python-ecdsa' 'python-qrcode' 'python-protobuf' 'python-dnspython' 'python-qdarkstyle' 'python-aiorpcx' 'python-aiohttp' 'python-aiohttp-socks' 'python-certifi' 'python-bitstring' 'python-attrs' 'python-cryptography' 'python-requests' 'python-six' 'python-pyqt5' 'qt5-base') checkdepends=('python-tox') makedepends=('gettext' 'git' 'protobuf' 'python-pycurl' 'python-setuptools') optdepends=('desktop-file-utils: update desktop icon' 'gtk-update-icon-cache: update desktop icon' 'python-hidapi: Digital Bitbox hardware wallet support' 'python-trezor: Trezor hardware wallet support' 'python-safet: Archos Safe-T hardware wallet support' 'python-keepkey: KeepKey hardware wallet support' 'python-btchip: Ledger hardware wallet support' 'python-ckcc-protocol: Coldcard wallet hardware support' 'python-bitbox02: BitBox wallet hardware support' 'python-matplotlib: plot transaction history in graphical mode' 'python-rpyc: send commands to Electrum Python console from an external script' 'xdg-utils: update desktop icon' 'python-amodem: air-gapped transaction signing over audio modem' 'zbar: QR code reading support') source=(git+https://github.com/spesmilo/electrum) sha256sums=('SKIP') provides=('electrum') conflicts=('electrum') install=electrum.install pkgver() { cd ${pkgname%-git} # git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd ${pkgname%-git} echo 'Initializing git submodule...' git submodule init echo 'Compiling protobuf description file...' protoc \ --proto_path=electrum \ --python_out=electrum \ electrum/paymentrequest.proto echo 'Creating translations...' python contrib/pull_locale echo 'Building...' python setup.py build } check() { cd ${pkgname%-git} #_pyver="$(pacman -Q python | awk '{print $2}' | awk -F. '{print $1 $2}')" _pyver="$(python -c \ 'import platform; print("%s%s" % platform.python_version_tuple()[0:2])')" echo 'Testing...' tox -e "py$_pyver" } package() { cd ${pkgname%-git} echo 'Installing...' python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 AUTHORS README.rst RELEASE-NOTES -t "$pkgdir"/usr/share/doc/$pkgname install -Dm644 LICENCE -t "$pkgdir"/usr/share/licenses/$pkgname } =>> Edit electrum-git/PKGBUILD? [y/N]: ^C [vagrant@archlinux ~]$ trizen -Sy electrum-git :: Pacman command: /usr/bin/sudo /usr/bin/pacman -Sy :: Synchronizing package databases... core 132.8 KiB 511 KiB/s 00:00 [##################################################################################################################################################################] 100% extra 1558.2 KiB 19.0 MiB/s 00:00 [##################################################################################################################################################################] 100% community 5.6 MiB 31.0 MiB/s 00:00 [##################################################################################################################################################################] 100% :: Pulling AUR changes: electrum-git -------------------------------------------------------------------------------- :: Content of /tmp/trizen-vagrant/electrum-git/PKGBUILD -------------------------------------------------------------------------------- # Maintainer: Luis Aranguren # Contributor: Andy Weidenbaum # Contributor: RunningDroid # Contributor: Sebastian Lindqvist # Contributor: Dan Beste # Contributor: Marcel O'Neil pkgname=electrum-git pkgver=4.1.1.r16.g94774c6ad pkgrel=1 pkgdesc="Lightweight Bitcoin wallet" arch=('any') url="https://github.com/spesmilo/electrum" license=('MIT') depends=('hicolor-icon-theme' 'libsecp256k1' 'python' 'python-ecdsa' 'python-qrcode' 'python-protobuf' 'python-dnspython' 'python-qdarkstyle' 'python-aiorpcx' 'python-aiohttp' 'python-aiohttp-socks' 'python-certifi' 'python-bitstring' 'python-attrs' 'python-cryptography' 'python-requests' 'python-six' 'python-pyqt5' 'qt5-base') checkdepends=('python-tox') makedepends=('gettext' 'git' 'protobuf' 'python-pycurl' 'python-setuptools') optdepends=('desktop-file-utils: update desktop icon' 'gtk-update-icon-cache: update desktop icon' 'python-hidapi: Digital Bitbox hardware wallet support' 'python-trezor: Trezor hardware wallet support' 'python-safet: Archos Safe-T hardware wallet support' 'python-keepkey: KeepKey hardware wallet support' 'python-btchip: Ledger hardware wallet support' 'python-ckcc-protocol: Coldcard wallet hardware support' 'python-bitbox02: BitBox wallet hardware support' 'python-matplotlib: plot transaction history in graphical mode' 'python-rpyc: send commands to Electrum Python console from an external script' 'xdg-utils: update desktop icon' 'python-amodem: air-gapped transaction signing over audio modem' 'zbar: QR code reading support') source=(git+https://github.com/spesmilo/electrum) sha256sums=('SKIP') provides=('electrum') conflicts=('electrum') install=electrum.install pkgver() { cd ${pkgname%-git} # git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd ${pkgname%-git} echo 'Initializing git submodule...' git submodule init echo 'Compiling protobuf description file...' protoc \ --proto_path=electrum \ --python_out=electrum \ electrum/paymentrequest.proto echo 'Creating translations...' python contrib/pull_locale echo 'Building...' python setup.py build } check() { cd ${pkgname%-git} #_pyver="$(pacman -Q python | awk '{print $2}' | awk -F. '{print $1 $2}')" _pyver="$(python -c \ 'import platform; print("%s%s" % platform.python_version_tuple()[0:2])')" echo 'Testing...' tox -e "py$_pyver" } package() { cd ${pkgname%-git} echo 'Installing...' python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 AUTHORS README.rst RELEASE-NOTES -t "$pkgdir"/usr/share/doc/$pkgname install -Dm644 LICENCE -t "$pkgdir"/usr/share/licenses/$pkgname } =>> Edit electrum-git/PKGBUILD? [y/N]: -------------------------------------------------------------------------------- :: Content of /tmp/trizen-vagrant/electrum-git/electrum.install -------------------------------------------------------------------------------- post_install() { ( [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q ) \ || true ( [[ -x /usr/bin/xdg-icon-resource ]] && xdg-icon-resource forceupdate --theme hicolor ) \ || true ( [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -f -q /usr/share/icons/hicolor ) \ || true } post_upgrade() { post_install } post_remove() { post_install } =>> Edit electrum-git/electrum.install? [y/N]: Repository : AUR Name : electrum-git Version : 4.1.1.r16.g94774c6ad-1 Maintainer : pizzaman URL : https://github.com/spesmilo/electrum AUR URL : https://aur.archlinux.org/packages.php?ID=887869 License : MIT Votes : 34 Popularity : 0.23% Installed : No Out Of Date : No Depends On : hicolor-icon-theme libsecp256k1 python python-ecdsa python-qrcode python-protobuf python-dnspython python-qdarkstyle python-aiorpcx python-aiohttp python-aiohttp-socks python-certifi python-bitstring python-attrs python-cryptography python-requests python-six python-pyqt5 qt5-base Make Deps : gettext git protobuf python-pycurl python-setuptools Check Deps : python-tox Optional Deps : xdg-utils: update desktop icon desktop-file-utils: update desktop icon gtk-update-icon-cache: update desktop icon python-hidapi: Digital Bitbox hardware wallet support python-btchip: Ledger hardware wallet support python-matplotlib: plot transaction history in graphical mode python-rpyc: send commands to Electrum Python console from an external script zbar: QR code reading support python-trezor: Trezor hardware wallet support python-safet: Archos Safe-T hardware wallet support python-keepkey: KeepKey hardware wallet support python-ckcc-protocol: Coldcard wallet hardware support python-bitbox02: BitBox wallet hardware support python-amodem: air-gapped transaction signing over audio modem Provides : electrum Conflicts With : electrum Replaces : None Package Base : electrum-git Last Update : Mon Apr 5 12:09:24 2021 Description : Lightweight Bitcoin wallet ==> Making package: electrum-git 4.1.1.r16.g94774c6ad-1 (Wed 19 May 2021 09:51:56 AM AEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating electrum git repo... Fetching origin remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (3/3), done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), 3.58 KiB | 3.58 MiB/s, done. From https://github.com/spesmilo/electrum + f3c53f198...5bb5eadcb refs/pull/6779/merge -> refs/pull/6779/merge (forced update) ==> Validating source files with sha256sums... electrum ... Skipped ==> Extracting sources... -> Creating working copy of electrum git repo... Reset branch 'makepkg' ==> Starting pkgver()... ==> Updated version: electrum-git 4.1.2.r62.gcad4e7785-1 ==> Removing existing $pkgdir/ directory... ==> Starting build()... Initializing git submodule... Compiling protobuf description file... Creating translations... Found 261 files to translate Generate template Download translations Unzip translations Installing Installing vi_VN Installing uk_UA Installing tr_TR Installing th_TH locale/th_TH/electrum.po:1024: 'msgid' and 'msgstr' entries do not both end with '\n' msgfmt: found 1 fatal error Installing ta_IN Installing sv_SE Installing es_ES locale/es_ES/electrum.po:2808: 'msgid' and 'msgstr' entries do not both begin with '\n' msgfmt: found 1 fatal error Installing sl_SI Installing sk_SK Installing si_LK Installing sr_CS Installing ru_RU Installing ro_RO Installing pt_BR Installing pt_PT Installing pl_PL Installing fa_IR Installing nb_NO Installing lv_LV Installing ky_KG Installing ko_KR Installing ja_JP Installing it_IT Installing id_ID Installing hu_HU Installing he_IL Installing el_GR Installing de_DE Installing fr_FR Installing eo_UY Installing nl_NL Installing da_DK Installing cs_CZ Installing zh_TW Installing zh_CN Installing bg_BG Installing bn_BD Installing be_BY Installing hy_AM Installing ar_SA Building... running build running build_py copying electrum/paymentrequest_pb2.py -> build/lib/electrum running egg_info writing Electrum.egg-info/PKG-INFO writing dependency_links to Electrum.egg-info/dependency_links.txt writing requirements to Electrum.egg-info/requires.txt writing top-level names to Electrum.egg-info/top_level.txt adding license file 'LICENCE' (matched pattern 'LICEN[CS]E*') adding license file 'AUTHORS' (matched pattern 'AUTHORS*') reading manifest file 'Electrum.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.py' under directory 'packages' warning: no files found matching 'cacert.pem' under directory 'packages' warning: no previously-included files found matching 'electrum/*.so' warning: no previously-included files found matching 'electrum/*.so.0' warning: no previously-included files found matching 'electrum/*.dll' warning: no previously-included files found matching 'electrum/*.dylib' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py.orig' found anywhere in distribution warning: no previously-included files matching '*.py.rej' found anywhere in distribution warning: no previously-included files matching '.git' found anywhere in distribution writing manifest file 'Electrum.egg-info/SOURCES.txt' copying electrum/locale/messages.pot -> build/lib/electrum/locale copying electrum/locale/ar_SA/electrum.po -> build/lib/electrum/locale/ar_SA copying electrum/locale/ar_SA/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/ar_SA/LC_MESSAGES copying electrum/locale/be_BY/electrum.po -> build/lib/electrum/locale/be_BY copying electrum/locale/be_BY/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/be_BY/LC_MESSAGES copying electrum/locale/bg_BG/electrum.po -> build/lib/electrum/locale/bg_BG copying electrum/locale/bg_BG/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/bg_BG/LC_MESSAGES copying electrum/locale/bn_BD/electrum.po -> build/lib/electrum/locale/bn_BD copying electrum/locale/bn_BD/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/bn_BD/LC_MESSAGES copying electrum/locale/cs_CZ/electrum.po -> build/lib/electrum/locale/cs_CZ copying electrum/locale/cs_CZ/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/cs_CZ/LC_MESSAGES copying electrum/locale/da_DK/electrum.po -> build/lib/electrum/locale/da_DK copying electrum/locale/da_DK/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/da_DK/LC_MESSAGES copying electrum/locale/de_DE/electrum.po -> build/lib/electrum/locale/de_DE copying electrum/locale/de_DE/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/de_DE/LC_MESSAGES copying electrum/locale/el_GR/electrum.po -> build/lib/electrum/locale/el_GR copying electrum/locale/el_GR/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/el_GR/LC_MESSAGES copying electrum/locale/eo_UY/electrum.po -> build/lib/electrum/locale/eo_UY copying electrum/locale/eo_UY/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/eo_UY/LC_MESSAGES copying electrum/locale/es_ES/electrum.po -> build/lib/electrum/locale/es_ES copying electrum/locale/es_ES/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/es_ES/LC_MESSAGES copying electrum/locale/fa_IR/electrum.po -> build/lib/electrum/locale/fa_IR copying electrum/locale/fa_IR/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/fa_IR/LC_MESSAGES copying electrum/locale/fr_FR/electrum.po -> build/lib/electrum/locale/fr_FR copying electrum/locale/fr_FR/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/fr_FR/LC_MESSAGES copying electrum/locale/he_IL/electrum.po -> build/lib/electrum/locale/he_IL copying electrum/locale/he_IL/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/he_IL/LC_MESSAGES copying electrum/locale/hu_HU/electrum.po -> build/lib/electrum/locale/hu_HU copying electrum/locale/hu_HU/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/hu_HU/LC_MESSAGES copying electrum/locale/hy_AM/electrum.po -> build/lib/electrum/locale/hy_AM copying electrum/locale/hy_AM/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/hy_AM/LC_MESSAGES copying electrum/locale/id_ID/electrum.po -> build/lib/electrum/locale/id_ID copying electrum/locale/id_ID/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/id_ID/LC_MESSAGES copying electrum/locale/it_IT/electrum.po -> build/lib/electrum/locale/it_IT copying electrum/locale/it_IT/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/it_IT/LC_MESSAGES copying electrum/locale/ja_JP/electrum.po -> build/lib/electrum/locale/ja_JP copying electrum/locale/ja_JP/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/ja_JP/LC_MESSAGES copying electrum/locale/ko_KR/electrum.po -> build/lib/electrum/locale/ko_KR copying electrum/locale/ko_KR/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/ko_KR/LC_MESSAGES copying electrum/locale/ky_KG/electrum.po -> build/lib/electrum/locale/ky_KG copying electrum/locale/ky_KG/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/ky_KG/LC_MESSAGES copying electrum/locale/lv_LV/electrum.po -> build/lib/electrum/locale/lv_LV copying electrum/locale/lv_LV/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/lv_LV/LC_MESSAGES copying electrum/locale/nb_NO/electrum.po -> build/lib/electrum/locale/nb_NO copying electrum/locale/nb_NO/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/nb_NO/LC_MESSAGES copying electrum/locale/nl_NL/electrum.po -> build/lib/electrum/locale/nl_NL copying electrum/locale/nl_NL/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/nl_NL/LC_MESSAGES copying electrum/locale/pl_PL/electrum.po -> build/lib/electrum/locale/pl_PL copying electrum/locale/pl_PL/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/pl_PL/LC_MESSAGES copying electrum/locale/pt_BR/electrum.po -> build/lib/electrum/locale/pt_BR copying electrum/locale/pt_BR/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/pt_BR/LC_MESSAGES copying electrum/locale/pt_PT/electrum.po -> build/lib/electrum/locale/pt_PT copying electrum/locale/pt_PT/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/pt_PT/LC_MESSAGES copying electrum/locale/ro_RO/electrum.po -> build/lib/electrum/locale/ro_RO copying electrum/locale/ro_RO/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/ro_RO/LC_MESSAGES copying electrum/locale/ru_RU/electrum.po -> build/lib/electrum/locale/ru_RU copying electrum/locale/ru_RU/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/ru_RU/LC_MESSAGES copying electrum/locale/si_LK/electrum.po -> build/lib/electrum/locale/si_LK copying electrum/locale/si_LK/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/si_LK/LC_MESSAGES copying electrum/locale/sk_SK/electrum.po -> build/lib/electrum/locale/sk_SK copying electrum/locale/sk_SK/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/sk_SK/LC_MESSAGES copying electrum/locale/sl_SI/electrum.po -> build/lib/electrum/locale/sl_SI copying electrum/locale/sl_SI/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/sl_SI/LC_MESSAGES copying electrum/locale/sr_CS/electrum.po -> build/lib/electrum/locale/sr_CS copying electrum/locale/sr_CS/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/sr_CS/LC_MESSAGES copying electrum/locale/sv_SE/electrum.po -> build/lib/electrum/locale/sv_SE copying electrum/locale/sv_SE/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/sv_SE/LC_MESSAGES copying electrum/locale/ta_IN/electrum.po -> build/lib/electrum/locale/ta_IN copying electrum/locale/ta_IN/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/ta_IN/LC_MESSAGES copying electrum/locale/th_TH/electrum.po -> build/lib/electrum/locale/th_TH copying electrum/locale/th_TH/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/th_TH/LC_MESSAGES copying electrum/locale/tr_TR/electrum.po -> build/lib/electrum/locale/tr_TR copying electrum/locale/tr_TR/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/tr_TR/LC_MESSAGES copying electrum/locale/uk_UA/electrum.po -> build/lib/electrum/locale/uk_UA copying electrum/locale/uk_UA/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/uk_UA/LC_MESSAGES copying electrum/locale/vi_VN/electrum.po -> build/lib/electrum/locale/vi_VN copying electrum/locale/vi_VN/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/vi_VN/LC_MESSAGES copying electrum/locale/zh_CN/electrum.po -> build/lib/electrum/locale/zh_CN copying electrum/locale/zh_CN/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/zh_CN/LC_MESSAGES copying electrum/locale/zh_TW/electrum.po -> build/lib/electrum/locale/zh_TW copying electrum/locale/zh_TW/LC_MESSAGES/electrum.mo -> build/lib/electrum/locale/zh_TW/LC_MESSAGES running build_scripts ==> Starting check()... Testing... GLOB sdist-make: /tmp/trizen-vagrant/electrum-git/src/electrum/setup.py py39 inst-nodeps: /tmp/trizen-vagrant/electrum-git/src/electrum/.tox/.tmp/package/1/Electrum-4.1.2.zip py39 installed: aiohttp==3.7.4.post0,aiohttp-socks==0.6.0,aiorpcX==0.18.7,async-timeout==3.0.1,attrs==21.2.0,bitstring==3.1.7,certifi==2020.12.5,cffi==1.14.5,chardet==4.0.0,coverage==5.5,cryptography==3.4.7,dnspython==2.0.0,Electrum @ file:///tmp/trizen-vagrant/electrum-git/src/electrum/.tox/.tmp/package/1/Electrum-4.1.2.zip,helpdev==0.7.1,idna==3.1,iniconfig==1.1.1,multidict==5.1.0,packaging==20.9,pluggy==0.13.1,protobuf==3.17.0,py==1.10.0,pyaes==1.6.1,pycparser==2.20,pycryptodomex==3.10.1,pyparsing==2.4.7,pytest==6.2.4,python-socks==1.2.4,QDarkStyle==2.8.1,qrcode==6.1,QtPy==1.9.0,six==1.16.0,toml==0.10.2,typing-extensions==3.10.0.0,yarl==1.6.3 py39 run-test-pre: PYTHONHASHSEED='4277724457' py39 run-test: commands[0] | coverage run --source=electrum '--omit=electrum/gui/*,electrum/plugins/*,electrum/scripts/*,electrum/tests/*' -m py.test -v ========================================================================================================================================================================================================= test session starts ========================================================================================================================================================================================================= platform linux -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /tmp/trizen-vagrant/electrum-git/src/electrum/.tox/py39/bin/python cachedir: .tox/py39/.pytest_cache rootdir: /tmp/trizen-vagrant/electrum-git/src/electrum collected 536 items electrum/tests/test_bitcoin.py::Test_bitcoin::test_add_number_to_script PASSED [ 0%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_address_to_script PASSED [ 0%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_aes_decode_with_invalid_password PASSED [ 0%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_aes_deencode_without_password PASSED [ 0%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_aes_encode_without_password PASSED [ 0%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_aes_homomorphic PASSED [ 1%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_bech32_decode PASSED [ 1%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_chacha20_encrypt__12_byte_nonce PASSED [ 1%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_chacha20_encrypt__8_byte_nonce PASSED [ 1%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_chacha20_poly1305_decrypt__with_associated_data PASSED [ 1%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_chacha20_poly1305_decrypt__without_associated_data PASSED [ 2%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_chacha20_poly1305_encrypt__with_associated_data PASSED [ 2%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_chacha20_poly1305_encrypt__without_associated_data PASSED [ 2%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_crypto PASSED [ 2%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_cryptography_is_available PASSED [ 2%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_decrypt_message PASSED [ 2%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_ecc_sanity PASSED [ 3%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_encrypt_message PASSED [ 3%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_int_to_hex PASSED [ 3%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_libsecp256k1_is_available PASSED [ 3%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_msg_signing PASSED [ 3%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_op_push PASSED [ 4%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_push_script PASSED [ 4%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_pyaes_is_available PASSED [ 4%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_pycryptodomex_is_available PASSED [ 4%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_script_num_to_hex PASSED [ 4%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_sha256d PASSED [ 5%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_sign_transaction PASSED [ 5%] electrum/tests/test_bitcoin.py::Test_bitcoin::test_var_int PASSED [ 5%] electrum/tests/test_bitcoin.py::Test_bitcoin_testnet::test_address_to_script PASSED [ 5%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_bip32 PASSED [ 5%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_convert_bip32_intpath_to_strpath PASSED [ 5%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_convert_bip32_path_to_list_of_uint32 PASSED [ 6%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_is_all_public_derivation PASSED [ 6%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_is_bip32_derivation PASSED [ 6%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_is_xkey_consistent_with_key_origin_info PASSED [ 6%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_is_xprv PASSED [ 6%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_is_xpub PASSED [ 7%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_normalize_bip32_derivation PASSED [ 7%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_version_bytes PASSED [ 7%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_xpub_from_xprv PASSED [ 7%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_xpub_type PASSED [ 7%] electrum/tests/test_bitcoin.py::Test_xprv_xpub::test_xtype_from_derivation PASSED [ 8%] electrum/tests/test_bitcoin.py::Test_xprv_xpub_testnet::test_version_bytes PASSED [ 8%] electrum/tests/test_bitcoin.py::Test_keyImport::test_address_from_private_key PASSED [ 8%] electrum/tests/test_bitcoin.py::Test_keyImport::test_address_to_scripthash PASSED [ 8%] electrum/tests/test_bitcoin.py::Test_keyImport::test_is_address_bad_checksums PASSED [ 8%] electrum/tests/test_bitcoin.py::Test_keyImport::test_is_compressed_privkey PASSED [ 8%] electrum/tests/test_bitcoin.py::Test_keyImport::test_is_minikey PASSED [ 9%] electrum/tests/test_bitcoin.py::Test_keyImport::test_is_private_key PASSED [ 9%] electrum/tests/test_bitcoin.py::Test_keyImport::test_is_valid_address PASSED [ 9%] electrum/tests/test_bitcoin.py::Test_keyImport::test_public_key_from_private_key PASSED [ 9%] electrum/tests/test_bitcoin.py::Test_keyImport::test_segwit_uncompressed_pubkey PASSED [ 9%] electrum/tests/test_bitcoin.py::Test_keyImport::test_serialize_privkey PASSED [ 10%] electrum/tests/test_bitcoin.py::Test_keyImport::test_wif_with_invalid_magic_byte_for_compressed_pubkey PASSED [ 10%] electrum/tests/test_bitcoin.py::TestBaseEncode::test_base43 PASSED [ 10%] electrum/tests/test_bitcoin.py::TestBaseEncode::test_base58 PASSED [ 10%] electrum/tests/test_bitcoin.py::TestBaseEncode::test_base58check PASSED [ 10%] electrum/tests/test_blockchain.py::TestBlockchain::test_doing_multiple_swaps_after_single_new_header PASSED [ 11%] electrum/tests/test_blockchain.py::TestBlockchain::test_forking_and_swapping PASSED [ 11%] electrum/tests/test_blockchain.py::TestBlockchain::test_get_chains_that_contain_header PASSED [ 11%] electrum/tests/test_blockchain.py::TestBlockchain::test_get_height_of_last_common_block_with_chain PASSED [ 11%] electrum/tests/test_blockchain.py::TestBlockchain::test_parents_after_forking PASSED [ 11%] electrum/tests/test_blockchain.py::TestVerifyHeader::test_expected_hash_mismatch PASSED [ 11%] electrum/tests/test_blockchain.py::TestVerifyHeader::test_insufficient_pow PASSED [ 12%] electrum/tests/test_blockchain.py::TestVerifyHeader::test_prev_hash_mismatch PASSED [ 12%] electrum/tests/test_blockchain.py::TestVerifyHeader::test_target_mismatch PASSED [ 12%] electrum/tests/test_blockchain.py::TestVerifyHeader::test_valid_header PASSED [ 12%] electrum/tests/test_bolt11.py::TestBolt11::test_derive_payment_secret_from_payment_preimage PASSED [ 12%] electrum/tests/test_bolt11.py::TestBolt11::test_features PASSED [ 13%] electrum/tests/test_bolt11.py::TestBolt11::test_min_final_cltv_expiry_decoding PASSED [ 13%] electrum/tests/test_bolt11.py::TestBolt11::test_min_final_cltv_expiry_roundtrip PASSED [ 13%] electrum/tests/test_bolt11.py::TestBolt11::test_n_decoding PASSED [ 13%] electrum/tests/test_bolt11.py::TestBolt11::test_payment_secret PASSED [ 13%] electrum/tests/test_bolt11.py::TestBolt11::test_roundtrip PASSED [ 13%] electrum/tests/test_bolt11.py::TestBolt11::test_shorten_amount PASSED [ 14%] electrum/tests/test_coinchooser.py::TestCoinChooser::test_bucket_candidates_with_empty_buckets PASSED [ 14%] electrum/tests/test_commands.py::TestCommands::test_convert_xkey PASSED [ 14%] electrum/tests/test_commands.py::TestCommands::test_encrypt_decrypt PASSED [ 14%] electrum/tests/test_commands.py::TestCommands::test_eval_bool PASSED [ 14%] electrum/tests/test_commands.py::TestCommands::test_export_private_key_deterministic PASSED [ 15%] electrum/tests/test_commands.py::TestCommands::test_export_private_key_imported PASSED [ 15%] electrum/tests/test_commands.py::TestCommands::test_setconfig_auth PASSED [ 15%] electrum/tests/test_commands.py::TestCommands::test_setconfig_non_auth_boolean PASSED [ 15%] electrum/tests/test_commands.py::TestCommands::test_setconfig_non_auth_list PASSED [ 15%] electrum/tests/test_commands.py::TestCommands::test_setconfig_non_auth_number PASSED [ 16%] electrum/tests/test_commands.py::TestCommands::test_setconfig_non_auth_number_as_string PASSED [ 16%] electrum/tests/test_commands.py::TestCommandsTestnet::test_convert_xkey PASSED [ 16%] electrum/tests/test_commands.py::TestCommandsTestnet::test_getprivatekeyforpath PASSED [ 16%] electrum/tests/test_commands.py::TestCommandsTestnet::test_payto PASSED [ 16%] electrum/tests/test_commands.py::TestCommandsTestnet::test_serialize PASSED [ 16%] electrum/tests/test_commands.py::TestCommandsTestnet::test_serialize_custom_nsequence PASSED [ 17%] electrum/tests/test_commands.py::TestCommandsTestnet::test_signtransaction_without_wallet PASSED [ 17%] electrum/tests/test_lnchannel.py::TestFee::test_fee PASSED [ 17%] electrum/tests/test_lnchannel.py::TestChannel::test_AddHTLCNegativeBalance SKIPPED (broken probably because we havn't implemented detecting when we come out of a situation where we violate reserve) [ 17%] electrum/tests/test_lnchannel.py::TestChannel::test_SimpleAddSettleWorkflow PASSED [ 17%] electrum/tests/test_lnchannel.py::TestChannel::test_UpdateFeeReceiverCommits PASSED [ 18%] electrum/tests/test_lnchannel.py::TestChannel::test_UpdateFeeSenderCommits PASSED [ 18%] electrum/tests/test_lnchannel.py::TestChannel::test_concurrent_reversed_payment PASSED [ 18%] electrum/tests/test_lnchannel.py::TestAvailableToSpend::test_DesyncHTLCs PASSED [ 18%] electrum/tests/test_lnchannel.py::TestAvailableToSpend::test_max_htlc_value PASSED [ 18%] electrum/tests/test_lnchannel.py::TestChanReserve::test_part1 SKIPPED (broken probably because we havn't implemented detecting when we come out of a situation where we violate reserve) [ 19%] electrum/tests/test_lnchannel.py::TestDust::test_DustLimit PASSED [ 19%] electrum/tests/test_lnhtlc.py::TestHTLCManager::test_adding_htlc_between_send_ctx_and_recv_rev PASSED [ 19%] electrum/tests/test_lnhtlc.py::TestHTLCManager::test_adding_htlcs_race PASSED [ 19%] electrum/tests/test_lnhtlc.py::TestHTLCManager::test_remove_htlc_while_owing_commitment PASSED [ 19%] electrum/tests/test_lnhtlc.py::TestHTLCManager::test_single_htlc_full_lifecycle PASSED [ 19%] electrum/tests/test_lnhtlc.py::TestHTLCManager::test_unacked_local_updates PASSED [ 20%] electrum/tests/test_lnmsg.py::TestLNMsg::test_decode_onion_error PASSED [ 20%] electrum/tests/test_lnmsg.py::TestLNMsg::test_encode_decode_msg__commitment_signed PASSED [ 20%] electrum/tests/test_lnmsg.py::TestLNMsg::test_encode_decode_msg__init PASSED [ 20%] electrum/tests/test_lnmsg.py::TestLNMsg::test_encode_decode_msg__ints_can_be_passed_as_bytes PASSED [ 20%] electrum/tests/test_lnmsg.py::TestLNMsg::test_encode_decode_msg__missing_mandatory_field_gets_set_to_zeroes PASSED [ 21%] electrum/tests/test_lnmsg.py::TestLNMsg::test_encode_decode_msg__missing_optional_field_will_not_appear_in_decoded_dict PASSED [ 21%] electrum/tests/test_lnmsg.py::TestLNMsg::test_read_bigsize_int PASSED [ 21%] electrum/tests/test_lnmsg.py::TestLNMsg::test_read_tlv_stream_tests1 PASSED [ 21%] electrum/tests/test_lnmsg.py::TestLNMsg::test_read_tlv_stream_tests2 PASSED [ 21%] electrum/tests/test_lnmsg.py::TestLNMsg::test_read_tlv_stream_tests3 PASSED [ 22%] electrum/tests/test_lnmsg.py::TestLNMsg::test_write_bigsize_int PASSED [ 22%] electrum/tests/test_lnpeer.py::TestPeer::test_channel_usage_after_closing PASSED [ 22%] electrum/tests/test_lnpeer.py::TestPeer::test_close PASSED [ 22%] electrum/tests/test_lnpeer.py::TestPeer::test_close_upfront_shutdown_script PASSED [ 22%] electrum/tests/test_lnpeer.py::TestPeer::test_fail_pending_htlcs_on_shutdown PASSED [ 22%] electrum/tests/test_lnpeer.py::TestPeer::test_multipart_payment PASSED [ 23%] electrum/tests/test_lnpeer.py::TestPeer::test_multipart_payment_with_timeout PASSED [ 23%] electrum/tests/test_lnpeer.py::TestPeer::test_multipart_payment_with_trampoline PASSED [ 23%] electrum/tests/test_lnpeer.py::TestPeer::test_payment PASSED [ 23%] electrum/tests/test_lnpeer.py::TestPeer::test_payment_multihop PASSED [ 23%] electrum/tests/test_lnpeer.py::TestPeer::test_payment_multihop_route_around_failure PASSED [ 24%] electrum/tests/test_lnpeer.py::TestPeer::test_payment_multihop_temp_node_failure PASSED [ 24%] electrum/tests/test_lnpeer.py::TestPeer::test_payment_multihop_with_preselected_path PASSED [ 24%] electrum/tests/test_lnpeer.py::TestPeer::test_payment_race PASSED [ 24%] electrum/tests/test_lnpeer.py::TestPeer::test_payment_with_temp_channel_failure_and_liquidty_hints PASSED [ 24%] electrum/tests/test_lnpeer.py::TestPeer::test_payments_stresstest PASSED [ 25%] electrum/tests/test_lnpeer.py::TestPeer::test_reestablish PASSED [ 25%] electrum/tests/test_lnpeer.py::TestPeer::test_reestablish_with_old_state PASSED [ 25%] electrum/tests/test_lnpeer.py::TestPeer::test_sending_weird_messages__known_msg_with_insufficient_length PASSED [ 25%] electrum/tests/test_lnpeer.py::TestPeer::test_sending_weird_messages__unknown_even_type PASSED [ 25%] electrum/tests/test_lnpeer.py::TestPeer::test_sending_weird_messages_that_should_be_ignored PASSED [ 25%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_decode_onion_error PASSED [ 26%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_find_path_for_payment PASSED [ 26%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_find_path_liquidity_hints_failure PASSED [ 26%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_liquidity_hints PASSED [ 26%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_new_onion_packet_legacy PASSED [ 26%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_new_onion_packet_mixed_payloads PASSED [ 27%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_process_onion_packet_legacy PASSED [ 27%] electrum/tests/test_lnrouter.py::Test_LNRouter::test_process_onion_packet_mixed_payloads PASSED [ 27%] electrum/tests/test_lntransport.py::TestLNTransport::test_loop PASSED [ 27%] electrum/tests/test_lntransport.py::TestLNTransport::test_responder PASSED [ 27%] electrum/tests/test_lnutil.py::TestLNUtil::test_commitment_tx_with_all_five_HTLCs_untrimmed_minimum_feerate PASSED [ 27%] electrum/tests/test_lnutil.py::TestLNUtil::test_commitment_tx_with_fee_greater_than_funder_amount PASSED [ 28%] electrum/tests/test_lnutil.py::TestLNUtil::test_commitment_tx_with_one_output PASSED [ 28%] electrum/tests/test_lnutil.py::TestLNUtil::test_extract_commitment_number_from_tx PASSED [ 28%] electrum/tests/test_lnutil.py::TestLNUtil::test_extract_nodeid PASSED [ 28%] electrum/tests/test_lnutil.py::TestLNUtil::test_get_compressed_pubkey_from_bech32 PASSED [ 28%] electrum/tests/test_lnutil.py::TestLNUtil::test_key_derivation PASSED [ 29%] electrum/tests/test_lnutil.py::TestLNUtil::test_ln_compare_features PASSED [ 29%] electrum/tests/test_lnutil.py::TestLNUtil::test_ln_features_for_init_message PASSED [ 29%] electrum/tests/test_lnutil.py::TestLNUtil::test_ln_features_for_invoice PASSED [ 29%] electrum/tests/test_lnutil.py::TestLNUtil::test_ln_features_supports PASSED [ 29%] electrum/tests/test_lnutil.py::TestLNUtil::test_ln_features_validate_transitive_dependencies PASSED [ 30%] electrum/tests/test_lnutil.py::TestLNUtil::test_lnworker_decode_channel_update_msg PASSED [ 30%] electrum/tests/test_lnutil.py::TestLNUtil::test_per_commitment_secret_from_seed PASSED [ 30%] electrum/tests/test_lnutil.py::TestLNUtil::test_shachain_produce_consume PASSED [ 30%] electrum/tests/test_lnutil.py::TestLNUtil::test_shachain_store PASSED [ 30%] electrum/tests/test_lnutil.py::TestLNUtil::test_simple_commitment_tx_with_no_HTLCs PASSED [ 30%] electrum/tests/test_lnutil.py::TestLNUtil::test_split_host_port PASSED [ 31%] electrum/tests/test_mnemonic.py::Test_NewMnemonic::test_mnemonic_to_seed PASSED [ 31%] electrum/tests/test_mnemonic.py::Test_NewMnemonic::test_mnemonic_to_seed_basic PASSED [ 31%] electrum/tests/test_mnemonic.py::Test_NewMnemonic::test_random_seeds PASSED [ 31%] electrum/tests/test_mnemonic.py::Test_OldMnemonic::test PASSED [ 31%] electrum/tests/test_mnemonic.py::Test_BIP39Checksum::test PASSED [ 32%] electrum/tests/test_mnemonic.py::Test_seeds::test_new_seed PASSED [ 32%] electrum/tests/test_mnemonic.py::Test_seeds::test_old_seed PASSED [ 32%] electrum/tests/test_mnemonic.py::Test_seeds::test_seed_type PASSED [ 32%] electrum/tests/test_mpp_split.py::TestMppSplit::test_payment_below_min_part_size PASSED [ 32%] electrum/tests/test_mpp_split.py::TestMppSplit::test_saturation PASSED [ 33%] electrum/tests/test_mpp_split.py::TestMppSplit::test_send_to_single_node PASSED [ 33%] electrum/tests/test_mpp_split.py::TestMppSplit::test_suggest_part_penalty PASSED [ 33%] electrum/tests/test_mpp_split.py::TestMppSplit::test_suggest_splits PASSED [ 33%] electrum/tests/test_mpp_split.py::TestMppSplit::test_suggest_splits_single_channel PASSED [ 33%] electrum/tests/test_network.py::TestNetwork::test_can_connect_during_backward PASSED [ 33%] electrum/tests/test_network.py::TestNetwork::test_chain_false_during_binary PASSED [ 34%] electrum/tests/test_network.py::TestNetwork::test_fork_conflict PASSED [ 34%] electrum/tests/test_network.py::TestNetwork::test_fork_noconflict PASSED [ 34%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_001 PASSED [ 34%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_002 PASSED [ 34%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_003 PASSED [ 35%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_004 PASSED [ 35%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_005 PASSED [ 35%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_006 PASSED [ 35%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_007 PASSED [ 35%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt_008 PASSED [ 36%] electrum/tests/test_psbt.py::TestValidPSBT::test_valid_psbt__input_with_both_witness_utxo_and_nonwitness_utxo PASSED [ 36%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_001 PASSED [ 36%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_002 PASSED [ 36%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_003 PASSED [ 36%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_004 PASSED [ 36%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_005 PASSED [ 37%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_006 PASSED [ 37%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_007 PASSED [ 37%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_008 PASSED [ 37%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_009 PASSED [ 37%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_010 PASSED [ 38%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_011 PASSED [ 38%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_012 PASSED [ 38%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_013 PASSED [ 38%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_014 PASSED [ 38%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_015 PASSED [ 38%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_016 PASSED [ 39%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_017 PASSED [ 39%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt_018 PASSED [ 39%] electrum/tests/test_psbt.py::TestInvalidPSBT::test_invalid_psbt__input_with_both_witness_utxo_and_nonwitness_utxo_that_are_inconsistent PASSED [ 39%] electrum/tests/test_psbt.py::TestPSBTSignerChecks::test_psbt_fails_signer_checks_001 SKIPPED (the check this test is testing is intentionally disabled in transaction.py) [ 39%] electrum/tests/test_psbt.py::TestPSBTSignerChecks::test_psbt_fails_signer_checks_002 PASSED [ 40%] electrum/tests/test_psbt.py::TestPSBTSignerChecks::test_psbt_fails_signer_checks_003 PASSED [ 40%] electrum/tests/test_psbt.py::TestPSBTSignerChecks::test_psbt_fails_signer_checks_004 PASSED [ 40%] electrum/tests/test_psbt.py::TestPSBTComplexChecks::test_psbt_combiner_unknown_fields PASSED [ 40%] electrum/tests/test_revealer.py::TestRevealer::test_version_0_noisemap PASSED [ 40%] electrum/tests/test_revealer.py::TestRevealer::test_version_1_noisemap PASSED [ 41%] electrum/tests/test_revealer.py::TestRevealer::test_version_1_noisemap_indexerror PASSED [ 41%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_can_set_options_set_in_user_config PASSED [ 41%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_cannot_set_options_passed_by_command_line PASSED [ 41%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_depth_target_to_fee PASSED [ 41%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_fee_to_depth PASSED [ 41%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_simple_config_command_line_overrides_everything PASSED [ 42%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_simple_config_key_rename PASSED [ 42%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_simple_config_user_config_is_used_if_others_arent_specified PASSED [ 42%] electrum/tests/test_simple_config.py::Test_SimpleConfig::test_user_config_is_not_written_with_read_only_config PASSED [ 42%] electrum/tests/test_simple_config.py::TestUserConfig::test_no_path_means_no_result PASSED [ 42%] electrum/tests/test_simple_config.py::TestUserConfig::test_path_with_reprd_object PASSED [ 43%] electrum/tests/test_simple_config.py::TestUserConfig::test_path_without_config_file PASSED [ 43%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_1_9_8_seeded PASSED [ 43%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_0_4_importedkeys PASSED [ 43%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_0_4_multisig PASSED [ 43%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_0_4_seeded PASSED [ 44%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_0_4_trezor_multiacc PASSED [ 44%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_0_4_trezor_singleacc PASSED [ 44%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_0_4_watchaddresses PASSED [ 44%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_1_1_importedkeys PASSED [ 44%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_1_1_multisig PASSED [ 44%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_1_1_seeded PASSED [ 45%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_1_1_trezor_multiacc PASSED [ 45%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_1_1_trezor_singleacc PASSED [ 45%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_1_1_watchaddresses PASSED [ 45%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_2_0_importedkeys PASSED [ 45%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_2_0_multisig PASSED [ 46%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_2_0_seeded PASSED [ 46%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_2_0_trezor_multiacc PASSED [ 46%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_2_0_trezor_singleacc PASSED [ 46%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_2_0_watchaddresses PASSED [ 46%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_3_2_importedkeys PASSED [ 47%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_3_2_multisig PASSED [ 47%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_3_2_seeded PASSED [ 47%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_3_2_trezor_multiacc PASSED [ 47%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_3_2_trezor_singleacc PASSED [ 47%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_3_2_watchaddresses PASSED [ 47%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_4_3_importedkeys PASSED [ 48%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_4_3_multisig PASSED [ 48%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_4_3_seeded PASSED [ 48%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_4_3_trezor_multiacc PASSED [ 48%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_4_3_trezor_singleacc PASSED [ 48%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_4_3_watchaddresses PASSED [ 49%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_5_4_importedkeys PASSED [ 49%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_5_4_multisig PASSED [ 49%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_5_4_seeded PASSED [ 49%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_5_4_trezor_multiacc PASSED [ 49%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_5_4_trezor_singleacc PASSED [ 50%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_5_4_watchaddresses PASSED [ 50%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_6_4_importedkeys PASSED [ 50%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_6_4_multisig PASSED [ 50%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_6_4_seeded PASSED [ 50%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_6_4_watchaddresses PASSED [ 50%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_7_18_importedkeys PASSED [ 51%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_7_18_multisig PASSED [ 51%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_7_18_seeded PASSED [ 51%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_7_18_trezor_singleacc PASSED [ 51%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_7_18_watchaddresses PASSED [ 51%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_8_3_importedkeys PASSED [ 52%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_8_3_importedkeys_flawed_previous_upgrade_from_2_7_18 PASSED [ 52%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_8_3_multisig PASSED [ 52%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_8_3_seeded PASSED [ 52%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_8_3_trezor_singleacc PASSED [ 52%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_8_3_watchaddresses PASSED [ 52%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_9_3_importedkeys PASSED [ 53%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_9_3_importedkeys_keystore_changes PASSED [ 53%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_9_3_multisig PASSED [ 53%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_9_3_old_seeded_with_realistic_history PASSED [ 53%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_9_3_seeded PASSED [ 53%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_9_3_trezor_singleacc PASSED [ 54%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_2_9_3_watchaddresses PASSED [ 54%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_3_2_3_ledger_standard_keystore_changes PASSED [ 54%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::test_upgrade_from_client_3_3_8_xpub_with_realistic_history PASSED [ 54%] electrum/tests/test_storage_upgrade.py::TestStorageUpgrade::testnet_wallet PASSED [ 54%] electrum/tests/test_transaction.py::TestBCDataStream::test_bool PASSED [ 55%] electrum/tests/test_transaction.py::TestBCDataStream::test_bytes PASSED [ 55%] electrum/tests/test_transaction.py::TestBCDataStream::test_compact_size PASSED [ 55%] electrum/tests/test_transaction.py::TestBCDataStream::test_string PASSED [ 55%] electrum/tests/test_transaction.py::TestTransaction::test_convert_raw_tx_to_hex PASSED [ 55%] electrum/tests/test_transaction.py::TestTransaction::test_estimated_output_size PASSED [ 55%] electrum/tests/test_transaction.py::TestTransaction::test_estimated_tx_size PASSED [ 56%] electrum/tests/test_transaction.py::TestTransaction::test_get_address_from_output_script PASSED [ 56%] electrum/tests/test_transaction.py::TestTransaction::test_tx_deserialize_for_signed_network_tx PASSED [ 56%] electrum/tests/test_transaction.py::TestTransaction::test_tx_from_any PASSED [ 56%] electrum/tests/test_transaction.py::TestTransaction::test_tx_serialize_methods_for_network_tx PASSED [ 56%] electrum/tests/test_transaction.py::TestTransaction::test_tx_serialize_methods_for_psbt PASSED [ 57%] electrum/tests/test_transaction.py::TestTransaction::test_tx_serialize_methods_for_psbt_that_is_ready_to_be_finalized PASSED [ 57%] electrum/tests/test_transaction.py::TestTransaction::test_tx_setting_locktime_invalidates_ser_cache PASSED [ 57%] electrum/tests/test_transaction.py::TestTransaction::test_tx_setting_version_invalidates_ser_cache PASSED [ 57%] electrum/tests/test_transaction.py::TestTransaction::test_tx_signed_segwit PASSED [ 57%] electrum/tests/test_transaction.py::TestTransaction::test_tx_update_signatures PASSED [ 58%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0001 PASSED [ 58%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0002 PASSED [ 58%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0003 PASSED [ 58%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0004 PASSED [ 58%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0005 PASSED [ 58%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0006 PASSED [ 59%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0007 PASSED [ 59%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0008 PASSED [ 59%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0009 PASSED [ 59%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0010 PASSED [ 59%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0011 PASSED [ 60%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0012 PASSED [ 60%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0013 PASSED [ 60%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0014 PASSED [ 60%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0015 PASSED [ 60%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0016 PASSED [ 61%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0017 PASSED [ 61%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0018 PASSED [ 61%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0019 PASSED [ 61%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0020 PASSED [ 61%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0021 PASSED [ 61%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0022 PASSED [ 62%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0023 PASSED [ 62%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0024 PASSED [ 62%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0025 PASSED [ 62%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0026 PASSED [ 62%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0027 PASSED [ 63%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0028 PASSED [ 63%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0029 PASSED [ 63%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0030 PASSED [ 63%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0031 PASSED [ 63%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0032 PASSED [ 63%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0033 PASSED [ 64%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0034 PASSED [ 64%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0035 PASSED [ 64%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0036 PASSED [ 64%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0037 PASSED [ 64%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0038 PASSED [ 65%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0039 PASSED [ 65%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0040 PASSED [ 65%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0041 PASSED [ 65%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0042 PASSED [ 65%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0043 PASSED [ 66%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0044 PASSED [ 66%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0045 PASSED [ 66%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0046 PASSED [ 66%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0047 PASSED [ 66%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0048 PASSED [ 66%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0049 PASSED [ 67%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0050 PASSED [ 67%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0051 PASSED [ 67%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0052 PASSED [ 67%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0053 PASSED [ 67%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0054 PASSED [ 68%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0055 PASSED [ 68%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0056 PASSED [ 68%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0057 PASSED [ 68%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0058 PASSED [ 68%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0059 PASSED [ 69%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0060 PASSED [ 69%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0061 PASSED [ 69%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0062 PASSED [ 69%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0063 PASSED [ 69%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0064 PASSED [ 69%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0065 PASSED [ 70%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0066 PASSED [ 70%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0067 PASSED [ 70%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0068 PASSED [ 70%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0069 PASSED [ 70%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0070 PASSED [ 71%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0071 PASSED [ 71%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0072 PASSED [ 71%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0073 PASSED [ 71%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0074 PASSED [ 71%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0075 PASSED [ 72%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0076 PASSED [ 72%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0077 PASSED [ 72%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0078 PASSED [ 72%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0079 PASSED [ 72%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0080 PASSED [ 72%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0081 PASSED [ 73%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0082 PASSED [ 73%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0083 PASSED [ 73%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0084 PASSED [ 73%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0085 PASSED [ 73%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0086 PASSED [ 74%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0087 PASSED [ 74%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0088 PASSED [ 74%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0089 PASSED [ 74%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0090 PASSED [ 74%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0091 PASSED [ 75%] electrum/tests/test_transaction.py::TestTransaction::test_txid_bitcoin_core_0092 PASSED [ 75%] electrum/tests/test_transaction.py::TestTransaction::test_txid_coinbase_to_p2pk PASSED [ 75%] electrum/tests/test_transaction.py::TestTransaction::test_txid_coinbase_to_p2pkh PASSED [ 75%] electrum/tests/test_transaction.py::TestTransaction::test_txid_input_p2wsh_p2sh_not_multisig PASSED [ 75%] electrum/tests/test_transaction.py::TestTransaction::test_txid_invalid_op_return PASSED [ 75%] electrum/tests/test_transaction.py::TestTransaction::test_txid_negative_version_num PASSED [ 76%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2pk_to_p2pkh PASSED [ 76%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2pk_to_p2sh PASSED [ 76%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2pk_to_p2wpkh PASSED [ 76%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2pkh_to_p2pkh PASSED [ 76%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2pkh_to_p2sh PASSED [ 77%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2pkh_to_p2wpkh PASSED [ 77%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2sh_to_p2pkh PASSED [ 77%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2sh_to_p2sh PASSED [ 77%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2sh_to_p2wpkh PASSED [ 77%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2wpkh_to_p2pkh PASSED [ 77%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2wpkh_to_p2sh PASSED [ 78%] electrum/tests/test_transaction.py::TestTransaction::test_txid_p2wpkh_to_p2wpkh PASSED [ 78%] electrum/tests/test_transaction.py::TestTransaction::test_txid_regression_issue_3899 PASSED [ 78%] electrum/tests/test_transaction.py::TestTransaction::test_txid_regression_issue_4333 PASSED [ 78%] electrum/tests/test_transaction.py::TestTransaction::test_txid_segwit_coinbase_to_p2pk PASSED [ 78%] electrum/tests/test_transaction.py::TestTransaction::test_txid_segwit_coinbase_to_p2pkh PASSED [ 79%] electrum/tests/test_transaction.py::TestTransaction::test_txid_segwit_coinbase_to_p2sh PASSED [ 79%] electrum/tests/test_transaction.py::TestTransaction::test_version_field PASSED [ 79%] electrum/tests/test_transaction.py::TestTransactionTestnet::test_spending_op_cltv_p2sh PASSED [ 79%] electrum/tests/test_transaction.py::TestTransactionTestnet::test_spending_op_cltv_p2wsh PASSED [ 79%] electrum/tests/test_util.py::TestUtil::test_chunks PASSED [ 80%] electrum/tests/test_util.py::TestUtil::test_format_fee_decimal PASSED [ 80%] electrum/tests/test_util.py::TestUtil::test_format_fee_float PASSED [ 80%] electrum/tests/test_util.py::TestUtil::test_format_fee_precision PASSED [ 80%] electrum/tests/test_util.py::TestUtil::test_format_satoshis PASSED [ 80%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_decimal PASSED [ 80%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_diff_negative PASSED [ 81%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_diff_positive PASSED [ 81%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_negative PASSED [ 81%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_plain PASSED [ 81%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_plain_decimal PASSED [ 81%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_plain_to_mbtc PASSED [ 82%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_to_mbtc PASSED [ 82%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_whitespaces PASSED [ 82%] electrum/tests/test_util.py::TestUtil::test_format_satoshis_whitespaces_negative PASSED [ 82%] electrum/tests/test_util.py::TestUtil::test_is_hash256_str PASSED [ 82%] electrum/tests/test_util.py::TestUtil::test_is_hex_str PASSED [ 83%] electrum/tests/test_util.py::TestUtil::test_is_int_or_float PASSED [ 83%] electrum/tests/test_util.py::TestUtil::test_is_integer PASSED [ 83%] electrum/tests/test_util.py::TestUtil::test_is_ip_address FAILED [ 83%] electrum/tests/test_util.py::TestUtil::test_is_non_negative_int_or_float PASSED [ 83%] electrum/tests/test_util.py::TestUtil::test_is_non_negative_integer PASSED [ 83%] electrum/tests/test_util.py::TestUtil::test_is_private_netaddress PASSED [ 84%] electrum/tests/test_util.py::TestUtil::test_list_enabled_bits PASSED [ 84%] electrum/tests/test_util.py::TestUtil::test_parse_URI_address PASSED [ 84%] electrum/tests/test_util.py::TestUtil::test_parse_URI_address_amount PASSED [ 84%] electrum/tests/test_util.py::TestUtil::test_parse_URI_address_label PASSED [ 84%] electrum/tests/test_util.py::TestUtil::test_parse_URI_address_message PASSED [ 85%] electrum/tests/test_util.py::TestUtil::test_parse_URI_address_request_url PASSED [ 85%] electrum/tests/test_util.py::TestUtil::test_parse_URI_ignore_args PASSED [ 85%] electrum/tests/test_util.py::TestUtil::test_parse_URI_invalid PASSED [ 85%] electrum/tests/test_util.py::TestUtil::test_parse_URI_invalid_address PASSED [ 85%] electrum/tests/test_util.py::TestUtil::test_parse_URI_multiple_args PASSED [ 86%] electrum/tests/test_util.py::TestUtil::test_parse_URI_no_address_request_url PASSED [ 86%] electrum/tests/test_util.py::TestUtil::test_parse_URI_only_address PASSED [ 86%] electrum/tests/test_util.py::TestUtil::test_parse_URI_parameter_polution PASSED [ 86%] electrum/tests/test_verifier.py::VerifierTestCase::test_verify_fail_f_tx_even PASSED [ 86%] electrum/tests/test_verifier.py::VerifierTestCase::test_verify_fail_f_tx_odd PASSED [ 86%] electrum/tests/test_verifier.py::VerifierTestCase::test_verify_ok_t_tx PASSED [ 87%] electrum/tests/test_wallet.py::TestWalletStorage::test_read_dictionary_from_file PASSED [ 87%] electrum/tests/test_wallet.py::TestWalletStorage::test_write_dictionary_to_file PASSED [ 87%] electrum/tests/test_wallet.py::TestFiat::test_empty_resets PASSED [ 87%] electrum/tests/test_wallet.py::TestFiat::test_save_fiat_and_reset PASSED [ 87%] electrum/tests/test_wallet.py::TestFiat::test_save_garbage PASSED [ 88%] electrum/tests/test_wallet.py::TestFiat::test_too_high_precision_value_resets_with_no_saved_value PASSED [ 88%] electrum/tests/test_wallet.py::TestCreateRestoreWallet::test_create_new_wallet PASSED [ 88%] electrum/tests/test_wallet.py::TestCreateRestoreWallet::test_restore_wallet_from_text_addresses PASSED [ 88%] electrum/tests/test_wallet.py::TestCreateRestoreWallet::test_restore_wallet_from_text_mnemonic PASSED [ 88%] electrum/tests/test_wallet.py::TestCreateRestoreWallet::test_restore_wallet_from_text_privkeys PASSED [ 88%] electrum/tests/test_wallet.py::TestCreateRestoreWallet::test_restore_wallet_from_text_xkey_that_is_also_a_valid_electrum_seed_by_chance PASSED [ 89%] electrum/tests/test_wallet.py::TestCreateRestoreWallet::test_restore_wallet_from_text_xprv PASSED [ 89%] electrum/tests/test_wallet.py::TestCreateRestoreWallet::test_restore_wallet_from_text_xpub PASSED [ 89%] electrum/tests/test_wallet.py::TestWalletPassword::test_update_password_of_imported_wallet PASSED [ 89%] electrum/tests/test_wallet.py::TestWalletPassword::test_update_password_of_standard_wallet PASSED [ 89%] electrum/tests/test_wallet.py::TestWalletPassword::test_update_password_with_app_restarts PASSED [ 90%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_bip32_extended_version_bytes PASSED [ 90%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_bip39_multisig_seed_bip45_standard PASSED [ 90%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_bip39_multisig_seed_p2sh_segwit PASSED [ 90%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_bip39_seed_bip44_standard PASSED [ 90%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_bip39_seed_bip44_standard_passphrase PASSED [ 91%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_bip39_seed_bip49_p2sh_segwit PASSED [ 91%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_bip39_seed_bip84_native_segwit PASSED [ 91%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_multisig_seed_segwit PASSED [ 91%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_multisig_seed_standard PASSED [ 91%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_seed_2fa_legacy_post27 PASSED [ 91%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_seed_2fa_legacy_pre27 PASSED [ 92%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_seed_2fa_segwit PASSED [ 92%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_seed_old PASSED [ 92%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_seed_segwit PASSED [ 92%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_seed_segwit_passphrase PASSED [ 92%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForMainnet::test_electrum_seed_standard PASSED [ 93%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForTestnet::test_bip32_extended_version_bytes PASSED [ 93%] electrum/tests/test_wallet_vertical.py::TestWalletKeystoreAddressIntegrityForTestnet::test_bip39_multisig_seed_p2sh_segwit_testnet PASSED [ 93%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_coinjoin_between_two_p2wpkh_electrum_seeds PASSED [ 93%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_cpfp_p2pkh PASSED [ 93%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_cpfp_p2wpkh PASSED [ 94%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_dscancel PASSED [ 94%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_rbf PASSED [ 94%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_sending_between_p2sh_1of2_and_p2wpkh_p2sh PASSED [ 94%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_sending_between_p2sh_2of3_and_uncompressed_p2pkh PASSED [ 94%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_sending_between_p2wpkh_and_compressed_p2pkh PASSED [ 94%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_sending_between_p2wsh_2of3_and_p2wsh_p2sh_2of2 PASSED [ 95%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_standard_wallet_cannot_sign_multisig_input_even_if_cosigner PASSED [ 95%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_sweep_p2pk PASSED [ 95%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_wallet_does_not_create_zero_input_tx PASSED [ 95%] electrum/tests/test_wallet_vertical.py::TestWalletSending::test_wallet_history_chain_of_unsigned_transactions PASSED [ 95%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_offline_signing_beyond_gap_limit PASSED [ 96%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_hd_multisig_online_addr_p2sh PASSED [ 96%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_hd_multisig_online_addr_p2wsh PASSED [ 96%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_hd_multisig_online_addr_p2wsh_p2sh PASSED [ 96%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_old_electrum_seed_online_mpk PASSED [ 96%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_wif_online_addr_p2pkh PASSED [ 97%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_wif_online_addr_p2wpkh PASSED [ 97%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_wif_online_addr_p2wpkh_p2sh PASSED [ 97%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_xprv_online_addr_p2pkh PASSED [ 97%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_xprv_online_addr_p2wpkh PASSED [ 97%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_xprv_online_addr_p2wpkh_p2sh PASSED [ 97%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_xprv_online_xpub_p2pkh PASSED [ 98%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_xprv_online_xpub_p2wpkh PASSED [ 98%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_sending_offline_xprv_online_xpub_p2wpkh_p2sh PASSED [ 98%] electrum/tests/test_wallet_vertical.py::TestWalletOfflineSigning::test_signing_where_offline_ks_does_not_have_keyorigin_but_psbt_contains_it PASSED [ 98%] electrum/tests/test_wallet_vertical.py::TestWalletHistory_SimpleRandomOrder::test_restoring_old_wallet_txorder1 PASSED [ 98%] electrum/tests/test_wallet_vertical.py::TestWalletHistory_SimpleRandomOrder::test_restoring_old_wallet_txorder2 PASSED [ 99%] electrum/tests/test_wallet_vertical.py::TestWalletHistory_SimpleRandomOrder::test_restoring_old_wallet_txorder3 PASSED [ 99%] electrum/tests/test_wallet_vertical.py::TestWalletHistory_EvilGapLimit::test_restoring_wallet_txorder1 PASSED [ 99%] electrum/tests/test_wallet_vertical.py::TestWalletHistory_DoubleSpend::test_restoring_wallet_with_manual_delete PASSED [ 99%] electrum/tests/test_wallet_vertical.py::TestWalletHistory_DoubleSpend::test_restoring_wallet_without_manual_delete PASSED [ 99%] electrum/tests/test_x509.py::TestX509::test_generalizedtime PASSED [100%] ============================================================================================================================================================================================================== FAILURES =============================================================================================================================================================================================================== _____________________________________________________________________________________________________________________________________________________________________________________________________ TestUtil.test_is_ip_address _____________________________________________________________________________________________________________________________________________________________________________________________________ self = def test_is_ip_address(self): self.assertTrue(is_ip_address("127.0.0.1")) > self.assertTrue(is_ip_address("127.000.000.1")) E AssertionError: False is not true electrum/tests/test_util.py:234: AssertionError ========================================================================================================================================================================================================== warnings summary =========================================================================================================================================================================================================== electrum/tests/test_network.py::TestNetwork::test_can_connect_during_backward electrum/tests/test_network.py::TestNetwork::test_chain_false_during_binary electrum/tests/test_network.py::TestNetwork::test_fork_conflict electrum/tests/test_network.py::TestNetwork::test_fork_noconflict /tmp/trizen-vagrant/electrum-git/src/electrum/electrum/interface.py:382: RuntimeWarning: coroutine 'Interface.run' was never awaited task = await self.network.taskgroup.spawn(self.run()) -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================================================================================================================================================================================================= short test summary info ======================================================================================================================================================================================================= FAILED electrum/tests/test_util.py::TestUtil::test_is_ip_address - AssertionError: False is not true =================================================================================================================================================================================== 1 failed, 532 passed, 3 skipped, 4 warnings in 84.23s (0:01:24) =================================================================================================================================================================================== ERROR: InvocationError for command /tmp/trizen-vagrant/electrum-git/src/electrum/.tox/py39/bin/coverage run --source=electrum '--omit=electrum/gui/*,electrum/plugins/*,electrum/scripts/*,electrum/tests/*' -m py.test -v (exited with code 1) _______________________________________________________________________________________________________________________________________________________________________________________________________________ summary _______________________________________________________________________________________________________________________________________________________________________________________________________________ ERROR: py39: commands failed ==> ERROR: A failure occurred in check(). Aborting... :: Unable to build electrum-git - makepkg exited with code: 4 =>> Try again? [y/N]: On ```

Linux archlinux 5.12.3-arch1-1 #1 SMP PREEMPT Wed, 12 May 2021 17:54:18 +0000 x86_64 GNU/Linux

bitromortac commented 3 years ago

I can confirm, happens with python3.9 due to https://github.com/python/cpython/commit/60ce8f0be6354ad565393ab449d8de5d713f35bc

SomberNight commented 3 years ago

Ah so this is a breaking change between patch versions. Just tested and it differs between 3.9.2 and 3.9.5.