Skip to content

ContainerMissing is no longer reported in Condition when an invalid image path is specified #1240

@jessiezcc

Description

@jessiezcc

/area API
/kind dev

Expected Behavior

Some recent change broke TC ContainerErrorMsg.
It expects to see LatestRevisionReady Condition to have Reason as ContainerMissing

Actual Behavior

The reason shows "Unknown" in my repro.
And in Brenda's repro, it shows as RevisionFailed.
The test was passing as of Jun.8th.
"
status:
conditions:
- lastTransitionTime: null
message: 'revision "prodrxavxzdc-00001" failed with message: MANIFEST_UNKNOWN:
"Failed to fetch "latest" from request "/v2/cf-elafros-dog/invalidhelloworld/manifests/latest"."'
reason: RevisionFailed
status: "False"
type: LatestRevisionReady"

Steps to Reproduce the Problem

  1. go test -v ./test/e2e -tags=e2e -run ContainerErrorMsg --logverbose

Additional Info

I0615 14:29:41.736487 184415 request.go:874] Response Body: {"apiVersion":"serving.knative.dev/v1alpha1","kind":"Configuration","metadata":{"clusterName":"","creationTimestamp":"2018-06-15T21:29:31Z","generation":0,"labels":{"serving.knative.dev/route":"noodleburgjgpaysdk"},"name":"prodssxudvlo","namespace":"noodleburg","resourceVersion":"11307300","selfLink":"/apis/serving.knative.dev/v1alpha1/namespaces/noodleburg/configurations/prodssxudvlo","uid":"30dd9435-70e3-11e8-bae2-42010af00105"},"spec":{"generation":1,"revisionTemplate":{"metadata":{"creationTimestamp":null},"spec":{"concurrencyModel":"Multi","container":{"image":"gcr.io/kubertry-200221/invalidhelloworld","name":"","resources":{}}}}},"status":{"conditions":[{"lastTransitionTime":"2018-06-15T21:29:31Z","status":"Unknown","type":"LatestRevisionReady"},{"lastTransitionTime":"2018-06-15T21:29:31Z","status":"Unknown","type":"Ready"}],"latestCreatedRevisionName":"prodssxudvlo-00001","observedGeneration":1}}

Metadata

Metadata

Assignees

Labels

area/APIAPI objects and controllerskind/featureWell-understood/specified features, ready for coding.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions