Skip to contentSkip to conversation

pyverbs regression

DISCUSSION Bob Pearson 4 participants 4 messages Sep 18, 2020 – Sep 25, 2020 InfiniBand

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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?

Quoted 7 lines · Bob Pearson

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

#2 lore raw

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 <[email protected]>
Sent: Monday, September 21, 2020 4:45 AM
To: Bob Pearson <[email protected]>; [email protected]
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?

Quoted 12 lines · Bob Pearson

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

#3 lore raw
Quoted 4 lines · Robert B

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