lightning
lightning copied to clipboard
test_pay_peer
==================================== ERRORS ==================================== ______________________ ERROR at teardown of test_pay_peer ______________________ [gw5] linux -- Python 3.7.13 /opt/hostedtoolcache/Python/3.7.13/x64/bin/python3
request = <SubRequest 'teardown_checks' for <Function test_pay_peer>>
@pytest.fixture
def teardown_checks(request):
"""A simple fixture to collect errors during teardown.
We need to collect the errors and raise them as the very last step in the
fixture tree, otherwise some fixtures may not be cleaned up
correctly. Require this fixture in all other fixtures that need to either
cleanup before reporting an error or want to add an error that is to be
reported.
"""
errors = TeardownErrors()
yield errors
if errors.has_errors():
# Format a nice list of everything that went wrong and raise an exception
request.node.has_errors = True
raise ValueError(str(errors))
E ValueError: E Node errors: E Global errors: E - Node /tmp/ltests-mts8t3f2/test_pay_peer_1/lightning-2/ has memory leaks: [ E { E "backtrace": [ E "ccan/ccan/tal/tal.c:442 (tal_alloc_)", E "wallet/invoices.c:81 (wallet_stmt2invoice_details)", E "wallet/invoices.c:697 (invoices_get_details)", E "wallet/wallet.c:2945 (wallet_invoice_details)", E "lightningd/invoice.c:1296 (json_add_invoices)", E "lightningd/invoice.c:1370 (json_listinvoices)", E "lightningd/jsonrpc.c:625 (command_exec)", E "lightningd/jsonrpc.c:762 (rpc_command_hook_final)", E "lightningd/plugin_hook.c:279 (plugin_hook_call_)", E "lightningd/jsonrpc.c:850 (plugin_hook_call_rpc_command)", E "lightningd/jsonrpc.c:954 (parse_request)", E "lightningd/jsonrpc.c:1051 (read_json)", E "ccan/ccan/io/io.c:59 (next_plan)", E "ccan/ccan/io/io.c:435 (io_do_always)", E "ccan/ccan/io/poll.c:304 (handle_always)", E "ccan/ccan/io/poll.c:385 (io_loop)", E "lightningd/io_loop_with_timers.c:22 (io_loop_with_timers)", E "lightningd/lightningd.c:1194 (main)", E "../csu/libc-start.c:308 (__libc_start_main)" E ], E "label": "wallet/invoices.c:81:struct invoice_details", E "parents": [ E "common/json_stream.c:41:struct json_stream", E "ccan/ccan/io/io.c:91:struct io_conn NOTLEAK", E "lightningd/lightningd.c:107:struct lightningd" E ], E "value": "0x560f9b112578" E } E ]
contrib/pyln-testing/pyln/testing/fixtures.py:206: ValueError