From 55d6eb676220f5a15114ba8e2a87a3939019acca Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 22 Jun 2023 07:17:26 +0930 Subject: [PATCH] CI: run 2, not 3 UBSAN/ASAN pytests at once. It seems to reliably be getting a SIGTERM after 17-18 minutes: ``` [gw1] [ 91%] PASSED tests/test_plugin.py::test_forward_event_notification Error: Process completed with exit code 143. ``` Perhaps this is out of mem? So, try -n2. We also make the configure line explicit, rather than relying on environment vars (we should probably do this for the other cases, too) Signed-off-by: Rusty Russell --- .github/workflows/ci.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a2dcae9e9..e34cf52a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -410,10 +410,6 @@ jobs: BITCOIN_VERSION: "25.0" ELEMENTS_VERSION: 22.0.2 RUST_PROFILE: release - ASAN: 1 - UBSAN: 1 - VALGRIND: 0 - DEVELOPER: 1 SLOW_MACHINE: 1 TEST_DEBUG: 1 PYTEST_OPTS: --test-group-random-seed=42 --timeout=1800 @@ -466,12 +462,12 @@ jobs: - name: Build run: | - ./configure CC=clang + ./configure CC=clang --enable-address-sanitizer --enable-ub-sanitizer --disable-valgrind --enable-developer make -j $(nproc) - name: Test run: | - poetry run pytest tests/ -vvv -n 3 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }} + poetry run pytest tests/ -vvv -n 2 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }} gather: # A dummy task that depends on the full matrix of tests, and