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

make test-Test fails #36857

Closed
vtjnash opened this issue Jul 30, 2020 · 1 comment
Closed

make test-Test fails #36857

vtjnash opened this issue Jul 30, 2020 · 1 comment
Labels
kind:regression Regression in behavior compared to a previous version test This change adds or pertains to unit tests testsystem The unit testing framework and Test stdlib
Milestone

Comments

@vtjnash
Copy link
Sponsor Member

vtjnash commented Jul 30, 2020

Testing Test fails if it's not run on CI (which forces depwarn=error). Regression caused by #35362

Jameson:test jameson$ ../julia --depwarn=no runtests.jl Test
Test  (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
Test       (1) |        started at 2020-07-30T13:32:11.610
Mock for testing retval of record(::DefaultTestSet, ::T <: Result) methods: Error During Test at An Error Mock:0

Mock for testing retval of record(::DefaultTestSet, ::T <: Result) methods: Test Failed at A Fail Mock:0
  Expression: 1
   Evaluated: 2
Stacktrace:
 [1] record(ts::Test.DefaultTestSet, t::Union{Test.Error, Test.Fail})
   @ Test ~/julia1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:773
 [2] macro expansion
   @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:265 [inlined]
 [3] macro expansion
   @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1114 [inlined]
 [4] top-level scope
   @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:259
@test_deprecated: Test Failed at /Users/jameson/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:807
  Expression: length(fails) == 2
   Evaluated: 0 == 2
Stacktrace:
 [1] top-level scope
   @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:807
 [2] top-level scope
   @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1114
 [3] top-level scope
   @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:797
@test_deprecated: Error During Test at /Users/jameson/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:808
  Test threw exception
  Expression: fails[1] isa Test.LogTestFailure
  BoundsError: attempt to access 0-element Vector{Any} at index [1]
  Stacktrace:
   [1] getindex(A::Vector{Any}, i1::Int64)
     @ Base ./array.jl:809
   [2] top-level scope
     @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:808
   [3] top-level scope
     @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1114
   [4] top-level scope
     @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:797
  
@test_deprecated: Error During Test at /Users/jameson/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:809
  Test threw exception
  Expression: fails[2] isa Test.LogTestFailure
  BoundsError: attempt to access 0-element Vector{Any} at index [2]
  Stacktrace:
   [1] getindex(A::Vector{Any}, i1::Int64)
     @ Base ./array.jl:809
   [2] top-level scope
     @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:809
   [3] top-level scope
     @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1114
   [4] top-level scope
     @ ~/julia1/usr/share/julia/stdlib/v1.6/Test/test/runtests.jl:797
  
Test       (1) |         failed at 2020-07-30T13:32:42.283
Test Summary: | Pass  Fail  Error  Broken  Total
  Overall     |  326     1      2      14    343
    Test      |  326     1      2      14    343
    FAILURE
@vtjnash vtjnash added test This change adds or pertains to unit tests kind:regression Regression in behavior compared to a previous version testsystem The unit testing framework and Test stdlib labels Jul 30, 2020
@vtjnash vtjnash added this to the 1.6 features milestone Oct 6, 2020
@vtjnash
Copy link
Sponsor Member Author

vtjnash commented Oct 6, 2020

Fixed by #37787

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:regression Regression in behavior compared to a previous version test This change adds or pertains to unit tests testsystem The unit testing framework and Test stdlib
Projects
None yet
Development

No branches or pull requests

2 participants