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
..
agg_merge
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
backup
Allow manifest fix-up without requiring prior state ( #10796 )
2 years ago
blob_db
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
cassandra
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
checkpoint
Fix race condition with WAL tracking and `FlushWAL(true /* sync */)` ( #10185 )
3 years ago
compaction_filters
Make MergeOperator+CompactionFilter/Factory into Customizable Classes ( #8481 )
3 years ago
convenience
Add a SystemClock class to capture the time functions of an Env ( #7858 )
4 years ago
leveldb_options
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
memory
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
merge_operators
Remove using namespace ( #9369 )
3 years ago
option_change_migration
Option migration tool to break down files for FIFO compaction ( #10600 )
2 years ago
options
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
persistent_cache
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
simulator_cache
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
table_properties_collectors
Remove own ToString() ( #9955 )
3 years ago
trace
Add rate limiter priority to ReadOptions ( #9424 )
3 years ago
transactions
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
ttl
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
write_batch_with_index
Remove timestamp before inserting to WBWI's index ( #10742 )
2 years ago
cache_dump_load.cc
Introduce a mechanism to dump out blocks from block cache and re-insert to secondary cache ( #8912 )
3 years ago
cache_dump_load_impl.cc
Refactor to avoid confusing "raw block" ( #10408 )
2 years ago
cache_dump_load_impl.h
Refactor to avoid confusing "raw block" ( #10408 )
2 years ago
compaction_filters.cc
Restore Regex support for ObjectLibrary::Register, rename new APIs to allow old one to be deprecated in the future ( #9362 )
3 years ago
counted_fs.cc
Fix serious FSDirectory use-after-Close bug (missing fsync) ( #10460 )
2 years ago
counted_fs.h
Explicitly closing all directory file descriptors ( #10049 )
3 years ago
debug.cc
Skip swaths of range tombstone covered keys in merging iterator (2022 edition) ( #10449 )
2 years ago
env_mirror.cc
Fix clang13 build error ( #9374 )
3 years ago
env_mirror_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
env_timed.cc
Make FileSystem a Customizable Class ( #8649 )
3 years ago
env_timed.h
Make FileSystem a Customizable Class ( #8649 )
3 years ago
env_timed_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
fault_injection_env.cc
Explicitly closing all directory file descriptors ( #10049 )
3 years ago
fault_injection_env.h
Explicitly closing all directory file descriptors ( #10049 )
3 years ago
fault_injection_fs.cc
Add missing synchronization in TestFSWritableFile ( #10544 )
2 years ago
fault_injection_fs.h
Add missing synchronization in TestFSWritableFile ( #10544 )
2 years ago
fault_injection_secondary_cache.cc
Avoid recompressing cold block in CompressedSecondaryCache ( #10527 )
2 years ago
fault_injection_secondary_cache.h
add SetCapacity and GetCapacity for secondary cache ( #10712 )
2 years ago
memory_allocators.h
Make MemoryAllocator into a Customizable class ( #8980 )
3 years ago
merge_operators.cc
Restore Regex support for ObjectLibrary::Register, rename new APIs to allow old one to be deprecated in the future ( #9362 )
3 years ago
merge_operators.h
Make MergeOperator+CompactionFilter/Factory into Customizable Classes ( #8481 )
3 years ago
object_registry.cc
Added GetFactoryCount/Names/Types to ObjectRegistry ( #9358 )
3 years ago
object_registry_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
util_merge_operators_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
wal_filter.cc
Make WalFilter, SstPartitionerFactory, FileChecksumGenFactory, and TableProperties Customizable ( #8638 )
3 years ago