lnd/scripts
ziggie f6f6064938
scripts: fix backwards compatibility test timing issues
The backwards compatibility test was failing intermittently due to two
related timing issues in the test setup.

The issue was that Dave's `wait_graph_sync dave 3` was hanging
for up to 60 minutes. Dave's initial gossip sync with Charlie could
complete before Charlie had forwarded the alice-bob channel
announcement, leaving Dave stuck at 2 channels until lnd's historical
syncer fired at its default interval of 1 hour. After this 1-hour idle,
some routing state had become stale, causing the subsequent payment from
alice to dave to fail with FAILURE_REASON_NO_ROUTE.

This issues is now addressed by setting `--historicalsyncinterval=10s` on
all nodes. This causes nodes to periodically re-sync the full gossip
state from their peers every 10 seconds instead of every hour. Dave
therefore picks up any missed channel announcements and routing policies
within seconds, and alice's routing graph stays up-to-date throughout
the test.

Additionally, lnd debug logs from all containers are now collected
before teardown on failure and uploaded as a CI artifact, making future
failures easier to diagnose.
2026-03-04 13:04:26 +01:00
..
bw-compatibility-test scripts: fix backwards compatibility test timing issues 2026-03-04 13:04:26 +01:00
keys scripts: add gpg key for georgetsagk 2026-02-23 14:40:07 +01:00
check-commit.sh build: check compilation of each commit 2020-12-08 16:19:26 -08:00
check-each-commit.sh scripts: use ephemeral gocache in check-each-commit 2026-02-13 09:42:24 +01:00
check-go-version-dockerfile.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-go-version-yaml.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-pgp-expiry.sh scripts: add pgp keys expire check 2025-08-14 15:35:55 -03:00
check-release-notes.sh scripts/check-release-notes.sh: fix bash expression 2023-07-13 12:51:40 -04:00
check-rest-annotations.sh make+scripts: fix rpc-check command 2021-07-27 12:59:54 +02:00
check-sample-lnd-conf.sh lncfg+scripts: use configurable global lock for postgres backends 2025-11-28 09:22:19 +01:00
comment-on-duplicates.sh multi: add issue dedupe command and workflow 2026-02-11 13:06:42 +02:00
fuzz.sh make+scripts+docs: update fuzzing script and make fuzz 2022-11-11 10:30:05 -06:00
fuzzy-match-release-branch.sh scripts: add cherry-pick verification tool with fuzzy matching 2025-07-29 08:51:51 +02:00
gen_man_pages.sh scripts+dev.Dockerfile: address dockerfile build issue 2024-03-18 13:47:39 +02:00
gen_sqlc_docker.sh scripts: add sql slices workaround to sqlc gen script 2025-07-22 17:14:55 +02:00
install_bitcoind.sh github+scripts: bump itests to bitcoind v28, allow testing with RCs 2024-10-14 16:10:18 +02:00
itest_parallel.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
itest_part.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
release.sh Merge pull request #10268 from starius/release-gnu-gzip 2025-10-27 10:34:30 -07:00
tidy_modules.sh github+Makefile: add new action make tidy-module-check 2023-09-06 02:48:13 +08:00
unit-test-flake-hunter.sh Makefile+scripts: add unit test flake hunter 2025-02-25 21:10:40 +08:00
unit_test_modules.sh Makefile+action: add make unit-module to test submodules 2023-09-06 02:47:55 +08:00
verify-install.sh scripts: add gpg key for georgetsagk 2026-02-23 14:40:07 +01:00