Skip to content

intermittent type inference of Any in CI #23371

@fredrikekre

Description

@fredrikekre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcompiler:inferenceType inferencepriorityThis should be addressed urgentlytestThis change adds or pertains to unit tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions