-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
NPE in ClusterStatsNodesTests#testIngestStats #48684
Labels
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
:Data Management/Stats
Statistics tracking and retrieval APIs
>test-failure
Triaged test failures from CI
Comments
DaveCTurner
added
:Data Management/Stats
Statistics tracking and retrieval APIs
>test-failure
Triaged test failures from CI
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
labels
Oct 30, 2019
Pinging @elastic/es-core-features (:Core/Features/Ingest) |
DaveCTurner
added a commit
that referenced
this issue
Oct 30, 2019
Muted in 63831fa. |
thank you David! I will address |
talevy
added a commit
to talevy/elasticsearch
that referenced
this issue
Oct 30, 2019
This commit creates random NodesStats until IngestStats is not null, so that it can be properly tested. This is done as to not change the existing behavior of createNodesStats since it depends on IngestStats being null at times for serialization testing purposes. I think it is OK to do this since it is unlikely that it will be null. relates elastic#48485 closes elastic#48684
talevy
added a commit
that referenced
this issue
Oct 31, 2019
This commit creates random NodesStats until IngestStats is not null, so that it can be properly tested. This is done as to not change the existing behavior of createNodesStats since it depends on IngestStats being null at times for serialization testing purposes. I think it is OK to do this since it is unlikely that it will be null. relates #48485 closes #48684
debadair
pushed a commit
to debadair/elasticsearch
that referenced
this issue
Nov 13, 2019
This commit creates random NodesStats until IngestStats is not null, so that it can be properly tested. This is done as to not change the existing behavior of createNodesStats since it depends on IngestStats being null at times for serialization testing purposes. I think it is OK to do this since it is unlikely that it will be null. relates elastic#48485 closes elastic#48684
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
:Data Management/Stats
Statistics tracking and retrieval APIs
>test-failure
Triaged test failures from CI
testIngestStats
fails (reproducibly) like this:Looks like the reason is that
createNodeStats()
will rarely returnnull
for the ingest stats:elasticsearch/server/src/test/java/org/elasticsearch/action/admin/cluster/node/stats/NodeStatsTests.java
Lines 442 to 465 in 523cb23
I will mute this.
Relates #48485
The text was updated successfully, but these errors were encountered: