RHOAIENG-102547: Automate live E2E deployment and testing #10
All Vouch review confidence checks passed
Residual risk 0.40 = Change Risk (0.75) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.75 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.075
Real PR Conversation Timeline
1 comments
"Review active on #10"
general
weight: 0.35
Sridhar1030
Summary
Implements manually invoked live E2E automation for RHOAIENG-102547, separately from merged PR #8. Default tests/CI remain unit-only; no Jenkins integration.
make test-e2etests an existing deployment.make test-e2e-deployautomates Podman build, Quay push, digest-pinned Helm deployment and live HTTP tests. Explicit--reuse-image IMAGE@sha256:DIGESTskips build/push when service build inputs are unchanged.--keep-resourcesretains debugging resources;--keep-deploymentremains an alias. Temporary registry credentials are removed even when resources are retained.--use-podman-authsupports private Quay images: resolve only the local Quay credential, send it in memory to a temporary namespace-local pull Secret and attach references to the service/fixtures/default ServiceAccount. No credential files, Secret values, tokens or personal configuration are committed or copied into evidence/Helm history. Honor existing kubeconfig TLS settings with a clear warning for insecure development connections; block HTTP DEBUG logging. Route/Ray gateway verification remains enabled.tests/e2e/examples/. Keep the internal test plan out of the PR. Existing-deployment tests preserve customer namespaces/storage. No shared operators, DSC, ClusterQueues, ResourceFlavors, StorageClasses, CRDs or registry visibility are changed.Review feedback addressed
oc auth can-iexit 1 withnoas a denied permission, allowing resource-specific guidance; connection/authentication failures remain errors.Run
After cluster/Podman/Quay login and preparing credential-free values:
Omit
--namespacefor an automatically generated fresh name; existing namespaces are never adopted. Omit--use-podman-authfor public images. Add--keep-resourcesonly when retaining test resources for debugging. Seetests/e2e/README.mdfor prerequisites, image reuse and existing-deployment profiles.Validation
SUCCEEDED; snapshot/SSE logs, two LoRA checkpoints and observed GPU cleanup passed. Namespace, test PVC/PV, credentials, deployment and chart RBAC were removed and independently checked absent.RemoteProtocolError; it remained failed with evidence preserved and cleaned its resources. A complete fresh rerun passed; no automatic POST replay or failure-hiding retry was added.[RHOAIENG-102547]: https://redhat.atlassian.net/browse/RHOAIENG-102547?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Training Service deployments can now be configured with additional pod volumes and container mounts.
Added commands for running live end-to-end checks against an existing service or a fresh deployment.
Documentation
Added guidance, examples, and operational requirements for end-to-end testing, including deployment setup, TLS, cleanup, and test coverage.
Tests
* Added checks for service API behavior, training-job lifecycles, deployment workflows, and related operational safeguards.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->