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

chore: fix some typos #1565

Merged
merged 1 commit into from
Feb 10, 2025

chore: fix some typos

37f0d54
Select commit
Loading
Failed to load commit list.
Merged

chore: fix some typos #1565

chore: fix some typos
37f0d54
Select commit
Loading
Failed to load commit list.
Cirrus CI / Functional tests BITCOIN_BACKEND_TYPE:electrs USE_TAPROOT:1 failed Feb 8, 2025 in 8m 4s

Task Summary

Instruction test failed in 04:18

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:02 clone
✅ 00:04 cargo_registry
✅ 00:01 cargo_git
✅ 00:27 target
✅ 00:01 tests_tools
✅ 02:55 lianad_build
✅ 00:06 deps
✅ 00:00 pip
✅ 00:03 python_deps
❌ 04:18 test

        assert coin_d["is_from_self"] is False
    
        bitcoind.generate_block(1)
        # Wait for confirmation to be detected.
        wait_for(lambda: get_coin(lianad, txid_d)["block_height"] is not None)
        coin_c = get_coin(lianad, txid_c)
        coin_d = get_coin(lianad, txid_d)
        assert coin_c["is_from_self"] is False
        assert coin_c["block_height"] is not None
        assert coin_d["is_from_self"] is True
        assert coin_d["block_height"] is not None
    
        # Make sure the transaction were confirmed >10 blocks ago, so bitcoind won't update the
        # mempool during the reorg to the initial height.
        bitcoind.generate_block(10)
    
        # Reorg the chain down to the initial height, excluding all transactions.
        current_height = bitcoind.rpc.getblockcount()
        bitcoind.simple_reorg(initial_height, shift=-1)
>       wait_for(lambda: lianad.rpc.getinfo()["block_height"] == current_height + 1)

tests/test_chain.py:116: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
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:116: in <lambda>
    wait_for(lambda: lianad.rpc.getinfo()["block_height"] == current_height + 1)
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 0x7fec6e763610>, 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 setup -----------------------------
Running tests in /tmp/lianad-tests-ej04aree
--------------------------- Captured stdout teardown ---------------------------
Test failed, leaving directory '/tmp/lianad-tests-ej04aree/test_reorg_exclusion_1' intact
---------------------------- Captured log teardown -----------------------------
ERROR    root:lianad.py:139 lianad : error when calling stop: 'Command '['/tmp/cirrus-ci-build/target/release/lianad', '--conf', '/tmp/lianad-tests-ej04aree/test_reorg_exclusion_1/lianad/config.toml']' timed out after 5 seconds'
=========================== short test summary info ============================
FAILED tests/test_chain.py::test_reorg_exclusion - TimeoutError: timed out
============= 1 failed, 35 passed, 3 skipped in 210.98s (0:03:30) ==============