Skip to content

Instantly share code, notes, and snippets.

@goern
Created July 18, 2018 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goern/22b429776eab22bccf718a16340f7f93 to your computer and use it in GitHub Desktop.
Save goern/22b429776eab22bccf718a16340f7f93 to your computer and use it in GitHub Desktop.
Thoth BuildLog Example
kind: BuildLog
apiVersion: buildlog.thoth-station.ninka/v1
metadata:
annotations:
buildlog.thoth-station.ninja/corresponding-build-configuration: {"apiVersion":"build.openshift.io/v1","kind":"BuildConfig","metadata":{"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"},"creationTimestamp":"2018-07-18T14:45:20Z","labels":{"app":"tensorflow-build-image","appName":"tf-fedora27-builder-image-36","appTypes":"tensorflow-build-image"},"name":"tf-fedora27-builder-image-36","namespace":"thoth-prod-tensorflow","resourceVersion":"8850437","selfLink":"/apis/build.openshift.io/v1/namespaces/thoth-prod-tensorflow/buildconfigs/tf-fedora27-builder-image-36","uid":"32107a5d-8a99-11e8-9165-fa163e8c1860"},"spec":{"failedBuildsHistoryLimit":5,"nodeSelector":null,"output":{"to":{"kind":"ImageStreamTag","name":"tf-fedora27-builder-image-36:1"}},"postCommit":{},"resources":{"limits":{"cpu":"6","memory":"8Gi"},"requests":{"cpu":"3","memory":"4Gi"}},"runPolicy":"Serial","source":{"git":{"ref":"master","uri":"https://github.com/thoth-station/tensorflow-build-s2i.git"},"type":"Git"},"strategy":{"dockerStrategy":{"dockerfilePath":"Dockerfile.fedora27","env":[{"name":"NB_PYTHON_VER","value":"3.6"},{"name":"BAZEL_VERSION","value":"0.11.0"}],"from":{"kind":"DockerImage","name":"registry.fedoraproject.org/f27/s2i-core"},"noCache":true},"type":"Docker"},"successfulBuildsHistoryLimit":5,"triggers":[{"type":"ConfigChange"},{"generic":{"secret":"tf-build-secret"},"type":"Generic"}]},"status":{"lastVersion":1}}
log: >
usermod: no changes
---> aebb4a881fbb
Removing intermediate container cadecfcd4e02
Step 44/52 : COPY ./s2i/bin/ /usr/libexec/s2i
---> 21b63e2e22c0
Removing intermediate container a59964390717
Step 45/52 : EXPOSE 8080
---> Running in 37189fba315a
---> 2f81d881355a
Removing intermediate container 37189fba315a
Step 46/52 : ENV HOME /home/$NB_USER
---> Running in 67b7745669ad
---> 6a588d70d489
Removing intermediate container 67b7745669ad
Step 47/52 : USER 1001
---> Running in 1cf80a4bd338
---> b5d37073846c
Removing intermediate container 1cf80a4bd338
Step 48/52 : WORKDIR /workspace
---> ca6217be26c8
Removing intermediate container 73a8c34513ac
Step 49/52 : ENTRYPOINT /entrypoint
---> Running in 865b7121edf2
---> 22f963be272a
Removing intermediate container 865b7121edf2
Step 50/52 : CMD /usr/libexec/s2i/usage
---> Running in d04304b289a0
---> 17cfe44e505f
Removing intermediate container d04304b289a0
Step 51/52 : ENV "OPENSHIFT_BUILD_NAME" "tf-fedora27-builder-image-36-1" "OPENSHIFT_BUILD_NAMESPACE" "thoth-prod-tensorflow" "OPENSHIFT_BUILD_SOURCE" "https://github.com/thoth-station/tensorflow-build-s2i.git" "OPENSHIFT_BUILD_REFERENCE" "master" "OPENSHIFT_BUILD_COMMIT" "c1c2dd89083fbd9c3a388abe9c33396197c62d8a"
---> Running in b776dd0e56e8
---> 13b74abab632
Removing intermediate container b776dd0e56e8
Step 52/52 : LABEL "io.openshift.build.commit.message" "fix PYTHON_LIB_PATH" "io.openshift.build.source-location" "https://github.com/thoth-station/tensorflow-build-s2i.git" "io.openshift.build.name" "tf-fedora27-builder-image-36-1" "io.openshift.build.namespace" "thoth-prod-tensorflow" "io.openshift.build.commit.author" "Subin \u003csubin@apache.org\u003e" "io.openshift.build.commit.date" "Wed Jul 18 03:19:43 2018 -0400" "io.openshift.build.commit.id" "c1c2dd89083fbd9c3a388abe9c33396197c62d8a" "io.openshift.build.commit.ref" "master"
---> Running in cd92d17cc10a
---> 70b068f20cb6
Removing intermediate container cd92d17cc10a
Successfully built 70b068f20cb6
Pushing image docker-registry.default.svc:5000/thoth-prod-tensorflow/tf-fedora27-builder-image-36:1 ...
Pushed 0/7 layers, 0% complete
Pushed 1/7 layers, 14% complete
Pushed 2/7 layers, 29% complete
Pushed 3/7 layers, 43% complete
Pushed 4/7 layers, 59% complete
Pushed 5/7 layers, 87% complete
Pushed 5/7 layers, 80% complete
Pushed 6/7 layers, 98% complete
Pushed 7/7 layers, 100% complete
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: errors:
manifest blob unknown: blob unknown to registry
manifest blob unknown: blob unknown to registry
manifest blob unknown: blob unknown to registry
manifest blob unknown: blob unknown to registry
manifest blob unknown: blob unknown to registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment