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

Prepare v2 release #642

Merged
merged 2 commits into from
Aug 31, 2023

Bump lianad version to 2.0

edb2c51
Select commit
Loading
Failed to load commit list.
Merged

Prepare v2 release #642

Bump lianad version to 2.0
edb2c51
Select commit
Loading
Failed to load commit list.
Cirrus CI / Misc functional tests USE_MIN_BITCOIN_VERSION:TRUE failed Aug 31, 2023 in 22m 33s

Task Summary

Instruction test failed in 11:52

Details

ℹ️ Scheduling was delayed due to a concurrency limit on community tasks

✅ 00:05 clone
✅ 00:07 cargo_registry
✅ 00:03 cargo_git
✅ 00:05 target
✅ 04:27 lianad_build
✅ 04:34 deps
✅ 00:00 pip
✅ 01:10 python_deps
❌ 11:52 test

        while True:
            try:
>               return self._sock.recv_into(b)
E               TimeoutError: timed out

/usr/lib/python3.11/socket.py:706: TimeoutError

During handling of the above exception, another exception occurred:

directory = '/tmp/lianad-tests-_xasgq4p/test_multisig_1'

    @pytest.fixture
    def bitcoind(directory):
        bitcoind = Bitcoind(bitcoin_dir=os.path.join(directory, "bitcoind"))
        bitcoind.startup()
    
        bitcoind.rpc.createwallet(
            bitcoind.rpc.wallet_name, False, False, "", False, True, True
        )
    
>       bitcoind.rpc.generatetoaddress(101, bitcoind.rpc.getnewaddress())

tests/fixtures.py:109: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_framework/bitcoind.py:30: in f
    return proxy.__call__(*args)
tests/test_framework/authproxy.py:175: in __call__
    response, status = self._request(
tests/test_framework/authproxy.py:126: in _request
    return self._get_response()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test_framework.authproxy.AuthServiceProxy object at 0x7fe2b02b3d90>

    def _get_response(self):
        # req_start_time = time.time()
        try:
            http_response = self.__conn.getresponse()
        except socket.timeout:
>           raise JSONRPCException(
                {
                    "code": -344,
                    "message": "%r RPC took longer than %f seconds. Consider "
                    "using larger timeout for calls that take "
                    "longer to return." % (self._service_name, self.__conn.timeout),
                }
            )
E           test_framework.authproxy.JSONRPCException: 'generatetoaddress' RPC took longer than 300.000000 seconds. Consider using larger timeout for calls that take longer to return. (-344)

tests/test_framework/authproxy.py:219: JSONRPCException
---------------------------- Captured stdout setup -----------------------------
Running tests in /tmp/lianad-tests-_xasgq4p
=========================== short test summary info ============================
ERROR tests/test_misc.py::test_multipath - test_framework.authproxy.JSONRPCException: 'generatetoaddress' RPC took longer than 300.000000 seconds. Consider using larger timeout for calls that take longer to return. (-344)
ERROR tests/test_misc.py::test_multisig - test_framework.authproxy.JSONRPCException: 'generatetoaddress' RPC took longer than 300.000000 seconds. Consider using larger timeout for calls that take longer to return. (-344)
============== 3 passed, 2 skipped, 2 errors in 701.91s (0:11:41) ==============