Skip to content

4.22#80442

Open
TimurMP wants to merge 11 commits into
openshift:mainfrom
TimurMP:ptp-422
Open

4.22#80442
TimurMP wants to merge 11 commits into
openshift:mainfrom
TimurMP:ptp-422

Conversation

@TimurMP

@TimurMP TimurMP commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

This PR updates OpenShift CI infrastructure for the telcov10n CNF RAN PTP (SNO) functional/eco-gotests workflow targeting OpenShift 4.22 (in ci-operator/config/openshift-kni/eco-ci-cd and related telcov10n step scripts).

What changed (practically):

  • Longer eco-gotests execution time: Increased the eco-gotests PTP Ansible test_timeout from 10m to 2h to prevent timeouts on slower/longer 4.22 runs.
  • More accurate JUnit report labeling: Added a per-cycle sed -i update so report_testrun.xml replaces the JUnit testsuite name “Aggregated Report” with the current ${CYCLE_NAME}, improving report-to-cycle traceability.
  • Fix/adjust 4.22 reporter template naming: Updated the REPORTER_TEMPLATE_NAME used by the workflow’s tests step so the 4.22 telco FT RAN PTP reports are formatted/labeled correctly (with the 4.22 component placement corrected).
  • Minor script non-functional tweak: Added a comment line in the telcov10n functional report commands script right after the skip.txt detection/early-exit block, with no behavioral changes.

These updates are intended to ensure the 4.22 telcov10n PTP SNO test pipeline runs reliably and produces correctly attributed test reports.

@openshift-ci openshift-ci Bot requested review from sosiouxme and xueqzhan June 11, 2026 20:04
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It 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 reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

This PR updates telcov10n CI infrastructure with four focused changes: extending the PTP test timeout from 10 minutes to 2 hours, customizing JUnit report testsuite naming to use cycle identifiers, adding documentation to the report script, and reformatting the reporter template configuration.

Changes

Telcov10n CI Infrastructure Updates

Layer / File(s) Summary
PTP test execution and report customization
ci-operator/step-registry/telcov10n/functional/cnf-ran/eco-gotests-ptp-sno/telcov10n-functional-cnf-ran-eco-gotests-ptp-sno-commands.sh
Test timeout extended from 10m to 2h in the ansible-playbook extra variables. A sed command is added to update the JUnit testsuite name in each cycle's report_testrun.xml from Aggregated Report to the corresponding ${CYCLE_NAME} before artifact handling.
Report script documentation and reporter template configuration
ci-operator/step-registry/telcov10n/functional/cnf-ran/report/telcov10n-functional-cnf-ran-report-commands.sh, ci-operator/config/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main__cnf-ran-ptp-sno-4.22.yaml
Clarifying comment line added after the skip.txt early-exit block in the report script. REPORTER_TEMPLATE_NAME environment variable updated to include PTPPP in the template name and reformatted with the 4.22 version moved to a separate indented line.

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly Related PRs

Suggested Labels

lgtm, rehearsals-ack

Suggested Reviewers

  • kononovn
🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title '4.22' is extremely vague and does not clearly describe the actual changes made in the pull request. Replace the title with a descriptive summary of the changes, such as 'Update PTP test configuration and timeouts for OpenShift 4.22' or 'Update REPORTER_TEMPLATE_NAME and test timeout for CNF RAN PTP 4.22'.
✅ Passed checks (14 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed PR modifies only shell scripts and YAML configs; no Ginkgo test files with potentially dynamic test titles are present or modified.
Test Structure And Quality ✅ Passed The custom check requires reviewing Ginkgo test code, but this PR modifies only bash scripts and YAML configuration files. No Ginkgo test code exists in the PR changes, making the check not applica...
Microshift Test Compatibility ✅ Passed This PR contains only bash scripts and YAML CI config files—no Ginkgo e2e tests are added. The check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR contains only CI/CD infrastructure changes (shell scripts, YAML configs) with no Ginkgo e2e tests added. Check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed The PR contains only CI/CD test configuration and orchestration scripts, not deployment manifests, operator code, or controllers. The check is not applicable as it targets scheduling constraints in...
Ote Binary Stdout Contract ✅ Passed PR contains only shell scripts and YAML config files; OTE Binary Stdout Contract check applies only to Go OTE binaries, not shell/config files.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR does not add any Ginkgo e2e tests. The changes are limited to shell scripts and YAML configuration files for CI/CD infrastructure. The check is not applicable to this PR.
No-Weak-Crypto ✅ Passed No weak cryptography detected. Changes are CI/CD configuration updates with no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, or custom crypto implementations.
Container-Privileges ✅ Passed PR contains shell scripts and CI/CD config—not K8s manifests. No privileged container settings (privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation, runAsUser: 0) found.
No-Sensitive-Data-In-Logs ✅ Passed All three modified files contain no logging of sensitive data such as passwords, tokens, API keys, PII, or session IDs. Performance metrics and configuration variables logged are non-sensitive.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 11, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
ci-operator/step-registry/telcov10n/functional/cnf-ran/report/telcov10n-functional-cnf-ran-report-commands.sh (1)

9-9: 💤 Low value

The added comment lacks clarifying text.

Line 9 contains a bare # with no accompanying explanation. The AI summary indicates this should "provide a clarifying marker," but an empty comment does not convey the intended checkpoint or purpose. Either add explanatory text (e.g., # Skip check complete, proceeding with report processing) or remove the line if not necessary.

🤖 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/step-registry/telcov10n/functional/cnf-ran/report/telcov10n-functional-cnf-ran-report-commands.sh`
at line 9, Replace the bare comment line that contains only a single '#' with a
clarifying comment or remove it; specifically, update the lone '#' in
telcov10n-functional-cnf-ran-report-commands.sh to either include descriptive
text such as "# Skip check complete, proceeding with report processing" (or
another short explanation of the checkpoint/purpose) or delete the line if it
serves no purpose so the file no longer contains an empty comment.
🤖 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.

Nitpick comments:
In
`@ci-operator/step-registry/telcov10n/functional/cnf-ran/report/telcov10n-functional-cnf-ran-report-commands.sh`:
- Line 9: Replace the bare comment line that contains only a single '#' with a
clarifying comment or remove it; specifically, update the lone '#' in
telcov10n-functional-cnf-ran-report-commands.sh to either include descriptive
text such as "# Skip check complete, proceeding with report processing" (or
another short explanation of the checkpoint/purpose) or delete the line if it
serves no purpose so the file no longer contains an empty comment.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: f3cc16d2-a66c-43c5-b604-738568149c64

📥 Commits

Reviewing files that changed from the base of the PR and between 62880b1 and 4dd564e.

📒 Files selected for processing (1)
  • ci-operator/step-registry/telcov10n/functional/cnf-ran/report/telcov10n-functional-cnf-ran-report-commands.sh

@TimurMP

TimurMP commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests

@openshift-ci

openshift-ci Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: TimurMP

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@TimurMP

TimurMP commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: your /pj-rehearse request was not processed because the request waited in queue for longer than 5 minutes. Please retry in a few minutes.

@TimurMP

TimurMP commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@TimurMP

TimurMP commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

@TimurMP: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests 2d84d01 link unknown /pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests
ci/rehearse/periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests d2f0279 link unknown /pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@TimurMP

TimurMP commented Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TimurMP: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@TimurMP: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.20-cnf-ran-ptp-tests N/A periodic Ci-operator config changed
periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-ptp-sno-4.22-cnf-ran-ptp-tests N/A periodic Ci-operator config changed
periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-sno-day2-worker-4.16-cnf-ran-ztp-tests N/A periodic Registry content changed
periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-sno-day2-worker-4.20-cnf-ran-ztp-tests N/A periodic Registry content changed
periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-sno-day2-worker-4.18-cnf-ran-ztp-tests N/A periodic Registry content changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant