Test errors in Julia v0.7


#1

Hi guys,

I am seeing this error in the tests using julia v0.7:

Error in testset Sockets:
Error During Test at /usr/share/julia/stdlib/v0.7/Sockets/test/runtests.jl:228
  Got exception Base.IOError("UDP send failed: network is unreachable (ENETUNREACH)", -101) outside of a @test
  IOError: UDP send failed: network is unreachable (ENETUNREACH)
  Stacktrace:
   [1] try_yieldto(::typeof(Base.ensure_rescheduled), ::Base.RefValue{Task}) at ./event.jl:196
   [2] wait() at ./event.jl:255
   [3] wait(::Condition) at ./event.jl:46
   [4] stream_wait(::Sockets.UDPSocket, ::Condition) at ./stream.jl:47
   [5] send(::Sockets.UDPSocket, ::Sockets.IPv6, ::UInt16, ::String) at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Sockets/src/Sockets.jl:355
   [6] top-level scope at /usr/share/julia/stdlib/v0.7/Sockets/test/runtests.jl:262
   [7] include at ./boot.jl:317 [inlined]
   [8] include_relative(::Module, ::String) at ./loading.jl:1038
   [9] include at ./sysimg.jl:29 [inlined]
   [10] include(::String) at /usr/share/julia/test/testdefs.jl:13
   [11] macro expansion at /usr/share/julia/test/testdefs.jl:22 [inlined]
   [12] macro expansion at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
   [13] macro expansion at /usr/share/julia/test/testdefs.jl:21 [inlined]
   [14] macro expansion at ./util.jl:289 [inlined]
   [15] top-level scope at /usr/share/julia/test/testdefs.jl:19 [inlined]
   [16] top-level scope at ./none:0
   [17] eval at ./boot.jl:319 [inlined]
   [18] #runtests#3(::UInt128, ::Function, ::String, ::String, ::Bool) at /usr/share/julia/test/testdefs.jl:25
   [19] #runtests at ./none:0 [inlined] (repeats 2 times)
   [20] (::getfield(Distributed, Symbol("##112#114")){Distributed.CallMsg{:call_fetch}})() at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Distributed/src/process_messages.jl:269
   [21] run_work_thunk(::getfield(Distributed, Symbol("##112#114")){Distributed.CallMsg{:call_fetch}}, ::Bool) at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Distributed/src/process_messages.jl:56
   [22] macro expansion at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Distributed/src/process_messages.jl:269 [inlined]
   [23] (::getfield(Distributed, Symbol("##111#113")){Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:262
Error in testset Sockets:
Error During Test at /usr/share/julia/stdlib/v0.7/Sockets/test/runtests.jl:284
  Got exception InexactError(:trunc, UInt16, 65536) outside of a @test
  InexactError: trunc(UInt16, 65536)
  Stacktrace:
   [1] throw_inexacterror(::Symbol, ::Any, ::Int64) at ./boot.jl:567
   [2] checked_trunc_uint at ./boot.jl:597 [inlined]
   [3] toUInt16 at ./boot.jl:670 [inlined]
   [4] Type at ./boot.jl:720 [inlined]
   [5] convert at ./number.jl:7 [inlined]
   [6] Type at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Sockets/src/IPAddr.jl:249 [inlined]
   [7] Type at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Sockets/src/IPAddr.jl:253 [inlined]
   [8] listenany(::Sockets.IPv6, ::UInt16) at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Sockets/src/Sockets.jl:570
   [9] macro expansion at /usr/share/julia/stdlib/v0.7/Sockets/test/runtests.jl:289 [inlined]
   [10] macro expansion at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
   [11] top-level scope at /usr/share/julia/stdlib/v0.7/Sockets/test/runtests.jl:285
   [12] include at ./boot.jl:317 [inlined]
   [13] include_relative(::Module, ::String) at ./loading.jl:1038
   [14] include at ./sysimg.jl:29 [inlined]
   [15] include(::String) at /usr/share/julia/test/testdefs.jl:13
   [16] macro expansion at /usr/share/julia/test/testdefs.jl:22 [inlined]
   [17] macro expansion at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined]
   [18] macro expansion at /usr/share/julia/test/testdefs.jl:21 [inlined]
   [19] macro expansion at ./util.jl:289 [inlined]
   [20] top-level scope at /usr/share/julia/test/testdefs.jl:19 [inlined]
   [21] top-level scope at ./none:0
   [22] eval at ./boot.jl:319 [inlined]
   [23] #runtests#3(::UInt128, ::Function, ::String, ::String, ::Bool) at /usr/share/julia/test/testdefs.jl:25
   [24] #runtests at ./none:0 [inlined] (repeats 2 times)
   [25] (::getfield(Distributed, Symbol("##112#114")){Distributed.CallMsg{:call_fetch}})() at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Distributed/src/process_messages.jl:269
   [26] run_work_thunk(::getfield(Distributed, Symbol("##112#114")){Distributed.CallMsg{:call_fetch}}, ::Bool) at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Distributed/src/process_messages.jl:56
   [27] macro expansion at /home/abuild/rpmbuild/BUILD/julia/usr/share/julia/stdlib/v0.7/Distributed/src/process_messages.jl:269 [inlined]
   [28] (::getfield(Distributed, Symbol("##111#113")){Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:262
ERROR: LoadError: Test run finished with errors
in expression starting at /usr/share/julia/test/runtests.jl:61

Is it know? Should I report it?


#2

#3

I saw this, but my network is working pretty well. Actually, everything is working (downloading packages, downloading files using HTTP, etc.).

EDIT: Never mind, I saw another issue :smiley: sorry