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] RestEsqlIT testInlineStatsNow {ASYNC} failing #111286

Closed
elasticsearchmachine opened this issue Jul 25, 2024 · 2 comments · Fixed by #111361
Closed

[CI] RestEsqlIT testInlineStatsNow {ASYNC} failing #111286

elasticsearchmachine opened this issue Jul 25, 2024 · 2 comments · Fixed by #111361
Assignees
Labels
:Analytics/ES|QL AKA ESQL 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 Jul 25, 2024

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

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:

  • [main] 4 consecutive failures in step release-tests
  • [main] 4 failures in test testInlineStatsNow {ASYNC} (2.6% fail rate in 156 executions)
  • [main] 4 failures in step release-tests (100.0% fail rate in 4 executions)
  • [main] 4 failures in pipeline elasticsearch-periodic (100.0% fail rate in 4 executions)

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

@elasticsearchmachine elasticsearchmachine added :Analytics/ES|QL AKA ESQL >test-failure Triaged test failures from CI Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) needs:risk Requires assignment of a risk label (low, medium, blocker) labels Jul 25, 2024
@elasticsearchmachine
Copy link
Collaborator Author

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

@nik9000 nik9000 self-assigned this Jul 25, 2024
@nik9000
Copy link
Member

nik9000 commented Jul 25, 2024

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

nik9000 added a commit to nik9000/elasticsearch that referenced this issue Jul 26, 2024
This skips some tests in release mode that try to test a feature that's
only available in snapshots.

Closes elastic#111263
Closes elastic#111264
Closes elastic#111287
Closes elastic#111286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL 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

Successfully merging a pull request may close this issue.

2 participants