Skip to content

OCPBUGS-78384: changed http to https for three places to reduce test false positives and false negatives#30872

Open
prb112 wants to merge 1 commit intoopenshift:mainfrom
prb112:OCPBUGS-78384
Open

OCPBUGS-78384: changed http to https for three places to reduce test false positives and false negatives#30872
prb112 wants to merge 1 commit intoopenshift:mainfrom
prb112:OCPBUGS-78384

Conversation

@prb112
Copy link
Contributor

@prb112 prb112 commented Mar 12, 2026

OCPBUGS-78384: changed http to https for three places to reduce test false positives and false negatives

Summary by CodeRabbit

  • Bug Fixes
    • Upgraded external service endpoints and network connectivity tests to use HTTPS instead of HTTP, improving security and compliance with modern standards.

…false positives and false negatives

Signed-off-by: Paul Bastide <pbastide@redhat.com>
@openshift-ci-robot
Copy link

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 12, 2026
@openshift-ci-robot
Copy link

@prb112: This pull request references Jira Issue OCPBUGS-78384, which is invalid:

  • expected the bug to target the "4.22.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

OCPBUGS-78384: changed http to https for three places to reduce test false positives and false negatives

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 openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai
Copy link

coderabbitai bot commented Mar 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f2e98d98-cb2a-4a83-9de9-656ec3fe18df

📥 Commits

Reviewing files that changed from the base of the PR and between 7fd854e and ac04c3a.

📒 Files selected for processing (3)
  • pkg/monitortests/testframework/disruptionexternalservicemonitoring/monitortest.go
  • test/extended/machine_config/helpers.go
  • test/extended/networking/egress_firewall.go

Walkthrough

Three test files are updated to use HTTPS instead of HTTP for external service endpoint URLs. No logic, control flow, or error handling changes are made; only the protocol scheme is updated in single-line modifications.

Changes

Cohort / File(s) Summary
Protocol scheme updates to HTTPS
pkg/monitortests/testframework/disruptionexternalservicemonitoring/monitortest.go, test/extended/machine_config/helpers.go, test/extended/networking/egress_firewall.go
Updated externalServiceURL and curl command URLs from HTTP to HTTPS protocol. Changes affect only the URL scheme without modifying underlying logic, error handling, or test expectations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Test Structure And Quality ⚠️ Warning Egress firewall tests bundle multiple behaviors without proper setup/cleanup and lack meaningful assertion messages. Refactor tests to single behaviors, move setup/cleanup to BeforeEach/AfterEach, delete egressfirewall after each test, add descriptive messages to assertions.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: updating HTTP to HTTPS across three files to reduce test false positives and negatives, which aligns with all three modified files in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Stable And Deterministic Test Names ✅ Passed Pull request changes HTTP URLs to HTTPS in constants and test bodies. Test names are static and descriptive without dynamic identifiers.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.5.0)

Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions
The command is terminated due to an error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions


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

Tip

You can enable review details to help with troubleshooting, context usage and more.

Enable the reviews.review_details setting to include review details such as the model used, the time taken for each step and more in the review comments.

@prb112
Copy link
Contributor Author

prb112 commented Mar 12, 2026

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 12, 2026
@openshift-ci-robot
Copy link

@prb112: This pull request references Jira Issue OCPBUGS-78384, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

@prb112: This pull request references Jira Issue OCPBUGS-78384, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

OCPBUGS-78384: changed http to https for three places to reduce test false positives and false negatives

Summary by CodeRabbit

  • Bug Fixes
  • Upgraded external service endpoints and network connectivity tests to use HTTPS instead of HTTP, improving security and compliance with modern standards.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from djoshy and ricky-rav March 12, 2026 17:11
@openshift-ci-robot
Copy link

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@prb112
Copy link
Contributor Author

prb112 commented Mar 13, 2026

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 13, 2026

@prb112: you cannot LGTM your own PR.

Details

In response to this:

/lgtm

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.

@prb112
Copy link
Contributor Author

prb112 commented Mar 13, 2026

/test e2e-aws-ovn-microshift

@sherine-k
Copy link

/retest-required

@prb112
Copy link
Contributor Author

prb112 commented Mar 13, 2026

Looks like a timeout

/test e2e-aws-ovn-microshift

@prb112
Copy link
Contributor Author

prb112 commented Mar 14, 2026

/test e2e-aws-ovn-microshift

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 14, 2026

@prb112: all tests passed!

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.

@openshift-trt
Copy link

openshift-trt bot commented Mar 14, 2026

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New Test Risks for sha: ac04c3a

Job Name New Test Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift High - "[Jira:"Cloud Credential Operator"] Cluster_Operator CCO is disabled [Suite:cco/conformance/parallel][OTP][PolarionID:68220] NonHyperShiftHOST-Critical-Leverage Composable OpenShift feature to make cloud-credential optional" is a new test that was not present in all runs against the current commit, and also failed 1 time(s).

New tests seen in this PR at sha: ac04c3a

  • "[Jira:"Cloud Credential Operator"] Cluster_Operator CCO is disabled [Suite:cco/conformance/parallel][OTP][PolarionID:68220] NonHyperShiftHOST-Critical-Leverage Composable OpenShift feature to make cloud-credential optional" [Total: 5, Pass: 4, Fail: 1, Flake: 0]

@sherine-k
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 16, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 16, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: prb112, sherine-k
Once this PR has been reviewed and has the lgtm label, please assign neisw for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

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

Labels

jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants