JuliaDiff / JuliaDiff/ChainRulesTestUtils.jl

CI failure: `derivative wrong: Test Failed`

Open
#235 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
50
Forks
18
PR merge metrics
No merged PRs in 30d

Description

On Julia 1.0, ubuntu: https://github.com/JuliaDiff/ChainRulesTestUtils.jl/runs/4862197179?check_suite_focus=true

Not really sure what the cause is, will rerun

   Testing ChainRulesTestUtils
26
 Resolving package versions...
27
derivative wrong: Test Failed at /home/runner/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/test/testers.jl:544
28
  Expression: fails((()->begin
29
            test_rrule(my_identity2, 2.2)
30
        end))
31
Stacktrace:
32
 [1] macro expansion at /home/runner/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/test/testers.jl:544 [inlined]
33
 [2] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
34
 [3] macro expansion at /home/runner/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/test/testers.jl:532 [inlined]
35
 [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
36
 [5] macro expansion at /home/runner/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/test/testers.jl:515 [inlined]
37
 [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Test/src/Test.jl:1083 [inlined]
38
 [7] top-level scope at /home/runner/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/test/testers.jl:69

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Julia 1.0 Ubuntu failure from the linked CI run and inspect test/testers.jl around line 544, especially the test_rrule(my_identity2, 2.2) case. The work is done when the failing test passes reliably in the affected CI environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.