[CI] Flaky test sweep (Sep–Oct 2026): root causes and fix PRs
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 5/100
Direzione di ricerca
This is a coordination tracker for many flaky-test workstreams, not a single change, so there is no one file to start from. Read the workstream table and the protocol section, then pick an existing workstream that has no assignee and no draft PR. Its draft PR should reduce .github/workflows/pr.yaml to the failing job and repeat it. Done means a reproducer or root cause is posted here with CI run links.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This issue coordinates a sweep of flaky CI test failures. Each workstream had a draft PR with a reduced CI matrix that repeated the failing job, so the flake could be reproduced in CI and the root cause found. Progress (reproducers, root causes, PR links, run links) is posted as comments here. The overall tracker is #2118.
Status (2026-11-03): root-causing is done for every workstream. A, B, C, G and H are fixed on main, and #2805 (J) merged. What remains is review and merge of the open fix PRs listed under Remaining; four of them (#2804, #2828, #2830, #2839) have merge conflicts with main.
Data source: pr.yaml runs from 2026-09-05 to 2026-10-10 whose failed attempts later passed on a rerun, plus nightly test.yaml failures from 2026-09-26 to 2026-10-10.
Workstreams
| # | Flaky failure | Hits (5 weeks) | Where | Issue | Repro PR | Fix PR / status |
|---|---|---|---|---|---|---|
| A | CLUSTER_TEST SpectralClusteringTestF.Result/N (eigensolver / label mismatch) |
17 | Almost always 12.2.2, arm64, ubuntu22.04, a100 |
#2094, #1594 | #2788 (closed) | Merged: #2841 (2026-10-16). #2794 closed |
| B | Python test hangs on H100: cuvs test_cagra.py stalls, then cuvs_bench test_cli.py::test_run_command_creates_results hangs (CUVS_CAGRA_HNSWLIB_ANN_BENCH) |
7 PR + nightly 6-hour timeouts | h100 (oldest-deps rockylinux8, and nightly 12.9.2), once on a100 |
#2772, #2732 | #2784 (closed) | Merged: #2933 (2026-10-26), which replaced #2829 (closed) |
| C | cuvs-lucene results missing from filtered/multi-segment searches (expected:<24> but was:<23>, Should return exactly 1 result expected:<1> but was:<0>, expected:<60> but was:<59>, Id: 1608 expected but not found) in TestMultiSegmentGPUFilterConcurrency, TestCuVSGaps.testVectorSearchWithFilterAndAlternatingDocuments, TestCuVSDeletedDocuments |
~20 | lucene tests, amd64 and arm64 | #2736 | #2785 (closed) | Fixed on main by #2582 (2026-10-22). Merged: #2799 (2026-10-29, TestCuVSGaps topK cap), #2967 (2026-10-30, C++ regression test) |
| D | cuvs-lucene IllegalStateException: Index not found for field:... (TestCuVSGaps.testVectorSearchWithAlternatingDocuments, TestCuVSVectorsFormat.testRandomWithUpdatesAndGraph, TestCuVSRandomizedVectorSearch) and TestLucene99AcceleratedHNSWVectorsFormat.testRandomExceptions UNEXPECTED: exception type |
~10 | lucene tests, amd64 and arm64 | none | #2786 (closed) | Merged: #2795 (2026-10-13) |
| E | KmeansFitBatchedTestF.Result/4 centroid mismatch |
11 | h100 (13.3.0) C++ tests, incl. 2026-10-06 nightly |
#2657 | #2787 (closed) | Open: #2801 (deterministic k-means fit), #2804 (balanced k-means / IVF-PQ grouping) |
| F | NEIGHBORS_MG_TEST AnnMGTestF_float.AnnMG/5 aborts with a CUDA error in raft::copy (cudaMemcpyAsync) |
1 | 12.2.2, amd64, rockylinux8, l4, earliest-driver, oldest-deps |
none | #2796 (closed) | Open: #2807. Also hit as AnnMG/14 (CAGRA ROUND_ROBIN, wrong neighbors, recall 0/48) on V100 in CI on 2026-11-03 (job) |
| G | NEIGHBORS_ANN_IVF_RABITQ_TEST IvfRabitq/f32_f32_i64.build_host_input_search/1 (dim = 1) throws in the test body |
1 (nightly) | 13.3.0, arm64, ubuntu26.04, gh200 |
#2971 (closed) | #2791 (closed) | Merged: #2798 (2026-11-03) |
| H | Python IVF-PQ/IVF-Flat result flakes: test_ivf_pq.py::test_build_precomputed (2/1000 neighbors swapped), test_ivf_pq[inner_product-float32-True] (recall 0.696 vs 0.7), test_filtered_ivf_flat[0.5] (recall) |
3+ | A100 (amd64 and arm64) | #1445 (closed) | #2790 (closed) | Merged: #2797 (2026-11-03) |
| I | STATS_TEST silhouetteScore.BatchedStreamPoolOrdering |
2 (2026-07-11, 2026-08-03) | arm64 a100 (12.2.2), gb300 (13.3.0 nightly) |
#2406 (closed) | #2789 (closed) | Already fixed on main by #2422; no PR needed |
| J | cuvs-java JVM crashes and flakes: HnswRandomizedIT forked VM aborted (exit 134), CagraRandomized*.testResultsTopKWithRandomValues |
1 + older | java tests, amd64 | #1048, #631, #1468 | #2792 (closed) | Merged: #2805 (2026-10-21, reject single-row CAGRA build). Open: #2830 (re-enable CagraRandomizedIT with a recall check), which waits on #2992 (unify prefilter handling, replacing Util.concatenate) |
| K | IVF-RaBitQ search returns neighbors from the wrong list when a query is on a list centroid (e.g. a duplicated data row); found by G | n/a (found in review) | IVF-RaBitQ C++ | none | #2800 (closed) | Open: #2802 |
| L | NEIGHBORS_TEST NNTest/NNTest_{fp32,fp16}_fused* skipped then failed on GB300 (no cuTile cubin for sm_103); found that cuTile had been silently disabled in all conda builds since #2739 (bin2c lookup) |
every GB300 nightly until 2026-10-08 | 13.3.0, arm64, ubuntu26.04, gb300 |
#2660 (closed), #2759 (closed) | #2813 (closed) | Merged: #2820 (2026-10-13; configure now fails on CUDA 13.1+ when bin2c or cuda.tile is missing). Skip fixed by #2760. #2821 closed |
| M | Rust cargo test with default parallel test threads intermittently SIGSEGVs (e.g. ivf_flat); passes with --test-threads=1 |
0 in CI (0 SIGSEGVs in ~3,300 rust-build jobs since 2026-08-10) |
Rust tests (reporter: RTX 4000 8 GB, libcuvs 26.06) | #2233 | #2818 (closed) | Not reproduced in 6,700 parallel iterations; no fix needed. Related bug found during the investigation: #2832 (open, cuvsRMMHostFree on a different thread) |
| N | NEIGHBORS_ANN_IVF_FLAT_TEST AnnIVFFlatTestF_{int8,uint8}.AnnIVFFlat/2 (dim=2, cosine): filtered search returns recall 0 (or duplicated indices) |
6 (2026-08-12 to 2026-09-19), 0 since | mostly 12.2.2, amd64, rockylinux8, v100, earliest-driver; once h100 |
none | #2815, bisect #2822/#2825/#2826 (closed) | Fixed on main by #2249. Open: #2828 (defensive zero-norm coarse guard) |
| O | cuvs-lucene TestCuVSRandomizedHNSWVectorSearch.testVectorSearch: Result returned was not in topK*3: 229 (CAGRA-built HNSW graph, searched on the CPU). Legitimate ANN miss, not a bug |
1 (found by S); 3/1586 in the repro loop | lucene tests, amd64 and arm64 | none | #2819 (closed) | Merged: #2824 (2026-10-14, test-only) |
| P | cuvs-lucene TestAcceleratedHNSWMultiLayerRoundTrip.testThreeLevelGraphCanBeReopenedAndSearched (BQ, dims=129): the entry-node vector must be returned for its own query. Test bug: the graph ordinal was used as the insertion id after a reordering forceMerge(1) |
1 (found by S); 112/39,320 BQ iterations in the repro loop | 13.3.0, amd64, rockylinux8, rtxpro6000 lucene tests |
none | #2827 (closed) | Merged: #2831 (2026-10-13, test-only) |
| Q | NEIGHBORS_ANN_CAGRA_HALF_UINT32_TEST AnnCagraMultiPartitionTestF16_U32.Search/0 (num_partitions=1, single-cta, L2): recall 0.966 vs 0.97. The test was under-provisioned; not a library bug |
1 (found by S); 0 in 60 days of nightly and PR reruns | 13.3.0, arm64, ubuntu26.04, gb300 |
none | #2838 (closed) | Open: #2839 (test-only) |
| R | C++ test jobs hitting the 6-hour limit: 86 of 89 were NEIGHBORS_DYNAMIC_BATCHING_TEST hanging after a NaN query; the other 3 were stalled artifact downloads |
89 (since 2026-09-01) | conda-cpp-tests, all configurations |
#2764 | none | Already fixed on main by #2729 (plus #2746 as a backstop); no PR needed |
| S | Combined stress run (done 2026-10-12 02:00 UTC): 25 passes, 3025 test-job executions on the PR+nightly matrices with all fixes; 3 new flakes found (O, P, Q) | n/a | full matrix | #2783 | #2793 (closed) | Done |
Remaining
Open fix PRs, and the issues each should close when it merges:
- A: #2841 merged; #2094 and #1594 closed
- B: #2933 merged (replaced #2829); #2772 and #2732 closed
- C: fixed on main by #2582; #2799 and #2967 merged; #2736 closed
- E: #2801 and #2804, closes #2657. #2801 has changes requested: reconcile with the faster reductions in NVIDIA/raft#3176, or make determinism optional. #2804 has merge conflicts
- F: #2807. Needs C++ review;
AnnMG/14also hit in CI on 2026-11-03 (job) - G: #2798 merged; #2971 closed
- H: #2797 merged
- J: #2805 merged; #2830 remaining (has merge conflicts; waits on #2992), closes #631, #1048 and #1468
- K: #2802
- M: #2832. #2233 (not reproduced) to be closed by a cuVS developer
- N: #2828. Approved; needs a merge with
mainand a CI rerun - Q: #2839. Has merge conflicts
Other failures seen (not assigned)
NEIGHBORS_ANN_SCANN_TESTreconstruction error (6 hits, rtxpro6000): #2549, fixed by #2743 (merged 2026-10-14).NNTest_*_fusedon GB300 nightly: deterministic, not flaky. Fixed by #2760; #2660 closed.AnnNNDescentTestUI8_U32(50 hits in September): fixed by #2655 / #2708.- One-off hits (one each), now covered by workstreams F, G, H and J:
NEIGHBORS_MG_TESTAnnMG/5CUDA error on L4 oldest-deps (job);IvfRabitq build_host_input_searchon GH200 (job);test_ivf_pq[inner_product-float32-True]recall 0.696 on A100 wheels (job);test_ivf_pq.py::test_build_precomputedon arm64 A100 (job); JavaSurefireBooterForkExceptionVM crash (job). - Older flaky issues with no hits in this window: #2406 (silhouetteScore, closed), #2137 (all-neighbors, closed), #1445 (
test_filtered_ivf_flat, closed), #1048 / #631 (JavaCagraRandomized*, covered by J). - Infrastructure, not test flakes: codecov upload retries,
rapids-github-run-idfailing to find a nightly run, condaChecksumMismatchError, yum CUDA repo metadata downloads, sccache storage reads, and devcontainer builds.
Protocol and combined stress run (historical)
Protocol for agents
- One draft PR per workstream, based on
main. The first commit reduces.github/workflows/pr.yamlto the jobs and matrix entries that show the failure (usematrix_filter, and disable unrelated jobs), and repeats the failing job up to 4 times (or loops the test inside the job) so a flake is caught. - Trigger CI with
/ok to test <full 40-char sha>after every push. - Post a comment here when a draft PR is opened, when a reproducer is confirmed, when a root cause is found, and when a fix is verified. Link CI runs.
- CI-only changes are reverted before a fix PR is marked ready for review.
Combined stress run (workstream S)
A separate draft PR combined every fix that was ready, ran the full PR CI matrix, and kept rerunning the test jobs until 2026-10-12 02:00 UTC, to confirm the fixes and to find flakes not listed here.
- When a workstream had a fix ready, it pushed a fix-only branch to
bdice/cuvs: the fix commits on top ofupstream/main, with no CI or workflow changes and no diagnostics. It then posted a comment starting with**FIX READY:**giving the workstream letter, the branch name, the head SHA, and a one-line summary. - When the stress run found a failure not covered by an existing workstream, it posted a comment starting with
**NEW FLAKE:**with the test name, configuration, and job links, and a new workstream was assigned to it.
- Lingua principale
- Cuda
- Stelle
- 902
- Fork
- 267
- Merge medio
- 2g 21h
- PR unite (30g)
- 57
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/cuvs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] CAGRA multi-CTA and multi-kernel search over-allocate the hashmap they useForse già presa @mc8max l’ha presa 12 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
NVIDIA/cuvs#2856 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] cuVS Bench Faiss CAGRA b_ratio reads the wrong JSON keyForse già presa @arcusbuilds l’ha presa 55 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
doc
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Upgrade faiss to v1.16.0Forse già presa @aamijar l’ha presa 8 giorni fa. Apertafaiss improvement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
kaiachain/kaia#1143 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Remove Home Hub and the old working name from variable names, database names and test fixturesApertacleanup
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CivicTechWR/accessible-housing-portal#634 ·
I maintainer di solito rispondono entro 1 giorno
-
ci-cd priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
LearningCircuit/local-deep-research#9163 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
hivecommons/hive#19912 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 65/100
daniel-ospina/tortoise#14685 ·
I maintainer di solito rispondono entro 1 giorno