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

backport for v7: fix wrong redirection message in settings #1339

Merged
merged 1 commit into from
Sep 16, 2024

fix wrong redirection message in settings

109f135
Select commit
Loading
Failed to load commit list.
Merged

backport for v7: fix wrong redirection message in settings #1339

fix wrong redirection message in settings
109f135
Select commit
Loading
Failed to load commit list.
Cirrus CI / Chain functional tests BITCOIN_BACKEND_TYPE:electrs USE_TAPROOT:0 failed Sep 16, 2024 in 5m 53s

Task Summary

Instruction test failed in 02:55

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:31 lianad_build
✅ 00:09 deps
✅ 00:00 pip
✅ 00:03 python_deps
❌ 02:55 test

        bitcoind.generate_block(12)
    
        # Lose our state
        coins_before = sorted_coins()
        outpoints_before = set(c["outpoint"] for c in coins_before)
        bitcoind.generate_block(1)
        lianad.restart_fresh(bitcoind)
        if BITCOIN_BACKEND_TYPE is BitcoinBackendType.Bitcoind:
            assert len(list_coins()) == 0
    
        # We can be stopped while we are rescanning
        lianad.rpc.startrescan(initial_tip["time"])
        lianad.stop()
        lianad.start()
        wait_for(lambda: lianad.rpc.getinfo()["rescan_progress"] is None)
        wait_synced()
        assert coins_before == sorted_coins()
    
        # Lose our state again
        bitcoind.generate_block(1)
        lianad.restart_fresh(bitcoind)
        wait_for(lambda: lianad.rpc.getinfo()["rescan_progress"] is None)
        if BITCOIN_BACKEND_TYPE is BitcoinBackendType.Bitcoind:
            assert len(list_coins()) == 0
    
        # There can be a reorg when we start rescanning
        reorg_shift(initial_tip["height"], txs)
>       lianad.rpc.startrescan(initial_tip["time"])

tests/test_chain.py:261: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
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 0x7b70e65987d0>, 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-w_jz_doa/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-w_jz_doa/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 169.26s (0:02:49) ====================