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] APMYamlTestSuiteIT test {yaml=/10_apm/Test template reinstallation} failing #116445

Open
elasticsearchmachine opened this issue Nov 7, 2024 · 10 comments · May be fixed by #116538
Open

[CI] APMYamlTestSuiteIT test {yaml=/10_apm/Test template reinstallation} failing #116445

elasticsearchmachine opened this issue Nov 7, 2024 · 10 comments · May be fixed by #116538
Assignees
Labels
:Data Management/Data streams Data streams and their lifecycles low-risk An open issue or test failure that is a low risk to future releases Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Nov 7, 2024

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:apm-data:yamlRestTest" --tests "org.elasticsearch.xpack.apmdata.APMYamlTestSuiteIT.test {yaml=/10_apm/Test template reinstallation}" -Dtests.seed=3D5A9BAA08B55E7C -Dtests.locale=pt-BR -Dtests.timezone=America/Glace_Bay -Druntime.java=23

Applicable branches:
8.16

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Failure at [/10_apm:67]: expected [2xx] status code but api [indices.get_index_template] returned [404 Not Found] [{"error":{"root_cause":[{"type":"resource_not_found_exception","reason":"index template matching [traces-apm@template] not found","stack_trace":"org.elasticsearch.ResourceNotFoundException: index template matching [traces-apm@template] not found\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.admin.indices.template.get.TransportGetComposableIndexTemplateAction.masterOperation(TransportGetComposableIndexTemplateAction.java:91)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.admin.indices.template.get.TransportGetComposableIndexTemplateAction.masterOperation(TransportGetComposableIndexTemplateAction.java:34)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction.executeMasterOperation(TransportMasterNodeAction.java:127)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$3(TransportMasterNodeAction.java:238)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:101)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:286)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.doStart(TransportMasterNodeAction.java:238)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:175)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:57)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:135)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.TransportAction.handleExecution(TransportAction.java:96)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:59)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.tasks.TaskManager.registerAndExecute(TaskManager.java:197)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.client.internal.node.NodeClient.executeLocally(NodeClient.java:106)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.client.internal.node.NodeClient.doExecute(NodeClient.java:84)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.client.internal.support.AbstractClient.execute(AbstractClient.java:140)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.action.admin.indices.RestGetComposableIndexTemplateAction.lambda$prepareRequest$1(RestGetComposableIndexTemplateAction.java:57)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:150)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController$1.onResponse(RestController.java:503)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController$1.onResponse(RestController.java:497)\n\tat org.elasticsearch.security@8.16.3-SNAPSHOT/org.elasticsearch.xpack.security.rest.SecurityRestFilter.intercept(SecurityRestFilter.java:69)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:497)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:661)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:340)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.http.AbstractHttpServerTransport.dispatchRequest(AbstractHttpServerTransport.java:488)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.http.AbstractHttpServerTransport.handleIncomingRequest(AbstractHttpServerTransport.java:584)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.http.AbstractHttpServerTransport.incomingRequest(AbstractHttpServerTransport.java:461)\n\tat org.elasticsearch.transport.netty4@8.16.3-SNAPSHOT/org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.handlePipelinedRequest(Netty4HttpPipeliningHandler.java:166)\n\tat org.elasticsearch.transport.netty4@8.16.3-SNAPSHOT/org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.channelRead(Netty4HttpPipeliningHandler.java:145)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:120)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat org.elasticsearch.transport.netty4@8.16.3-SNAPSHOT/org.elasticsearch.http.netty4.Netty4HttpAggregator.channelRead(Netty4HttpAggregator.java:52)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:689)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:652)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)\n\tat io.netty.common@4.1.115.Final/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)\n\tat io.netty.common@4.1.115.Final/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat java.base/java.lang.Thread.run(Thread.java:1575)\n"}],"type":"resource_not_found_exception","reason":"index template matching [traces-apm@template] not found","stack_trace":"org.elasticsearch.ResourceNotFoundException: index template matching [traces-apm@template] not found\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.admin.indices.template.get.TransportGetComposableIndexTemplateAction.masterOperation(TransportGetComposableIndexTemplateAction.java:91)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.admin.indices.template.get.TransportGetComposableIndexTemplateAction.masterOperation(TransportGetComposableIndexTemplateAction.java:34)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction.executeMasterOperation(TransportMasterNodeAction.java:127)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$3(TransportMasterNodeAction.java:238)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:101)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:286)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.doStart(TransportMasterNodeAction.java:238)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:175)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:57)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:135)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.TransportAction.handleExecution(TransportAction.java:96)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:59)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.tasks.TaskManager.registerAndExecute(TaskManager.java:197)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.client.internal.node.NodeClient.executeLocally(NodeClient.java:106)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.client.internal.node.NodeClient.doExecute(NodeClient.java:84)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.client.internal.support.AbstractClient.execute(AbstractClient.java:140)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.action.admin.indices.RestGetComposableIndexTemplateAction.lambda$prepareRequest$1(RestGetComposableIndexTemplateAction.java:57)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:150)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController$1.onResponse(RestController.java:503)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController$1.onResponse(RestController.java:497)\n\tat org.elasticsearch.security@8.16.3-SNAPSHOT/org.elasticsearch.xpack.security.rest.SecurityRestFilter.intercept(SecurityRestFilter.java:69)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:497)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:661)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:340)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.http.AbstractHttpServerTransport.dispatchRequest(AbstractHttpServerTransport.java:488)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.http.AbstractHttpServerTransport.handleIncomingRequest(AbstractHttpServerTransport.java:584)\n\tat org.elasticsearch.server@8.16.3-SNAPSHOT/org.elasticsearch.http.AbstractHttpServerTransport.incomingRequest(AbstractHttpServerTransport.java:461)\n\tat org.elasticsearch.transport.netty4@8.16.3-SNAPSHOT/org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.handlePipelinedRequest(Netty4HttpPipeliningHandler.java:166)\n\tat org.elasticsearch.transport.netty4@8.16.3-SNAPSHOT/org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.channelRead(Netty4HttpPipeliningHandler.java:145)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:120)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat org.elasticsearch.transport.netty4@8.16.3-SNAPSHOT/org.elasticsearch.http.netty4.Netty4HttpAggregator.channelRead(Netty4HttpAggregator.java:52)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.codec@4.1.115.Final/io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:689)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:652)\n\tat io.netty.transport@4.1.115.Final/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)\n\tat io.netty.common@4.1.115.Final/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)\n\tat io.netty.common@4.1.115.Final/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat java.base/java.lang.Thread.run(Thread.java:1575)\n"},"status":404}]

Issue Reasons:

  • [8.16] 2 failures in test test {yaml=/10_apm/Test template reinstallation} (0.7% fail rate in 284 executions)

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

@elasticsearchmachine elasticsearchmachine added :Data Management/Data streams Data streams and their lifecycles >test-failure Triaged test failures from CI labels Nov 7, 2024
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch 8.x

Mute Reasons:

  • [8.x] 2 failures in test test {yaml=/10_apm/Test template reinstallation} (1.5% fail rate in 130 executions)

Build Scans:

elasticsearchmachine added a commit that referenced this issue Nov 7, 2024
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine elasticsearchmachine added Team:Data Management Meta label for data/management team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Nov 7, 2024
@dakrone
Copy link
Member

dakrone commented Nov 8, 2024

@axw I think this one is for APM also

@dakrone dakrone added low-risk An open issue or test failure that is a low risk to future releases and removed needs:risk Requires assignment of a risk label (low, medium, blocker) labels Nov 8, 2024
@axw axw linked a pull request Nov 9, 2024 that will close this issue
@axw
Copy link
Member

axw commented Nov 9, 2024

@dakrone the issue here is that the template is installed asynchronously, and I'm not sure if there's a way to deal with this with the existing YAML REST test components. I've put up a draft PR for discussion: #116538

@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch main

Mute Reasons:

  • [main] 5 failures in test test {yaml=/10_apm/Test template reinstallation} (1.9% fail rate in 268 executions)
  • [main] 3 failures in step part-2 (2.9% fail rate in 102 executions)
  • [main] 4 failures in pipeline elasticsearch-pull-request (3.8% fail rate in 104 executions)

Build Scans:

elasticsearchmachine added a commit that referenced this issue Nov 20, 2024
rjernst pushed a commit to rjernst/elasticsearch that referenced this issue Nov 20, 2024
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this issue Nov 28, 2024
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch 8.16

Mute Reasons:

  • [8.16] 2 failures in test test {yaml=/10_apm/Test template reinstallation} (0.7% fail rate in 284 executions)

Build Scans:

elasticsearchmachine added a commit that referenced this issue Jan 3, 2025
@gmarouli
Copy link
Contributor

I would like to put forth again the idea of adding the following "wait" in these type of tests:

  - do:
      cluster.health:
          wait_for_events: languid

This request is going to wait until all the queued cluster events have been processed. See https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html. It's not a solution, but it can decrease the flakiness. Considering that we do not have a solution yet, months after this has been opened, I think it's worth the try.

What do you think @dakrone & @axw ?

@axw
Copy link
Member

axw commented Mar 21, 2025

@gmarouli I guess it's better than doing nothing, but in case you're unaware I put up this PR as a proposed solution: #116538

@gmarouli
Copy link
Contributor

@gmarouli I guess it's better than doing nothing, but in case you're unaware I put up this PR as a proposed solution: #116538

I saw this and I had proposed this in the past as well, but it was rejected as an approach with the reason that yaml tests are not meant to do this, and we will be introducing a feature in the yaml tests to cover for a bug in our set-up. They do have a point btw, and we do have an issue to fix it but it's not a super easy thing to do. That's why I thought maybe this could a good enough patch.

@gmarouli
Copy link
Contributor

I just checked and this was already used in the set-up of this test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Data streams Data streams and their lifecycles low-risk An open issue or test failure that is a low risk to future releases Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants