Add soak-test CI job for insights-runtime-extractor - #82056
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughAdds a scheduled ChangesSoak-test CI integration
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@ci-operator/config/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main.yaml`:
- Around line 109-112: Update the soak-test clone command in the CI execution
block to remove GIT_SSL_NO_VERIFY, configure Git to trust the approved GitLab
CA, and check out a reviewed immutable commit rather than the mutable default
branch before executing the cloned scripts. Keep the existing script permission
and run steps unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: dd435cda-cf79-46f0-a7fb-150936dd695a
📒 Files selected for processing (1)
ci-operator/config/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main.yaml
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: IshwarKanse 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 |
|
/pj-rehearse pull-ci-openshift-insights-runtime-extractor-main-soak-test |
|
@IshwarKanse: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
3f49d7c to
881aa9a
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (1)
ci-operator/config/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main.yaml (1)
107-110:⚠️ Potential issue | 🔴 CriticalThe TLS-verification bypass remains present.
GIT_SSL_NO_VERIFY=truepermits MITM/certificate-substitution attacks, and the command executes code cloned from the mutable default branch. This is the same unresolved security issue reported in the previous review; trust the approved GitLab CA and pin the clone to a reviewed commit.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@ci-operator/config/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main.yaml` around lines 107 - 110, Update the commands block for the soak-test clone to remove GIT_SSL_NO_VERIFY, configure Git to trust the approved GitLab CA, and pin the clone to the reviewed commit rather than the mutable default branch before running run-soak-test.sh.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@ci-operator/config/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main.yaml`:
- Around line 100-101: Update the soak-test scheduling configuration to prevent
the cron expression from triggering on every Monday and on the specified
day-of-month ranges; implement a runtime guard or use a scheduling mechanism
that reliably runs only on biweekly Mondays.
---
Duplicate comments:
In
`@ci-operator/config/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main.yaml`:
- Around line 107-110: Update the commands block for the soak-test clone to
remove GIT_SSL_NO_VERIFY, configure Git to trust the approved GitLab CA, and pin
the clone to the reviewed commit rather than the mutable default branch before
running run-soak-test.sh.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 51ad10e2-8538-410c-bbe9-c3bb35454e46
⛔ Files ignored due to path filters (1)
ci-operator/jobs/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main-periodics.yamlis excluded by!ci-operator/jobs/**
📒 Files selected for processing (1)
ci-operator/config/openshift/insights-runtime-extractor/openshift-insights-runtime-extractor-main.yaml
|
/pj-rehearse periodic-ci-openshift-insights-runtime-extractor-main-soak-test |
|
@IshwarKanse: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse |
|
@IshwarKanse: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
fe273c6 to
92bcfa6
Compare
|
/pj-rehearse list |
|
@IshwarKanse: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse list |
|
@IshwarKanse: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
dcafa6a to
7e97c6a
Compare
|
/pj-rehearse ack |
|
@IshwarKanse: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse list |
|
@IshwarKanse: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/cc |
|
Hey @IshwarKanse, do you think the soak test is worth running periodically? We already have some of the runtime-extractor tests defined here, and they're run periodically to catch regressions in the component. The results are then displayed on the Sippy dashboard. |
|
@opokornyy The existing periodic tests validate functional correctness. The soak test specifically targets memory leak detection over extended runtime (~60 min, 121 iterations), which the existing short-lived tests don't cover. That said, we can make it on-demand instead of periodic — use a cron entry that never triggers and run the job on demand via the Gangway API whenever we want to check for memory regressions. This is an initial PR to get the job definition in place. Since I'm not in the OWNERS file for this config, I'm unable to trigger a rehearsal to validate the job. Once this PR is merged, I'll create a follow-up PR to:
|
7e97c6a to
7df451b
Compare
7df451b to
51711de
Compare
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
Summary
soak-testCI job to theinsights-runtime-extractormain branch configipi-aws, clones the soak-test scripts from GitLab, deploys the extractor DaemonSet + Spring Boot workload, and runs 121 extraction iterations over ~60 minutes to detect memory leaksalways_run: falseandoptional: trueso it doesn't block PRs — must be triggered manuallyTest plan
soak-testjob on a test PR to verify end-to-end execution$ARTIFACT_DIR🤖 Generated with Claude Code
Summary by CodeRabbit
insights-runtime-extractormain branch by adding a scheduledsoak-testjob under thetestslist.cluster_profile: openshift-org-aws) using theipi-awsworkflow, and is scheduled via cron30 4 1-7,15-21 * 1(Mondays at 04:30 UTC / 10:00 AM IST).https://gitlab.cee.redhat.com/ikanse/soak-test.gitinto/tmp/soak-test(withGIT_SSL_NO_VERIFY=true) and runs./ci/run-soak-test.sh.INSIGHTS_RUNTIME_EXPORTERandINSIGHTS_RUNTIME_EXTRACTOR, runs fromfrom: src, requestscpu: 100m, and sets the test timeout to1h30m0s.