Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1432158

Summary: Pending builds start as pending for -1h
Product: OpenShift Container Platform Reporter: Dan McPherson <dmcphers>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED DUPLICATE QA Contact: XiaochuanWang <xiaocwan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.1CC: aos-bugs, jokerman, mmccomas
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: 2017-03-14 17:36:32 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
Pending for -1h none

Description Dan McPherson 2017-03-14 16:41:07 UTC
Created attachment 1263015 [details]
Pending for -1h

Description of problem:

Pending builds start as pending for -1h


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

Dev Preview
v3.4.1.8 (online version 3.4.1.14)



How reproducible:

100%


Steps to Reproduce:
1. Start a build
2. Look at the status
3.

Actual results:
Starts the counter at -1h

Expected results:
Start the counter at 0s


Additional info:

Comment 1 Dan McPherson 2017-03-14 17:04:46 UTC
Yaml from a build that's showing pending -1 hour.  Also note that the Created shows:

in a few seconds


dmcphers@mcpherson:~$ oc get build myrubyapp-6 -o yaml
apiVersion: v1
kind: Build
metadata:
  annotations:
    openshift.io/build-config.name: myrubyapp
    openshift.io/build.number: "6"
    openshift.io/build.pod-name: myrubyapp-6-build
  creationTimestamp: 2017-03-14T16:59:40Z
  labels:
    app: myrubyapp
    buildconfig: myrubyapp
    openshift.io/build-config.name: myrubyapp
    openshift.io/build.start-policy: Serial
  name: myrubyapp-6
  namespace: projectdan
  resourceVersion: "993553230"
  selfLink: /oapi/v1/namespaces/projectdan/builds/myrubyapp-6
  uid: 9d691bd6-08d7-11e7-b5d1-0ebeb1070c7f
spec:
  nodeSelector: null
  output:
    pushSecret:
      name: builder-dockercfg-5e78t
    to:
      kind: ImageStreamTag
      name: myrubyapp:latest
  postCommit: {}
  resources: {}
  serviceAccount: builder
  source:
    git:
      ref: master
      uri: https://github.com/openshift/ruby-ex.git
    type: Git
  strategy:
    sourceStrategy:
      from:
        kind: DockerImage
        name: registry.access.redhat.com/rhscl/ruby-23-rhel7@sha256:fe2318a56b7abd98d9dc1ecd2602bab33557fcda19ac98f7d67a0e4391bf091d
    type: Source
  triggeredBy:
  - message: Manually triggered
status:
  config:
    kind: BuildConfig
    name: myrubyapp
    namespace: projectdan
  phase: Pending

Comment 2 Jessica Forrester 2017-03-14 17:36:32 UTC

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