Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Build log 404 in https://prow.k8s.io/?repo=tensorflow%2Fk8s #282

Closed
gaocegege opened this issue Jan 11, 2018 · 1 comment
Closed

Comments

@gaocegege
Copy link
Member

For example: https://prow.k8s.io/log?job=tf-k8s-presubmit&id=340

Log not found: response has status "404 Not Found" and body "{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods \"cbf3011a-f68b-11e7-8810-0a580a6c0033\" not found","reason":"NotFound","details":{"name":"cbf3011a-f68b-11e7-8810-0a580a6c0033","kind":"pods"},"code":404}
"
@jlewi
Copy link
Contributor

jlewi commented Jan 12, 2018

I think this is working as intended. When you click on the prow job, the logs you are seeing are pulled directly from the pod. So they are only available as long as the pod is available and pods get GC'd soon after the pods are finished.

For long term storage, Gubernator uses GCS to store a copy of the logs. In the prow dashboard you can click on the job type in the "Job" column to get a link to a prow page like this
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/tensorflow_k8s/289/tf-k8s-presubmit/355/

If you click on build-log or artifacts that will bring to a page showing the files in GCS which should contain any logs stored for long term storage.

@jlewi jlewi closed this as completed Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants