[rhoai-2.25] RHAIENG-6036: fix trustyai papermill test CSV paths#2499
Conversation
Fix trusty test by using relative path instead of url. Papermill copies the test directory into the pod; remote 3.11 raw URLs 404. (cherry picked from commit f5327ea) Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning Review limit reached
Next review available in: 38 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai full review |
✅ Action performedFull review finished. Your plan includes PR reviews subject to rate limits. More reviews will be available in 38 minutes. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ide-developer The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
CI failure analysis (run 29087867712)This run did not fail on the CSV-path fix. Build + testcontainers pytest (16 passed) succeeded; failure is in the k8s papermill phase ( What failed (step 32, ~line 346)
The pod was never stable enough to
Root cause (captured in dumped k8s diagnostics)The From Probe config still at defaults: liveness The papermill fairness tests ( Fix pathThis is the probe-timing issue addressed in #2487 ( Locally validated on k3s with Quay image + this branch: papermill passes once probe delay is patched (same class of failure as CI). |
…torch Elyra/TrustyAI startup needs ~12s+ before Jupyter listens on 8888. Default liveness initialDelaySeconds: 5 causes CrashLoopBackOff in k8s papermill CI (make_test.py); pod never becomes Ready for kubectl exec. Set liveness/readiness to initialDelaySeconds: 15 and periodSeconds: 10 (matching jupyter/pytorch/ubi9-python-3.12/kustomize/base/statefulset.yaml on main). Not a trustyai main cherry-pick — trustyai statefulset on main still uses 5/10. Related: #2499 CI analysis, RHAIENG-6041 closed via #2451 (testcontainers). Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
Cherry-pick the trustyai fairness-test data fix from ODH
main(#3070,f5327ea6c): use localincome-unbiased.csv/income-biased.csvinstead of staleubi9-python-3.11raw GitHub URLs that 404 in CI.Also drops the duplicate
read_csvintest_fairnessmetrics(already gone onmaintip via opendatahub-io#3363).Full
cherry-pick -x f5327ea6cdoes not apply — that commit is a large 3.4-ea2 relock; this PR carries only the notebook hunk.Test plan
make test-jupyter-trustyai-ubi9-python-3.12papermill:test_fairnessmetrics+test_datafairnesspassRelated
Made with Cursor