gui(installer): set Installer.context.remote_backend if bitcoind selected #1265
Cirrus CI / Chain functional tests USE_TAPROOT:1
failed
Sep 5, 2024 in 3m 11s
Task Summary
Instruction test failed in 00:57
Details
✅ 00:01 clone
✅ 00:01 cargo_registry
✅ 00:01 cargo_git
✅ 00:02 target
✅ 00:01 tests_tools
✅ 01:45 lianad_build
✅ 00:12 deps
✅ 00:00 pip
✅ 00:03 python_deps
❌ 00:57 test
lianad.rpc.startrescan(initial_tip["time"])
wait_synced()
wait_for(lambda: lianad.rpc.getinfo()["rescan_progress"] is None)
assert len(sorted_coins()) == len(coins_before)
assert all(c["outpoint"] in outpoints_before for c in list_coins())
# Advance the blocktime again
bitcoind.rpc.setmocktime(initial_tip["time"] + added_time * 2)
bitcoind.generate_block(12)
# Lose our state again
bitcoind.generate_block(1)
lianad.restart_fresh(bitcoind)
wait_synced()
wait_for(lambda: lianad.rpc.getinfo()["rescan_progress"] is None)
assert len(list_coins()) == 0
# We can be rescanning when a reorg happens
lianad.rpc.startrescan(initial_tip["time"])
reorg_shift(initial_tip["height"] + 1, txs)
> wait_synced()
tests/test_chain.py:279:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_chain.py:203: in <lambda>
wait_synced = lambda: wait_for(
tests/test_framework/utils.py:41: in wait_for
wait_for_while_condition_holds(success, lambda: True, timeout, debug_fn)
tests/test_framework/utils.py:60: in wait_for_while_condition_holds
if success():
tests/test_chain.py:204: in <lambda>
lambda: lianad.rpc.getinfo()["block_height"] == bitcoind.rpc.getblockcount()
tests/test_framework/utils.py:233: in wrapper
return self.call(name, params=args or kwargs)
tests/test_framework/utils.py:241: in call
sock = UnixSocket(self.socket_path)
tests/test_framework/utils.py:147: in __init__
self.connect()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_framework.utils.UnixSocket object at 0x7d69e121b050>
def connect(self) -> None:
try:
self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
> self.sock.connect(self.path)
E ConnectionRefusedError: [Errno 111] Connection refused
tests/test_framework/utils.py:152: ConnectionRefusedError
--------------------------- Captured stdout teardown ---------------------------
Test failed, leaving directory '/tmp/lianad-tests-vvaxs7xz/test_rescan_edge_cases_1' intact
---------------------------- Captured log teardown -----------------------------
ERROR root:lianad.py:134 lianad : error when calling stop: '[Errno 111] Connection refused'
=========================== short test summary info ============================
FAILED tests/test_chain.py::test_rescan_edge_cases - ConnectionRefusedError: [Errno 111] Connection refused
=================== 1 failed, 6 passed, 1 skipped in 38.76s ====================
Loading