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

Fix outdated usage of scrubbing for log test failures #50759

Merged

Conversation

serenity4
Copy link
Contributor

Fixes #50755.

@aviatesk aviatesk merged commit bb4929d into JuliaLang:master Aug 2, 2023
1 check passed
@serenity4 serenity4 deleted the serenity4/fix-scrub-backtrace-logging branch August 2, 2023 16:19
@brenhinkeller brenhinkeller added the testsystem The unit testing framework and Test stdlib label Aug 8, 2023
@mkitti
Copy link
Contributor

mkitti commented Mar 2, 2024

This needs a backport @KristofferC

  MethodError: no method matching scrub_backtrace(::Vector{Union{Ptr{Nothing}, Base.InterpreterIP}})
  
  Closest candidates are:
    scrub_backtrace(::Any, ::Any, ::Any)
     @ Test ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:89
  
  Stacktrace:
    [1] record(ts::Test.DefaultTestSet, t::Test.LogTestFailure)
      @ Test ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/logging.jl:152
    [3] macro expansion
      @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [4] macro expansion
      @ ~/.julia/dev/JLLPrefixes/test/runtests.jl:128 [inlined]
    [5] macro expansion
      @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [6] top-level scope
      @ ~/.julia/dev/JLLPrefixes/test/runtests.jl:17
...

julia> versioninfo()
Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × AMD FX(tm)-8350 Eight-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, bdver1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

https://github.com/JuliaLang/julia/blame/bd47eca2c8aacd145b6c5c02e47e2b9ec27ab456/stdlib/Test/src/logging.jl#L152

@IanButterworth IanButterworth added the backport 1.10 Change should be backported to the 1.10 release label Mar 11, 2024
@IanButterworth
Copy link
Sponsor Member

This needs a backport

Agreed. Just hit this in the wild too

KristofferC pushed a commit that referenced this pull request Mar 12, 2024
@KristofferC KristofferC mentioned this pull request Mar 12, 2024
25 tasks
KristofferC added a commit that referenced this pull request Apr 22, 2024
Backported PRs:
- [x] #50759 <!-- Fix outdated usage of scrubbing for log test failures
-->
- [x] #51830 <!-- Add version string to sysimg triple -->
- [x] #53273 <!-- [REPL] Fix typo in using/import completion -->
- [x] #53499 <!-- Avoid compiler warning about redefining jl_globalref_t
-->
- [x] #53424 <!-- yet more atomics & cache-line fixes on work-stealing
queue -->
- [x] #53596 <!-- build: remove extra .a file -->
- [x] #53516 <!-- permit NamedTuple{<:Any, Union{}} to be created -->
- [x] #53643 <!-- Bump CSL to 1.1.1 to fix libgomp bug -->
- [x] #53655 <!-- Change tbaa of ptr_phi to tbaa_value  -->
- [x] #53391 <!-- Default to the medium code model in x86 linux -->
- [x] #53809 <!-- Add missing GC_POP() in emit_cfunction -->
- [x] #53961 <!-- `LazyString` in `LinearAlgebra.checksquare` error
message -->
- [x] #52913 <!-- Added docstring for Artifacts.jl -->
- [x] #53553 <!-- typeintersect: fix `UnionAll` unaliasing bug caused by
@KristofferC KristofferC mentioned this pull request May 8, 2024
23 tasks
@KristofferC KristofferC removed the backport 1.10 Change should be backported to the 1.10 release label May 8, 2024
Drvi pushed a commit to RelationalAI/julia that referenced this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testsystem The unit testing framework and Test stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Test] broken Test.scrub_backtrace call
6 participants