elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.07k stars 24.83k forks source link

[CI] RestEsqlIT testInlineStatsNow {ASYNC} failing #111286

Closed elasticsearchmachine closed 3 months ago

elasticsearchmachine commented 3 months ago

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:esql:qa:server:single-node:javaRestTest" --tests "org.elasticsearch.xpack.esql.qa.single_node.RestEsqlIT.testInlineStatsNow {ASYNC}" -Dtests.seed=8A21D905DA667D7F -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dtests.locale=es-PA -Dtests.timezone=AGT -Druntime.java=22

Applicable branches: main

Reproduces locally?: N/A

Failure History: See dashboard&_a=(controlGroupInput:(chainingSystem:HIERARCHICAL,controlStyle:twoLine,ignoreParentSettings:(ignoreFilters:!f,ignoreQuery:!f,ignoreTimerange:!f,ignoreValidations:!t),panels:('0c0c9cb8-ccd2-45c6-9b13-96bac4abc542':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:task.keyword,grow:!t,id:'0c0c9cb8-ccd2-45c6-9b13-96bac4abc542',searchTechnique:wildcard,selectedOptions:!(),singleSelect:!t,title:'Gradle%20Task',width:medium),grow:!t,order:0,type:optionsListControl,width:small),'144933da-5c1b-4257-a969-7f43455a7901':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:name.keyword,grow:!t,id:'144933da-5c1b-4257-a969-7f43455a7901',searchTechnique:wildcard,selectedOptions:!('testInlineStatsNow%20%7BASYNC%7D'),title:Test,width:medium),grow:!t,order:2,type:optionsListControl,width:medium),'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:className.keyword,grow:!t,id:'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850',searchTechnique:wildcard,selectedOptions:!('org.elasticsearch.xpack.esql.qa.single_node.RestEsqlIT'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))

Failure Message:

org.elasticsearch.client.ResponseException: method [GET], host [http://[::1]:42655], URI [/_query/async/Fk5qVVpaUm9aUUt5SE5sYVVUdUlnTHcbSWw3OUxGczNRM3l5aG8xOVFjbEtSdzo0NDI2?wait_for_completion_timeout=60s&pretty=true&error_trace=true], status line [HTTP/1.1 400 Bad Request]
{
  "error" : {
    "root_cause" : [
      {
        "type" : "parsing_exception",
        "reason" : "line 1:41: INLINESTATS command currently requires a snapshot build",
        "stack_trace" : "org.elasticsearch.xpack.esql.parser.ParsingException: line 1:41: INLINESTATS command currently requires a snapshot build\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitInlinestatsCommand(LogicalPlanBuilder.java:336)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitInlinestatsCommand(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$InlinestatsCommandContext.accept(EsqlBaseParser.java:2731)\n\tat org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParserBaseVisitor.visitProcessingCommand(EsqlBaseParserBaseVisitor.java:49)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$ProcessingCommandContext.accept(EsqlBaseParser.java:516)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:139)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$CompositeQueryContext.accept(EsqlBaseParser.java:266)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.plan(LogicalPlanBuilder.java:99)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:138)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$CompositeQueryContext.accept(EsqlBaseParser.java:266)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.plan(LogicalPlanBuilder.java:99)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitSingleStatement(LogicalPlanBuilder.java:124)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitSingleStatement(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$SingleStatementContext.accept(EsqlBaseParser.java:203)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.plan(LogicalPlanBuilder.java:99)\n\tat org.elasticsearch.xpack.esql.parser.EsqlParser.invokeParser(EsqlParser.java:76)\n\tat org.elasticsearch.xpack.esql.parser.EsqlParser.createStatement(EsqlParser.java:44)\n\tat org.elasticsearch.xpack.esql.session.EsqlSession.parse(EsqlSession.java:180)\n\tat org.elasticsearch.xpack.esql.session.EsqlSession.execute(EsqlSession.java:127)\n\tat org.elasticsearch.xpack.esql.execution.PlanExecutor.esql(PlanExecutor.java:70)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.innerExecute(TransportEsqlQueryAction.java:171)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.lambda$execute$1(TransportEsqlQueryAction.java:145)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.action.ActionListener.run(ActionListener.java:444)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.execute(TransportEsqlQueryAction.java:145)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.execute(TransportEsqlQueryAction.java:54)\n\tat org.elasticsearch.xpack.esql.core.async.AsyncTaskManagementService.asyncExecute(AsyncTaskManagementService.java:188)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.doExecuteForked(TransportEsqlQueryAction.java:131)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.lambda$doExecute$0(TransportEsqlQueryAction.java:123)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:100)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1570)\n"
      }
    ],
    "type" : "parsing_exception",
    "reason" : "line 1:41: INLINESTATS command currently requires a snapshot build",
    "stack_trace" : "org.elasticsearch.xpack.esql.parser.ParsingException: line 1:41: INLINESTATS command currently requires a snapshot build\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitInlinestatsCommand(LogicalPlanBuilder.java:336)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitInlinestatsCommand(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$InlinestatsCommandContext.accept(EsqlBaseParser.java:2731)\n\tat org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:46)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParserBaseVisitor.visitProcessingCommand(EsqlBaseParserBaseVisitor.java:49)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$ProcessingCommandContext.accept(EsqlBaseParser.java:516)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:139)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$CompositeQueryContext.accept(EsqlBaseParser.java:266)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.plan(LogicalPlanBuilder.java:99)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:138)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitCompositeQuery(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$CompositeQueryContext.accept(EsqlBaseParser.java:266)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.plan(LogicalPlanBuilder.java:99)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitSingleStatement(LogicalPlanBuilder.java:124)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.visitSingleStatement(LogicalPlanBuilder.java:85)\n\tat org.elasticsearch.xpack.esql.parser.EsqlBaseParser$SingleStatementContext.accept(EsqlBaseParser.java:203)\n\tat org.elasticsearch.xpack.esql.core.parser.ParserUtils.typedParsing(ParserUtils.java:51)\n\tat org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.plan(LogicalPlanBuilder.java:99)\n\tat org.elasticsearch.xpack.esql.parser.EsqlParser.invokeParser(EsqlParser.java:76)\n\tat org.elasticsearch.xpack.esql.parser.EsqlParser.createStatement(EsqlParser.java:44)\n\tat org.elasticsearch.xpack.esql.session.EsqlSession.parse(EsqlSession.java:180)\n\tat org.elasticsearch.xpack.esql.session.EsqlSession.execute(EsqlSession.java:127)\n\tat org.elasticsearch.xpack.esql.execution.PlanExecutor.esql(PlanExecutor.java:70)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.innerExecute(TransportEsqlQueryAction.java:171)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.lambda$execute$1(TransportEsqlQueryAction.java:145)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.action.ActionListener.run(ActionListener.java:444)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.execute(TransportEsqlQueryAction.java:145)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.execute(TransportEsqlQueryAction.java:54)\n\tat org.elasticsearch.xpack.esql.core.async.AsyncTaskManagementService.asyncExecute(AsyncTaskManagementService.java:188)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.doExecuteForked(TransportEsqlQueryAction.java:131)\n\tat org.elasticsearch.xpack.esql.plugin.TransportEsqlQueryAction.lambda$doExecute$0(TransportEsqlQueryAction.java:123)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:100)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat org.elasticsearch.server@8.16.0/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1570)\n"
  },
  "status" : 400
}

Issue Reasons:

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

elasticsearchmachine commented 3 months ago

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

nik9000 commented 3 months ago

A release-only build failure. needs a skip. this isn't enabled in non-snapshot builds.