-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Date histogram bwc deprecation failure #42258
Comments
Pinging @elastic/es-analytics-geo |
@polyfractal this looks related to #41906, can you take a look? |
Muted in 570e8ed I still need to update the versions after backport, and most of them are ok because they are I'd prefer to fix all those versions in one commit, so just muting this for now. |
AwaitsFix #42258 Thought this was fixed, but throwing deprecation warnings at an unexpected time so putting this back on mute until we figure it out.
Reopening. The version issue is fixed, but the test itself is throwing an unexpected deprecation warning somewhere (either uncaught, or multiples when only one was expected). Investigating
|
Also failing in 7.x
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+periodic/578/console |
AwaitsFix #42258 Thought this was fixed, but throwing deprecation warnings at an unexpected time so putting this back on mute until we figure it out.
Pushed a mute to 7.x as well. Will try to figure out what's going on with this test today so we can get it fixed/unmuted |
AwaitsFix elastic#42258 Thought this was fixed, but throwing deprecation warnings at an unexpected time so putting this back on mute until we figure it out.
Hmm, tried to get this fixed and think I'm going to need some help. @dimitris-athanasiou, it seems that the mixed cluster Do you know why it might change from seed to seed? Any ideas how to get these tests fixed and unmuted? |
This issue should be closed by #42290 but there has been 2 recent failures on the 7.2 branch https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.2+bwc-tests/86/console
The skip needs to be updated for version 7.2.0 as in a rolling upgrade to 7.2.1 the old cluster can be 7.2.0 which will return the deprecation warning. @polyfractal you fixed this on the other branches can you take a look please. |
Will mute on 7.2 in a minute. #42290 doesn't fix the failure though, because the root issue is that the test throws one or two deprecation warnings and I'm not sure why yet. You can see that the 7.2 test is already expecting a deprecation warning, the problem is that a second unexpected (but identical) deprecation warning is thrown. Dimitris noticed that when two deprecations are thrown they are coming from different nodes which is likely part of it. I think the bigger issue is that the yaml rest rolling restart tests don't have a good way to know which node we're talking to, so when we're in a mixed cluster situation it's not clear if we are talking to someone pre- or post-upgrade... so it's impossible to know which deprecations will or won't be thrown. And I think the version skip is based on checkout branch not the bwc-version branch. Finally, if we mute just one test it fails the entire suite because they rely on each other (570e8ed attempted to mute just the offending test, but that breaks the entire rolling upgrade suite) It's also possible I'm missing something, but haven't found a workaround yet. |
AwaitsFix #42258 Thought this was fixed, but throwing deprecation warnings at an unexpected time so putting this back on mute until we figure it out.
Some note as I am working on a similar problem (upgrade tests for deprecated API's): Type removal solved this problem by ignoring warnings: elasticsearch/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/section/DoSection.java Line 295 in 6891475
Not the most elegant way but pragmatic and quickly implemented. |
it seems like the note Hendrik left should solve this issue moving forward. Think we can close this one @polyfractal? |
This appears to have been fixed in #52538 Closing! |
Intake got a bwc test failure, which reproduces:
The underlying failure is:
The text was updated successfully, but these errors were encountered: