Skip to content

Re-enable ContainerMissing testing.#1264

Merged
google-prow-robot merged 1 commit intoknative:masterfrom
mattmoor:fix-1240
Jun 19, 2018
Merged

Re-enable ContainerMissing testing.#1264
google-prow-robot merged 1 commit intoknative:masterfrom
mattmoor:fix-1240

Conversation

@mattmoor
Copy link
Copy Markdown
Member

The testing for our ContainerMissing checking was predicating on the Reason at the Configuration level, which is unspecified. The content of the error message is also unspecified and registry specific, so this makes the check a bit more permissive (strings.Contains vs. string.HasPrefix).

cc @jessiezcc

Fixes: #1240

The testing for our ContainerMissing checking was predicating on the `Reason` at the `Configuration` level, which is unspecified.  The content of the error message is also unspecified and registry specific, so this makes the check a bit more permissive (`strings.Contains` vs. `string.HasPrefix`).

Fixes: knative/serving#1240
@google-prow-robot google-prow-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 19, 2018
Comment thread test/e2e/errorcondition_test.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we still check for Reason=="RevisionFailed" to replace ContainerMissing?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to.

@jonjohnsonjr
Copy link
Copy Markdown
Contributor

/retest

@jonjohnsonjr
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 19, 2018
@google-prow-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jonjohnsonjr, mattmoor

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-prow-robot google-prow-robot merged commit 35113f1 into knative:master Jun 19, 2018
@mattmoor mattmoor deleted the fix-1240 branch June 19, 2018 03:56
creydr pushed a commit to creydr/knative-serving that referenced this pull request Mar 25, 2025
Co-authored-by: serverless-qe <serverless-support@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants