Skip to content

[QE] Don't wait on triggers, before deploying their subscriber#5444

Merged
knative-prow-robot merged 2 commits into
knative:mainfrom
cardil:bugfix/5441-dont-wait-on-triggers-to-early
May 31, 2021
Merged

[QE] Don't wait on triggers, before deploying their subscriber#5444
knative-prow-robot merged 2 commits into
knative:mainfrom
cardil:bugfix/5441-dont-wait-on-triggers-to-early

Conversation

@cardil
Copy link
Copy Markdown
Contributor

@cardil cardil commented May 27, 2021

@google-cla google-cla Bot added the cla: yes Indicates the PR's author has signed the CLA. label May 27, 2021
@knative-prow-robot knative-prow-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. area/test-and-release Test infrastructure, tests or release labels May 27, 2021
@cardil cardil changed the title Don't wait on triggers, before deploying their subscriber [QE] Don't wait on triggers, before deploying their subscriber May 27, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2021

Codecov Report

Merging #5444 (315cad9) into main (674815e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5444   +/-   ##
=======================================
  Coverage   82.76%   82.76%           
=======================================
  Files         197      197           
  Lines        6069     6069           
=======================================
  Hits         5023     5023           
  Misses        722      722           
  Partials      324      324           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 674815e...315cad9. Read the comment docs.

@mgencur
Copy link
Copy Markdown
Contributor

mgencur commented May 31, 2021

This looks good to me. There's one failed check: KinD e2e tests / e2e tests (v1.19.7, ./test/rekt/...) (pull_request)
But I suppose it's not related?

@cardil
Copy link
Copy Markdown
Contributor Author

cardil commented May 31, 2021

There's one failed check

I think it's a flake

@mgencur
Copy link
Copy Markdown
Contributor

mgencur commented May 31, 2021

/retest

@mgencur
Copy link
Copy Markdown
Contributor

mgencur commented May 31, 2021

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label May 31, 2021
cardil added a commit to cardil/serverless-operator that referenced this pull request May 31, 2021
@matzew
Copy link
Copy Markdown
Member

matzew commented May 31, 2021

/test all

Copy link
Copy Markdown
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cardil, matzew

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 31, 2021
@knative-prow-robot knative-prow-robot merged commit d1106c8 into knative:main May 31, 2021
@cardil cardil deleted the bugfix/5441-dont-wait-on-triggers-to-early branch May 31, 2021 12:52
cardil added a commit to cardil/knative-eventing that referenced this pull request May 31, 2021
* Don't wait on triggers, before deploying their subscriber
openshift-merge-robot pushed a commit to openshift/knative-eventing that referenced this pull request May 31, 2021
* Don't wait on triggers, before deploying their subscriber
openshift-merge-robot pushed a commit to openshift-knative/serverless-operator that referenced this pull request Jun 2, 2021
…983)

* Including eventing-kafka upgrade tests for source and channel

* Change the eventing env prefix

* Removal of personal forks

* Testing if knative/eventing#5444 will fix the tests

* Fixing the config paths

* Removal of interim fork
cardil added a commit to cardil/knative-eventing that referenced this pull request Jun 9, 2021
* Don't wait on triggers, before deploying their subscriber
cardil added a commit to cardil/serverless-operator that referenced this pull request Jun 9, 2021
Port of openshift-knative#983 to main branch with 0.22 eventing

* Including eventing-kafka upgrade tests for source and channel
* Change the eventing env prefix
* Removal of personal forks
* Testing if knative/eventing#5444 will fix the tests
* Fixing the config paths
* Removal of interim fork
openshift-merge-robot pushed a commit to openshift/knative-eventing that referenced this pull request Jun 10, 2021
* [0.22] Backport of PRs 5321 and 4815 (from #1284)

* Backport of (knative#4815)

Extension point for transport used to send events in upgrade tests

* EventSender interface to enable customisation of sending events
* Clean ups
* Basic extendability of wathola sender
* Updating boilerplate
* Testing sender services
* Allow of customization of wathola test images on downstream
* Waiting until test port is open
* Switch to v2 of pelletier/toml to support reading string/map[string]interface{} for interface{} typed field.
* LogLevel is settable
* Logging received event
* Changes after review

* Backport of (knative#5321)

Allow to change SUT for upgrade tests

* Introduction of SUT package
* Refactor to keep used interfaces and deprecate them first
* Update-codegen
* Restoring configuration options, to have Deprecated status instead
* Working e2e test
* Fixing NPE in upgrade tests
* Introducing new interfaces for configuration and easy execution
* NPE fix in continual.go@55
* Removal of ensure.NoError
* Raising UnavailablePeriodToReport to 10s to make tests more stable
* Running all e2e tagged tests
* Raising unavailibility period to 60s as load & retries makes it longer.
* Execute upgrade e2e tests with additional run
* Using SutURL in wathola config instead of BrokerURL
* Removal of redundant namespace option
* Switch to using interface{} as endpoint address representation
* Fixing compile error on prober
* Use full event type only
* Remove unused event prefix
* Renaming after code review
* Removal of unnecessary github.com/prometheus/common
* Remove Kafka from README and SUT to graph
* Remove unused EventsTypePrefix option
* Remove execution of TestBrokerAndTriggers helper test

* Backport of knative#5444 (#1286)

* Don't wait on triggers, before deploying their subscriber

* Restore manually modified vendor dir
openshift-merge-robot pushed a commit to openshift-knative/serverless-operator that referenced this pull request Jun 11, 2021
* Including eventing-kafka upgrade tests for source and channel

Port of #983 to main branch with 0.22 eventing

* Including eventing-kafka upgrade tests for source and channel
* Change the eventing env prefix
* Removal of personal forks
* Testing if knative/eventing#5444 will fix the tests
* Fixing the config paths
* Removal of interim fork

* Interim: checking if upgrade tests will work with 0.21 test images

* Remove interim personal forks

* Revert "Interim: checking if upgrade tests will work with 0.21 test images"

This reverts commit 727308a.
cardil added a commit to cardil/knative-eventing that referenced this pull request Jun 21, 2021
[0.23] Backport of PRs 4815 5321 5444 (from knative#1309)

* Backport of (knative#4815)

Extension point for transport used to send events in upgrade tests

* EventSender interface to enable customisation of sending events
* Clean ups
* Basic extendability of wathola sender
* Updating boilerplate
* Testing sender services
* Allow of customization of wathola test images on downstream
* Waiting until test port is open
* Switch to v2 of pelletier/toml to support reading string/map[string]interface{} for interface{} typed field.
* LogLevel is settable
* Logging received event
* Changes after review

* Backport of (knative#5321)

Allow to change SUT for upgrade tests

* Introduction of SUT package
* Refactor to keep used interfaces and deprecate them first
* Update-codegen
* Restoring configuration options, to have Deprecated status instead
* Working e2e test
* Fixing NPE in upgrade tests
* Introducing new interfaces for configuration and easy execution
* NPE fix in continual.go@55
* Removal of ensure.NoError
* Raising UnavailablePeriodToReport to 10s to make tests more stable
* Running all e2e tagged tests
* Raising unavailibility period to 60s as load & retries makes it longer.
* Execute upgrade e2e tests with additional run
* Using SutURL in wathola config instead of BrokerURL
* Removal of redundant namespace option
* Switch to using interface{} as endpoint address representation
* Fixing compile error on prober
* Use full event type only
* Remove unused event prefix
* Renaming after code review
* Removal of unnecessary github.com/prometheus/common
* Remove Kafka from README and SUT to graph
* Remove unused EventsTypePrefix option
* Remove execution of TestBrokerAndTriggers helper test

* Backport of (knative#5444)

* Don't wait on triggers, before deploying their subscriber
* Restore manually modified vendor dir
openshift-merge-robot pushed a commit to openshift/knative-eventing that referenced this pull request Jun 28, 2021
* [0.23] Backport of PRs 4815 5321 5444

[0.23] Backport of PRs 4815 5321 5444 (from #1309)

* Backport of (knative#4815)

Extension point for transport used to send events in upgrade tests

* EventSender interface to enable customisation of sending events
* Clean ups
* Basic extendability of wathola sender
* Updating boilerplate
* Testing sender services
* Allow of customization of wathola test images on downstream
* Waiting until test port is open
* Switch to v2 of pelletier/toml to support reading string/map[string]interface{} for interface{} typed field.
* LogLevel is settable
* Logging received event
* Changes after review

* Backport of (knative#5321)

Allow to change SUT for upgrade tests

* Introduction of SUT package
* Refactor to keep used interfaces and deprecate them first
* Update-codegen
* Restoring configuration options, to have Deprecated status instead
* Working e2e test
* Fixing NPE in upgrade tests
* Introducing new interfaces for configuration and easy execution
* NPE fix in continual.go@55
* Removal of ensure.NoError
* Raising UnavailablePeriodToReport to 10s to make tests more stable
* Running all e2e tagged tests
* Raising unavailibility period to 60s as load & retries makes it longer.
* Execute upgrade e2e tests with additional run
* Using SutURL in wathola config instead of BrokerURL
* Removal of redundant namespace option
* Switch to using interface{} as endpoint address representation
* Fixing compile error on prober
* Use full event type only
* Remove unused event prefix
* Renaming after code review
* Removal of unnecessary github.com/prometheus/common
* Remove Kafka from README and SUT to graph
* Remove unused EventsTypePrefix option
* Remove execution of TestBrokerAndTriggers helper test

* Backport of (knative#5444)

* Don't wait on triggers, before deploying their subscriber
* Restore manually modified vendor dir

* Revert "Update deps"
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 Test infrastructure, tests or release cla: yes Indicates the PR's author has signed the CLA. 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.

[QE] Default SUT for upgrade tests shouldn't wait to be ready, but rely on WaitForAllTestResourcesReadyOrFail

4 participants