Bug 1884610

Summary: Upgrade buildah to v1.16.4
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: BuildAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, wzheng
Target Milestone: ---   
Target Release: 4.6.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-10-27 16:47:41 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:

Description Adam Kaplan 2020-10-02 12:46:18 UTC
Description of problem:

Upgrade buildah to v1.16.4, which includes two fixes to ADD instructions.

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


How reproducible: Always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

https://github.com/containers/buildah/pull/2660
https://github.com/containers/buildah/pull/2668

Comment 3 wewang 2020-10-09 10:49:28 UTC
Do regression test for build, especially for Dockerfile with ADD command to extract files.
Version: 
4.6.0-0.nightly-2020-10-08-182439

1. Related Dockerfile 
```
FROM scratch 
ADD /sub/subdirectory.tar.gz  /sub/
```
2. [wewang@wangwen bz1884610]$ oc logs -f build/bz1884610-1
Cloning "https://github.com/wewang58/bz1884610" ...
	Commit:	e39a8394933b2dc9fae5092823a29af8b77fc15a (FIX)
	Author:	wewang58 <wewang>
	Date:	Fri Oct 9 18:16:18 2020 +0800
Replaced Dockerfile FROM image scratch
Caching blobs under "/var/cache/blobs".
STEP 1: FROM scratch
STEP 2: ADD /sub/subdirectory.tar.gz /sub/
--> 3b6b8996657
STEP 3: ENV "OPENSHIFT_BUILD_NAME"="bz1884610-1" "OPENSHIFT_BUILD_NAMESPACE"="wewang" "OPENSHIFT_BUILD_SOURCE"="https://github.com/wewang58/bz1884610" "OPENSHIFT_BUILD_COMMIT"="e39a8394933b2dc9fae5092823a29af8b77fc15a"
--> 96f338e4bb9

Comment 5 errata-xmlrpc 2020-10-27 16:47:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196