Skip to content

Build cancelled when pod is not created never goes into cancelled #1596

Closed

Description

@smarterclayton

Created a build on a mac (no Docker installed, which means pod never runs). Build goes into running status. Tried to cancel the build, but the status is not updated. Pod doesn't exist, so build should be able to be cancelled and go into the cancelled state.

 osc get builds sinatra-app-example-1 -o yaml
apiVersion: v1beta1
cancelled: true
kind: Build
metadata:
  creationTimestamp: 2015-04-04T22:11:26Z
  labels:
    buildconfig: sinatra-app-example
  name: sinatra-app-example-1
  namespace: default
  resourceVersion: "29769"
  selfLink: /osapi/v1beta1/builds/sinatra-app-example-1?namespace=default
  uid: 89923a3a-db17-11e4-adc0-7831c1b76042
parameters:
  output:
    to:
      kind: ImageStream
      name: sinatra-app-example
  source:
    git:
      uri: git://github.com/mfojtik/sinatra-app-example
    type: Git
  strategy:
    stiStrategy:
      builderImage: openshift/ruby-20-centos7
      clean: true
      image: openshift/ruby-20-centos7
    type: STI
startTimestamp: 2015-04-04T22:11:31Z
status: Running

Pod has been deleted at this point.

Activity

  1. added
    kind/bug
    on Apr 6, 2015
  2. soltysh commented on Apr 7, 2015

    @soltysh
    Contributor

    I just tried to reproduce that, but I just stopped docker service. It worked without any problems, the build was canceled. Can you try that once again?

  3. danmcp commented on May 11, 2015

    @danmcp

    Closing due to age without prejudice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/buildkind/bugpriority/P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions