-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
3
-
False
-
-
False
-
Not Selected
-
ToDo
-
-
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
-
None
Description:
Enhance automation runs by introducing background log collection for the target namespace and scanning logs for errors before suite completion.
Requirements:
- Use Stern([*https://github.com/stern/stern*])to continuously capture logs fromĀ the specified $namespace
- Save collected logs to a fileĀ
- Ensure the log capture runs in the background throughout the automation suite.
- Add a Ginkgo AfterSuite hook to:
-
- Stop the background log capture process.
-
- Scan the saved log file for unintended errors (e.g., Error, CrashLoopBackOff, panic, Failed).
-
- Report all detected errors in the test output (with context from logs).
-
- Upload the captured log file as a CI artifact for easier debugging and post-run analysis.
Acceptance Criteria:
- Logs for the given $namespace are saved for every automation run.
- Any unintended errors found in logs are clearly reported in the test output.
- Background log capture process terminates cleanly at the end of the run.
- is related to
-
OADP-6700 reconcile errors in the oadp-non-admin controller as backups are created.
-
- New
-