Repository navigation
Description
@jpsamaroo mentioned in #784 that the CI flakiness hasn't been cleaned up yet, so
here's what I found while reading the logs. Most of it isn't PR-specific - master
is red on its own. Latest run on master
(41501130127,
d74b4c53) is 34 pass / 13 fail.
The one I think is an actual bug is test/thunk.jl:320:
remote spawn: Error During Test at test/thunk.jl:320
Expression: dynamic_fib(10) == 55
DTaskFailedException:
Root Exception Type: ConcurrencyViolationError
On worker 2: ... On worker 4: ... On worker 2: ...
It nests several workers deep. It's also flaky rather than consistent - 1.10 and
1.11 - ubuntu fail on it, but the multithreaded variants of those same versions
pass in the same run, which I don't have an explanation for.
The cheapest one to fix is probably test/allocations.jl:173:
MethodError: no method matching wait(::Vector{Float64})
That one's deterministic and only hits nightly and pre, but between those and
MPI CPU - pre it's 6 of the 13 failures. Looks like the test is calling a wait
method that doesn't exist on those versions any more, so a test-side fix.
The rest, more briefly:
- DaggerWebDash -
lib/DaggerWebDash/test/runtests.jl:7fails with
failed process: Process(`curl -s localhost:8080/index.html`, ProcessExited(7)).
Exit 7 is "couldn't connect", so the server isn't up yet when the test fetches
from it. - macos-26 (arm64) (multithreaded) - log fills with
Error in eager scheduler:
/InterruptExceptionout ofsrc/sch/eager.jl:51->src/sch/Sch.jl:451, then
just stops partway through theThunktestset. Failing step is
Run tests (multithreaded, no extra workers). I couldn't tell from the log
whether it timed out or died; something seems to be cancelling the scheduler task. - 1.11 (Finch) -
matmul_finch.jl:46,
MethodError: no method matching length(::Tensor{SparseCOOLevel{2, ...}}). Finch
API drift, not Dagger. - MPI CPU - Julia 1.10 / 4 ranks - fails on master but passed on DArray: Add
trilandtriu#784, so flaky
too. Didn't dig into this one.
On the benchmark jobs: one trips its threshold every run, but a different metric
each time - MPI+Threads linalg on this master run, syrk (A'*A) allocations on
#784, matmul (A*A) time +126.8% on #783. The #783 one was a one-line
any(isempty, ...) guard, which can't have affected matmul, and #784's table had
solve (A\b via lu) 61.9% faster in the same run it reported a regression. So I
think these are just noisy rather than meaningful.
I'd be happy to pick these off one at a time if that's useful - allocations.jl
first since it's small and clears six jobs, then have a proper go at the
thunk.jl one. Tell me if some of these are already known, or if you'd rather
have them as separate issues.
Activity
[-]CI: catalogue of the jobs currently failing on `master`[/-][+]CI is red on master: notes on the 13 failing jobs[/+]SwayamBorateIIT commentedon Nov 22, 2026
A few things I left out or didn't have when I wrote this.
custom_actions isn't in the list above because it only runs on pull
requests (
on: pull_requestinCustomCommands.yml), so master never showsit. It fails in about 7s at the
julia-actions/setup-juliastep, whichinstalls Julia 1.9 (1.9.4 here):
It passed on #784 (24 Oct) and fails on #777, #782 and #787, so I think that
Julia build has stopped loading on the current runners rather than anything in
those PRs. The "Run provided commands" step is skipped after it, so the
/run-actionscommands can't run either.Buildkite. I built the list above from the GitHub Actions run, so I never
looked at the buildkite statuses. On master (
d74b4c53)metal,oneapi,oneapi-mpi,rocmandrocm-mpiare failing andcuda/cuda-mpipass.I haven't looked at why. Separately,
Julia 1.11 (OpenCL)was cancelled in thatActions run, so I can't say how it does on master.
thunk.jl:320. The 1.10 and 1.11 jobs on master show the root exception
message, which I didn't include above:
ConcurrencyViolationError("lock must be held"). That reads like a lock being released or asserted by a task thatdoesn't own it. I haven't found which one.
After #787. #787 fixes the
allocations.jl:173failure. With it, nightlyand
preboth get pastallocationsand stop at the next file,test/array/allocation.jl:134:getindex(::SparseMatrixCSC, ::ArrayDomain)isambiguous between SparseArrays'
getindex(A::AbstractSparseMatrixCSC{Tv,Ti}, I...)and
src/array/darray.jl:35. It reproduces in two lines, fine on 1.13 andfailing on nightly 1.15.0-DEV:
Happy to take that one as well.
jpsamaroo commentedon Nov 26, 2026
Thanks so much for the analysis and PRs! If you'd like to tackle further fixes, please do! I've merged #780 which I put together a few weeks ago for the same purpose as well - hopefully it fixes a number of the found issues.
SwayamBorateIIT commentedon Nov 30, 2026
Thanks! I rechecked everything against master's latest CI run (
933a4df3, run 46346856608): 50 jobs pass, 1 fails, 1 is cancelled.Fixed by #780 (each is a commit in it, and the job is green now):
\returning a dense array on Julia 1.14+ #787Gone since #780, cause not pinned down: the
thunk.jl:320ConcurrencyViolationErrorhasn't appeared on 1.10/1.11 since #780 moved those jobs to DistributedNext. macOS multithreaded and MPI CPU 1.10 are green too.Gone without a Dagger change: the nightly QR failure (
output array must not be aliased with an input arrayinqr.jl). It appears 84 times in the log on nightly1.15.0-DEV.1036and not at all on1.15.0-DEV.1070, and nothing in Dagger's QR changed in between. LinearAlgebra.jl merged a set of aliasing-check fixes on 24 Nov, which is presumably what did it.nightlyandpreare now fully green.Still failing:
Julia 1.11 - ubuntu: worker 4 died duringtest/array/linalg/svd.jl:138(ProcessExitedException(4)). This one is inside DistributedNext, the transport Fix CI correctness defects and excessive stencil compilation #780 switched 1.10/1.11 to, not in the SVD code: a remote-reference finalizer waits on a lock, and Julia doesn't allow a task switch inside a GC finalizer.bd7c8f43, so it looks timing-dependent. I couldn't find it reported on DistributedNext.custom_actionsstill fails on PRs (Remove dynamic dispatch from the submit and Datadeps planning paths #799, Datadeps: free copies of identity-less arguments again, and give each its own slot #833): Julia 1.9.4 doesn't load on the current runners.933a4df3:cuda,metal,oneapiandoneapi-mpifail,cuda-mpipasses, and norocmstatus was reported. I haven't looked at those logs.AbstractSparseMatrixCSCmethod; the vector one is missing. On933a4df3with1.15.0-DEV.1070:I'll open a PR for the sparse-vector case next.
SparseArrays: Resolve ArrayDomain indexing for sparse vectors