-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[CI] TransformUsageIT.testUsage fails with incorrect stats call count #52931
Comments
Pinging @elastic/ml-core (:ml/Transform) |
Thanks for the report. I took a look and it seems to be a bad test. |
relax the test for trigger count fixes #52931
relax the test for trigger count fixes #52931
Another failure, reopening this ticket
https://gradle-enterprise.elastic.co/s/zxok2tigiaaks/tests/vkcr26w2ldob6-j74o4svwlg7nm |
Another failure on master intake: https://gradle-enterprise.elastic.co/s/zxok2tigiaaks Doesn't reproduce for me:
|
Looks like this still fails in CI. I just had the following intake build fail: Build scan: https://gradle-enterprise.elastic.co/s/2st3zfjq7zm26
Reproduce line:
Did not reproduce locally. |
log the full usage response on failure (individual counts are logged already) relates #52931
log the full usage response on failure (individual counts are logged already) relates #52931
The last failure gives us a hint, thanks to the extended logging: usage counters:
test_usage/_stats:
test_usage_continuous/_stats
Usage returns a sum for all fields, this seems to work, except for The difference between the The mismatch seems to originate from a mismatch between the in memory and indexed information. A trigger by design never saves state, but transform only saves state if it is necessary. It seems to me we should ignore |
relax test for trigger count, it might have been incremented but not persisted fixes #52931
relax test for trigger count, it might have been incremented but not persisted fixes #52931
In https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob+fast+part2/3953/consoleFull / https://gradle-enterprise.elastic.co/s/nobrqofhrecye/tests/vkcr26w2ldob6-j74o4svwlg7nm
The
TransformUsageIT.testUsage
test failed with:I was unable to reproduce this on master with:
The text was updated successfully, but these errors were encountered: