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

Strange failing tests behaviour #34330

Closed
nico202 opened this issue Jan 9, 2020 · 1 comment
Closed

Strange failing tests behaviour #34330

nico202 opened this issue Jan 9, 2020 · 1 comment

Comments

@nico202
Copy link
Contributor

nico202 commented Jan 9, 2020

Hi, I'm compiling julia on Guix.
When I run all tests those 3 are failing:
"exceptions" "client" "stacktraces"

(using 1 runner)
Errors are along those lines:

Error in testset exceptions:
Test Failed at /tmp/guix-build-julia-1.3.1.drv-0/julia-1.3.1/test/exceptions.jl:11
  Expression: length(catch_stack()) == 1
   Evaluated: 2 == 1
Error During Test at /tmp/guix-build-julia-1.3.1.drv-0/julia-1.3.1/test/exceptions.jl:43
  Test threw exception
  Expression: ((stack[1])[1]).msg == "RootCause"
  type String has no field msg
  Stacktrace:
   [1] getproperty(::String, ::Symbol) at ./Base.jl:20
   [2] top-level scope at /tmp/guix-build-julia-1.3.1.drv-0/julia-1.3.1/test/exceptions.jl:43
   [3] top-level scope at /tmp/guix-build-julia-1.3.1.drv-0/julia-1.3.1/usr/share/julia/stdlib/v1.3/Test/src/Test.jl:1107
   [4] top-level scope at /tmp/guix-build-julia-1.3.1.drv-0/julia-1.3.1/test/exceptions.jl:8
  caused by [exception 3]
1/test/testdefs.jl:20\n")
Error in testset stacktraces:
Test Failed at /tmp/guix-build-julia-1.3.1.drv-0/julia-1.3.1/test/stacktraces.jl:56
  Expression: catch_backtrace() == StackFrame[]
   Evaluated: Union{Ptr{Nothing}, Base.InterpreterIP}[Ptr{Nothing} @0x00007ffff7b7313b, Ptr{Nothing} @0x00007ffff7b4c514, Ptr{Nothing} @0x00007fffcfc55ceb, Ptr{Nothing} @0x00007fffcf
c55d3d, Ptr{Nothing} @0x00007ffff7b3090c, Ptr{Nothing} @0x00007ffff7c68a8e, Ptr{Nothing} @0x00007ffff7c686e0, Ptr{Nothing} @0x00007ffff7c69214, Ptr{Nothing} @0x00007ffff7c6984f, Ptr{
Nothing} @0x00007ffff7c69a1f  …  Ptr{Nothing} @0x00007ffff7b3f784, Ptr{Nothing} @0x00007fffe64781bf, Ptr{Nothing} @0x00007ffff7b30cac, Ptr{Nothing} @0x00007ffff7b3f784, Ptr{Nothing} 
@0x00007fffe6478048, Ptr{Nothing} @0x00007ffff7b30cac, Ptr{Nothing} @0x00007fffe6475533, Ptr{Nothing} @0x00007ffff7b3090c, Ptr{Nothing} @0x00007ffff7b4c389, Ptr{Nothing} @0x000000000
0000000] == Base.StackTraces.StackFrame[]
Error in testset precompile:
Error During Test at none:1
  Test threw exception

(full log here)

The interesting thing is that, if running just those 3 tests they pass. Any pointer on what's going on?

Thanks, Nicolò

@nico202
Copy link
Contributor Author

nico202 commented Jan 9, 2020

Adding details:

  • running core + [ "backtrace", "exceptions", "client", "stacktraces" ] -> failing tests
  • running all but core + [ "backtrace", "exceptions", "client", "stacktraces" ] -> passing tests

I'm working around it by running "core" last, but I'd like to understand more about it

@nico202 nico202 closed this as completed Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant