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

Pod row should detect when plank fails to create pod #403

Open
fejta opened this issue Mar 16, 2021 · 1 comment
Open

Pod row should detect when plank fails to create pod #403

fejta opened this issue Mar 16, 2021 · 1 comment
Assignees

Comments

@fejta
Copy link
Contributor

fejta commented Mar 16, 2021

If the pod cannot be created we will have a prowjob.json but no podinfo.json. Example:

https://prow.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-launch-azure/1370052156190625792

/assign

However right now the symptom this demonstrates is "podinfo.json not found please install GCS reporter"

@fejta
Copy link
Contributor Author

fejta commented Apr 22, 2021

Here's where we download podinfo.json, could extend to include prowjob.json and also process that:

// Download podinfo.json
work++
go func() {
pi, err := build.PodInfo(ctx, client)
switch {
case errors.Is(err, io.EOF):
addMalformed("podinfo.json")
err = nil
case err != nil:
err = fmt.Errorf("podinfo: %w", err)
case pi != nil:
result.podInfo = *pi
}
select {
case <-ctx.Done():
case ec <- err:
}
}()

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

1 participant