[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-04-20 Thread STINNER Victor
STINNER Victor added the comment: AMD64 FreeBSD Shared 3.x is green again, I close the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker __

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: The current test runs a try/finally without any exception handling, so even minimal exception handling will cover a large swatch of potential issues. CalledProcessError [1] returned by check_call() or check_output() appears to be handy [1] https://docs.pyth

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-16 Thread STINNER Victor
STINNER Victor added the comment: Do you suggest to skip the test if returncode has a specific value? -- ___ Python tracker ___ ___

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-14 Thread Kubilay Kocak
Kubilay Kocak added the comment: Not suggesting it's the *best* way, but for example, isn't there a way to handle return codes from shell executions such as: https://docs.python.org/3/library/subprocess.html#subprocess.CalledProcessError -- ___ Py

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-14 Thread STINNER Victor
STINNER Victor added the comment: > @Victor Can tests be skipped on the basis of required dependencies failing to > load/run? No idea how to detect such issue. For me, such installation issue is uncommon and it's easier to fix your system rather than trying to skip the test. -- stat

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-13 Thread Kubilay Kocak
Kubilay Kocak added the comment: Updated FreeBSD CURRENT base, which removed libncurses. The bash port installation needed to be rebuilt. @Victor Can tests be skipped on the basis of required dependencies failing to load/run? -- status: open -> pending

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-13 Thread STINNER Victor
STINNER Victor added the comment: It looks like an installation issue: % /usr/local/bin/bash -c "" ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "bash" -- ___ Python tracker ___

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-13 Thread STINNER Victor
New submission from STINNER Victor : It started to at build 385 or 386. AMD64 FreeBSD Shared 3.x: https://buildbot.python.org/all/#/builders/152/builds/391 == FAIL: test_specific_shell (test.test_subprocess.POSIXProcessTestCas