WIP: backend: supporting bip 157 as a backend #973
Cirrus CI / RPC functional tests
failed
Feb 23, 2024 in 2m 46s
Task Summary
Instruction test failed in 00:17
Details
✅ 00:01 clone
✅ 00:01 cargo_registry
✅ 00:01 cargo_git
✅ 00:01 target
✅ 02:11 lianad_build
✅ 00:06 deps
✅ 00:00 pip
✅ 00:02 python_deps
❌ 00:17 test
lianad = <test_framework.lianad.Lianad object at 0x7be4845f24d0>
bitcoind = <test_framework.bitcoind.Bitcoind object at 0x7be485190b90>
def test_rbfpsbt_cancel(lianad, bitcoind):
"""Test the use of RBF to cancel a transaction."""
# Get three coins.
destinations = {
> lianad.rpc.getnewaddress()["address"]: 0.003,
lianad.rpc.getnewaddress()["address"]: 0.004,
lianad.rpc.getnewaddress()["address"]: 0.005,
}
tests/test_rpc.py:1203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_framework/utils.py:212: in wrapper
return self.call(name, params=args or kwargs)
tests/test_framework/utils.py:231: in call
resp = self._readobj(sock)
tests/test_framework/utils.py:189: in _readobj
chunk = sock.recv(n_to_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_framework.utils.UnixSocket object at 0x7be484611890>, length = 2048
def recv(self, length: int) -> bytes:
if self.sock is None:
raise socket.error("not connected")
> return self.sock.recv(length)
E ConnectionResetError: [Errno 104] Connection reset by peer
tests/test_framework/utils.py:172: ConnectionResetError
--------------------------- Captured stdout teardown ---------------------------
Test failed, leaving directory '/tmp/lianad-tests-x5oyo26e/test_rbfpsbt_cancel_1' intact
Leaving base dir '/tmp/lianad-tests-x5oyo26e' as it still contains ['test_rbfpsbt_bump_fee_1', 'test_getinfo_1', 'test_update_spend_1', 'test_broadcast_spend_1', 'test_listaddresses_1', 'test_list_spend_1', 'test_listtransactions_1', 'test_rbfpsbt_cancel_1']
---------------------------- Captured log teardown -----------------------------
ERROR root:lianad.py:134 lianad : error when calling stop: '[Errno 111] Connection refused'
=========================== short test summary info ============================
FAILED tests/test_rpc.py::test_getaddress - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_getinfo - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_listaddresses - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_listcoins - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_list_spend - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_jsonrpc_server - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_update_spend - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_create_spend - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_start_rescan - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_broadcast_spend - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_create_recovery - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_listtransactions - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_labels - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_rbfpsbt_bump_fee - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_rbfpsbt_insufficient_funds - ConnectionResetError: [Errno 104] Connection reset by peer
FAILED tests/test_rpc.py::test_rbfpsbt_cancel - ConnectionResetError: [Errno 104] Connection reset by peer
============================= 16 failed in 13.77s ==============================
Loading