Skip to content

Conversation

@neisw
Copy link
Contributor

@neisw neisw commented Nov 25, 2025

Reverts #29611

Per OpenShift policy, we are reverting this breaking change to get CI and/or nightly payloads flowing again.

Payload failures due to [sig-api-machinery][Feature:APIServer] TestTLSDefaults [Suite:openshift/conformance/parallel]

To unrevert this, revert this PR, and layer an additional separate commit on top that addresses the problem. Before merging the unrevert, please run these jobs on the PR and check the result of these jobs to confirm the fix has corrected the problem:

/payload-job periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-bm

CC: @jacobsee

@openshift-ci-robot
Copy link

Pipeline controller notification
This repository 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 the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 25, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 25, 2025

@neisw: This pull request references TRT-2439 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.21.0" version, but no target version was set.

In response to this:

Reverts #29611

Per OpenShift policy, we are reverting this breaking change to get CI and/or nightly payloads flowing again.

Payload failures due to [sig-api-machinery][Feature:APIServer] TestTLSDefaults [Suite:openshift/conformance/parallel]

To unrevert this, revert this PR, and layer an additional separate commit on top that addresses the problem. Before merging the unrevert, please run these jobs on the PR and check the result of these jobs to confirm the fix has corrected the problem:

/payload-job periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-bm

CC: @jacobsee

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 deads2k and sjenning November 25, 2025 18:58
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 25, 2025
@neisw
Copy link
Contributor Author

neisw commented Nov 25, 2025

/payload-job periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-bm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 25, 2025

@neisw: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-bm

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c3b9d730-ca31-11f0-89ff-3c5c590f860d-0

@wangke19
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 25, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 25, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: neisw, wangke19

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

The pull request process is described here

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

@neisw
Copy link
Contributor Author

neisw commented Nov 25, 2025

/test e2e-metal-ipi-ovn-ipv6

@neisw
Copy link
Contributor Author

neisw commented Nov 26, 2025

/pipeline required

@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-vsphere-ovn
/test e2e-vsphere-ovn-upi
/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-vsphere-ovn
/test e2e-vsphere-ovn-upi
/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-vsphere-ovn
/test e2e-vsphere-ovn-upi

@neisw
Copy link
Contributor Author

neisw commented Nov 26, 2025

/verified by payload-job

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Nov 26, 2025
@openshift-ci-robot
Copy link

@neisw: This PR has been marked as verified by payload-job.

In response to this:

/verified by payload-job

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.

@neisw
Copy link
Contributor Author

neisw commented Nov 26, 2025

/override ci/prow/e2e-aws-csi
/override ci/prow/e2e-aws-ovn-fips
/override ci/prow/e2e-aws-ovn-microshift
/override ci/prow/e2e-aws-ovn-microshift-serial
/override ci/prow/e2e-aws-ovn-serial-1of2
/override ci/prow/e2e-aws-ovn-serial-2of2
/override ci/prow/e2e-gcp-csi
/override ci/prow/e2e-gcp-ovn
/override ci/prow/e2e-gcp-ovn-upgrade
/override ci/prow/e2e-metal-ipi-ovn-ipv6
/override ci/prow/e2e-vsphere-ovn
/override ci/prow/e2e-vsphere-ovn-upi

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 26, 2025

@neisw: Overrode contexts on behalf of neisw: ci/prow/e2e-aws-csi, ci/prow/e2e-aws-ovn-fips, ci/prow/e2e-aws-ovn-microshift, ci/prow/e2e-aws-ovn-microshift-serial, ci/prow/e2e-aws-ovn-serial-1of2, ci/prow/e2e-aws-ovn-serial-2of2, ci/prow/e2e-gcp-csi, ci/prow/e2e-gcp-ovn, ci/prow/e2e-gcp-ovn-upgrade, ci/prow/e2e-metal-ipi-ovn-ipv6, ci/prow/e2e-vsphere-ovn, ci/prow/e2e-vsphere-ovn-upi

In response to this:

/override ci/prow/e2e-aws-csi
/override ci/prow/e2e-aws-ovn-fips
/override ci/prow/e2e-aws-ovn-microshift
/override ci/prow/e2e-aws-ovn-microshift-serial
/override ci/prow/e2e-aws-ovn-serial-1of2
/override ci/prow/e2e-aws-ovn-serial-2of2
/override ci/prow/e2e-gcp-csi
/override ci/prow/e2e-gcp-ovn
/override ci/prow/e2e-gcp-ovn-upgrade
/override ci/prow/e2e-metal-ipi-ovn-ipv6
/override ci/prow/e2e-vsphere-ovn
/override ci/prow/e2e-vsphere-ovn-upi

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.

@openshift-merge-bot openshift-merge-bot bot merged commit d7da6f0 into openshift:main Nov 26, 2025
20 checks passed
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 26, 2025

@neisw: all tests passed!

Full PR test history. Your PR dashboard.

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.

wangke19 added a commit to wangke19/origin that referenced this pull request Nov 26, 2025
This commit fixes two bugs in the TLS test that were causing failures:

1. Variable shadowing bug (line 145):
   - Changed `err := conn.Close()` to `closeErr := conn.Close()`
   - The original code shadowed the outer `err` variable, making the
     test logic confusing and error-prone
   - Now the test correctly checks the Dial error, not the Close error

2. Missing URL prefix stripping in cipher test (line 168-170):
   - Added `host := strings.TrimPrefix(oc.AdminConfig().Host, "https://")`
   - The cipher test was trying to dial with "https://..." prefix
   - tls.Dial expects "host:port" format, not a URL

3. Improved error handling in cipher test (line 172):
   - Properly capture and use closeErr instead of calling conn.Close()
     inline in the error message

These fixes address the test failures reported in:
periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-bm

Related: PR openshift#30533 (the revert), PR openshift#29611 (original implementation)
wangke19 added a commit to wangke19/origin that referenced this pull request Nov 27, 2025
This commit fixes two bugs in the TLS test that were causing failures:

1. Variable shadowing bug (line 145):
   - Changed `err := conn.Close()` to `closeErr := conn.Close()`
   - The original code shadowed the outer `err` variable, making the
     test logic confusing and error-prone
   - Now the test correctly checks the Dial error, not the Close error

2. Missing URL prefix stripping in cipher test (line 168-170):
   - Added `host := strings.TrimPrefix(oc.AdminConfig().Host, "https://")`
   - The cipher test was trying to dial with "https://..." prefix
   - tls.Dial expects "host:port" format, not a URL

3. Improved error handling in cipher test (line 172):
   - Properly capture and use closeErr instead of calling conn.Close()
     inline in the error message

These fixes address the test failures reported in:
periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-bm

Related: PR openshift#30533 (the revert), PR openshift#29611 (original implementation)
wangke19 added a commit to wangke19/origin that referenced this pull request Nov 28, 2025
This commit fixes two bugs in the TLS test that were causing failures:

1. Variable shadowing bug (line 145):
   - Changed `err := conn.Close()` to `closeErr := conn.Close()`
   - The original code shadowed the outer `err` variable, making the
     test logic confusing and error-prone
   - Now the test correctly checks the Dial error, not the Close error

2. Missing URL prefix stripping in cipher test (line 168-170):
   - Added `host := strings.TrimPrefix(oc.AdminConfig().Host, "https://")`
   - The cipher test was trying to dial with "https://..." prefix
   - tls.Dial expects "host:port" format, not a URL

3. Improved error handling in cipher test (line 172):
   - Properly capture and use closeErr instead of calling conn.Close()
     inline in the error message

These fixes address the test failures reported in:
periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-bm

Related: PR openshift#30533 (the revert), PR openshift#29611 (original implementation)
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. 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. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants