Skip to content

Add revision-failure test image#14875

Merged
knative-prow[bot] merged 2 commits intoknative:mainfrom
dprotaso:revision-failure
Feb 15, 2024
Merged

Add revision-failure test image#14875
knative-prow[bot] merged 2 commits intoknative:mainfrom
dprotaso:revision-failure

Conversation

@dprotaso
Copy link
Copy Markdown
Member

@dprotaso dprotaso commented Feb 9, 2024

This let's you control which revisions fail on startup by updating a config map with the revision name as the key

eg. kubectl patch configmap revision-failure -p '{"data":{"revision-failure-00001":"1"}}'

This is useful for debugging so thought it would be worth contributing

@knative-prow knative-prow bot added the area/test-and-release It flags unit/e2e/conformance/perf test issues for product features label Feb 9, 2024
@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 9, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (52b4b09) 85.79% compared to head (94ad068) 85.77%.
Report is 21 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14875      +/-   ##
==========================================
- Coverage   85.79%   85.77%   -0.03%     
==========================================
  Files         198      198              
  Lines       15126    15153      +27     
==========================================
+ Hits        12978    12997      +19     
- Misses       1826     1830       +4     
- Partials      322      326       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dprotaso
Copy link
Copy Markdown
Member Author

dprotaso commented Feb 9, 2024

finished with error: All cluster resources were brought up, but: only 11 nodes out of 12 have registered; cluster may be unhealthy.\n

/retest

@dprotaso
Copy link
Copy Markdown
Member Author

dprotaso commented Feb 9, 2024

/retest

Comment thread test/test_images/revisionfailure/revisionfailure.go Outdated
@skonto
Copy link
Copy Markdown
Contributor

skonto commented Feb 13, 2024

Are we planning to re-use it in tests?

Comment thread test/test_images/revisionfailure/revisionfailure.go Outdated
Copy link
Copy Markdown
Contributor

@ReToCode ReToCode left a comment

Choose a reason for hiding this comment

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

/hold other than the two nits, LGTM. Feel free to either update or just unhold

/lgtm
/approve

@knative-prow knative-prow bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 14, 2024
@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 14, 2024
@dprotaso
Copy link
Copy Markdown
Member Author

I'm trying to write some e2e tests to help verify the changes in the PRs I'm reviewing

#14875
#14573

I found this image to be useful and I'll contribute the e2e tests in another PR

I might add some more functionality to this image before merging

@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 14, 2024
@dprotaso
Copy link
Copy Markdown
Member Author

/assign @izabelacg

@izabelacg
Copy link
Copy Markdown
Contributor

/LGTM

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 14, 2024
@izabelacg
Copy link
Copy Markdown
Contributor

/approve

@knative-prow
Copy link
Copy Markdown

knative-prow bot commented Feb 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, izabelacg, ReToCode

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

@dprotaso
Copy link
Copy Markdown
Member Author

/hold cancel

@knative-prow knative-prow bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 15, 2024
@ReToCode
Copy link
Copy Markdown
Contributor

/test istio-latest-no-mesh

@dprotaso
Copy link
Copy Markdown
Member Author

/retest

@knative-prow knative-prow bot merged commit 8589e0c into knative:main Feb 15, 2024
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. area/test-and-release It flags unit/e2e/conformance/perf test issues for product features lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants