From: Leon Romanovsky <leon@kernel.org>
To: "yangx.jy@fujitsu.com" <yangx.jy@fujitsu.com>
Cc: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: [PATCH rdma-core] tests: Pass the specified gid index to u.get_global_route()
Date: Mon, 5 Sep 2022 15:13:47 +0300 [thread overview]
Message-ID: <YxXn+ylSuwSZXEJp@unreal> (raw)
In-Reply-To: <20220901073836.1573-1-yangx.jy@fujitsu.com>
On Thu, Sep 01, 2022 at 07:38:41AM +0000, yangx.jy@fujitsu.com 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@fujitsu.com>
> ---
> tests/base.py | 4 ++++
> tests/test_addr.py | 4 ++--
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
Thanks, applied.
prev parent reply other threads:[~2022-09-05 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 7:38 [PATCH rdma-core] tests: Pass the specified gid index to u.get_global_route() yangx.jy
2022-09-05 12:13 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YxXn+ylSuwSZXEJp@unreal \
--to=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=yangx.jy@fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.