Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f4119cf
common: speed up memleak pointer scanning using htable common_mask
daywalker90 Nov 26, 2026
0792338
pyln-testing: cache loaded JSON schemas across tests and nodes
daywalker90 Nov 26, 2026
ec265c2
openingd: handle dev-memleak while waiting for master replies
daywalker90 Nov 26, 2026
6fb2bcb
pyln-testing: run killall memleak/stop in parallel and cache --version
daywalker90 Nov 26, 2026
2631e6d
pyln-testing: speed up and fix shutdown race in BitcoinRpcProxy
daywalker90 Nov 27, 2026
90bfaec
pyln-testing: use shorter initial poll intervals in wait_for and wait…
daywalker90 Nov 26, 2026
5db120c
tests: fix check_coin_moves wait and drop blind sleeps in test_coinmo…
daywalker90 Nov 26, 2026
600cf5b
tests: replace blind 5s sleeps with sync_blockheight/wait_for in spli…
daywalker90 Nov 26, 2026
a4d6e59
tests: eliminate excessive sleeps in test_currencyrate.py
daywalker90 Nov 27, 2026
e9a5b30
tests: speed up rate-limit and expiry sleeps in test_runes.py
daywalker90 Nov 26, 2026
44a714a
tests: reuse nodes across transport cases in test_lsps2_mock_transpor…
daywalker90 Nov 26, 2026
43a693a
plugin-clnrest: skip certificate retry wait for custom clnrest-certs
daywalker90 Nov 26, 2026
5de597a
tests: replace blind websocket sleeps in test_clnrest.py
daywalker90 Nov 26, 2026
49775d7
tests: replace blind sleeps and shorten timer waits in test_pay.py
daywalker90 Nov 26, 2026
7f63e47
tests: batch channel setup in test_xpay.py
daywalker90 Nov 27, 2026
b2e786a
tests: shorten expiry waits in test_invoices.py
daywalker90 Nov 26, 2026
a94e165
tests: shorten autoclean timer waits in test_plugin.py
daywalker90 Nov 26, 2026
a083172
tests: reuse network across cases in test_xpay_maxparts_receiver_limit
daywalker90 Nov 26, 2026
a49e892
lightningd: add dev timeout options for integration tests
daywalker90 Nov 27, 2026
8f7e531
tests: eliminate long sleeps in test_connection.py
daywalker90 Nov 26, 2026
b4de904
tests: start peers in parallel and allow bad gossip in test_closing_d…
daywalker90 Nov 27, 2026
62088aa
tests: batch channel creation in test_renepay.py
daywalker90 Nov 26, 2026
e65fcca
tests: shorten timestamp gap sleep in test_gossip_timestamp_filter
daywalker90 Nov 26, 2026
08c4497
pyln-testing: enable dev-no-version-checks and dev-no-plugin-checksum…
daywalker90 Nov 26, 2026
992c637
pyln-testing: make PostgresDb lazy, thread-safe, and fix stop()
daywalker90 Nov 26, 2026
5230da6
pyln-testing: make db_provider session-scoped with per-test cleanup
daywalker90 Nov 26, 2026
afeb8df
connectd: free unconnected struct subd on peer disconnect
daywalker90 Nov 26, 2026
6c5a937
plugin-bcli: allocate getutxout script hex on tmpctx instead of response
daywalker90 Nov 27, 2026
763795a
tests: disable cln-currencyrate when loading currencyUSDAUD5000.py
daywalker90 Nov 26, 2026
f51e6a5
tests: mark remaining heavy ASan tests as xdist_group("heavy")
daywalker90 Nov 26, 2026
1722014
tests: cap ASan quarantine size and gate xdist starts under low RAM
daywalker90 Nov 27, 2026
464a67b
pyln-testing: skip Rust LSPS plugins and vgdb under Valgrind, optimiz…
daywalker90 Nov 27, 2026
40f748d
tests: shorten plugin startup timeout and stable connection waits
daywalker90 Nov 27, 2026
02a297b
tests: allow connectd wake delay under Valgrind in test_reservations_…
daywalker90 Nov 27, 2026
90529e8
tests: raise dev gossip CPU budget under Valgrind in test_gossip_thro…
daywalker90 Nov 27, 2026
e5d9a6a
tests: wait for splice reestablish before mining blocks in upgrade test
daywalker90 Nov 27, 2026
1c754f3
tests: add duration-balanced LPT sharding (--balanced-group)
daywalker90 Nov 27, 2026
f81c176
ci: slim test-only setup, use balanced sharding, and shard integratio…
daywalker90 Nov 27, 2026
17c4d09
channeld: allow announcement_signatures while waiting for STFU message
daywalker90 Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 79 additions & 55 deletions .github/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,75 +7,99 @@ sudo mkdir -p /var/cache/apt/archives
mkdir -p ~/ci-cache/apt/
sudo cp -a ~/ci-cache/apt/. /var/cache/apt/archives/ 2>/dev/null || true

sudo apt-get update
# GitHub ubuntu-24.04 runners pre-configure packages.microsoft.com, which we
# do not use and which transiently returns 403 Forbidden on apt-get update.
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list /etc/apt/sources.list.d/microsoft-prod.sources

sudo apt-get -o Acquire::Retries=3 update

# Install eatmydata, then use it for the rest.
sudo apt-get install --no-install-recommends --allow-unauthenticated -yy \
-o Acquire::Retries=3 \
-o APT::Keep-Downloaded-Packages=true \
eatmydata

# Runtime packages needed to execute prebuilt binaries and integration tests.
TEST_PKGS=(
git
jq
libpq-dev
libsodium-dev
libsqlite3-dev
libssl-dev
lowdown
make
net-tools
postgresql
python3
python3-dev
sudo
tshark
unzip
valgrind
wget
wireshark-common
zlib1g-dev
)

# Extra toolchain/lint packages only needed by build, lint, and fuzz jobs.
BUILD_PKGS=(
autoconf
automake
binfmt-support
build-essential
clang
cppcheck
docbook-xml
gcc-aarch64-linux-gnu
gcc-arm-linux-gnueabihf
gcc-arm-none-eabi
gettext
gnupg
libc6-dev-arm64-cross
libc6-dev-armhf-cross
libev-dev
libevent-dev
libffi-dev
libicu-dev
libprotobuf-c-dev
pkg-config
libtool
libxml2-utils
locales
python3-pip
python3-setuptools
qemu-system
qemu-system-arm
qemu-user-static
shellcheck
software-properties-common
tcl
tclsh
xsltproc
systemtap-sdt-dev
)

if [ "${TEST_ONLY:-0}" = "1" ]; then
PKGS=("${TEST_PKGS[@]}")
else
PKGS=("${TEST_PKGS[@]}" "${BUILD_PKGS[@]}")
fi

sudo eatmydata apt-get install --no-install-recommends --allow-unauthenticated -yy \
-o Acquire::Retries=3 \
-o APT::Keep-Downloaded-Packages=true \
autoconf \
automake \
binfmt-support \
build-essential \
clang \
cppcheck \
docbook-xml \
gcc-aarch64-linux-gnu \
gcc-arm-linux-gnueabihf \
gcc-arm-none-eabi \
gettext \
git \
gnupg \
jq \
libc6-dev-arm64-cross \
libc6-dev-armhf-cross \
libev-dev \
libevent-dev \
libffi-dev \
libicu-dev \
libpq-dev \
libprotobuf-c-dev \
libsodium-dev \
libsqlite3-dev \
libssl-dev \
pkg-config \
libtool \
libxml2-utils \
locales \
lowdown \
net-tools \
postgresql \
python3 \
python3-dev \
python3-pip \
python3-setuptools \
qemu-system \
qemu-system-arm \
qemu-user-static \
shellcheck \
software-properties-common \
sudo \
tcl \
tclsh \
tshark \
unzip \
valgrind \
wget \
wireshark-common \
xsltproc \
systemtap-sdt-dev \
zlib1g-dev
"${PKGS[@]}"

echo "tester ALL=(root) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/tester
sudo chmod 0440 /etc/sudoers.d/tester

"$(dirname "$0")"/install-bitcoind.sh ~/ci-cache/

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
-y --default-toolchain ${RUST_VERSION}
if [ "${TEST_ONLY:-0}" != "1" ]; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
-y --default-toolchain ${RUST_VERSION}
fi

uv sync --all-extras --all-groups
# required for reckless till poetry to uv migration
Expand Down
Loading
Loading