Skip to content
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

QueryBuilderBWCIT failing on 6.x #27510

Closed
DaveCTurner opened this issue Nov 23, 2017 · 2 comments
Closed

QueryBuilderBWCIT failing on 6.x #27510

DaveCTurner opened this issue Nov 23, 2017 · 2 comments
Assignees
Labels
>test Issues or PRs that are addressing/adding tests v6.2.0

Comments

@DaveCTurner
Copy link
Contributor

   > Throwable #1: java.io.EOFException
   >    at __randomizedtesting.SeedInfo.seed([4F6E53F00DC6A3E0:4CF2BF33E469C0F0]:0)
   >    at org.elasticsearch.common.io.stream.InputStreamStreamInput.readByte(InputStreamStreamInput.java:59)
   >    at org.elasticsearch.common.io.stream.FilterStreamInput.readByte(FilterStreamInput.java:40)
   >    at org.elasticsearch.common.io.stream.StreamInput.readVInt(StreamInput.java:187)
   >    at org.elasticsearch.common.io.stream.StreamInput.readArraySize(StreamInput.java:951)
   >    at org.elasticsearch.common.io.stream.StreamInput.readString(StreamInput.java:347)
   >    at org.elasticsearch.common.unit.Fuzziness.<init>(Fuzziness.java:83)
   >    at org.elasticsearch.common.io.stream.StreamInput.readOptionalWriteable(StreamInput.java:733)
   >    at org.elasticsearch.index.query.MatchQueryBuilder.<init>(MatchQueryBuilder.java:129)
   >    at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46)
   >    at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39)
   >    at org.elasticsearch.bwc.QueryBuilderBWCIT.testQueryBuilderBWC(QueryBuilderBWCIT.java:206)
   >    at java.lang.Thread.run(Thread.java:748)

This reproduces as follows:

REPRODUCE WITH: gradle :qa:query-builder-bwc:v5.6.5-SNAPSHOT#upgradedQueryBuilderTestRunner \
  -Dtests.seed=4F6E53F00DC6A3E0 \
  -Dtests.class=org.elasticsearch.bwc.QueryBuilderBWCIT \
  -Dtests.method="testQueryBuilderBWC" \
  -Dtests.security.manager=true \
  -Dtests.locale=en \
  -Dtests.timezone=Etc/UTC

See e.g. https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+intake/717

This is testing BWC against 5.6.5 which hasn't been under test recently because of #27397, but now that's been merged this has shown up.

@martijnvg
Copy link
Member

This qa test was designed to run only against 6.0+ nodes. I'll fix that in this qa module's gradle file.

martijnvg added a commit that referenced this issue Nov 24, 2017
The percolator query format this bwc qa test is testing is only available from 6.x versions.

Closes #27510
martijnvg added a commit that referenced this issue Nov 24, 2017
The percolator query format this bwc qa test is testing is only available from 6.x versions.

Closes #27510
martijnvg added a commit that referenced this issue Nov 24, 2017
The percolator query format this bwc qa test is testing is only available from 6.x versions.

Closes #27510
@martijnvg
Copy link
Member

Fixed by the 3 above commits in the respective 6.x, 6.1 and 6.0 branches.

@colings86 colings86 added >test Issues or PRs that are addressing/adding tests and removed >bug labels Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests v6.2.0
Projects
None yet
Development

No branches or pull requests

3 participants