sergehuber opened a new pull request, #770: URL: https://github.com/apache/unomi/pull/770
## Summary - Adds `archive-it-run.sh` to capture IT run artifacts (Karaf logs, failsafe reports, engine config, build trace) before the next build wipes `itests/target/` - Adds `compare-it-runs.sh` to diff two or more captured runs and classify each test as consistently failing, consistently passing, or flaky - Adds `kt.sh` (backported from unomi-3-dev) for live Karaf inspection during a run: log, tail, grep, start, stop, debug - Adds a build trace to `build.sh` that records the exact Maven options, search engine, heap sizes, and flags for every IT run - Adds shared shell libraries (`it-run-lib.sh`, `it-run-karaf-lib.sh`, `it-run-context-lib.sh`, `it-run-compare-lib.sh`, `it-run-bootstrap.sh`, `it-run-ui.sh`) used by the above scripts - Updates `itests/README.md` with a full overview of how the IT suite works, how to write tests (BaseIT API, polling helpers, HTTP helpers, log checking), and documentation for all new tooling ## Notes - All tooling is opt-in and has no impact on the normal build or CI pipeline - `itests/archives/` is gitignored - Related JIRA: https://issues.apache.org/jira/browse/UNOMI-944 ## Test plan - [ ] Run `./build.sh --integration-tests` and verify `itests/target/it-run-trace.properties` is written - [ ] Run `./itests/archive-it-run.sh` after a completed IT run and verify the archive is created under `itests/archives/` - [ ] Run `./itests/compare-it-runs.sh --last 2` with two captures and verify the comparison report - [ ] Run `./itests/kt.sh help` and verify it locates the Karaf directory -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
