{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/29923","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/29923/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/29923/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/29923/events","html_url":"https://github.com/JuliaLang/julia/issues/29923","id":377127153,"node_id":"MDU6SXNzdWUzNzcxMjcxNTM=","number":29923,"title":"Intermittent 32bit CI error","user":{"login":"Keno","id":1291671,"node_id":"MDQ6VXNlcjEyOTE2NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/1291671?v=4","gravatar_id":"","url":"https://api.github.com/users/Keno","html_url":"https://github.com/Keno","followers_url":"https://api.github.com/users/Keno/followers","following_url":"https://api.github.com/users/Keno/following{/other_user}","gists_url":"https://api.github.com/users/Keno/gists{/gist_id}","starred_url":"https://api.github.com/users/Keno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keno/subscriptions","organizations_url":"https://api.github.com/users/Keno/orgs","repos_url":"https://api.github.com/users/Keno/repos","events_url":"https://api.github.com/users/Keno/events{/privacy}","received_events_url":"https://api.github.com/users/Keno/received_events","type":"User","site_admin":false},"labels":[{"id":117272013,"node_id":"MDU6TGFiZWwxMTcyNzIwMTM=","url":"https://api.github.com/repos/JuliaLang/julia/labels/32-bit","name":"32-bit","color":"fef2c0","default":false},{"id":647751535,"node_id":"MDU6TGFiZWw2NDc3NTE1MzU=","url":"https://api.github.com/repos/JuliaLang/julia/labels/ci","name":"ci","color":"5e7ea1","default":false},{"id":9329042,"node_id":"MDU6TGFiZWw5MzI5MDQy","url":"https://api.github.com/repos/JuliaLang/julia/labels/linux","name":"linux","color":"117766","default":false},{"id":232419,"node_id":"MDU6TGFiZWwyMzI0MTk=","url":"https://api.github.com/repos/JuliaLang/julia/labels/priority","name":"priority","color":"7b07ce","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-04T06:57:35Z","updated_at":"2018-11-08T00:19:52Z","closed_at":null,"author_association":"MEMBER","body":"This seems to have started recently\r\n```\r\nError During Test at /tmp/julia/share/julia/test/numbers.jl:2329\r\n  Got exception outside of a @test\r\n  return type Int128 does not match inferred return type Any\r\n  Stacktrace:\r\n   [1] error(::String) at ./error.jl:33\r\n   [2] top-level scope at /tmp/julia/share/julia/test/numbers.jl:2372\r\n   [3] top-level scope at /home/travis/build/JuliaLang/julia/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083\r\n   [4] top-level scope at /tmp/julia/share/julia/test/numbers.jl:2330\r\n   [5] include at ./boot.jl:317 [inlined]\r\n   [6] include_relative(::Module, ::String) at ./loading.jl:1038\r\n   [7] include at ./sysimg.jl:29 [inlined]\r\n   [8] include(::String) at /tmp/julia/share/julia/test/testdefs.jl:13\r\n   [9] top-level scope at /tmp/julia/share/julia/test/testdefs.jl:22\r\n   [10] top-level scope at /home/travis/build/JuliaLang/julia/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083\r\n   [11] top-level scope at /tmp/julia/share/julia/test/testdefs.jl:21\r\n   [12] top-level scope at util.jl:289\r\n   [13] top-level scope at /tmp/julia/share/julia/test/testdefs.jl:19\r\n   [14] eval at ./boot.jl:319 [inlined]\r\n   [15] #runtests#3(::UInt128, ::Function, ::String, ::String, ::Bool) at /tmp/julia/share/julia/test/testdefs.jl:25\r\n   [16] #runtests at ./none:0 [inlined] (repeats 2 times)\r\n   [17] (::getfield(Distributed, Symbol(\"##112#114\")){Distributed.CallMsg{:call_fetch}})() at /home/travis/build/JuliaLang/julia/usr/share/julia/stdlib/v1.1/Distributed/src/process_messages.jl:269\r\n   [18] run_work_thunk(::getfield(Distributed, Symbol(\"##112#114\")){Distributed.CallMsg{:call_fetch}}, ::Bool) at /home/travis/build/JuliaLang/julia/usr/share/julia/stdlib/v1.1/Distributed/src/process_messages.jl:56\r\n   [19] macro expansion at /home/travis/build/JuliaLang/julia/usr/share/julia/stdlib/v1.1/Distributed/src/process_messages.jl:269 [inlined]\r\n   [20] (::getfield(Distributed, Symbol(\"##111#113\"))\r\n```\r\ne.g. https://travis-ci.org/JuliaLang/julia/jobs/450035986\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/436826512","html_url":"https://github.com/JuliaLang/julia/issues/29923#issuecomment-436826512","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/29923","id":436826512,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjgyNjUxMg==","user":{"login":"c42f","id":601473,"node_id":"MDQ6VXNlcjYwMTQ3Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/601473?v=4","gravatar_id":"","url":"https://api.github.com/users/c42f","html_url":"https://github.com/c42f","followers_url":"https://api.github.com/users/c42f/followers","following_url":"https://api.github.com/users/c42f/following{/other_user}","gists_url":"https://api.github.com/users/c42f/gists{/gist_id}","starred_url":"https://api.github.com/users/c42f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c42f/subscriptions","organizations_url":"https://api.github.com/users/c42f/orgs","repos_url":"https://api.github.com/users/c42f/repos","events_url":"https://api.github.com/users/c42f/events{/privacy}","received_events_url":"https://api.github.com/users/c42f/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T00:19:52Z","updated_at":"2018-11-08T00:19:52Z","author_association":"CONTRIBUTOR","body":"Got another window of reproducibility; it looks like the cached inferred code for `rem(::UInt128, ::UInt128)` has a return type of `Any`, which may possibly be the underlying cause though I'm not sure.\r\n\r\nApplying the following patch:\r\n\r\n```diff\r\ndiff --git a/base/compiler/typeinfer.jl b/base/compiler/typeinfer.jl\r\nindex 01fb88b024..e1912b71da 100644\r\n--- a/base/compiler/typeinfer.jl\r\n+++ b/base/compiler/typeinfer.jl\r\n@@ -594,6 +594,11 @@ function typeinf_type(method::Method, @nospecialize(atypes), sparams::SimpleVect\r\n             inf = code.inferred\r\n             if !isa(inf, CodeInfo) || (inf::CodeInfo).inferred\r\n                 i == 2 && ccall(:jl_typeinf_end, Cvoid, ())\r\n+                println(\"typeinf_type code = \", code)\r\n+                println(\"typeinf_type \", method, \" code.rettype = \", code.rettype)\r\n+                println(\"typeinf_type \", code.inferred)\r\n+                println(\"typeinf_type \", ccall(:jl_uncompress_ast, Any, (Any, Any), method,\r\n+                                               code.inferred::Vector{UInt8}))\r\n                 return code.rettype\r\n             end\r\n         end\r\n```\r\n\r\nI get the following output:\r\n\r\n```\r\njulia> using Revise; Revise.track(Base.Core.Compiler);\r\n\r\njulia> Base.return_types(rem, (UInt128, UInt128))\r\ntypeinf_type code = rem(UInt128, UInt128)\r\ntypeinf_type Base.rem(...) code.rettype = Any\r\ntypeinf_type Array{UInt8, (105,)}[0x08, 0x03, 0x00, 0x00, 0x00, 0x23, 0x73, 0x65, 0x6c, 0x66, 0x23, 0x00, 0x78, 0x00, 0x79, 0x00, 0x16, 0x84, 0xb0, 0xea, 0x09, 0x03, 0x3c, 0x11, 0x02, 0x1d, 0x11, 0x00, 0x05, 0x02, 0x00, 0x09, 0x03, 0x3c, 0x11, 0x02, 0x1d, 0x11, 0x00, 0x05, 0x03, 0x00, 0x2d, 0x1d, 0x85, 0x03, 0x01, 0x03, 0x02, 0x2c, 0x1d, 0x1c, 0xf4, 0x03, 0x03, 0x09, 0x01, 0x3e, 0x03, 0x04, 0x39, 0x16, 0x84, 0xb0, 0xea, 0x3a, 0x3a, 0x3a, 0x3a, 0x3a, 0x16, 0x84, 0xac, 0x26, 0x00, 0x2e, 0x2e, 0x20, 0x85, 0x4d, 0x2b, 0x0a, 0x03, 0xab, 0x16, 0x01, 0xb0, 0xf6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0x01, 0xae, 0xf6, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01]\r\ntypeinf_type Core.CodeInfo(code=Array{Any, (5,)}[\r\n  Expr(:invoke, (::Type{Base.GMP.BigInt})(UInt128), Base.BigInt, Core.SlotNumber(id=2)),\r\n  Expr(:invoke, (::Type{Base.GMP.BigInt})(UInt128), Base.BigInt, Core.SlotNumber(id=3)),\r\n  Expr(:call, Base.rem, SSAValue(1), SSAValue(2)),\r\n  Expr(:call, Base.UInt128, SSAValue(3)),\r\n  Expr(:return, SSAValue(4))], codelocs=Array{Int32, (5,)}[1, 1, 1, 1, 1], method_for_inference_limit_heuristics=nothing, ssavaluetypes=Array{Any, (5,)}[\r\n  Any,\r\n  Any,\r\n  Any,\r\n  Any,\r\n  Any], linetable=Array{Core.LineInfoNode, (1,)}[Core.LineInfoNode(mod=Base, method=:rem, file=Symbol(\"int.jl\"), line=778, inlined_at=0)], ssaflags=Array{UInt8, (5,)}[0x00, 0x00, 0x00, 0x00, 0x00], slotflags=Array{UInt8, (3,)}[0x00, 0x00, 0x00], slotnames=Array{Any, (3,)}[\r\n  Symbol(\"#self#\"),\r\n  :x,\r\n  :y], inferred=true, inlineable=false, propagate_inbounds=false, pure=false)\r\n1-element Array{Any,1}:\r\n Any\r\n```\r\n\r\nGiven these `BigInt` in here, perhaps this comes down to a weird interaction with the patch in 6fa3e4553"}}
{"actor":{"display_login":"c42f"}}