Description of problem: Some of the build failures do not show started time in the list when running oc get builds proj9 cakephp-mysql-example-28 Source Git@0014dde Failed root@ip-172-31-25-76: ~/svt/openshift_performance/ci/scripts # oc logs -n proj9 cakephp-mysql-example-28-build Cloning "https://github.com/redhat-performance/cakephp-ex.git" ... Commit: 0014ddebb91bc7dff3a1dabfbd7b51da762a6677 (made changes to enable database example) Author: ofthecure <robdean.smith> Date: Mon Apr 25 14:33:06 2016 -0400 DEPRECATED: Use .s2i/bin instead of .sti/bin error: build error: Error response from daemon: {"message":"devmapper: Thin Pool has 5890 free data blocks which is less than minimum required 6083 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior"} Version-Release number of selected component (if applicable): openshift v3.5.3 kubernetes v1.5.2+43a9be4 etcd 3.1.0 How reproducible: Steps to Reproduce: 1. Run lots of builds and make sure worker nodes run out of disk space 2. see output of oc get builds 3. some of the build failures missing started time Actual results: Missing STARTED column value Expected results: Should show STARTED value Additional info:
The build fails too quickly for the BuildPodController to process the Running event. It goes from Pending to Failed and we only set the start time on a Running event. We need to update the start time when we set the build to Complete or Failed if no start time has been set.
Created attachment 1268485 [details] desc build complete Some of the Complete builds are also missing STARTED value, attaching logs for that. Please let me know if I need to create a separate bug for that.
It's the same issue for both
Cesar it looks like maybe you fixed this as part of your pod handler work? https://github.com/openshift/origin/blob/master/pkg/build/controller/common/util.go#L18
nevermind, I totally misread that code.
PR https://github.com/openshift/origin/pull/13670
This has been merged into ocp and is in OCP v3.5.5.7 or newer.
Completed multiple rounds concurrent builds, checked STARTED for Failed and Completed builds. No builds are missing STARTED value. openshift v3.5.5.7 kubernetes v1.5.2+43a9be4 etcd 3.1.0
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, 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-2017:1129