All of lore.kernel.org
 help / color / mirror / Atom feed
* pyverbs regression
@ 2020-09-18 17:23 Bob Pearson
  2020-09-21  9:44 ` Edward Srouji
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Pearson @ 2020-09-18 17:23 UTC (permalink / raw)
  To: linux-rdma

I pulled head of tree for rdma-core and the kernel and rebuilt them and I am now seeing the following warnings from pyverbs which I had not seen before. The tests I expected to run are still running but there seems to be an inconsistency somewhere.

<frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.srq.SRQ size changed, may indicate binary incompatibility. Expected 56 from C header, got 64 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.qp.QP size changed, may indicate binary incompatibility. Expected 104 from C header, got 112 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.qp.QPEx size changed, may indicate binary incompatibility. Expected 112 from C header, got 120 from PyObject

Bob Pearson

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pyverbs regression
  2020-09-18 17:23 pyverbs regression Bob Pearson
@ 2020-09-21  9:44 ` Edward Srouji
  2020-09-21 16:34   ` Pearson, Robert B
  0 siblings, 1 reply; 4+ messages in thread
From: Edward Srouji @ 2020-09-21  9:44 UTC (permalink / raw)
  To: Bob Pearson, linux-rdma

Did you make sure that Pyverbs was recompiled as part of rdma-core 
rebuild? It looks like you've newer rdma-core with older Pyverbs structs.

Also, if you have multiple python versions make sure that Pyverbs was 
installed under the version you're using.

I don't see these inconsistencies, can you please provide which heads 
you're looking at in case you still seeing this?

On 9/18/2020 8:23 PM, Bob Pearson wrote:
> I pulled head of tree for rdma-core and the kernel and rebuilt them and I am now seeing the following warnings from pyverbs which I had not seen before. The tests I expected to run are still running but there seems to be an inconsistency somewhere.
>
> <frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.srq.SRQ size changed, may indicate binary incompatibility. Expected 56 from C header, got 64 from PyObject
> <frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.qp.QP size changed, may indicate binary incompatibility. Expected 104 from C header, got 112 from PyObject
> <frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.qp.QPEx size changed, may indicate binary incompatibility. Expected 112 from C header, got 120 from PyObject
>
> Bob Pearson

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: pyverbs regression
  2020-09-21  9:44 ` Edward Srouji
@ 2020-09-21 16:34   ` Pearson, Robert B
  2020-09-25 14:07     ` Jason Gunthorpe
  0 siblings, 1 reply; 4+ messages in thread
From: Pearson, Robert B @ 2020-09-21 16:34 UTC (permalink / raw)
  To: Edward Srouji, Bob Pearson, linux-rdma

Edward,

That problem was resolved by following Leon's suggestion and deleting the build directory. I do not see it any more.

Bob

-----Original Message-----
From: Edward Srouji <edwards@nvidia.com> 
Sent: Monday, September 21, 2020 4:45 AM
To: Bob Pearson <rpearsonhpe@gmail.com>; linux-rdma@vger.kernel.org
Subject: Re: pyverbs regression

Did you make sure that Pyverbs was recompiled as part of rdma-core rebuild? It looks like you've newer rdma-core with older Pyverbs structs.

Also, if you have multiple python versions make sure that Pyverbs was installed under the version you're using.

I don't see these inconsistencies, can you please provide which heads you're looking at in case you still seeing this?

On 9/18/2020 8:23 PM, Bob Pearson wrote:
> I pulled head of tree for rdma-core and the kernel and rebuilt them and I am now seeing the following warnings from pyverbs which I had not seen before. The tests I expected to run are still running but there seems to be an inconsistency somewhere.
>
> <frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.srq.SRQ 
> size changed, may indicate binary incompatibility. Expected 56 from C 
> header, got 64 from PyObject <frozen importlib._bootstrap>:219: 
> RuntimeWarning: pyverbs.qp.QP size changed, may indicate binary 
> incompatibility. Expected 104 from C header, got 112 from PyObject 
> <frozen importlib._bootstrap>:219: RuntimeWarning: pyverbs.qp.QPEx 
> size changed, may indicate binary incompatibility. Expected 112 from C 
> header, got 120 from PyObject
>
> Bob Pearson

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pyverbs regression
  2020-09-21 16:34   ` Pearson, Robert B
@ 2020-09-25 14:07     ` Jason Gunthorpe
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Gunthorpe @ 2020-09-25 14:07 UTC (permalink / raw)
  To: Pearson, Robert B; +Cc: Edward Srouji, Bob Pearson, linux-rdma

On Mon, Sep 21, 2020 at 04:34:52PM +0000, Pearson, Robert B wrote:
> Edward,
> 
> That problem was resolved by following Leon's suggestion and
> deleting the build directory. I do not see it any more.

It means some make dependencies are missing :(

Jason

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-25 14:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 17:23 pyverbs regression Bob Pearson
2020-09-21  9:44 ` Edward Srouji
2020-09-21 16:34   ` Pearson, Robert B
2020-09-25 14:07     ` Jason Gunthorpe

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.