Skip to content

Logging test failure if Libdl and Logging is running on the same worker #25580

Closed

Description

Running Libdl tests and then Logging tests on the same worker:

ConsoleLogger: Test Failed at /home/fredrik/julia-master/usr/bin/../share/julia/site/v0.7/Logging/test/runtests.jl:149
  Expression: genmsg("msg", exception=DivideError()) == "┌ PREFIX msg\n│   exception = DivideError: integer division error\n└ SUFFIX\n"
   Evaluated: "┌ PREFIX msg\n│   exception =\n│    DivideError: integer division error\n│    Stacktrace:\n│     [1] dlsym at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Libdl/src/Libdl.jl:57 [inlined]\n│     [2] (::getfield(Main.Test1Main_Libdl, Symbol(\"##3#4\")))() at /home/fredrik/julia-master/usr/bin/../share/julia/site/v0.7/Libdl/test/runtests.jl:177\n│     [3] cd(::getfield(Main.Test1Main_Libdl, Symbol(\"##3#4\")), ::String) at ./file.jl:70\n│     [4] top-level scope\n│     [5] include at ./boot.jl:292 [inlined]\n│     [6] include_relative(::Module, ::String) at ./loading.jl:521\n│     [7] include at ./sysimg.jl:26 [inlined]\n│     [8] include(::String) at /home/fredrik/julia-master/usr/share/julia/test/testdefs.jl:13\n│     [9] macro expansion at /home/fredrik/julia-master/usr/share/julia/test/testdefs.jl:22 [inlined]\n│     [10] macro expansion at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Test/src/Test.jl:1007 [inlined]\n│     [11] macro expansion at /home/fredrik/julia-master/usr/share/julia/test/testdefs.jl:21 [inlined]\n│     [12] macro expansion at ./util.jl:310 [inlined]\n│     [13] top-level scope at ./<missing>:19\n│     [14] eval(::Module, ::Any) at ./boot.jl:295\n│     [15] #runtests#54(::UInt128, ::Function, ::String, ::String, ::Bool) at /home/fredrik/julia-master/usr/share/julia/test/testdefs.jl:25\n│     [16] (::getfield(, Symbol(\"#kw##runtests\")))(::NamedTuple{(:seed,),Tuple{UInt128}}, ::typeof(runtests), ::String, ::String, ::Bool) at ./<missing>:0 (repeats 2 times)\n│     [17] (::getfield(Distributed, Symbol(\"##154#155\")){typeof(runtests),Tuple{String,String},Base.Iterators.IndexValue{Symbol,UInt128,Tuple{Symbol},NamedTuple{(:seed,),Tuple{UInt128}}}})() at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Distributed/src/remotecall.jl:334\n│     [18] run_work_thunk(::getfield(Distributed, Symbol(\"##154#155\")){typeof(runtests),Tuple{String,String},Base.Iterators.IndexValue{Symbol,UInt128,Tuple{Symbol},NamedTuple{(:seed,),Tuple{UInt128}}}}, ::Bool) at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Distributed/src/process_messages.jl:56\n│     [19] #remotecall_fetch#159(::Base.Iterators.IndexValue{Symbol,UInt128,Tuple{Symbol},NamedTuple{(:seed,),Tuple{UInt128}}}, ::Function, ::Function, ::Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Distributed/src/remotecall.jl:359\n│     [20] (::getfield(Distributed, Symbol(\"#kw##remotecall_fetch\")))(::NamedTuple{(:seed,),Tuple{UInt128}}, ::typeof(remotecall_fetch), ::Function, ::Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./<missing>:0\n│     [21] #remotecall_fetch#163(::Base.Iterators.IndexValue{Symbol,UInt128,Tuple{Symbol},NamedTuple{(:seed,),Tuple{UInt128}}}, ::Function, ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Distributed/src/remotecall.jl:387\n│     [22] (::getfield(Distributed, Symbol(\"#kw##remotecall_fetch\")))(::NamedTuple{(:seed,),Tuple{UInt128}}, ::typeof(remotecall_fetch), ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at ./<missing>:0\n│     [23] macro expansion at /home/fredrik/julia-master/usr/share/julia/test/runtests.jl:129 [inlined]\n│     [24] (::getfield(, Symbol(\"##44#51\")))() at ./task.jl:330\n└ SUFFIX\n" == "┌ PREFIX msg\n│   exception = DivideError: integer division error\n└ SUFFIX\n"
Stacktrace:
 [1] macro expansion at /home/fredrik/julia-master/usr/bin/../share/julia/site/v0.7/Logging/test/runtests.jl:149 [inlined]
 [2] macro expansion at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Test/src/Test.jl:1007 [inlined]
 [3] macro expansion at /home/fredrik/julia-master/usr/bin/../share/julia/site/v0.7/Logging/test/runtests.jl:11 [inlined]
 [4] macro expansion at /home/fredrik/julia-master/usr/share/julia/site/v0.7/Test/src/Test.jl:1007 [inlined]
 [5] top-level scope at /home/fredrik/julia-master/usr/bin/../share/julia/site/v0.7/Logging/test/runtests.jl:9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    loggingThe logging framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions