[v1.7] test: Replace managed etcd test with generic etcd test#13574
Merged
aanm merged 5 commits intocilium:v1.7from Oct 20, 2020
Merged
[v1.7] test: Replace managed etcd test with generic etcd test#13574aanm merged 5 commits intocilium:v1.7from
aanm merged 5 commits intocilium:v1.7from
Conversation
c2b02de to
264eeaf
Compare
Member
Author
|
test-backport-1.7 |
Member
Author
|
test-focus K8sDatapathConfig.*Etcd |
pchaigno
approved these changes
Oct 15, 2020
[ upstream commit bf3a6c5 ] [ Backporter's notes: The deployment manager code doesn't exist in v1.7, so that was omitted in this backport commit. The functional changes that the deployment manager provided were translated for the current code in v1.7. Also, "synchronizeK8sNodes" is not under the "config" Helm subchart in v1.7, but rather under "operator". ] The managed etcd feature is being deprecated soon. The test has been unreliable due to etcd operator not being able to bring up etcd clusters reliably. We want to ensure test coverage for the etcd backing though. Convert the managed etcd test to a more generic test which uses stateless etcd for a reliable outcome. Fixes: cilium#11181 Signed-off-by: Thomas Graf <thomas@cilium.io> Signed-off-by: Chris Tarazi <chris@isovalent.com>
[ upstream commit 43a7bba ] Signed-off-by: Thomas Graf <thomas@cilium.io> Signed-off-by: Chris Tarazi <chris@isovalent.com>
264eeaf to
60ba33f
Compare
Member
Author
|
test-focus K8sDatapathConfig.*Etcd |
Member
|
Looks like Cilium pods are failing because of |
Member
Member
Author
I am not able to reproduce this locally. |
Member
Author
|
test-focus K8sDatapathConfig.*Etcd |
Member
Author
|
test-me-please Edit: oops wrong command |
Member
Author
|
test-backport-1.7 |
703d17f to
adfc5bc
Compare
Member
Author
|
test-backport-1.7 Edit: passed! |
This commit removes an unnecessary step which installs Cilium after every Context block in this test suite. It is unnecessary because each Context will install Cilium and configure it accordingly. This will also speed up the test suite execution time. Signed-off-by: Chris Tarazi <chris@isovalent.com>
adfc5bc to
6f0596e
Compare
This commit separates out the preamble of deploying etcd and reconfiguring Cilium to use it into a BeforeEach. This improves the readability of the test. Signed-off-by: Chris Tarazi <chris@isovalent.com>
Signed-off-by: Chris Tarazi <chris@isovalent.com>
6f0596e to
7b45530
Compare
Member
Author
|
test-backport-1.7 Edit: two passes in a row! |
Member
Author
|
test-backport-1.7 Edit: 3 passes in a row! |
Member
Author
|
test-backport-1.7 Edit: 4 passes in a row! |
Member
Author
|
test-backport-1.7 Edit: 5 passes in a row! |
Member
Author
|
test-backport-1.7 Edit: 6 passes in a row! (Cilium-Ginkgo-Test-k8s failed to provision) |
Member
Member
|
test-missed-k8s |
nebril
approved these changes
Oct 19, 2020
aanm
approved these changes
Oct 20, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Direct backport of #11544. The first 2 commits are a backport, and other commits are direct commits (considering applying them to v1.8 & master).
Fixes: #13282
Once this PR is merged, you can update the PR labels via: