mmtk / mmtk-julia

Julia binding for MMTk
13 stars 9 forks source link

Test Failed in distributed_exec.jl:245 Expression: testval == 1 Evaluated: 0 == 1 #98

Open qinsoon opened 1 year ago

qinsoon commented 1 year ago

First seen in https://github.com/mmtk/mmtk-julia/actions/runs/6079623548/job/16492380079 for PR https://github.com/mmtk/mmtk-julia/pull/97

JULIA test/Distributed
Running parallel tests with:
  nworkers() = 1
  nthreads() = 4
  Sys.CPU_THREADS = 2
  Sys.total_memory() = 6.769 GiB
  Sys.free_memory() = 5.545 GiB

Test  (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
Distributed(1) |        started at 2023-09-05T03:29:31.446
Test Failed at /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/distributed_exec.jl:245
  Expression: testval == 1
   Evaluated: 0 == 1

ERROR: LoadError: There was an error during testing
in expression starting at /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/distributed_exec.jl:245
Distributed(1) |         failed at 2023-09-05T03:30:14.115
Error During Test at /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:21
  Got exception outside of a @test
  LoadError: Distributed test failed, cmd : `/home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/bin/julia -Cnative -J/home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/lib/julia/sys.so -g1 --startup-file=no --check-bounds=yes --startup-file=no --depwarn=error /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/distributed_exec.jl`
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:35
    [2] top-level scope
      @ ~/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/runtests.jl:11
    [3] include(mod::Module, _path::String)
      @ Base ./Base.jl:489 [inlined]
    [4] macro expansion
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:29 [inlined]
    [5] macro expansion
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [6] macro expansion
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:23 [inlined]
    [7] macro expansion
      @ Main ./timing.jl:503 [inlined]
    [8] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:21
    [9] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{seed::UInt128})
      @ Base ./essentials.jl:869
   [10] (::var"#31#39")()
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/runtests.jl:318
   [11] cd(f::var"#31#39", dir::String)
      @ Base.Filesystem ./file.jl:112
   [12] top-level scope
      @ ~/work/mmtk-julia/mmtk-julia/vm/julia/test/runtests.jl:95
   [13] include(mod::Module, _path::String)
      @ Base ./Base.jl:489
   [14] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:318
   [15] _start()
      @ Base ./client.jl:552
  in expression starting at /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/runtests.jl:10

Test Summary: | Error  Total  Time
  Overall     |     1      1  0.8s
    Distributed |     1      1  43.9s
    FAILURE

The global RNG seed was 0x5fdc85e73162a5e361dd2a952c[194](https://github.com/mmtk/mmtk-julia/actions/runs/6079623548/job/16492380079#step:5:195)744.

Error in testset Distributed:
Error During Test at /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:21
  Got exception outside of a @test
  LoadError: Distributed test failed, cmd : `/home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/bin/julia -Cnative -J/home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/lib/julia/sys.so -g1 --startup-file=no --check-bounds=yes --startup-file=no --depwarn=error /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/distributed_exec.jl`
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:35
    [2] top-level scope
      @ ~/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/runtests.jl:11
    [3] include(mod::Module, _path::String)
      @ Base ./Base.jl:489 [inlined]
    [4] macro expansion
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:29 [inlined]
    [5] macro expansion
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [6] macro expansion
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:23 [inlined]
    [7] macro expansion
      @ Main ./timing.jl:503 [inlined]
    [8] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/testdefs.jl:21
    [9] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{seed::UInt128})
      @ Base ./essentials.jl:869
   [10] (::var"#31#39")()
      @ Main ~/work/mmtk-julia/mmtk-julia/vm/julia/test/runtests.jl:318
   [11] cd(f::var"#31#39", dir::String)
      @ Base.Filesystem ./file.jl:112
   [12] top-level scope
      @ ~/work/mmtk-julia/mmtk-julia/vm/julia/test/runtests.jl:95
   [13] include(mod::Module, _path::String)
      @ Base ./Base.jl:489
   [14] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:318
   [15] _start()
      @ Base ./client.jl:552
  in expression starting at /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/usr/share/julia/stdlib/v1.10/Distributed/test/runtests.jl:10
ERROR: LoadError: Test run finished with errors
in expression starting at /home/runner/work/mmtk-julia/mmtk-julia/vm/julia/test/runtests.jl:95
make[1]: *** [Makefile:30: Distributed] Error 1
make: *** [Makefile:633: test-Distributed] Error 2
qinsoon commented 1 year ago

It is non-deterministic. A rerun on the PR passed.