[PATCH v3 01/10] test/bbdev: fix python script subprocess
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Thu Nov  9 13:37:18 CET 2023
    
    
  
On 11/4/23 00:34, Nicolas Chautru wrote:
> From: Hernan Vargas <hernan.vargas at intel.com>
> 
> test-bbdev.py relying on non-recommended subprocess Popen.
> This can lead to instabilities where the process cannot be stopped with a
> sig TERM.
> Use subprocess run with proper timeout argument.
> 
> Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Hernan Vargas <hernan.vargas at intel.com>
> ---
>   app/test-bbdev/test-bbdev.py | 29 +++++++++++++----------------
>   1 file changed, 13 insertions(+), 16 deletions(-)
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
    
    
More information about the dev
mailing list