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

未关闭
#786 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
testing-qa

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Julia
星标
734
派生
94
平均合并
4 天 18 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JuliaParallel/Dagger.jl 的其他 Issue

查看 JuliaParallel/Dagger.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。