Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@relu
Copy link
Contributor

@relu relu commented Feb 1, 2023

The upgrade e2e test can fail in some situations because the envoy waiter is incorrectly returning true before the StatefulSet even manages to finish the rollout since it only checks the StatefulSet state on properties that are inconsistently populated due to timing differences.

This fix addressed that by using a similar condition validation method as the one already used for the Contour Deployment rollout.

@relu relu requested a review from a team as a code owner February 1, 2023 17:14
@relu relu requested review from stevesloka and sunjayBhatia and removed request for a team February 1, 2023 17:14
@skriss skriss added the release-note/none-required Marks a PR as not requiring a release note. Should only be used for very small changes. label Feb 1, 2023
Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

Thanks for this @relu!

@relu relu force-pushed the fix-upgrade-test-envoy-ready-waiter branch 2 times, most recently from 7c20179 to d1a2b42 Compare February 1, 2023 17:34
@codecov
Copy link

codecov bot commented Feb 1, 2023

Codecov Report

Merging #5041 (9bc5296) into main (052a12d) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5041   +/-   ##
=======================================
  Coverage   77.49%   77.49%           
=======================================
  Files         138      138           
  Lines       16904    16904           
=======================================
  Hits        13099    13099           
  Misses       3550     3550           
  Partials      255      255           

@relu relu force-pushed the fix-upgrade-test-envoy-ready-waiter branch 3 times, most recently from 8847532 to 068acd5 Compare February 2, 2023 10:20
The upgrade e2e test can fail in some situations because the envoy
waiter is incorrectly returning true before the StatefulSet even manages
to finish the rollout since it only checks the StatefulSet state on
properties that are inconsistently populated due to timing differences.

This fix addressed that by using a similar condition validation method
as the one already used for the Contour Deployment rollout.

Signed-off-by: Aurel Canciu <[email protected]>
@relu relu force-pushed the fix-upgrade-test-envoy-ready-waiter branch from 068acd5 to 9bc5296 Compare February 2, 2023 20:13
Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

LGTM, will leave for @sunjayBhatia. Thanks @relu!

@sunjayBhatia sunjayBhatia merged commit 19a4c9f into projectcontour:main Feb 3, 2023
yangyy93 pushed a commit to projectsesame/contour that referenced this pull request Feb 16, 2023
The upgrade e2e test can fail in some situations because the envoy
waiter is incorrectly returning true before the StatefulSet even manages
to finish the rollout since it only checks the StatefulSet state on
properties that are inconsistently populated due to timing differences.

This fix addressed that by using a similar condition validation method
as the one already used for the Contour Deployment rollout.

Signed-off-by: Aurel Canciu <[email protected]>
Signed-off-by: yy <[email protected]>
yangyy93 pushed a commit to projectsesame/contour that referenced this pull request Feb 16, 2023
The upgrade e2e test can fail in some situations because the envoy
waiter is incorrectly returning true before the StatefulSet even manages
to finish the rollout since it only checks the StatefulSet state on
properties that are inconsistently populated due to timing differences.

This fix addressed that by using a similar condition validation method
as the one already used for the Contour Deployment rollout.

Signed-off-by: Aurel Canciu <[email protected]>
Signed-off-by: yy <[email protected]>
vmw-yingy pushed a commit to vmw-yingy/contour that referenced this pull request Feb 28, 2023
The upgrade e2e test can fail in some situations because the envoy
waiter is incorrectly returning true before the StatefulSet even manages
to finish the rollout since it only checks the StatefulSet state on
properties that are inconsistently populated due to timing differences.

This fix addressed that by using a similar condition validation method
as the one already used for the Contour Deployment rollout.

Signed-off-by: Aurel Canciu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/none-required Marks a PR as not requiring a release note. Should only be used for very small changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants