You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter Dillinger
e466173d5c
Print stack traces on frozen tests in CI ( #10828 )
...
Summary:
Instead of existing calls to ps from gnu_parallel, call a new wrapper that does ps, looks for unit test like processes, and uses pstack or gdb to print thread stack traces. Also, using `ps -wwf` instead of `ps -wf` ensures output is not cut off.
For security, CircleCI runs with security restrictions on ptrace (/proc/sys/kernel/yama/ptrace_scope = 1), and this change adds a work-around to `InstallStackTraceHandler()` (only used by testing tools) to allow any process from the same user to debug it. (I've also touched >100 files to ensure all the unit tests call this function.)
Pull Request resolved: https://github.com/facebook/rocksdb/pull/10828
Test Plan: local manual + temporary infinite loop in a unit test to observe in CircleCI
Reviewed By: hx235
Differential Revision: D40447634
Pulled By: pdillinger
fbshipit-source-id: 718a4c4a5b54fa0f9af2d01a446162b45e5e84e1
2 years ago
..
delete_scheduler.cc
Add new property in IOOptions to skip recursing through directories and list only files during GetChildren. ( #10668 )
2 years ago
delete_scheduler.h
Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines ( #8033 )
4 years ago
delete_scheduler_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
file_prefetch_buffer.cc
Async optimization in scan path ( #10602 )
2 years ago
file_prefetch_buffer.h
Async optimization in scan path ( #10602 )
2 years ago
file_util.cc
Support read rate-limiting in SequentialFileReader ( #9973 )
2 years ago
file_util.h
Set Read rate limiter priority dynamically and pass it to FS ( #9996 )
3 years ago
filename.cc
Sync dir containing CURRENT after RenameFile on CURRENT as much as possible ( #10573 )
2 years ago
filename.h
Sync dir containing CURRENT after RenameFile on CURRENT as much as possible ( #10573 )
2 years ago
line_file_reader.cc
Support read rate-limiting in SequentialFileReader ( #9973 )
2 years ago
line_file_reader.h
Support read rate-limiting in SequentialFileReader ( #9973 )
2 years ago
prefetch_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
random_access_file_reader.cc
Async optimization in scan path ( #10602 )
2 years ago
random_access_file_reader.h
Provide support for direct_reads with async_io ( #10197 )
2 years ago
random_access_file_reader_test.cc
Add rate limiter priority to ReadOptions ( #9424 )
3 years ago
read_write_util.cc
Move old files to warm tier in FIFO compactions ( #8310 )
3 years ago
read_write_util.h
Refactor: add LineFileReader and Status::MustCheck ( #8026 )
4 years ago
readahead_file_info.h
Reuse internal auto readhead_size at each Level (expect L0) for Iterations ( #9056 )
3 years ago
readahead_raf.cc
Make StringEnv, StringSink, StringSource use FS classes ( #7786 )
4 years ago
readahead_raf.h
Make StringEnv, StringSink, StringSource use FS classes ( #7786 )
4 years ago
sequence_file_reader.cc
Support read rate-limiting in SequentialFileReader ( #9973 )
2 years ago
sequence_file_reader.h
Support read rate-limiting in SequentialFileReader ( #9973 )
2 years ago
sst_file_manager_impl.cc
Fix race condition in SstFileManagerImpl error recovery code ( #9435 )
3 years ago
sst_file_manager_impl.h
Fix typo about file/sst_file_manager_impl.h ( #9799 )
3 years ago
writable_file_writer.cc
WritableFileWriter to allow operation after failure when SyncWithoutFlush() is involved ( #10555 )
2 years ago
writable_file_writer.h
Add manual_wal_flush, FlushWAL() to stress/crash test ( #10698 )
2 years ago