Source: scapy
Version: 2.4.4-4
Severity: normal
X-Debbugs-Cc: sop...@offensive-security.com


It looks like debian/patches/Remove-failing-tests.patch is incomplete.

The test failures on
https://ci.debian.net/packages/s/scapy/testing/armel/
look like they are triggered by a missing kernel module, from the test
in the presence:

> Regression tests for ISOTP
> -- Run Tue May 31 05:52:06 2022 from [test/contrib/isotp.uts] by UTscapy
> 
> Passed=116
> Failed=1
> 
> 
> ######
> ## Configuration
> ######
> 
> 
> ###(006)=[failed] Check if can-isotp and can-utils are installed on this 
> system
> 
> >>> p1 = subprocess.Popen(['lsmod'], stdout = subprocess.PIPE)
> >>> p2 = subprocess.Popen(['grep', '^can_isotp'], stdout = subprocess.PIPE, 
> >>> stdin=p1.stdout)
> >>> p1.stdout.close()
> >>> if p1.wait() == 0 and p2.wait() == 0 and b"can_isotp" in p2.stdout.read():
> ...     p = subprocess.Popen(["isotpsend", "-s1", "-d0", iface0], stdin = 
> subprocess.PIPE)
> ...     p.communicate(b"01")
> ...     if p.returncode == 0:
> ...         ISOTP_KERNEL_MODULE_AVAILABLE = True
> ... 
> Traceback (most recent call last):
>   File "<input>", line 3, in <module>
>   File "/usr/lib/python3.10/subprocess.py", line 966, in __init__
>     self._execute_child(args, executable, preexec_fn, close_fds,
>   File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child
>     raise child_exception_type(errno_num, err_msg, err_filename)
> FileNotFoundError: [Errno 2] No such file or directory: 'isotpsend'

Remove-failing-tests.patch seems to be removing some similar (identical?)
checks from other test suites, but not this one.

SR

Reply via email to