Skip to content

[llvm][cas] Implement a CAS stress tester #10606

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

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

cachemeifyoucan
Copy link

@cachemeifyoucan cachemeifyoucan commented May 1, 2025

This is a basic tester for CAS ObjectStore that will insert random data into CAS and validate with several configurations randomly generated. It will check:

  • multi-threaded insertion
  • multi-process insertion
  • try randomly kill the subprocesses that are inserting data

And make sure it doesn't leave CAS in an invalid state. Suggested usage:

LLVM_CAS_LOG=2 llvm-cas-test --cas-path=... --print-config
@cachemeifyoucan cachemeifyoucan changed the title [llvm][cas] Implement basic fuzzer May 7, 2025
This is a basic tester for CAS ObjectStore that will insert random data
into CAS and validate with several configurations randomly generated.
It will check:

* multi-threaded insertion
* multi-process insertion
* try randomly kill the subprocesses that are inserting data

And make sure it doesn't leave CAS in an invalid state. Suggested usage:
```
LLVM_CAS_LOG=2 llvm-cas-test --cas-path=... --print-config
```
@cachemeifyoucan
Copy link
Author

@swift-ci please test llvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants