On Monday, January 11 2021, Paul Gevers wrote:

> autopkgtest [09:30:22]: test unit-tests-3: [-----------------------
> Traceback (most recent call last):
>   File
> "/usr/lib/python3/dist-packages/twisted/conch/test/test_ckeygen.py",
> line 86, in test_keygeneration
>     self._testrun('ecdsa', '384')
>   File
> "/usr/lib/python3/dist-packages/twisted/conch/test/test_ckeygen.py",
> line 75, in _testrun
>     subprocess.call(args)
>   File "/usr/lib/python3.9/subprocess.py", line 349, in call
>     with Popen(*popenargs, **kwargs) as p:
>   File "/usr/lib/python3.9/subprocess.py", line 947, in __init__
>     self._execute_child(args, executable, preexec_fn, close_fds,
>   File "/usr/lib/python3.9/subprocess.py", line 1819, in _execute_child
>     raise child_exception_type(errno_num, err_msg, err_filename)
> builtins.FileNotFoundError: [Errno 2] No such file or directory: 'ckeygen'
> Traceback (most recent call last):
>   File
> "/usr/lib/python3/dist-packages/twisted/conch/test/test_ckeygen.py",
> line 105, in test_runBadKeytype
>     subprocess.check_call(
>   File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line
> 352, in __exit__
>     self._testCase.fail(
> twisted.trial.unittest.FailTest: builtins.FileNotFoundError raised
> instead of CalledProcessError:
>  Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/twisted/trial/_asynctest.py",
> line 111, in _run
>     d = defer.maybeDeferred(
>   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line
> 151, in maybeDeferred
>     result = f(*args, **kw)
>   File "/usr/lib/python3/dist-packages/twisted/internet/utils.py", line
> 217, in runWithWarningsSuppressed
>     result = f(*a, **kw)
>   File
> "/usr/lib/python3/dist-packages/twisted/conch/test/test_ckeygen.py",
> line 105, in test_runBadKeytype
>     subprocess.check_call(
> --- <exception caught here> ---
>   File
> "/usr/lib/python3/dist-packages/twisted/conch/test/test_ckeygen.py",
> line 105, in test_runBadKeytype
>     subprocess.check_call(
>   File "/usr/lib/python3.9/subprocess.py", line 368, in check_call
>     retcode = call(*popenargs, **kwargs)
>   File "/usr/lib/python3.9/subprocess.py", line 349, in call
>     with Popen(*popenargs, **kwargs) as p:
>   File "/usr/lib/python3.9/subprocess.py", line 947, in __init__
>     self._execute_child(args, executable, preexec_fn, close_fds,
>   File "/usr/lib/python3.9/subprocess.py", line 1819, in _execute_child
>     raise child_exception_type(errno_num, err_msg, err_filename)
> builtins.FileNotFoundError: [Errno 2] No such file or directory: 'ckeygen'
>

After some hours debugging/backporting fixes from upstream, I have
something that finally works.

Instead of going ahead and just uploading, I decided to open a MR first
because of the soft freeze (and also because the changes are
non-trivial).  Here's the link:

https://salsa.debian.org/python-team/packages/twisted/-/merge_requests/4

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to