Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intermittent type inference of Any in CI #23371

Closed
fredrikekre opened this issue Aug 20, 2017 · 3 comments · Fixed by #23912
Closed

intermittent type inference of Any in CI #23371

fredrikekre opened this issue Aug 20, 2017 · 3 comments · Fixed by #23912
Labels
bug Indicates an unexpected problem or unintended behavior compiler:inference Type inference priority This should be addressed urgently test This change adds or pertains to unit tests

Comments

@fredrikekre
Copy link
Member

Seen this a couple of times on the circle-ci and the bsd worker, opening an issue to track it. Stacktrace:

Error During Test
  Got an exception of type LoadError outside of a @test
  LoadError: return type RowVector{Float64,Array{Float64,1}} does not match inferred return type Any
  Stacktrace:
   [1] include_relative(::Module, ::String) at ./loading.jl:464
   [2] eval(::Module, ::Any) at ./boot.jl:291
   [3] ==(::Array{Any,1}, ::Array{String,1}) at ./abstractarray.jl:0
   [4] warn at ./util.jl:583 [inlined]
   [5] choosetests(::Array{String,1}) at /usr/home/julia/worker/11rel-amd64/build/test/choosetests.jl:156
   [6] vect at ./array.jl:96 [inlined]
   [7] choosetests(::Array{String,1}) at /usr/home/julia/worker/11rel-amd64/build/test/choosetests.jl:151
   [8] choosetests(::Array{String,1}) at /usr/home/julia/worker/11rel-amd64/build/test/choosetests.jl:154
   [9] choosetests(::Array{String,1}) at /usr/home/julia/worker/11rel-amd64/build/test/choosetests.jl:52
  while loading /usr/home/julia/worker/11rel-amd64/build/test/statistics.jl, in expression starting on line 177

Some logs: https://gist.github.com/fredrikekre/9c80c0504e12aa7acb0fd4443b3f3fec

@andreasnoack
Copy link
Member

Has anybody seen this locally?

@fredrikekre
Copy link
Member Author

No, but I have tried quite a lot on both mac and linux (both 64-bit). It is quite common on the workers now though, both on 64 and 32 bit IIRC.

@andreasnoack
Copy link
Member

It is quite common on the workers now though, both on 64 and 32 bit IIRC

Exactly. It is all over the place now but I can't reproduce locally. I've tried a couple of systems. Test failures that only happen on CI are pretty annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior compiler:inference Type inference priority This should be addressed urgently test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants