Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Update README #1379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Docs: Update README

6d8868f
Select commit
Loading
Failed to load commit list.
Open

Docs: Update README #1379

Docs: Update README
6d8868f
Select commit
Loading
Failed to load commit list.
Cirrus CI / Chain functional tests BITCOIN_BACKEND_TYPE:electrs USE_TAPROOT:0 failed Oct 13, 2024 in 6m 4s

Task Summary

Instruction test failed in 03:09

Details

⚠️ Not enough compute credits to prioritize tasks!
ℹ️ Scheduling was delayed due to a concurrency limit on community tasks

✅ 00:01 clone
✅ 00:02 cargo_registry
✅ 00:01 cargo_git
✅ 00:03 target
✅ 00:01 tests_tools
✅ 02:29 lianad_build
✅ 00:07 deps
✅ 00:00 pip
✅ 00:03 python_deps
❌ 03:09 test

        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)
        if BITCOIN_BACKEND_TYPE is BitcoinBackendType.Bitcoind:
            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:282: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_chain.py:203: in <lambda>
    wait_synced = lambda: wait_for(
tests/test_framework/utils.py:56: in wait_for
    wait_for_while_condition_holds(success, lambda: True, timeout, debug_fn)
tests/test_framework/utils.py:75: 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:248: in wrapper
    return self.call(name, params=args or kwargs)
tests/test_framework/utils.py:267: in call
    resp = self._readobj(sock)
tests/test_framework/utils.py:225: in _readobj
    chunk = sock.recv(n_to_read)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test_framework.utils.UnixSocket object at 0x795fa1295510>, length = 2048

    def recv(self, length: int) -> bytes:
        if self.sock is None:
            raise socket.error("not connected")
    
>       return self.sock.recv(length)
E       TimeoutError: timed out

tests/test_framework/utils.py:208: TimeoutError
--------------------------- Captured stdout teardown ---------------------------
Test failed, leaving directory '/tmp/lianad-tests-ac8nj8xk/test_rescan_edge_cases_1' intact
---------------------------- Captured log teardown -----------------------------
ERROR    root:lianad.py:134 lianad : error when calling stop: 'Command '['/tmp/cirrus-ci-build/target/release/lianad', '--conf', '/tmp/lianad-tests-ac8nj8xk/test_rescan_edge_cases_1/lianad/config.toml']' timed out after 5 seconds'
=========================== short test summary info ============================
FAILED tests/test_chain.py::test_rescan_edge_cases - TimeoutError: timed out
=================== 1 failed, 7 passed in 171.29s (0:02:51) ====================