Skip to content

OCPBUGS-54695: Empty proxy variables are causing issues during the build #373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 2, 2025

Conversation

prabhapa
Copy link
Contributor

Problem:
Irrespective of default proxy settings these proxy variables are set on build containers.
If any defaults are set they reflect those setting ,if not set they are set to null on the build container. Having these null variables are causing problems to some customers as its breaking some required apps on container
HTTP_PROXY,http_proxy,HTTPS_PROXY,https_proxy,NO_PROXY,no_proxy
Fix:
Code changed only to add these proxy variables only if they are defined in defaults and if they are not null.

@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. 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 Apr 15, 2025
@openshift-ci-robot
Copy link
Contributor

@prabhapa: This pull request references Jira Issue OCPBUGS-54695, which is invalid:

  • expected the bug to target the "4.19.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.

In response to this:

Problem:
Irrespective of default proxy settings these proxy variables are set on build containers.
If any defaults are set they reflect those setting ,if not set they are set to null on the build container. Having these null variables are causing problems to some customers as its breaking some required apps on container
HTTP_PROXY,http_proxy,HTTPS_PROXY,https_proxy,NO_PROXY,no_proxy
Fix:
Code changed only to add these proxy variables only if they are defined in defaults and if they are not null.

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 coreydaley and divyansh42 April 15, 2025 05:07
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 15, 2025
@prabhapa
Copy link
Contributor Author

/test ci/prow/e2e-aws-builds ci/prow/e2e-aws-ovn-upgrade

Copy link
Contributor

openshift-ci bot commented Apr 15, 2025

@prabhapa: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test e2e-aws-builds
/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-gcp-ovn
/test e2e-gcp-ovn-builds
/test e2e-hypershift-conformance
/test images
/test unit
/test verify

The following commands are available to trigger optional jobs:

/test e2e-aws-ovn-proxy
/test okd-scos-e2e-aws-ovn
/test okd-scos-images
/test openshift-e2e-aws-ovn-builds-techpreview
/test security

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-openshift-controller-manager-master-e2e-aws-builds
pull-ci-openshift-openshift-controller-manager-master-e2e-aws-ovn
pull-ci-openshift-openshift-controller-manager-master-e2e-aws-ovn-proxy
pull-ci-openshift-openshift-controller-manager-master-e2e-aws-ovn-upgrade
pull-ci-openshift-openshift-controller-manager-master-e2e-gcp-ovn
pull-ci-openshift-openshift-controller-manager-master-e2e-gcp-ovn-builds
pull-ci-openshift-openshift-controller-manager-master-e2e-hypershift-conformance
pull-ci-openshift-openshift-controller-manager-master-images
pull-ci-openshift-openshift-controller-manager-master-okd-scos-e2e-aws-ovn
pull-ci-openshift-openshift-controller-manager-master-openshift-e2e-aws-ovn-builds-techpreview
pull-ci-openshift-openshift-controller-manager-master-security
pull-ci-openshift-openshift-controller-manager-master-unit
pull-ci-openshift-openshift-controller-manager-master-verify

In response to this:

/test ci/prow/e2e-aws-builds ci/prow/e2e-aws-ovn-upgrade

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.

@prabhapa
Copy link
Contributor Author

/test ci/prow/e2e-aws-builds
/test ci/prow/e2e-aws-ovn-upgrade

Copy link
Contributor

openshift-ci bot commented Apr 15, 2025

@prabhapa: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test e2e-aws-builds
/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-gcp-ovn
/test e2e-gcp-ovn-builds
/test e2e-hypershift-conformance
/test images
/test unit
/test verify

The following commands are available to trigger optional jobs:

/test e2e-aws-ovn-proxy
/test okd-scos-e2e-aws-ovn
/test okd-scos-images
/test openshift-e2e-aws-ovn-builds-techpreview
/test security

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-openshift-controller-manager-master-e2e-aws-builds
pull-ci-openshift-openshift-controller-manager-master-e2e-aws-ovn
pull-ci-openshift-openshift-controller-manager-master-e2e-aws-ovn-proxy
pull-ci-openshift-openshift-controller-manager-master-e2e-aws-ovn-upgrade
pull-ci-openshift-openshift-controller-manager-master-e2e-gcp-ovn
pull-ci-openshift-openshift-controller-manager-master-e2e-gcp-ovn-builds
pull-ci-openshift-openshift-controller-manager-master-e2e-hypershift-conformance
pull-ci-openshift-openshift-controller-manager-master-images
pull-ci-openshift-openshift-controller-manager-master-okd-scos-e2e-aws-ovn
pull-ci-openshift-openshift-controller-manager-master-openshift-e2e-aws-ovn-builds-techpreview
pull-ci-openshift-openshift-controller-manager-master-security
pull-ci-openshift-openshift-controller-manager-master-unit
pull-ci-openshift-openshift-controller-manager-master-verify

In response to this:

/test ci/prow/e2e-aws-builds
/test ci/prow/e2e-aws-ovn-upgrade

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.

@prabhapa
Copy link
Contributor Author

/test e2e-aws-builds
/test e2e-aws-ovn-upgrade

@prabhapa
Copy link
Contributor Author

/test unit

Problem:
 Irrespective of default proxy settings these proxy variables are set on build containers.
If any defaults are set they reflect those setting ,if not set they are set to null on the build container.
Having these null variables are causing problems to some customers as its breaking some required apps on container
  HTTP_PROXY,http_proxy,HTTPS_PROXY,https_proxy,NO_PROXY,no_proxy
Fix:
 Code changed only to add these proxy variables only if they are defined in defaults and if they are not null.
@prabhapa
Copy link
Contributor Author

/retest

1 similar comment
@prabhapa
Copy link
Contributor Author

/retest

@prabhapa
Copy link
Contributor Author

/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 Apr 24, 2025
@openshift-ci-robot
Copy link
Contributor

@prabhapa: This pull request references Jira Issue OCPBUGS-54695, 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.19.0) matches configured target version for branch (4.19.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (kmemane@redhat.com), skipping review request.

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.

@prabhapa
Copy link
Contributor Author

/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade

@kunalmemane
Copy link
Contributor

/test verify-deps
/test e2e-aws-ovn-upgrade
/test e2e-aws-ovn

Copy link
Contributor

openshift-ci bot commented May 2, 2025

@prabhapa: 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/prow/security 4bd59ac link false /test security
ci/prow/okd-scos-e2e-aws-ovn 4bd59ac link false /test okd-scos-e2e-aws-ovn

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.

@prabhapa
Copy link
Contributor Author

prabhapa commented May 2, 2025

/label acknowledge-critical-fixes-only

@openshift-ci openshift-ci bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label May 2, 2025
@prabhapa
Copy link
Contributor Author

prabhapa commented May 2, 2025

/label dox-approved
/label qe-approved
/label px-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label May 2, 2025
@openshift-ci openshift-ci bot added the px-approved Signifies that Product Support has signed off on this PR label May 2, 2025
Copy link
Contributor

openshift-ci bot commented May 2, 2025

@prabhapa: The label(s) /label dox-approved cannot be applied. These labels are supported: acknowledge-critical-fixes-only, platform/aws, platform/azure, platform/baremetal, platform/google, platform/libvirt, platform/openstack, ga, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, px-approved, docs-approved, qe-approved, ux-approved, no-qe, downstream-change-needed, rebase/manual, cluster-config-api-changed, approved, backport-risk-assessed, bugzilla/valid-bug, cherry-pick-approved, jira/valid-bug, stability-fix-approved, staff-eng-approved. Is this label configured under labels -> additional_labels or labels -> restricted_labels in plugin.yaml?

In response to this:

/label dox-approved
/label qe-approved
/label px-approved

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-ci-robot openshift-ci-robot removed the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label May 2, 2025
@openshift-ci-robot
Copy link
Contributor

@prabhapa: This pull request references Jira Issue OCPBUGS-54695, which is invalid:

  • expected the bug to target either version "4.20." or "openshift-4.20.", but it targets "4.19.0" instead

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.

In response to this:

Problem:
Irrespective of default proxy settings these proxy variables are set on build containers.
If any defaults are set they reflect those setting ,if not set they are set to null on the build container. Having these null variables are causing problems to some customers as its breaking some required apps on container
HTTP_PROXY,http_proxy,HTTPS_PROXY,https_proxy,NO_PROXY,no_proxy
Fix:
Code changed only to add these proxy variables only if they are defined in defaults and if they are not null.

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 openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label May 2, 2025
@prabhapa
Copy link
Contributor Author

prabhapa commented May 2, 2025

/label docs-approved

@openshift-ci openshift-ci bot added the docs-approved Signifies that Docs has signed off on this PR label May 2, 2025
@kunalmemane
Copy link
Contributor

/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 May 2, 2025
@openshift-ci-robot
Copy link
Contributor

@kunalmemane: This pull request references Jira Issue OCPBUGS-54695, which is valid.

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

No GitHub users were found matching the public email listed for the QA contact in Jira (kmemane@redhat.com), skipping review request.

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.

@prabhapa
Copy link
Contributor Author

prabhapa commented May 2, 2025

/lgtm

Copy link
Contributor

openshift-ci bot commented May 2, 2025

@prabhapa: you cannot LGTM your own PR.

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.

@kunalmemane
Copy link
Contributor

/lgtm

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

openshift-ci bot commented May 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kunalmemane, prabhapa

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

@openshift-merge-bot openshift-merge-bot bot merged commit 39ebafc into openshift:master May 2, 2025
13 of 15 checks passed
@openshift-ci-robot
Copy link
Contributor

@prabhapa: Jira Issue OCPBUGS-54695: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-54695 has been moved to the MODIFIED state.

In response to this:

Problem:
Irrespective of default proxy settings these proxy variables are set on build containers.
If any defaults are set they reflect those setting ,if not set they are set to null on the build container. Having these null variables are causing problems to some customers as its breaking some required apps on container
HTTP_PROXY,http_proxy,HTTPS_PROXY,https_proxy,NO_PROXY,no_proxy
Fix:
Code changed only to add these proxy variables only if they are defined in defaults and if they are not null.

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.

@kunalmemane
Copy link
Contributor

/cherry-pick release-4.19

@openshift-cherrypick-robot

@kunalmemane: new pull request created: #376

In response to this:

/cherry-pick release-4.19

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-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-openshift-controller-manager
This PR has been included in build ose-openshift-controller-manager-container-v4.20.0-202505021346.p0.g39ebafc.assembly.stream.el9.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. docs-approved Signifies that Docs has signed off on this PR jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. 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. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants