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] JdbcCsvSpecIT test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} failing #111918

Closed
elasticsearchmachine opened this issue Aug 15, 2024 · 5 comments
Labels
:Analytics/SQL SQL querying needs:risk Requires assignment of a risk label (low, medium, blocker) Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Aug 15, 2024

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:sql:qa:server:multi-cluster-with-security:javaRestTest" --tests "org.elasticsearch.xpack.sql.qa.multi_cluster_with_security.JdbcCsvSpecIT" -Dtests.method="test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1}" -Dtests.seed=E3B0270ED143D8C2 -Dtests.locale=es-CL -Dtests.timezone=AET -Druntime.java=22

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.sql.SQLException: Server encountered an error [Negative longs unsupported, use writeLong or writeZLong for negative numbers [-441849600]]. [java.lang.IllegalStateException: Negative longs unsupported, use writeLong or writeZLong for negative numbers [-441849600]
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeVLong(StreamOutput.java:271)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.lambda$static$22(StreamOutput.java:771)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:883)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeCollection(StreamOutput.java:1096)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeGenericList(StreamOutput.java:836)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.lambda$static$8(StreamOutput.java:700)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:883)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeCollection(StreamOutput.java:1096)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeGenericList(StreamOutput.java:836)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.lambda$static$8(StreamOutput.java:700)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeGenericValue(StreamOutput.java:883)
	at org.elasticsearch.xpack.sql.session.ListCursor.writeTo(ListCursor.java:45)
	at [email protected]/org.elasticsearch.common.io.stream.StreamOutput.writeNamedWriteable(StreamOutput.java:1039)
	at org.elasticsearch.xpack.sql.session.Cursors.encodeToString(Cursors.java:82)
	at org.elasticsearch.xpack.sql.session.Cursors.encodeToString(Cursors.java:73)
	at org.elasticsearch.xpack.sql.plugin.TransportSqlQueryAction.createResponse(TransportSqlQueryAction.java:226)
	at org.elasticsearch.xpack.sql.plugin.TransportSqlQueryAction.createResponseWithSchema(TransportSqlQueryAction.java:207)
	at org.elasticsearch.xpack.sql.plugin.TransportSqlQueryAction.lambda$operation$0(TransportSqlQueryAction.java:171)
	at [email protected]/org.elasticsearch.action.ActionListener$2.onResponse(ActionListener.java:256)
	at [email protected]/org.elasticsearch.action.ActionListener$2.onResponse(ActionListener.java:256)
	at org.elasticsearch.xpack.sql.execution.search.Querier$LocalAggregationSorterListener.sendResponse(Querier.java:353)
	at org.elasticsearch.xpack.sql.execution.search.Querier$LocalAggregationSorterListener.onResponse(Querier.java:330)
	at org.elasticsearch.xpack.sql.execution.search.Querier$LocalAggregationSorterListener.onResponse(Querier.java:272)
	at [email protected]/org.elasticsearch.action.ActionListenerImplementations$MappedActionListener.onResponse(ActionListenerImplementations.java:96)
	at org.elasticsearch.xpack.sql.execution.search.Querier.lambda$closePointInTime$5(Querier.java:194)
	at [email protected]/org.elasticsearch.action.ActionListenerImplementations$ResponseWrappingActionListener.onResponse(ActionListenerImplementations.java:246)
	at [email protected]/org.elasticsearch.action.ActionListener$3.onResponse(ActionListener.java:399)
	at [email protected]/org.elasticsearch.tasks.TaskManager$1.onResponse(TaskManager.java:202)
	at [email protected]/org.elasticsearch.tasks.TaskManager$1.onResponse(TaskManager.java:196)
	at [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onResponse(ActionListenerImplementations.java:335)
	at [email protected]/org.elasticsearch.action.ActionListener$3.onResponse(ActionListener.java:399)
	at [email protected]/org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:32)
	at [email protected]/org.elasticsearch.action.ActionListenerImplementations$MappedActionListener.onResponse(ActionListenerImplementations.java:96)
	at [email protected]/org.elasticsearch.action.search.ClearScrollController.lambda$closeContexts$7(ClearScrollController.java:167)
	at [email protected]/org.elasticsearch.core.AbstractRefCounted$1.closeInternal(AbstractRefCounted.java:118)
	at [email protected]/org.elasticsearch.core.AbstractRefCounted.decRef(AbstractRefCounted.java:70)
	at [email protected]/org.elasticsearch.action.support.RefCountingRunnable.close(RefCountingRunnable.java:112)
	at [email protected]/org.elasticsearch.core.Releasables$4.close(Releasables.java:159)
	at [email protected]/org.elasticsearch.core.Releasables.close(Releasables.java:34)
	at [email protected]/org.elasticsearch.core.Releasables.closeExpectNoException(Releasables.java:56)
	at [email protected]/org.elasticsearch.action.ActionListenerImplementations$2.run(ActionListenerImplementations.java:50)
	at [email protected]/org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:216)
	at [email protected]/org.elasticsearch.action.ActionListener$3.onResponse(ActionListener.java:399)
	at [email protected]/org.elasticsearch.action.ActionListenerImplementations$MappedActionListener.onResponse(ActionListenerImplementations.java:96)
	at [email protected]/org.elasticsearch.action.ActionListenerResponseHandler.handleResponse(ActionListenerResponseHandler.java:48)
	at [email protected]/org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleResponse(TransportService.java:1498)
	at [email protected]/org.elasticsearch.transport.InboundHandler.doHandleResponse(InboundHandler.java:432)
	at [email protected]/org.elasticsearch.transport.InboundHandler.handleResponse(InboundHandler.java:381)
	at [email protected]/org.elasticsearch.transport.InboundHandler.executeResponseHandler(InboundHandler.java:148)
	at [email protected]/org.elasticsearch.transport.InboundHandler.messageReceived(InboundHandler.java:123)
	at [email protected]/org.elasticsearch.transport.InboundHandler.inboundMessage(InboundHandler.java:97)
	at [email protected]/org.elasticsearch.transport.TcpTransport.inboundMessage(TcpTransport.java:821)
	at [email protected]/org.elasticsearch.transport.InboundPipeline.forwardFragments(InboundPipeline.java:124)
	at [email protected]/org.elasticsearch.transport.InboundPipeline.doHandleBytes(InboundPipeline.java:96)
	at [email protected]/org.elasticsearch.transport.InboundPipeline.handleBytes(InboundPipeline.java:61)
	at [email protected]/org.elasticsearch.transport.netty4.Netty4MessageInboundHandler.channelRead(Netty4MessageInboundHandler.java:57)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at [email protected]/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at [email protected]/io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
	at [email protected]/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at [email protected]/io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
	at [email protected]/io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
	at [email protected]/io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
	at [email protected]/io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:689)
	at [email protected]/io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:652)
	at [email protected]/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
	at [email protected]/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at [email protected]/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Thread.java:1570)
]

Issue Reasons:

  • [main] 3 consecutive failures in test test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1}
  • [main] 4 failures in test test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} (2.3% fail rate in 173 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

@elasticsearchmachine elasticsearchmachine added :Analytics/SQL SQL querying >test-failure Triaged test failures from CI labels Aug 15, 2024
elasticsearchmachine added a commit that referenced this issue Aug 15, 2024
…ordering.testHistogramDateTimeWithCountAndOrder_1} #111918
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch main

Mute Reasons:

  • [main] 2 failures in test test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} (0.6% fail rate in 332 executions)

Build Scans:

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Aug 15, 2024
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine elasticsearchmachine added the needs:risk Requires assignment of a risk label (low, medium, blocker) label Aug 15, 2024
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch main

Mute Reasons:

  • [main] 3 failures in test test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} (1.7% fail rate in 175 executions)

Build Scans:

elasticsearchmachine added a commit that referenced this issue Aug 15, 2024
…gg-ordering.testHistogramDateTimeWithCountAndOrder_1} #111918
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch main

Mute Reasons:

  • [main] 2 consecutive failures in test test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1}
  • [main] 3 failures in test test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} (1.7% fail rate in 172 executions)

Build Scans:

elasticsearchmachine added a commit that referenced this issue Aug 15, 2024
…svSpecIT test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} #111918
weizijun added a commit to weizijun/elasticsearch that referenced this issue Aug 16, 2024
* upstream/main: (91 commits)
  Mute org.elasticsearch.xpack.test.rest.XPackRestIT org.elasticsearch.xpack.test.rest.XPackRestIT elastic#111944
  Add audit_unenrolled_* attributes to fleet-agents template (elastic#111909)
  Fix windows memory locking (elastic#111866)
  Update OAuth2 OIDC SDK (elastic#108799)
  Adds a warning about manually mounting snapshots managed by ILM (elastic#111883)
  Update geoip fixture files and utility methods (elastic#111913)
  Updated Function Score Query Test with Explain Fixes for 8.15.1 (elastic#111929)
  Mute org.elasticsearch.xpack.sql.qa.security.JdbcCsvSpecIT org.elasticsearch.xpack.sql.qa.security.JdbcCsvSpecIT elastic#111923
  [ESQL] date nanos binary comparisons (elastic#111908)
  [DOCS] Documents output_field behavior after multiple inference runs (elastic#111875)
  Add additional BlobCacheMetrics, expose BlobCacheMetrics via SharedBlobCacheService (elastic#111730)
  Mute org.elasticsearch.xpack.sql.qa.multi_cluster_with_security.JdbcCsvSpecIT org.elasticsearch.xpack.sql.qa.multi_cluster_with_security.JdbcCsvSpecIT elastic#111923
  Mute org.elasticsearch.xpack.sql.qa.multi_cluster_with_security.JdbcCsvSpecIT test {agg-ordering.testHistogramDateTimeWithCountAndOrder_2} elastic#111919
  Mute org.elasticsearch.xpack.sql.qa.multi_cluster_with_security.JdbcCsvSpecIT test {date.testDateParseHaving} elastic#111921
  Mute org.elasticsearch.xpack.sql.qa.multi_cluster_with_security.JdbcCsvSpecIT test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} elastic#111918
  Mute org.elasticsearch.xpack.sql.qa.multi_cluster_with_security.JdbcCsvSpecIT test {datetime.testDateTimeParseHaving} elastic#111922
  Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcCsvSpecIT org.elasticsearch.xpack.sql.qa.single_node.JdbcCsvSpecIT elastic#111923
  Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcCsvSpecIT test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} elastic#111918
  Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcCsvSpecIT test {datetime.testDateTimeParseHaving} elastic#111922
  Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcCsvSpecIT test {date.testDateParseHaving} elastic#111921
  ...

# Conflicts:
#	server/src/main/java/org/elasticsearch/TransportVersions.java
@luigidellaquila
Copy link
Contributor

Fixed by #111938

cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Sep 4, 2024
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Sep 4, 2024
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Sep 4, 2024
…svSpecIT test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} elastic#111918
davidkyle pushed a commit to davidkyle/elasticsearch that referenced this issue Sep 5, 2024
davidkyle pushed a commit to davidkyle/elasticsearch that referenced this issue Sep 5, 2024
davidkyle pushed a commit to davidkyle/elasticsearch that referenced this issue Sep 5, 2024
…svSpecIT test {agg-ordering.testHistogramDateTimeWithCountAndOrder_1} elastic#111918
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying needs:risk Requires assignment of a risk label (low, medium, blocker) Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

2 participants