Skip to content

NodeSubclassTests#testReplaceChildren fails #52951

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

Closed
javanna opened this issue Feb 28, 2020 · 6 comments · Fixed by #52957
Closed

NodeSubclassTests#testReplaceChildren fails #52951

javanna opened this issue Feb 28, 2020 · 6 comments · Fixed by #52957
Assignees
Labels
:Analytics/EQL EQL querying >test-failure Triaged test failures from CI

Comments

@javanna
Copy link
Member

javanna commented Feb 28, 2020

This failure reproduces with the seed:

./gradlew ':x-pack:plugin:ql:test' --tests "org.elasticsearch.xpack.ql.tree.NodeSubclassTests"   -Dtests.method="testReplaceChildren {p0=class org.elasticsearch.xpack.ql.expression.predicate.operator.comparison.InPipe}"   -Dtests.seed=221E160E2C0A0D52
java.lang.IllegalArgumentException: expected at least [2] children but received [1]

	at __randomizedtesting.SeedInfo.seed([221E160E2C0A0D52:1BE1B543D50C2DAC]:0)
	at org.elasticsearch.xpack.ql.expression.predicate.operator.comparison.InPipe.replaceChildren(InPipe.java:27)
	at org.elasticsearch.xpack.ql.expression.predicate.operator.comparison.InPipe.replaceChildren(InPipe.java:18)
	at org.elasticsearch.xpack.ql.tree.NodeSubclassTests.testReplaceChildren(NodeSubclassTests.java:189)

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+release-tests/958

@javanna javanna added >test-failure Triaged test failures from CI :Analytics/EQL EQL querying labels Feb 28, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/EQL)

@astefan astefan self-assigned this Feb 28, 2020
@javanna
Copy link
Member Author

javanna commented Feb 28, 2020

Note that I was not able to reproduce the same failure on master with the same seed.

@astefan
Copy link
Contributor

astefan commented Feb 28, 2020

It does repro for me on master....

javanna added a commit to javanna/elasticsearch that referenced this issue Feb 28, 2020
@javanna
Copy link
Member Author

javanna commented Feb 28, 2020

It does repro for me on master....

Interesting, I must have done something wrong then. Actually, I did not pull latest master I guess :D that should give you a good indication that in the last few days some change made this test fail.

I just muted the test although there was only one failure of it (the one linked above) in the last two months. Please unmute once fixed. I guess I need to mute also on master.

@astefan
Copy link
Contributor

astefan commented Feb 28, 2020

I merged today a PR directly affecting the InPipe class involved in test. So, there is definitely something fishy with my changes. Please, mute on master as well.

@javanna javanna changed the title NodeSubclassTests#testReplaceChildren fails on 7.x NodeSubclassTests#testReplaceChildren fails Feb 28, 2020
@javanna
Copy link
Member Author

javanna commented Feb 28, 2020

Done, thanks for jumping on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/EQL EQL querying >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants