summaryrefslogtreecommitdiff
path: root/changelogs/fragments/ansible-test-subprocess-isolation.yml
diff options
context:
space:
mode:
Diffstat (limited to 'changelogs/fragments/ansible-test-subprocess-isolation.yml')
-rw-r--r--changelogs/fragments/ansible-test-subprocess-isolation.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-subprocess-isolation.yml b/changelogs/fragments/ansible-test-subprocess-isolation.yml
new file mode 100644
index 0000000000..3be259d608
--- /dev/null
+++ b/changelogs/fragments/ansible-test-subprocess-isolation.yml
@@ -0,0 +1,10 @@
+bugfixes:
+ - ansible-test - Subprocesses are now isolated from the stdin, stdout and stderr of ansible-test.
+ This avoids issues with subprocesses tampering with the file descriptors, such as SSH making them non-blocking.
+ As a result of this change, subprocess output from unit and integration tests on stderr now go to stdout.
+ - ansible-test - Subprocesses no longer have access to the TTY ansible-test is connected to, if any.
+ This maintains consistent behavior between local testing and CI systems, which typically do not provide a TTY.
+ Tests which require a TTY should use pexpect or another mechanism to create a PTY.
+minor_changes:
+ - ansible-test - Blocking mode is now enforced for stdin, stdout and stderr.
+ If any of these are non-blocking then ansible-test will exit during startup with an error.