Skip to content

OLS-3353 - adding make tls scan job to OLS - #83165

Merged
openshift-merge-bot[bot] merged 5 commits into
openshift:mainfrom
JoaoFula:ols-tls-scan
Aug 13, 2026
Merged

OLS-3353 - adding make tls scan job to OLS#83165
openshift-merge-bot[bot] merged 5 commits into
openshift:mainfrom
JoaoFula:ols-tls-scan

Conversation

@JoaoFula

@JoaoFula JoaoFula commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Adds a tls-scan verification job to the OpenShift Lightspeed service CI configuration.
  • Builds a tls-scan-src image with tls-scanner and /opt/testssl.
  • Runs dependency installation and make tls-scan in the scanner image.
  • Skips the job for documentation-only changes.

@openshift-ci
openshift-ci Bot requested review from joshuawilson and tisnik August 10, 2026 11:07
@coderabbitai

coderabbitai Bot commented Aug 10, 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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Pro Plus

Run ID: 8e97e294-2163-4f28-aa6c-144382c74f7c

📥 Commits

Reviewing files that changed from the base of the PR and between a227503 and 2957f3e.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/openshift/lightspeed-service/openshift-lightspeed-service-main-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift/lightspeed-service/openshift-lightspeed-service-main.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • ci-operator/config/openshift/lightspeed-service/openshift-lightspeed-service-main.yaml

Walkthrough

The Lightspeed service CI configuration adds a TLS scanning image and a tls-scan verification test. The test installs dependencies and runs TLS scanning with existing skip conditions.

Changes

TLS scan verification

Layer / File(s) Summary
Build and run TLS scan verification
ci-operator/config/openshift/lightspeed-service/openshift-lightspeed-service-main.yaml
The configuration adds tls-scan-src with tls-scanner and /opt/testssl. The tls-scan test runs dependency installation and TLS scanning in this image.

Estimated code review effort: 2 (Simple) | ~10 minutes

Mergeability Score: ⚪ Minimal · up to 2957f

This PR makes a localized CI configuration change to add the TLS scan job, with no actionable merge-blocking risk currently identified.

Suggested labels: rehearsals-ack

Suggested reviewers: joshuawilson, tisnik


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Ipv6 And Disconnected Network Test Compatibility ⚠️ Warning The new tls-scan test builds from quay.io/openshift-lightspeed/ols-qe:tls-scanner, a direct public-registry dependency with no mirror or internal image source. Apply the IPv6/disconnected compatibility notice. Use a mirrored internal image, or add [Skipped:Disconnected] if the public dependency cannot be removed.
No-Weak-Crypto ❓ Inconclusive The PR adds TLS scanning tooling and a CI test; it does not introduce MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom crypto, or secret comparisons. Need usable PR diff evidence to confirm the complete changed content.
✅ Passed checks (13 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes adding a TLS scan job for OLS, which matches the new TLS scan image and verification test.
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 The diff adds CI YAML and a static tls-scan job name only; it adds no Ginkgo It, Describe, Context, or When test title and no dynamic value.
Test Structure And Quality ✅ Passed The PR changes only CI YAML and a generated presubmit job; it adds no Ginkgo It blocks, cluster resource setup, waits, or assertions covered by this check.
Microshift Test Compatibility ✅ Passed The PR adds only a TLS-scan CI command, image, and generated Prow job; the added lines contain no Ginkgo tests or MicroShift-incompatible API, namespace, or feature markers.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The diff adds only YAML CI configuration for tls-scan and its presubmit job; it adds no Ginkgo e2e test or multi-node/HA assumption.
Topology-Aware Scheduling Compatibility ✅ Passed The PR changes only a ci-operator image and TLS test; the diff adds no deployment, operator, controller, or topology-related scheduling constraint.
Ote Binary Stdout Contract ✅ Passed The PR changes only CI YAML and adds a TLS-scan command; no OTE binary, main/suite setup, or process-level stdout write is changed.
Container-Privileges ✅ Passed The pull-request diff adds only an image and test definition; it introduces no privileged, host namespace, SYS_ADMIN, allowPrivilegeEscalation, or root execution setting.
No-Sensitive-Data-In-Logs ✅ Passed The diff adds a TLS-scan job only; its script scans localhost with generated certificates and no credentials, tokens, PII, or internal hostnames are logged.
✨ 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.

@JoaoFula

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-lightspeed-service-main-tls-scan

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@JoaoFula

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-lightspeed-service-main-tls-scan

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

The tls-scan CI step was failing because podman cannot create
containers inside unprivileged Prow test pods (exit code 125).

Build a tls-scan-src image via ci-operator that layers the scanner
binary from the QE image onto src, so the script finds it
pre-installed and skips the podman extraction path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@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.

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/lightspeed-service/openshift-lightspeed-service-main.yaml`:
- Around line 9-15: Update extract_scanner() in scripts/tls-scan.sh to first use
the pre-installed /usr/local/bin/tls-scanner and /opt/testssl files when
present, then return without invoking Podman. Preserve the existing podman
create/cp extraction as a fallback when those files are unavailable.
🪄 Autofix

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: Pro Plus

Run ID: 192959d4-ef2e-4bad-a29f-4e410dbbd2c5

📥 Commits

Reviewing files that changed from the base of the PR and between a12dbce and 3b49b02.

📒 Files selected for processing (1)
  • ci-operator/config/openshift/lightspeed-service/openshift-lightspeed-service-main.yaml

The previous commit incorrectly removed USER 0 and podman from
build_root, which is shared by all test steps (verify, unit,
integration). Restore them — only the tls-scan step needs the
new tls-scan-src image.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JoaoFula

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ci/rehearse/openshift/lightspeed-service/main/tls-scan

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@JoaoFula: 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

@JoaoFula: job(s): ci/rehearse/openshift/lightspeed-service/main/tls-scan either don't exist or were not found to be affected, and cannot be rehearsed

@JoaoFula

Copy link
Copy Markdown
Contributor Author

/pj-rehearse auto-ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@JoaoFula

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-lightspeed-service-main-tls-scan

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

removing byok changes
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@JoaoFula: 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
pull-ci-openshift-lightspeed-service-main-tls-scan openshift/lightspeed-service presubmit Presubmit changed
pull-ci-openshift-lightspeed-service-main-e2e-ols-cluster openshift/lightspeed-service presubmit Ci-operator config changed
pull-ci-openshift-lightspeed-service-main-fips-image-scan-service openshift/lightspeed-service presubmit Ci-operator config changed
pull-ci-openshift-lightspeed-service-main-images openshift/lightspeed-service presubmit Ci-operator config changed
pull-ci-openshift-lightspeed-service-main-integration openshift/lightspeed-service presubmit Ci-operator config changed
pull-ci-openshift-lightspeed-service-main-ols-evaluation openshift/lightspeed-service presubmit Ci-operator config changed
pull-ci-openshift-lightspeed-service-main-security openshift/lightspeed-service presubmit Ci-operator config changed
pull-ci-openshift-lightspeed-service-main-unit openshift/lightspeed-service presubmit Ci-operator config changed
pull-ci-openshift-lightspeed-service-main-verify openshift/lightspeed-service presubmit Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.21-ols-evaluation-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.17-ols-disconnected-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.19-e2e-ols-cluster-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.17-e2e-ols-cluster-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.18-e2e-ols-cluster-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.21-e2e-ols-cluster-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.21-ols-cluster-updates-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.22-ols-evaluation-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.16-e2e-ols-cluster-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.20-e2e-ols-cluster-periodics N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.20-lseval-periodic-rhoai N/A periodic Ci-operator config changed
periodic-ci-openshift-lightspeed-service-main-4.22-e2e-ols-cluster-periodics N/A periodic Ci-operator config 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.

@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@JoaoFula: 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-lightspeed-service-main-4.16-e2e-ols-cluster-periodics f880b2c link unknown /pj-rehearse periodic-ci-openshift-lightspeed-service-main-4.16-e2e-ols-cluster-periodics
ci/rehearse/periodic-ci-openshift-lightspeed-service-main-4.17-e2e-ols-cluster-periodics f880b2c link unknown /pj-rehearse periodic-ci-openshift-lightspeed-service-main-4.17-e2e-ols-cluster-periodics

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.

@JoaoFula

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-lightspeed-service-main-tls-scan

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@JoaoFula

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-lightspeed-service-main-e2e-ols-cluster

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@onmete

onmete commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 13, 2026
@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoaoFula, onmete

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

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

Copy link
Copy Markdown
Contributor Author

/pj-rehearse skip

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Aug 13, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 00d6707 into openshift:main Aug 13, 2026
13 of 18 checks passed
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. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants