Skip to content

CI is red on master: notes on the 13 failing jobs #786

Open

Description

@SwayamBorateIIT

@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:7 fails 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:
    / InterruptException out of src/sch/eager.jl:51 -> src/sch/Sch.jl:451, then
    just stops partway through the Thunk testset. 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 tril and triu #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

  1. changed the title [-]CI: catalogue of the jobs currently failing on `master`[/-] [+]CI is red on master: notes on the 13 failing jobs[/+] on Nov 4, 2026
  2. SwayamBorateIIT commented on Nov 22, 2026

    @SwayamBorateIIT
    ContributorAuthor

    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_request in CustomCommands.yml), so master never shows
    it. It fails in about 7s at the julia-actions/setup-julia step, which
    installs Julia 1.9 (1.9.4 here):

    ERROR: Unable to load dependent library .../julia/1.9.4/x64/bin/../lib/julia/libopenlibm.so
    Message: ...: cannot enable executable stack as shared object requires: Invalid argument
    

    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-actions commands 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, rocm and rocm-mpi are failing and cuda / cuda-mpi pass.
    I haven't looked at why. Separately, Julia 1.11 (OpenCL) was cancelled in that
    Actions 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 that
    doesn't own it. I haven't found which one.

    After #787. #787 fixes the allocations.jl:173 failure. With it, nightly
    and pre both get past allocations and stop at the next file,
    test/array/allocation.jl:134: getindex(::SparseMatrixCSC, ::ArrayDomain) is
    ambiguous between SparseArrays' getindex(A::AbstractSparseMatrixCSC{Tv,Ti}, I...)
    and src/array/darray.jl:35. It reproduces in two lines, fine on 1.13 and
    failing on nightly 1.15.0-DEV:

    using Dagger, SparseArrays
    distribute(sprand(16, 16, 0.3), Blocks(4, 4))

    Happy to take that one as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions