-
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] TransportTasksActionTests testFailedTasksCount failing #94987
Comments
Pinging @elastic/es-distributed (Team:Distributed) |
I've spend some time looking into this trying to understand the issue considering it has a bit of a history. Fortunately, extra logs are enabled for this. The previous issue of having unexpected Is there a reason not to safely ignore that, considering this is a rather artificial setup of a cluster that this particular test has? Either by waiting for an empty task list (at least no handshake actions) before continuing with the test or using the task register/unregister listeners? |
Ohh I wonder if #94865 broke this. Does that match the timeline? With that change we will respond to the handshake and then unregister the task, so it's no longer safe to assume that the task is gone |
ha! That looks like it. Timeline does match, and that explains why the |
Looks like this is still happening https://gradle-enterprise.elastic.co/s/s6vtua2zvk3cg |
That seems to be a failure of |
I thought it was the same test 🤦. Sorry! |
Due to elastic#94865, we now send an ack before the task gets removed, so we can see a non-zero amount of tasks in the task manager for a short amount of time. We can just busy wait until the task gets removed. See elastic#95494, elastic#94987
Build scan:
https://gradle-enterprise.elastic.co/s/pqzbzh7gchn2o/tests/:server:test/org.elasticsearch.action.admin.cluster.node.tasks.TransportTasksActionTests/testFailedTasksCount
Reproduction line:
Applicable branches:
main
Reproduces locally?:
Didn't try
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.action.admin.cluster.node.tasks.TransportTasksActionTests&tests.test=testFailedTasksCount
Failure excerpt:
The text was updated successfully, but these errors were encountered: