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

at-infererred failures in LinAlg/symmetric tests on Julia nightly #356

Closed
simeonschaub opened this issue Feb 10, 2021 · 0 comments · Fixed by #371
Closed

at-infererred failures in LinAlg/symmetric tests on Julia nightly #356

simeonschaub opened this issue Feb 10, 2021 · 0 comments · Fixed by #371
Labels
testing Related to tests

Comments

@simeonschaub
Copy link
Member

simeonschaub commented Feb 10, 2021

Not sure whether this is because some actual implementation in Base changed to make this type unstable, or if type inference actually got worse here (random guess in that case would be JuliaLang/julia#36208).

Testing rulesets/LinearAlgebra/symmetric.jl:	back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, UpperTriangular{Float64, Matrix{Float64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{Float64, Matrix{Float64}}, UpperTriangular{Float64, Matrix{Float64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Any}; output_tangent::Matrix{Float64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{Float64}, ::Tuple{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, LowerTriangular{Float64, Matrix{Float64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{Float64, Matrix{Float64}}, UpperTriangular{Float64, Matrix{Float64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Any}; output_tangent::Matrix{Float64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{Float64}, ::Tuple{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, UpperTriangular{ComplexF64, Matrix{ComplexF64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{ComplexF64, Matrix{ComplexF64}}, UpperTriangular{ComplexF64, Matrix{ComplexF64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Any}; output_tangent::Matrix{ComplexF64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{ComplexF64}, ::Tuple{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, LowerTriangular{ComplexF64, Matrix{ComplexF64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{ComplexF64, Matrix{ComplexF64}}, UpperTriangular{ComplexF64, Matrix{ComplexF64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Any}; output_tangent::Matrix{ComplexF64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{ComplexF64}, ::Tuple{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, UpperTriangular{Float64, Matrix{Float64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{Float64, Matrix{Float64}}, UpperTriangular{Float64, Matrix{Float64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Any}; output_tangent::Matrix{Float64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{Float64}, ::Tuple{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, LowerTriangular{Float64, Matrix{Float64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{Float64, Matrix{Float64}}, UpperTriangular{Float64, Matrix{Float64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{Float64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Any}; output_tangent::Matrix{Float64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{Float64}, ::Tuple{Matrix{Float64}, Matrix{Float64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, UpperTriangular{ComplexF64, Matrix{ComplexF64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{ComplexF64, Matrix{ComplexF64}}, UpperTriangular{ComplexF64, Matrix{ComplexF64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Any}; output_tangent::Matrix{ComplexF64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{ComplexF64}, ::Tuple{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
back(::Matrix{T} where T): Error During Test at /home/simeon/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26
  Got exception outside of a @test
  return type Tuple{Zero, LowerTriangular{ComplexF64, Matrix{ComplexF64}}, DoesNotExist} does not match inferred return type Tuple{Zero, Union{LowerTriangular{ComplexF64, Matrix{ComplexF64}}, UpperTriangular{ComplexF64, Matrix{ComplexF64}}}, DoesNotExist}
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:228
    [3] _test_inferred(::Function, ::Matrix{ComplexF64}, ::Vararg{Any})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:227
    [4] test_rrule(::Type, ::ChainRulesTestUtils.PrimalAndTangent{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Any}; output_tangent::Matrix{ComplexF64}, fdm::FiniteDifferences.AdaptedFiniteDifferenceMethod{5, 1, FiniteDifferences.UnadaptedFiniteDifferenceMethod{7, 5}}, check_inferred::Bool, fkwargs::NamedTuple{(), Tuple{}}, rtol::Float64, atol::Float64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/2QRer/src/testers.jl:172
    [5] rrule_test(::Type, ::Matrix{ComplexF64}, ::Tuple{Matrix{ComplexF64}, Matrix{ComplexF64}}, ::Vararg{Tuple{Any, Any}}; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:check_inferred,), Tuple{Bool}}})
      @ ChainRulesTestUtils ./deprecated.jl:72
    [6] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:27 [inlined]
    [7] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
    [8] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:26 [inlined]
    [9] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [10] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:21 [inlined]
   [11] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1227 [inlined]
   [12] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2 [inlined]
   [13] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [14] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/rulesets/LinearAlgebra/symmetric.jl:2
   [15] include
      @ ./client.jl:451 [inlined]
   [16] macro expansion
      @ ./timing.jl:206 [inlined]
   [17] include_test(path::String)
      @ Main ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:21
   [18] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:48 [inlined]
   [19] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [20] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:44 [inlined]
   [21] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [22] macro expansion
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:27 [inlined]
   [23] macro expansion
      @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1152 [inlined]
   [24] top-level scope
      @ ~/Documents/Julia/JuliaDiff/ChainRules.jl/test/runtests.jl:26
   [25] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [26] top-level scope
      @ none:6
   [27] eval
      @ ./boot.jl:369 [inlined]
   [28] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [29] _start()
      @ Base ./client.jl:492
@simeonschaub simeonschaub changed the title at-infererred failures in LinAlg/symmetric tests at-infererred failures in LinAlg/symmetric tests on Julia nightly Feb 10, 2021
@simeonschaub simeonschaub added the testing Related to tests label Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Related to tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant