JuliaLang / JuliaLang/Distributed.jl

CI failure when testing sending arrays

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

Nobody has claimed this yet.

bug
Dominant language
Julia
Stars
55
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Observed this failure on the OSX test for #112:

     Testing Running tests...
Test Failed at /Users/runner/work/Distributed.jl/Distributed.jl/test/distributed_exec.jl:409
  Expression: a == remotecall_fetch((x->begin
                #= /Users/runner/work/Distributed.jl/Distributed.jl/test/distributed_exec.jl:409 =#
                x
            end), id_other, a)
   Evaluated: [0.5946357748689605, 0.7048341678636187, 0.9572888290215604, 0.18264029042455987, 0.4384192573227691, 0.22157930479824584, 0.4315750395313456, 0.4425032613947064, 0.37243488252060664, 0.5397596313913603  …  0.5294886907150608, 0.9330856005741858, 0.45975178468362765, 0.8296207877110172, 0.9851407263085724, 0.9853470888125861, 0.9571076854720877, 0.35202745408110114, 0.35773654285097367, 0.9171232230632897] == [0.5946357748689605, 0.7048341678636187, 0.9572888290215604, 0.18264029042455987, 0.4384192573227691, 0.22157930479824584, 0.4315750395313456, 0.4425032613947064, 0.37243488252060664, 0.5397596313913603  …  0.5294886907150608, 0.9330856005741858, 0.45975178468362765, 0.8296207877110172, 0.9851407263085724, 0.9853470888125861, 0.9571076854720877, 0.35202745408110114, 0.35773654285097367, 0.9171232230632897]

Test Failed at /Users/runner/work/Distributed.jl/Distributed.jl/test/distributed_exec.jl:419
  Expression: [fetch(rr) for rr = rr_list] == [:OK for x = 1:ntasks]
   Evaluated: [:OK, :OK, :ERROR, :OK, :OK, :OK, :OK, :OK, :OK, :OK] == [:OK, :OK, :OK, :OK, :OK, :OK, :OK, :OK, :OK, :OK]

ERROR: LoadError: There was an error during testing
in expression starting at /Users/runner/work/Distributed.jl/Distributed.jl/test/distributed_exec.jl:419
ERROR: LoadError: Distributed test failed, cmd : `/Users/runner/hostedtoolcache/julia/nightly/x64/bin/julia -C native -J/Users/runner/hostedtoolcache/julia/nightly/x64/lib/julia/sys.dylib -g1 --code-coverage=@/Users/runner/work/Distributed.jl/Distributed.jl --color=yes --startup-file=no --check-bounds=yes --startup-file=no --depwarn=error /Users/runner/work/Distributed.jl/Distributed.jl/test/distributed_exec.jl`
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:44
 [2] top-level scope
   @ ~/work/Distributed.jl/Distributed.jl/test/runtests.jl:11
 [3] include(mapexpr::Function, mod::Module, _path::String)
   @ Base ./Base.jl:301
 [4] top-level scope
   @ none:6
 [5] eval(m::Module, e::Any)
   @ Core ./boot.jl:461
 [6] exec_options(opts::Base.JLOptions)
   @ Base ./client.jl:295
 [7] _start()
   @ Base ./client.jl:558
in expression starting at /Users/runner/work/Distributed.jl/Distributed.jl/test/runtests.jl:10
Package Distributed errored during testing

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 OSX failure in test/distributed_exec.jl, focusing on the assertions at lines 409 and 419, and run the test/runtests.jl entry point shown in the report. The work is done when the array round-trip comparison and all remote task results pass consistently in the affected CI test.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.