Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Build failed with cgroups error #498

Open
anthonydahanne opened this issue Dec 10, 2018 · 2 comments
Open

Build failed with cgroups error #498

anthonydahanne opened this issue Dec 10, 2018 · 2 comments
Labels
kind/bug Something isn't working

Comments

@anthonydahanne
Copy link

Expected Behavior

Followed the tutorial at https://goo.gl/8pwiDF , and executed the build for :

apiVersion: build.knative.dev/v1alpha1
kind: Build
metadata:
  name: example-build
spec:
  source:
    git:
      url: "https://github.com/knative/docs.git"
      revision: "v0.1.x"
    subPath: "serving/samples/helloworld-go/"
  steps:
  - name: build-and-push
    image: "gcr.io/kaniko-project/executor:v0.6.0"
    args:
    - "--dockerfile=/workspace/Dockerfile"
    - "--destination=gcr.io/knative-kubecon18-sea-XXXX/helloworld-go:v1"

Actual Behavior

Build failed with :

  Normal   Created    1m    kubelet, gke-knative-default-pool-0e37381e-j4sz  Created container
  Warning  Failed     1m    kubelet, gke-knative-default-pool-0e37381e-j4sz  Error: failed to start container "build-step-git-source": Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"failed to write 172554 to cgroup.procs: write /sys/fs/cgroup/cpu,cpuacct/kubepods/burstable/pod8742585b-fcb3-11e8-9c84-42010a800165/build-step-git-source/cgroup.procs: invalid argument\""

Additional Info

happened during the knative workshop @ kubecon

/kind bug

cc @ahmetb

@knative-prow-robot knative-prow-robot added the kind/bug Something isn't working label Dec 10, 2018
@ahmetb
Copy link
Contributor

ahmetb commented Dec 10, 2018

Likely not a Knative but. But something in the manifest above was able to trigger this on a GKE cluster. So it's a flakiness for build.

@anthonydahanne
Copy link
Author

re running it (kubectl delete -f, and kubectl apply -f) made it work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants