Re: [PATCH rdma-core] tests: Pass the specified gid index to u.get_global_route()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 01, 2022 at 07:38:41AM +0000, yangx.jy@xxxxxxxxxxx wrote:
> test_create_ah() or test_destroy_ah() always triggered the following
> error on SoftRoCE because the specified gid index didn't work.
> 
> $ bin/run_tests.py --dev rxe_enp0s5 --gid 1 -v tests.test_addr.AHTest.test_create_ah
> test_create_ah (tests.test_addr.AHTest)
> Test ibv_create_ah. ... ERROR
> 
> ======================================================================
> ERROR: test_create_ah (tests.test_addr.AHTest)
> Test ibv_create_ah.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/root/rdma-core/tests/test_addr.py", line 51, in test_create_ah
>     raise ex
>   File "/root/rdma-core/tests/test_addr.py", line 47, in test_create_ah
>     AH(pd, attr=ah_attr)
>   File "addr.pyx", line 410, in pyverbs.addr.AH.__init__
> pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create AH. Errno: 110, Connection timed out
> 
> ----------------------------------------------------------------------
> Ran 1 test in 1.271s
> 
> FAILED (errors=1)
> 
> Try to fix the issue by passing the specified gid index to u.get_global_route().
> 
> Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxx>
> ---
>  tests/base.py      | 4 ++++
>  tests/test_addr.py | 4 ++--
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 

Thanks, applied.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux