Add strace hack for tarfile test by zooba · Pull Request #12625 · python/cpython (original) (raw)
Here is the output of strace for test_tarfile (including a time.sleep at the start, and a time.sleep/os.kill at the end):
strace: Process 5154 attached
select(0, NULL, NULL, NULL, {1, 828371}) = 0 (Timeout)
umask(022) = 022
open("/home/vsts/work/1/s/build/test_python_5154/@test_5154_tmp-tardir/tmp.tar", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3
write(3, "BZh91AY&SYY{\270\344\0\0\24P\0\300\0\4\0\0\10 \0000\314\5)\246"..., 46) = 46
close(3) = 0
stat("/home/vsts/work/1/s/build/test_python_5154/@test_5154_tmp-tardir/tmp.tar", {st_mode=S_IFREG|0666, st_size=46, ...}) = 0
umask(022) = 022
select(0, NULL, NULL, NULL, {5, 0}) = 0 (Timeout)
kill(5154, SIGKILL <unfinished ...>
+++ killed by SIGKILL +++
As near as I can tell, nothing unexpected here? @njsmith any ideas?