From 977328433bb88d90d1f8d3515191098ec8eb83d5 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 13:24:00 +0100 Subject: [PATCH 01/13] Increase stress test of threaded gr_mpoly_divides --- src/gr_mpoly/test/t-divides_heap_threaded.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gr_mpoly/test/t-divides_heap_threaded.c b/src/gr_mpoly/test/t-divides_heap_threaded.c index c760409873..e061d17944 100644 --- a/src/gr_mpoly/test/t-divides_heap_threaded.c +++ b/src/gr_mpoly/test/t-divides_heap_threaded.c @@ -30,7 +30,7 @@ TEST_FUNCTION_START(gr_mpoly_divides_heap_threaded, state) slong lenf, leng; flint_bitcnt_t exp_bits; int status, aliasing; - int big = (n_randint(state, 10) == 0); + int big = (n_randint(state, 2) == 0); switch (n_randint(state, 5)) { @@ -64,7 +64,7 @@ TEST_FUNCTION_START(gr_mpoly_divides_heap_threaded, state) break; } - gr_mpoly_ctx_init_rand(ctx, state, cctx, 4); + gr_mpoly_ctx_init_rand(ctx, state, cctx, big ? 20 : 4); gr_mpoly_init(f, ctx); gr_mpoly_init(g, ctx); @@ -72,7 +72,7 @@ TEST_FUNCTION_START(gr_mpoly_divides_heap_threaded, state) gr_mpoly_init(q1, ctx); gr_mpoly_init(q2, ctx); - flint_set_num_threads(1 + n_randint(state, 4)); + flint_set_num_threads(big ? 2 + n_randint(state, 3) : 1 + n_randint(state, 4)); lenf = n_randint(state, big ? 80 : 20) + 1; leng = n_randint(state, big ? 30 : 10) + 1; From 73d44771962aac558f5195931d5abcaacfb0bf16 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 13:34:19 +0100 Subject: [PATCH 02/13] Temporarily disable CI job cancellation and disable irrelevant CI jobs --- .github/workflows/CI.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 755074daef..b80a1ccdc4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,13 +28,13 @@ env: GLOBAL_MULTIPLIER: 1 concurrency: - # Group by workflow and ref, and to limit to 1 concurrent job except for main - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }} - # Cancel intermediate builds for pull requests - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + # Temporary: keep separate CI runs alive while probing intermittent M1 failures. + group: ${{ github.workflow }}-${{ github.run_number }} + cancel-in-progress: false jobs: assert-ntl-msolve-nemo: + if: false name: NTL, msolve and Nemo.jl runs-on: ubuntu-24.04 env: @@ -79,6 +79,7 @@ jobs: julia -e "import Pkg; Pkg.develop(path=\"./Nemo.jl\"); Pkg.test(\"Nemo\")" ubuntu-codecov: + if: false name: codecov (x10) runs-on: ubuntu-24.04 env: @@ -118,6 +119,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} regression-check: + if: false name: Regression check runs-on: ubuntu-24.04 env: @@ -140,6 +142,7 @@ jobs: run: $MAKE $MODULES ubuntu-arm: + if: false name: ARM (x0.5) runs-on: ubuntu-24.04-arm env: @@ -194,6 +197,7 @@ jobs: run: echo "FLINT_TEST_MULTIPLIER = $FLINT_TEST_MULTIPLIER" && $MAKE check ubuntu-clang: + if: false name: ASan, BLAS, examples (x1) runs-on: ubuntu-24.04 env: @@ -225,6 +229,7 @@ jobs: run: $MAKE checkexamples mingw64-gcc: + if: false name: MinGW (x0.5) runs-on: windows-latest defaults: @@ -260,6 +265,7 @@ jobs: run: echo "FLINT_TEST_MULTIPLIER = $FLINT_TEST_MULTIPLIER" && $MAKE check msvc: + if: false name: MSVC (x0.5) runs-on: windows-latest env: @@ -302,6 +308,7 @@ jobs: ctest -j5 --output-on-failure alpine-32bit: + if: false name: 32-bit, musl, assert (x2.5) runs-on: ubuntu-24.04 env: From 8d66c6fa31a7835fab36e1fe66318d89eddb1ab1 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 13:35:46 +0100 Subject: [PATCH 03/13] Trigger M1 CI From 5b747dc9feec9059dc7d204b8e0e219bbd455e25 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 13:35:51 +0100 Subject: [PATCH 04/13] Trigger M1 CI From eb820ca145f15a74ad43006cb3210d9cfb6341b9 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 13:35:55 +0100 Subject: [PATCH 05/13] Trigger M1 CI From d40596ec42c72c96a9bcc5b4fe7e0528a10d844a Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 13:36:00 +0100 Subject: [PATCH 06/13] Trigger M1 CI From 32ca3093e6fb4809a88a4a6d354d2f26beabd5cb Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 17:24:37 +0100 Subject: [PATCH 07/13] Increase multiplier 100x to stress test in CI --- src/gr_mpoly/test/t-divides_heap_threaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gr_mpoly/test/t-divides_heap_threaded.c b/src/gr_mpoly/test/t-divides_heap_threaded.c index e061d17944..842f34e51c 100644 --- a/src/gr_mpoly/test/t-divides_heap_threaded.c +++ b/src/gr_mpoly/test/t-divides_heap_threaded.c @@ -20,7 +20,7 @@ TEST_FUNCTION_START(gr_mpoly_divides_heap_threaded, state) gr_ctx_init_nmod(ctx1, 17); /* Check that the threaded quotient matches the serial heap quotient */ - for (i = 0; i < 1000 * flint_test_multiplier(); i++) + for (i = 0; i < 100 * 1000 * flint_test_multiplier(); i++) { gr_ctx_t cctx; gr_ctx_t debug_base_ctx; From 066c80d4b646f07f3302dfa363fcefcc505a21d6 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 17:38:52 +0100 Subject: [PATCH 08/13] Use only a 5x multiplier --- src/gr_mpoly/test/t-divides_heap_threaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gr_mpoly/test/t-divides_heap_threaded.c b/src/gr_mpoly/test/t-divides_heap_threaded.c index 842f34e51c..d401fb50ee 100644 --- a/src/gr_mpoly/test/t-divides_heap_threaded.c +++ b/src/gr_mpoly/test/t-divides_heap_threaded.c @@ -20,7 +20,7 @@ TEST_FUNCTION_START(gr_mpoly_divides_heap_threaded, state) gr_ctx_init_nmod(ctx1, 17); /* Check that the threaded quotient matches the serial heap quotient */ - for (i = 0; i < 100 * 1000 * flint_test_multiplier(); i++) + for (i = 0; i < 5 * 1000 * flint_test_multiplier(); i++) { gr_ctx_t cctx; gr_ctx_t debug_base_ctx; From c4a9be7ae123f8508b4e1c0f1cfb239f895df45f Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 17:39:09 +0100 Subject: [PATCH 09/13] Trigger M1 CI From 256bdfc3199531818a44835696d0c00ce0afb084 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 17:39:16 +0100 Subject: [PATCH 10/13] Trigger M1 CI From 237202e051f139f959aba58baf977fe5ce828c4f Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 17:39:20 +0100 Subject: [PATCH 11/13] Trigger M1 CI From 26048031b78a6cce405c647f1404338b484fa86b Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 17:39:25 +0100 Subject: [PATCH 12/13] Trigger M1 CI From 0b6bbe2539990974d860778b3e645900fcc1a46f Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 31 Aug 2026 17:39:46 +0100 Subject: [PATCH 13/13] Trigger M1 CI