core-lightning/tests
niftynei 6d3fb11bc6 df-tests: patch for state == AWAITING_UNILATERAL problem
Found on CI where DEVELOPER=0 EXPERIMENTAL_DUAL_FUND=1,
as we turn off automatic reconnects when DEVELOPER=1

This test has been modified to make the error happen every time, and
then fixed.

lightningd-2: 2021-05-07T20:12:03.790Z DEBUG   0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Peer has reconnected, state AWAITING_UNILATERAL
lightningd-2: 2021-05-07T20:12:03.812Z **BROKEN** lightningd: FATAL SIGNAL 6 (version e8b3f78)
lightningd-2: 2021-05-07T20:12:03.812Z **BROKEN** lightningd: backtrace: common/daemon.c:44 (send_backtrace) 0x56384ee072e9
lightningd-2: 2021-05-07T20:12:03.813Z **BROKEN** lightningd: backtrace: common/daemon.c:52 (crashdump) 0x56384ee0733b

----------------------------- Captured stderr call -----------------------------
lightningd: lightningd/peer_control.c:1100: peer_connected_hook_final: Assertion `channel->state == DUALOPEND_OPEN_INIT || channel->state == DUALOPEND_AWAITING_LOCKIN' failed.
lightningd: FATAL SIGNAL 6 (version e8b3f78)
0x56384ee072a1 send_backtrace
	common/daemon.c:39
0x56384ee0733b crashdump
	common/daemon.c:52
0x7f88486a020f ???
	???:0
0x7f88486a018b ???
	???:0
0x7f884867f858 ???
	???:0
0x7f884867f728 ???
	???:0
0x7f8848690f35 ???
	???:0
0x56384eddc94e peer_connected_hook_final
	lightningd/peer_control.c:1100
0x56384edea2ed plugin_hook_call_
	lightningd/plugin_hook.c:275
0x56384eddfeb8 plugin_hook_call_peer_connected
	lightningd/peer_control.c:1156
0x56384eddfeb8 peer_connected
	lightningd/peer_control.c:1209
0x56384edc30cd connectd_msg
	lightningd/connect_control.c:332
0x56384edebe6f sd_msg_read
	lightningd/subd.c:509
0x56384edebfb1 read_fds
	lightningd/subd.c:310
0x56384ee483b0 next_plan
	ccan/ccan/io/io.c:59
0x56384ee4885b do_plan
	ccan/ccan/io/io.c:407
0x56384ee488f8 io_ready
	ccan/ccan/io/io.c:417
0x56384ee4a23c io_loop
	ccan/ccan/io/poll.c:445
0x56384edcabda io_loop_with_timers
	lightningd/io_loop_with_timers.c:24
0x56384edce826 main
	lightningd/lightningd.c:1111
0x7f88486810b2 ???
	???:0
0x56384edb52ad ???
	???:0
0xffffffffffffffff ???
	???:0
2021-05-12 11:25:41 +09:30
..
data pytest: fix spurious failure in test_local_basepoints_cache. 2021-04-12 23:03:47 +02:00
fuzz tests/fuzz: update for fmt_amount changes, create pseudorand for fuzzing. 2021-04-21 06:51:03 +09:30
plugins df-tests: remove df_accepter plugin 2021-05-12 11:25:41 +09:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Really only check DB statements if the env-var is "1" 2021-01-04 11:25:50 +01:00
test_closing.py tests: mark as v1 or v2 openchannel required 2021-05-12 11:25:41 +09:30
test_connection.py tests: explicitly mark tests to run both as v1+v2 2021-05-12 11:25:41 +09:30
test_db.py wallet: Load local basepoints from the database alongside the hsmd 2021-03-09 14:58:29 +10:30
test_gossip.py tests: explicitly mark tests to run both as v1+v2 2021-05-12 11:25:41 +09:30
test_invoices.py tests: not DEVELOPER -> mark.developer 2021-05-12 11:25:41 +09:30
test_misc.py tests: explicitly mark tests to run both as v1+v2 2021-05-12 11:25:41 +09:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
test_pay.py tests: explicitly mark tests to run both as v1+v2 2021-05-12 11:25:41 +09:30
test_plugin.py df-tests: patch for state == AWAITING_UNILATERAL problem 2021-05-12 11:25:41 +09:30
test_wallet.py pytest: make it work with latest bitcoind master branch. 2021-04-24 13:57:16 +09:30
utils.py df: anchor outputs are on if EXP_DF 2021-05-12 11:25:41 +09:30