Bug 1799674 - Build time increased on OCP 4.3.0
Summary: Build time increased on OCP 4.3.0
Keywords:
Status: CLOSED DUPLICATE of bug 1790525
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.5.0
Assignee: Nalin Dahyabhai
QA Contact: weiwei jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-06 18:43 UTC by Hongkai Liu
Modified: 2020-03-06 19:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-06 19:17:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
imagestream (1.34 KB, text/plain)
2020-02-06 18:44 UTC, Hongkai Liu
no flags Details
build (2.97 KB, text/plain)
2020-02-06 18:45 UTC, Hongkai Liu
no flags Details
build log 430 (76.52 KB, text/plain)
2020-02-06 18:46 UTC, Hongkai Liu
no flags Details
build log 311 (135.55 KB, text/plain)
2020-02-06 18:46 UTC, Hongkai Liu
no flags Details

Description Hongkai Liu 2020-02-06 18:43:29 UTC
Running the same build on 3.11 cluster and 4.3.0 cluster.
Comparing the build time:

#430
oc get build --context build01 -n ttt
NAME                 TYPE     FROM   STATUS     STARTED             DURATION
machine-os-content   Docker          Complete   About an hour ago   1h22m0s
#311
machine.os.content.debug oc get build
NAME                 TYPE     FROM   STATUS     STARTED             DURATION
machine-os-content   Docker          Complete   About an hour ago   8m36s

Reprod. steps:

oc new-project ttt
oc apply -f ttt.is.yaml
oc apply -f machine-os-content.build.yaml


The yamls and logs are attached.

Related to https://bugzilla.redhat.com/show_bug.cgi?id=1784163

Comment 1 Hongkai Liu 2020-02-06 18:44:43 UTC
Created attachment 1659787 [details]
imagestream

Comment 2 Hongkai Liu 2020-02-06 18:45:17 UTC
Created attachment 1659802 [details]
build

Comment 3 Hongkai Liu 2020-02-06 18:46:04 UTC
Created attachment 1659825 [details]
build log 430

Comment 4 Hongkai Liu 2020-02-06 18:46:46 UTC
Created attachment 1659846 [details]
build log 311

Comment 6 Adam Kaplan 2020-02-07 02:14:14 UTC
Moving to the Containers team - root issues are with buildah. Needs to be moved back to Builds when ready to be vendored in.

Comment 7 Tom Sweeney 2020-02-10 23:21:12 UTC
Assigning to Nalin.  I suspect this is related if not a duplicate to https://bugzilla.redhat.com/show_bug.cgi?id=1790525

Comment 9 Nalin Dahyabhai 2020-03-06 19:08:59 UTC
(In reply to Tom Sweeney from comment #7)
> Assigning to Nalin.  I suspect this is related if not a duplicate to
> https://bugzilla.redhat.com/show_bug.cgi?id=1790525

The big offenders in the 4.3 log compared to 3.11 happen during COPY instructions, and while one of them requires 4.3 to download an image, the majority of the time we spend on that instruction happens after the builder logs that the image was successfully pulled, so I do believe this is the same problem that we see in #1790525.  The COPY implementation is getting an overhaul, but that work is still in progress, so I'm moving this to 4.5.

Comment 10 Nalin Dahyabhai 2020-03-06 19:17:40 UTC
Taking a closer look at default-route-openshift-image-registry.apps.build01.ci.devcluster.openshift.com/test-image/pipeline@sha256:9ca3e5979408a90873226d80e4d2952715bd2a4cc9db647c9d8533c588409064, this should be fixed when #1790525's fix goes out.  It doesn't require the rework I mentioned in comment 9, which targets cases where the source uses a .dockerignore file.  Marking this as a duplicate instead.

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


Note You need to log in before you can comment on or make changes to this bug.