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

Aperta
#786 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
testing-qa

Direzione di ricerca

Start with the CI logs linked in the issue and inspect test/allocations.jl:173, the smallest reproducible failure, where wait(::Vector{Float64}) is called; compare the failing Julia versions with supported APIs. The report also points to test/thunk.jl:320 and several external or intermittent failures, so first confirm which failures are actionable in Dagger. Done means the relevant Dagger tests pass on affected jobs and the remaining failures are identified as external or flaky.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

@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 #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.

Lingua principale
Julia
Stelle
734
Fork
94
Merge medio
4g 18h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di JuliaParallel/Dagger.jl

Tutte le issue di JuliaParallel/Dagger.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.