Closed
Description
NodeDisconnectedException failure, unable to reproduce locally, but seeing this error a number of times today. Wondering if there is some relation to (#31834).
Reproduce:
-Dtests.seed=896067E457C12CA0 \
-Dtests.security.manager=true \
-Dtests.locale=bas \
-Dtests.timezone=Africa/Luanda \
-Dcompiler.java=12 \
-Druntime.java=11 \
-Dtests.rest.suite=mixed_cluster \
-Dtests.rest.blacklist=mixed_cluster/10_basic/Start scroll in mixed cluster on upgraded node that we will continue after upgrade,mixed_cluster/30_ml_jobs_crud/Create a job in the mixed cluster and write some data,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed in mixed cluster,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed without aggs in mixed cluster,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed with aggs in mixed cluster,mixed_cluster/80_data_frame_jobs_crud/Test put batch data frame transforms on mixed cluster,mixed_cluster/80_data_frame_jobs_crud/Test put continuous data frame transform on mixed cluster
Build:
https://scans.gradle.com/s/32bmadif5ad4e/console-log
Error:
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT > test {p0=mixed_cluster/30_ml_jobs_crud/Test get old cluster categorization job} FAILED
--
java.lang.AssertionError: Failure at [mixed_cluster/30_ml_jobs_crud:80]: expected [2xx] status code but api [ml.close_job] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"}],"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"},"status":500}]
Caused by:
java.lang.AssertionError: expected [2xx] status code but api [ml.close_job] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"}],"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"},"status":500}]
REPRODUCE WITH: ./gradlew :x-pack:qa:rolling-upgrade:v7.4.0#oneThirdUpgradedTestRunner --tests "org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT.test {p0=mixed_cluster/30_ml_jobs_crud/Test get old cluster categorization job}" -Dtests.seed=896067E457C12CA0 -Dtests.security.manager=true -Dtests.locale=bas -Dtests.timezone=Africa/Luanda -Dcompiler.java=12 -Druntime.java=11 -Dtests.rest.suite=mixed_cluster -Dtests.rest.blacklist=mixed_cluster/10_basic/Start scroll in mixed cluster on upgraded node that we will continue after upgrade,mixed_cluster/30_ml_jobs_crud/Create a job in the mixed cluster and write some data,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed in mixed cluster,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed without aggs in mixed cluster,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed with aggs in mixed cluster,mixed_cluster/80_data_frame_jobs_crud/Test put batch data frame transforms on mixed cluster,mixed_cluster/80_data_frame_jobs_crud/Test put continuous data frame transform on mixed cluster
org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT > test {p0=mixed_cluster/30_ml_jobs_crud/Test get old cluster job} FAILED
java.lang.AssertionError: Failure at [mixed_cluster/30_ml_jobs_crud:29]: expected [2xx] status code but api [ml.close_job] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"}],"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"},"status":500}]
Caused by:
java.lang.AssertionError: expected [2xx] status code but api [ml.close_job] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"}],"type":"node_disconnected_exception","reason":"[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected","stack_trace":"NodeDisconnectedException[[node-1][127.0.0.1:43380][cluster:admin/xpack/ml/job/close] disconnected]\n"},"status":500}]
REPRODUCE WITH: ./gradlew :x-pack:qa:rolling-upgrade:v7.4.0#oneThirdUpgradedTestRunner --tests "org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT.test {p0=mixed_cluster/30_ml_jobs_crud/Test get old cluster job}" -Dtests.seed=896067E457C12CA0 -Dtests.security.manager=true -Dtests.locale=bas -Dtests.timezone=Africa/Luanda -Dcompiler.java=12 -Druntime.java=11 -Dtests.rest.suite=mixed_cluster -Dtests.rest.blacklist=mixed_cluster/10_basic/Start scroll in mixed cluster on upgraded node that we will continue after upgrade,mixed_cluster/30_ml_jobs_crud/Create a job in the mixed cluster and write some data,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed in mixed cluster,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed without aggs in mixed cluster,mixed_cluster/40_ml_datafeed_crud/Put job and datafeed with aggs in mixed cluster,mixed_cluster/80_data_frame_jobs_crud/Test put batch data frame transforms on mixed cluster,mixed_cluster/80_data_frame_jobs_crud/Test put continuous data frame transform on mixed cluster
```