Closed vincenzopalazzo closed 1 year ago
Ok I think I track if down, with the following log we note that there the following case
-> sending the init msg from core lightning <- receive fund channel from the runner -> receive the init from the runner
2023-03-09T20:31:32.977Z DEBUG 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Connect IN
2023-03-09T20:31:32.977Z INFO 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Sending init msg
2023-03-09T20:31:32.977Z 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: [OUT] 001000022100000708a000080269a2012006226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f0307017f000001c104
2023-03-09T20:31:32.987Z jsonrpc#17: [IN] 7b226a736f6e727063223a2022322e30222c20226d6574686f64223a202266756e646368616e6e656c222c2022706172616d73223a207b226964223a20223032
2023-03-09T20:31:32.987Z jsonrpc#17: [IN] 63363034376639343431656437643664333034353430366539356330376364383563373738653462386365663363613761626163303962393563373039656535
2023-03-09T20:31:32.987Z jsonrpc#17: [IN] 222c2022616d6f756e74223a203939393837372c202266656572617465223a20223235337065726b77222c2022616e6e6f756e6365223a20747275657d2c20226964223a20227079746573743a66756e646368616e6e656c233130227d
2023-03-09T20:31:32.987Z jsonrpc#17: "pytest:fundchannel#10"[IN]
2023-03-09T20:31:32.987Z plugin-spenderp: "pytest:fundchannel#10/cln:fundchannel#65"[OUT]
2023-03-09T20:31:32.988Z jsonrpc#35: [IN] 7b226a736f6e727063223a22322e30222c226964223a227079746573743a66756e646368616e6e656c2331302f636c6e3a66756e646368616e6e656c2336352f
2023-03-09T20:31:32.988Z jsonrpc#35: [IN] 7370656e646572703a6d756c746966756e646368616e6e656c2330222c226d6574686f64223a226d756c746966756e646368616e6e656c222c22706172616d73
2023-03-09T20:31:32.988Z jsonrpc#35: [IN] 223a7b2264657374696e6174696f6e73223a5b7b226964223a22303263363034376639343431656437643664333034353430366539356330376364383563373738653462386365663363613761626163303962393563373039656535222c22616d6f756e74223a3939393837372c22616e6e6f756e6365223a747275657d5d2c
2023-03-09T20:31:32.988Z jsonrpc#35: [IN] 2266656572617465223a223235337065726b77227d7d0a0a
2023-03-09T20:31:32.988Z jsonrpc#35: "pytest:fundchannel#10/cln:fundchannel#65/spenderp:multifundchannel#0"[IN]
2023-03-09T20:31:32.988Z plugin-spenderp: "pytest:fundchannel#10/cln:fundchannel#65/spenderp:multifundchannel#0/cln:multifundchannel#66"[OUT]
2023-03-09T20:31:32.988Z plugin-spenderp: [IN] 7b226a736f6e727063223a22322e30222c226d6574686f64223a226c6f67222c22706172616d73223a7b226c6576656c223a226465627567222c226d657373616765223a226d66632033343a206d756c7469636f6e6e6563742e227d7d0a0a7b226a736f6e727063223a22322e30222c226d6574686f64223a226c6f67222c22706172616d73223a7b226c6576656c223a226465627567222c226d657373616765223a226d66632033342c206465737420303a20636f6e6e656374203032633630343766393434316564376436643330343534303665393563303763643835633737386534623863656633636137616261633039623935633730396565352e227d7d0a0a
2023-03-09T20:31:32.988Z DEBUG plugin-spenderp: mfc 34: multiconnect.
2023-03-09T20:31:32.988Z DEBUG plugin-spenderp: mfc 34, dest 0: connect 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5.
2023-03-09T20:31:32.988Z jsonrpc#35: [IN] 7b226a736f6e727063223a22322e30222c226964223a227079746573743a66756e646368616e6e656c2331302f636c6e3a66756e646368616e6e656c2336352f7370656e646572703a6d756c746966756e646368616e6e656c23302f636c6e3a6d756c746966756e646368616e6e656c2336362f7370656e646572703a636f6e6e6563742331222c226d6574686f64223a22636f6e6e656374222c22706172616d73223a7b226964223a22303263363034376639343431656437643664333034353430366539356330376364383563373738653462386365663363613761626163303962393563373039656535227d7d0a0a
2023-03-09T20:31:32.989Z jsonrpc#35: "pytest:fundchannel#10/cln:fundchannel#65/spenderp:multifundchannel#0/cln:multifundchannel#66/spenderp:connect#1"[IN]
2023-03-09T20:31:32.989Z DEBUG gossipd: REPLY WIRE_GOSSIPD_GET_ADDRS_REPLY with 0 fds
2023-03-09T20:31:33.089Z DEBUG 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Resolving ln1qtrqglu5g8kh6mfsg4qxa9wq0nv9cauwfwxw70984wkqnw2uwz0w2hacykv.lseed.bitcoinstats.com
2023-03-09T20:31:33.089Z DEBUG 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Could not resolve ln1qtrqglu5g8kh6mfsg4qxa9wq0nv9cauwfwxw70984wkqnw2uwz0w2hacykv.lseed.bitcoinstats.com
2023-03-09T20:31:33.089Z DEBUG 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Resolving ln1qtrqglu5g8kh6mfsg4qxa9wq0nv9cauwfwxw70984wkqnw2uwz0w2hacykv.lseed.darosior.ninja
2023-03-09T20:31:33.089Z DEBUG 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Could not resolve ln1qtrqglu5g8kh6mfsg4qxa9wq0nv9cauwfwxw70984wkqnw2uwz0w2hacykv.lseed.darosior.ninja
2023-03-09T20:31:33.089Z DEBUG 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Failed connected out: Unable to connect, no address known for peer
2023-03-09T20:31:33.089Z DEBUG 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-lightningd: Not reconnecting: no channels
2023-03-09T20:31:33.089Z jsonrpc#35: [OUT] 7b226a736f6e727063223a22322e30222c226964223a227079746573743a66756e646368616e6e656c2331302f636c6e3a66756e646368616e6e656c2336352f7370656e646572703a6d756c746966756e646368616e6e656c23302f636c6e3a6d756c746966756e646368616e6e656c2336362f7370656e646572703a636f6e6e6563742331222c226572726f72223a7b22636f6465223a3430302c226d657373616765223a22556e61626c6520746f20636f6e6e6563742c206e6f2061646472657373206b6e6f776e20666f722070656572227d7d0a0a
2023-03-09T20:31:33.089Z INFO 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: Reading Init msg
2023-03-09T20:31:33.090Z 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5-connectd: [IN] 001000000000
2023-03-09T20:31:33.090Z DEBUG lightningd: Calling peer_connected hook of plugin chanbackup
2023-03-09T20:31:33.090Z plugin-chanbackup: "cln:peer_connected#67"[OUT]
I disable the test
tests/test_bolt2-01-open_channel.py::test_open_channel
because it require some more deep analysis, such as how to connect to the lnptototest runner from core lightning?