scapy icon indicating copy to clipboard operation
scapy copied to clipboard

[CI/CD] tcpdump wait option sometimes does not work

Open matsievskiysv opened this issue 3 years ago • 0 comments

Brief description

Scapy's CI/CD pipelines fail on tcpdump function with error

/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/subprocess.py:767: ResourceWarning: unclosed file <_io.BufferedReader name=35>
  _cleanup()
ResourceWarning: Enable tracemalloc to get the object allocation traceback

even though flag wait is set to True.

This problem is not observed during local tests.

One example of this is https://github.com/secdev/scapy/actions/runs/3343415802/jobs/5536611739

Scapy version

139966f37ee4188c676b958260312b1e4ad81be2

Python version

3,10,7

Operating system

Linux 5.19.0-2-amd64 Debian 5.19.11-1 (2022-09-24) x86_64 GNU/Linux

Additional environment information

No response

How to reproduce

Run CI/CD actions for #3770

Actual result

No response

Expected result

No response

Related resources

No response

matsievskiysv avatar Oct 28 '22 07:10 matsievskiysv