[CI] EsqlClientYamlAsyncSubmitAndFetchIT Test {p0=esql/10_basic/basic With Documents_found} Failing
[CI] EsqlClientYamlAsyncSubmitAndFetchIT test {p0=esql/10_basic/basic with documents_found} failing
The EsqlClientYamlAsyncSubmitAndFetchIT test is a crucial part of the Elasticsearch X-Pack ESQL (Elasticsearch Query Language) plugin's quality assurance process. This test is designed to verify the functionality of the ESQL client's asynchronous submit and fetch capabilities. However, recent build scans have revealed that this test is failing, resulting in a 1.4% fail rate in 146 executions. In this article, we will delve into the details of the issue, explore the reproduction line, and discuss the applicable branches and failure history.
The build scans for this issue can be found in the following links:
- elasticsearch-periodic-platform-support #7751 / sles-15_platform-support-unix
- elasticsearch-periodic #7729 / openjdk23_entitlements_true_checkpart3_java-matrix
These build scans provide valuable information about the environment in which the test is being executed, including the platform, Java version, and other relevant details.
To reproduce this issue, you can run the following command in your terminal:
./gradlew ":x-pack:plugin:esql:qa:server:single-node:yamlRestTest" --tests "org.elasticsearch.xpack.esql.qa.single_node.EsqlClientYamlAsyncSubmitAndFetchIT.test {p0=esql/10_basic/basic with documents_found}" -Dtests.seed=F5DA378DA1C53486 -Dtests.locale=es-PE -Dtests.timezone=Europe/Zagreb -Druntime.java=24
This command will execute the EsqlClientYamlAsyncSubmitAndFetchIT test with the specified parameters, including the test seed, locale, timezone, and Java version.
The applicable branches for this issue are:
- main
This means that the issue is relevant to the main branch of the Elasticsearch X-Pack ESQL plugin.
The failure history for this issue can be found in the following link:
This link provides a detailed view of the failure history, including the number of failures, the test name, and other relevant information.
The failure message for this issue is:
java.lang.AssertionError: Failure at [esql/10_basic:200]:
Expected: <10>
but: was <9>
This message indicates that the test failed because the expected result was 10, but the actual result was 9.
The issue reasons for this failure are:
- [main] 2 failures in test test {p0=esql/10_basic/basic with documents_found} (1.4% fail rate in 146 executions)
This means that the test has failed twice in the main branch, resulting in a 1.4% fail rate in 146 executions.
In conclusion, the EsqlClientYamlAsyncSubmitAndFetchIT test {p0=esql/10_basic/basic with documents_found} is failing due to a discrepancy between the expected and actual results. The failure history and issue reasons provide valuable insights into the issue, and the reproduction line allows developers to reproduce the issue and work towards a solution.
[CI] EsqlClientYamlAsyncSubmitAndFetchIT test {p0=esql/10_basic/basic with documents_found} failing: Q&A
In our previous article, we explored the issue of the EsqlClientYamlAsyncSubmitAndFetchIT test {p0=esql/10_basic/basic with documents_found} failing. In this article, we will provide a Q&A section to help answer some of the most frequently asked questions about this issue.
A: The EsqlClientYamlAsyncSubmitAndFetchIT test is a crucial part of the Elasticsearch X-Pack ESQL (Elasticsearch Query Language) plugin's quality assurance process. This test is designed to verify the functionality of the ESQL client's asynchronous submit and fetch capabilities.
A: The issue with the test is that it is failing due to a discrepancy between the expected and actual results. The test is expecting a result of 10, but the actual result is 9.
A: The applicable branches for this issue are:
- main
This means that the issue is relevant to the main branch of the Elasticsearch X-Pack ESQL plugin.
A: The failure history for this issue can be found in the following link:
This link provides a detailed view of the failure history, including the number of failures, the test name, and other relevant information.
Q: How can I reproduce this issue? =====================================A: To reproduce this issue, you can run the following command in your terminal:
./gradlew ":x-pack:plugin:esql:qa:server:single-node:yamlRestTest" --tests "org.elasticsearch.xpack.esql.qa.single_node.EsqlClientYamlAsyncSubmitAndFetchIT.test {p0=esql/10_basic/basic with documents_found}" -Dtests.seed=F5DA378DA1C53486 -Dtests.locale=es-PE -Dtests.timezone=Europe/Zagreb -Druntime.java=24
This command will execute the EsqlClientYamlAsyncSubmitAndFetchIT test with the specified parameters, including the test seed, locale, timezone, and Java version.
A: The issue reasons for this failure are:
- [main] 2 failures in test test {p0=esql/10_basic/basic with documents_found} (1.4% fail rate in 146 executions)
This means that the test has failed twice in the main branch, resulting in a 1.4% fail rate in 146 executions.
In conclusion, the EsqlClientYamlAsyncSubmitAndFetchIT test {p0=esql/10_basic/basic with documents_found} is failing due to a discrepancy between the expected and actual results. The failure history and issue reasons provide valuable insights into the issue, and the reproduction line allows developers to reproduce the issue and work towards a solution.