OpenSearch/qa
David Roberts ab40466bfb
Prevent unexpected native controller output hanging the process (#56685)
In normal operation native controllers are not expected to write
anything to stdout or stderr.  However, if due to an error or
something unexpected with the environment a native controller
does write something to stdout or stderr then it will block if
nothing is reading that output.

This change makes the stdout and stderr of native controllers
reuse the same stdout and stderr as the Elasticsearch JVM (which
are by default redirected to es.stdout.log and es.stderr.log) so
that if something unexpected is written to native controller
output then:

1. The native controller process does not block, waiting for
   something to read the output
2. We can see what the output was, making it easier to debug
   obscure environmental problems

Backport of #56491

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-13 22:57:00 +01:00
..
ccs-unavailable-clusters Remove seeds depedency for remote cluster settings (#52829) 2020-02-26 10:17:25 -07:00
die-with-dignity RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
evil-tests upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
full-cluster-restart Move bwcVersions extension property to BuildParams (back port) (#56381) 2020-05-11 09:39:13 +02:00
logging-config ThreadPool and ThreadContext are not closeable (#43249) (#49273) 2019-11-19 13:15:16 -07:00
mixed-cluster Move bwcVersions extension property to BuildParams (back port) (#56381) 2020-05-11 09:39:13 +02:00
multi-cluster-search [7.x] Backport ValuesSourceRegistry and related work (#54922) 2020-04-16 16:54:46 -04:00
no-bootstrap-tests Prevent unexpected native controller output hanging the process (#56685) 2020-05-13 22:57:00 +01:00
os Use official checksums to verify Tini (#55717) 2020-04-24 16:47:24 +01:00
remote-clusters Define aarch64 packaging test tasks (#55228) 2020-04-15 13:39:18 +01:00
repository-multi-version Move bwcVersions extension property to BuildParams (back port) (#56381) 2020-05-11 09:39:13 +02:00
rolling-upgrade Move bwcVersions extension property to BuildParams (back port) (#56381) 2020-05-11 09:39:13 +02:00
smoke-test-client Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-http Always use deprecateAndMaybeLog for deprecation warnings (#55319) 2020-04-23 09:20:54 +01:00
smoke-test-ingest-disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-with-all-dependencies Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
smoke-test-multinode Set feature flags for IndexTemplatesV2 in top-level gradle file (#53898) 2020-03-20 14:52:22 -06:00
smoke-test-plugins [7.x] Lazy test cluster module and plugins (#54852) (#55087) 2020-04-13 10:53:35 -05:00
unconfigured-node-name Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
verify-version-constants Move bwcVersions extension property to BuildParams (back port) (#56381) 2020-05-11 09:39:13 +02:00
wildfly Define aarch64 packaging test tasks (#55228) 2020-04-15 13:39:18 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00