fix(standalone): decouple evidence paths and harden gate scripts
Switch acceptance/fault/release scripts to project-local .sisyphus evidence roots and remove parent-repo path assumptions. Also harden deterministic behavior with run-id-derived port allocation and tuned fault thresholds so release gate pass and injected-failure flows remain stable in standalone execution.
This commit is contained in:
@@ -34,13 +34,13 @@ sudo pacman -S cmake gstreamer gst-plugins-base gst-plugins-good \
|
||||
### Build
|
||||
|
||||
```bash
|
||||
cmake -B downstream/cvmmap-streamer/build -S downstream/cvmmap-streamer
|
||||
cmake --build downstream/cvmmap-streamer/build
|
||||
cmake -B build -S .
|
||||
cmake --build build
|
||||
```
|
||||
|
||||
**Verify binaries exist:**
|
||||
```bash
|
||||
ls -la downstream/cvmmap-streamer/build/{cvmmap_sim,cvmmap_streamer,rtp_receiver_tester,rtmp_stub_tester}
|
||||
ls -la build/{cvmmap_sim,cvmmap_streamer,rtp_receiver_tester,rtmp_stub_tester}
|
||||
```
|
||||
|
||||
### Mandatory Acceptance (Standalone)
|
||||
@@ -48,7 +48,6 @@ ls -la downstream/cvmmap-streamer/build/{cvmmap_sim,cvmmap_streamer,rtp_receiver
|
||||
Run the full mandatory acceptance suite. This executes the complete protocol/codec matrix without requiring external servers.
|
||||
|
||||
```bash
|
||||
cd downstream/cvmmap-streamer
|
||||
./scripts/acceptance_standalone.sh
|
||||
```
|
||||
|
||||
@@ -66,7 +65,6 @@ cd downstream/cvmmap-streamer
|
||||
Run the fault injection and latency validation suite.
|
||||
|
||||
```bash
|
||||
cd downstream/cvmmap-streamer
|
||||
./scripts/fault_suite.sh
|
||||
```
|
||||
|
||||
@@ -242,7 +240,7 @@ Always use `downstream/cvmmap-streamer/build` for the build directory. Using the
|
||||
### Fresh Configure
|
||||
If you encounter configure errors referencing sibling repo paths, run:
|
||||
```bash
|
||||
cmake --fresh -B downstream/cvmmap-streamer/build -S downstream/cvmmap-streamer
|
||||
cmake --fresh -B build -S .
|
||||
```
|
||||
|
||||
## Optional Server Smoke Tests
|
||||
@@ -257,7 +255,7 @@ If the server environment is unavailable, these tests should be skipped without
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
downstream/cvmmap-streamer/
|
||||
cvmmap-streamer/
|
||||
├── CMakeLists.txt # Build configuration
|
||||
├── README.md # This file
|
||||
├── docs/
|
||||
@@ -314,6 +312,6 @@ Each run creates timestamped subdirectories with full logs for every matrix row
|
||||
## References
|
||||
|
||||
- [Enhanced RTMP Specification](https://github.com/veovera/enhanced-rtmp)
|
||||
- [cv-mmap IPC Contract](../../docs/cvmmap.ksy)
|
||||
- [cv-mmap IPC Contract](https://github.com/k2wanko/cv-mmap/blob/main/docs/cvmmap.ksy)
|
||||
- SRS Documentation: https://ossrs.io/lts/en-us/docs/v7/doc/rtmp
|
||||
- ZLMediaKit: https://github.com/ZLMediaKit/ZLMediaKit
|
||||
|
||||
Reference in New Issue
Block a user