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

Đang mở
#786 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Julia
Star
734
Fork
94
Merge trung bình
4 ngày 18 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của JuliaParallel/Dagger.jl

Tất cả issue của JuliaParallel/Dagger.jl

Issue tương tự

Thêm issue về Julia

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.