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

[CI] TimeSeriesSortedSourceOperatorTests testMatchNone failing #109578

Closed
martijnvg opened this issue Jun 11, 2024 · 1 comment · Fixed by #109580
Closed

[CI] TimeSeriesSortedSourceOperatorTests testMatchNone failing #109578

martijnvg opened this issue Jun 11, 2024 · 1 comment · Fixed by #109580
Assignees
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :StorageEngine/TSDB You know, for Metrics Team:StorageEngine >test-failure Triaged test failures from CI

Comments

@martijnvg
Copy link
Member

Build scan:
https://gradle-enterprise.elastic.co/s/tpw67jyurtqvc/tests/:x-pack:plugin:esql:compute:test/org.elasticsearch.compute.lucene.TimeSeriesSortedSourceOperatorTests/testMatchNone

Reproduction line:

./gradlew ':x-pack:plugin:esql:compute:test' --tests "org.elasticsearch.compute.lucene.TimeSeriesSortedSourceOperatorTests.testMatchNone" -Dtests.seed=BE7AB0E563B4EAED -Dtests.locale=et -Dtests.timezone=Singapore -Druntime.java=17 -Dtests.fips.enabled=true

Applicable branches:
main

Reproduces locally?:
Yes

Failure history:
Failure dashboard for org.elasticsearch.compute.lucene.TimeSeriesSortedSourceOperatorTests#testMatchNone

Failure excerpt:

java.lang.NullPointerException: Cannot read field "timeSeriesHash" because the return value of "org.apache.lucene.util.PriorityQueue.top()" is null

  at __randomizedtesting.SeedInfo.seed([BE7AB0E563B4EAED:2AD704EC01F321BA]:0)
  at org.elasticsearch.compute.lucene.TimeSeriesSortedSourceOperatorFactory$Impl$TimeSeriesIterator.consume(TimeSeriesSortedSourceOperatorFactory.java:278)
  at org.elasticsearch.compute.lucene.TimeSeriesSortedSourceOperatorFactory$Impl.getOutput(TimeSeriesSortedSourceOperatorFactory.java:189)
  at org.elasticsearch.compute.operator.Driver.runSingleLoopIteration(Driver.java:247)
  at org.elasticsearch.compute.operator.Driver.run(Driver.java:178)
  at org.elasticsearch.compute.operator.Driver$1.doRun(Driver.java:364)
  at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
  at org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
  at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)
  at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  at java.lang.Thread.run(Thread.java:833)

@martijnvg martijnvg added :StorageEngine/TSDB You know, for Metrics >test-failure Triaged test failures from CI labels Jun 11, 2024
martijnvg added a commit that referenced this issue Jun 11, 2024
@elasticsearchmachine elasticsearchmachine added Team:StorageEngine needs:risk Requires assignment of a risk label (low, medium, blocker) labels Jun 11, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@martijnvg martijnvg self-assigned this Jun 11, 2024
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Jun 11, 2024
Only initialize `currentTsid` variable is queue isn't empty

Closes elastic#109578
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Jun 11, 2024
martijnvg added a commit that referenced this issue Jun 11, 2024
Only initialize `currentTsid` variable is queue isn't empty

Closes #109578
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :StorageEngine/TSDB You know, for Metrics Team:StorageEngine >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants