Bug 1804405

Summary: build behaves differently on ocp311 and ocp430
Product: OpenShift Container Platform Reporter: Hongkai Liu <hongkliu>
Component: BuildAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED DUPLICATE QA Contact: wewang <wewang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, nalin, wzheng
Target Milestone: ---   
Target Release: ---   
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-02-18 20:11:31 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:
Attachments:
Description Flags
build def.
none
311.build.log
none
430 build log none

Description Hongkai Liu 2020-02-18 18:24:11 UTC
Description of problem:
Trying to migrate ci builds to 4.3.0 cluster.
Found a failing build.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

oc apply -f root.build.yaml #on 311 and 430 cluster


Actual results:
build succeeded on 311 while failed on 430.

Expected results:


Additional info:
Discussed the issue over slack: https://coreos.slack.com/archives/CE2HALN2W/p1582048660031800

Comment 1 Hongkai Liu 2020-02-18 18:25:10 UTC
Created attachment 1663874 [details]
build def.

Comment 2 Hongkai Liu 2020-02-18 18:26:18 UTC
Created attachment 1663875 [details]
311.build.log

Comment 3 Hongkai Liu 2020-02-18 18:27:08 UTC
Created attachment 1663876 [details]
430 build log

Comment 4 Nalin Dahyabhai 2020-02-18 19:02:34 UTC
$HOME isn't set in the image, and there's no "user" set in its config blob, so we weren't digging a home directory path out of /etc/passwd in the image to use for setting $HOME.  This should be fixed by https://github.com/containers/buildah/pull/2057 upstream, and in our 4.3 branch by https://github.com/openshift/builder/pull/127.

Comment 5 Adam Kaplan 2020-02-18 19:23:03 UTC
*** Bug 1804403 has been marked as a duplicate of this bug. ***

Comment 6 Adam Kaplan 2020-02-18 19:23:18 UTC
*** Bug 1804404 has been marked as a duplicate of this bug. ***

Comment 7 Adam Kaplan 2020-02-18 20:11:31 UTC
Closing as duplicate per https://bugzilla.redhat.com/show_bug.cgi?id=1804405#c4

*** This bug has been marked as a duplicate of bug 1790525 ***