-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
e2e tag cleanup #17180
e2e tag cleanup #17180
Conversation
karlkfi
commented
Nov 12, 2015
- Skip [Skipped] tests during conformance testing
- Remove "Suite" from e2e tag names
- Move group type e2e tags to the front of names, and to as high a context as applicable
- Move Conformance e2e tags to the end of test names (test specific)
- Move Skipped e2e tags to the end of names, but to as high a context as applicable
- Move ClusterDns e2e test to its own file (because it's not skipped like the others)
- Group FSGroup e2e tests
Labelling this PR as size/XL |
No new tests here, just refactored existing tests, mostly their names and contexts/describes. |
GCE e2e test build/test passed for commit da94bdbb22a5613a3e26a47d18049b7711d9d54b. |
Blocked by #17054 |
Hurrah! Thanks for taking on this much-needed tidy-up @karlkfi |
👍 ditto -- glad to see the cleanup |
@@ -34,7 +34,7 @@ const ( | |||
scaleDownTimeout = 30 * time.Minute | |||
) | |||
|
|||
var _ = Describe("Autoscaling", func() { | |||
var _ = Describe("[Autoscaling] [Skipped]", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not "Autoscaling" without the quotes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The [Autoscaling]
tag used in other tests, not just this describe block. So I wanted to be consistent in case people filter with the brackets. It's a subtle difference between a group tag used for filtering and a describe/context block just used for abstraction.
da94bdb
to
9af8a01
Compare
Rebased to get fix from #17054 @quinton-hoole you got a second to officially review this? Need a googler sign off. |
GCE e2e test build/test passed for commit 9af8a01a819ad05aefe09a5d3946206782369392. |
@@ -162,21 +162,18 @@ var _ = Describe("Density", func() { | |||
// (metrics from other tests affects this one). | |||
// TODO: Reenable once we can measure latency only from a single test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems like we should either remove this TODO or leave the option to make these tests unskipped by default? @fgrzadkowski
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They were all being skipped. So I removed the functionality to skip them individually and skipped the whole block.
You can still unskip them by specifying them as a group or individually.
Once this PR is merged, the Mesos/Docker cluster will be 100% conformant on master. |
Conformance has passed on the pull/17180/merge branch: https://teamcity.mesosphere.io/viewLog.html?buildId=75866&tab=buildResultsDiv&buildTypeId=Oss_KubernetesMesos_ConformanceTests&guest=1 |
9af8a01
to
cb928f1
Compare
Rebased to resolve conflicts:
|
GCE e2e build/test failed for commit cb928f1e114ec00dbb560b9fd8153c31f2940ae1. |
cb928f1
to
7d7fb77
Compare
GCE e2e test build/test passed for commit 7d7fb77367e5853ae8221270714c9275dcf44af1. |
GCE e2e build/test failed for commit f597fb9540e0073b5b6d5fe5ee3b86609cbe0bb5. |
That e2e is very not happy... a million |
lgtm, please squash |
@wojtek-t As you can see from the change log of this PR, the Latency test was already marked as a part of the |
@piosz That looks like an oversight on my part when I rebased to include the Horizontal pod autoscaling for deployments as well as for replication controllers (mentioned in #17180 (comment)). It must have gotten reverted in one of the subsequent rebases, and then the record lost in a squash. However, your fix is incomplete. The Deployment describe block should now also be marked |
@karlkfi - there must have been some configuration detail, because the latency test was NOT running in our scalability suite |
We're also running into problems with porting this to the release-1.1 branch. Our tests on the release branch are now confused because not everything is properly labeled. @karlkfi, can you cherry pick it, (use cc @kubernetes/goog-testing |
@ihmccreery are you running the master:head test scripts against the release branch? Why not use the scripts from the branch you're testing? |
Yes, we run the master |
OK, so is someone owning fixing the release-1.1 branch? I'm not sure if that's something to discuss in #17734 or elsewhere. Auditing tests right now on kubernetes-e2e-gce-release-1.1. We're now running the following tests (which we weren't before):
Unsurprisingly, this is breaking a lot of the other tests. |
Good news is that the builds running against master all appear to be working correctly. |
Well, I guess it's a good thing this came up, even if it did so in a somewhat painful way. Running unversioned test scripts against versioned tests is a good way to not be able to make any changes... I was unaware that was happening and didn't really have any way of knowing without access to your jenkins. The obvious solution is to run the tests on the branch you're testing. We're doing this in the Mesosphere CI, with some exception code that can override the CI scripts with ones from a specific repo/branch in case we need to override the scripts from another branch. Is there some reason the google jenkins can't do this? |
Let's take this discussion to #17734 perhaps? |
- Skip [Skipped] tests when testing for conformance kubernetes#17180 - Add cluster/test-conformance.sh script kubernetes#17997 - Support passing args to cluster/test-smoke.sh kubernetes#15404 - Support annotated tags in conformance test version detection kubernetes#17839
- Skip [Skipped] tests when testing for conformance kubernetes#17180 - Add cluster/test-conformance.sh script kubernetes#17997 - Support passing args to cluster/test-smoke.sh kubernetes#15404 - Support annotated tags in conformance test version detection kubernetes#17839
- Skip [Skipped] tests when testing for conformance kubernetes#17180 - Add cluster/test-conformance.sh script kubernetes#17997 - Support passing args to cluster/test-smoke.sh kubernetes#15404 - Support annotated tags in conformance test version detection kubernetes#17839