fix package fault injection log parser in db stress fbpkg (#14874)#14874
fix package fault injection log parser in db stress fbpkg (#14874)#14874mszeszko-meta wants to merge 1 commit into
Conversation
|
@mszeszko-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D109346224. |
✅ clang-tidy: No findings on changed linesCompleted in 0.0s. |
…4874) Summary: ### Problem RocksDB [alert](https://www.internalfb.com/monitoring/alert/?alert_id=twshared38314.04.ldc2%40%23%24host_health.crashlooping_key.tw_agent.tw_agent.task_failure.app.count.60%40%23%24uhc%3A%20tupperware%20task%20crashlooping) fired for `tsp_ldc/RocksDB/rocks_on_ws_stress_test` after the job started crashlooping with `ModuleNotFoundError: No module named fault_injection_log_parser`. ### RCA D101973626 added `import fault_injection_log_parser` to `db_crashtest.py`, but `rocksdb_db_stress_internal_repo` only packaged `crashtest.py` and `rocks_db_stress`, so the `release_test` fbpkg rolled to TW without the new helper module. ### Fix Export `tools/fault_injection_log_parser.py` and include it in the `rocksdb_db_stress_internal_repo` fbpkg `path_actions` so it is installed next to `crashtest.py`; also add the BUCKLINT-required `network_access = network_access_utils.none()` on the existing `db_stress_auto_tuner_test` target. Reviewed By: xingbowang Differential Revision: D109346224
aee73e6 to
24ec993
Compare
🟡 Codex Code ReviewAuto-triggered after CI passed — reviewing commit 24ec993 ❌ Codex review failed before producing findings. ℹ️ About this responseGenerated by Codex CLI. Limitations:
Commands:
|
✅ Claude Code ReviewAuto-triggered after CI passed — reviewing commit 24ec993 SummaryCorrect and minimal fix for a packaging bug. The PR adds the missing No high-severity findings. Full review (click to expand)Findings🟢 LOW / NITNo issues found. The change is correct. Verification
Positive Observations
ℹ️ About this responseGenerated by Claude Code. Limitations:
Commands:
|
|
This pull request has been merged in 30f42e0. |
Problem
RocksDB alert fired after the job started crashlooping with
ModuleNotFoundError: No module named fault_injection_log_parser.RCA
#14651 added
import fault_injection_log_parsertodb_crashtest.py, butrocksdb_db_stressonly packagedcrashtest.pyandrocks_db_stress, so therelease_testfbpkg rolled to TW without the new helper module.Fix
Export
tools/fault_injection_log_parser.pyand include it in therocksdb_db_stressfbpkgpath_actionsso it is installed next tocrashtest.py.Reviewed By: xingbowang
Differential Revision: D109346224