Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing rollout informer writeback #1698

Merged
merged 1 commit into from
Dec 11, 2021

Conversation

jessesuen
Copy link
Member

@jessesuen jessesuen commented Dec 11, 2021

Resolves #913

I finally encountered the e2e flakiness #913 in local development and spent some time studying the sequence of events and logs. I believe the root cause to be a bug in the controller with the informer cache becoming stale, because we don't write back the rollout in the event where spec.replicas is defaulted.

Update: this will only fix one source of e2e flakiness, but there is much more to be done

Signed-off-by: Jesse Suen [email protected]

@jessesuen jessesuen requested a review from alexmt December 11, 2021 19:16
@sonarcloud
Copy link

sonarcloud bot commented Dec 11, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

🎉

@codecov
Copy link

codecov bot commented Dec 11, 2021

Codecov Report

Merging #1698 (4d9c0dc) into master (c67735a) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1698      +/-   ##
==========================================
- Coverage   82.08%   82.06%   -0.02%     
==========================================
  Files         116      116              
  Lines       16073    16075       +2     
==========================================
- Hits        13193    13192       -1     
- Misses       2208     2210       +2     
- Partials      672      673       +1     
Impacted Files Coverage Δ
rollout/controller.go 74.80% <100.00%> (+0.09%) ⬆️
rollout/trafficrouting/istio/controller.go 50.81% <0.00%> (-1.63%) ⬇️

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 c67735a...4d9c0dc. Read the comment docs.

@jessesuen jessesuen merged commit 271c3c0 into argoproj:master Dec 11, 2021
@jessesuen jessesuen deleted the fix-observedgen branch December 11, 2021 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2E tests timeout with waiting for rollout spec update to be observed
2 participants