Bug 1753562

Summary: pipeline build can't retrive BuildDefaults from builds.config.openshift.io
Product: OpenShift Container Platform Reporter: XiuJuan Wang <xiuwang>
Component: JenkinsAssignee: Akram Ben Aissi <abenaiss>
Status: CLOSED WONTFIX QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: abenaiss, aos-bugs, erich, jkhelil, scuppett, vbobade, wewang, wzheng
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-22 12:54:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Adam Kaplan 2019-09-19 13:03:09 UTC
Moving this to Jenkins for further triage. Hypothetically the pods in Jenkins pipelines should be receiving the proxy env vars and pass those along.

Comment 6 Stephen Cuppett 2019-12-13 12:02:14 UTC
Targeting 4.4.0 for investigation on the current master branch.

Comment 7 Akram Ben Aissi 2020-03-12 21:19:37 UTC
Still needs investigation for 4.5

Comment 8 Akram Ben Aissi 2020-06-02 08:56:05 UTC
@Jitendar can you check if you still have this one occuring on 4.4+ ?
as we made changes on the proxy setting propagation this should not occur.
You need an airgapped environment to try to reproduce it.

Comment 9 XiuJuan Wang 2020-06-03 10:05:26 UTC
In the 4.4.0-0.nightly-2020-06-01-211921 proxy cluster,
If don't set workaround [1] for jenkins server, then pipeline build still could reproduce the bug issue.
After set workaround, the pipeline build will meet bug #1813217 issue.

Comment 10 jawed 2020-06-09 10:58:34 UTC
This is not related to jenkins component, this related to the configuration of  build.config.openshift.io/cluster  which is not propagating the proxy env a it should on pod env variables, i guess
th doc here is actually not correct because it is not working https://docs.openshift.com/container-platform/4.2/builds/build-configuration.html
This is related to openshift component
Can someone please assign to the right team
Thank you

Comment 11 XiuJuan Wang 2020-06-10 10:39:28 UTC
In http proxy cluster,common builds could retrive code from github both when build.config.openshift.io/cluster configures proxy to override the global proxy or not. Likewise only pipeline builds don't work.

Comment 13 Red Hat Bugzilla 2023-09-14 05:43:26 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days