* warnings from pyverbs tests
@ 2022-04-04 18:19 Bob Pearson
2022-04-04 18:44 ` Jason Gunthorpe
0 siblings, 1 reply; 3+ messages in thread
From: Bob Pearson @ 2022-04-04 18:19 UTC (permalink / raw)
To: Jason Gunthorpe, linux-rdma@vger.kernel.org
Back from vacation I see the following warnings when I run the pyverbs test suite.
<frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.device.Context size changed, may indicate binary incompatibility. Expected 160 from C header, got 176 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.qp.QPEx size changed, may indicate binary incompatibility. Expected 136 from C header, got 144 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.qp.QPInitAttrEx size changed, may indicate binary incompatibility. Expected 208 from C header, got 216 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.pd.PD size changed, may indicate binary incompatibility. Expected 128 from C header, got 136 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.pd.ParentDomain size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.providers.mlx5.mlx5dv.Mlx5Context size changed, may indicate binary incompatibility. Expected 192 from C header, got 200 from PyObject
It seems the headers in rdma-core and the kernel are out of sync. I just pulled fresh bits from both.
Bob
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: warnings from pyverbs tests
2022-04-04 18:19 warnings from pyverbs tests Bob Pearson
@ 2022-04-04 18:44 ` Jason Gunthorpe
2022-04-04 19:31 ` Bob Pearson
0 siblings, 1 reply; 3+ messages in thread
From: Jason Gunthorpe @ 2022-04-04 18:44 UTC (permalink / raw)
To: Bob Pearson; +Cc: linux-rdma@vger.kernel.org
On Mon, Apr 04, 2022 at 01:19:21PM -0500, Bob Pearson wrote:
> Back from vacation I see the following warnings when I run the pyverbs test suite.
>
> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.device.Context size changed, may indicate binary incompatibility. Expected 160 from C header, got 176 from PyObject
>
> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.qp.QPEx size changed, may indicate binary incompatibility. Expected 136 from C header, got 144 from PyObject
>
> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.qp.QPInitAttrEx size changed, may indicate binary incompatibility. Expected 208 from C header, got 216 from PyObject
>
> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.pd.PD size changed, may indicate binary incompatibility. Expected 128 from C header, got 136 from PyObject
>
> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.pd.ParentDomain size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
>
> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.providers.mlx5.mlx5dv.Mlx5Context size changed, may indicate binary incompatibility. Expected 192 from C header, got 200 from PyObject
>
>
> It seems the headers in rdma-core and the kernel are out of sync. I just pulled fresh bits from both.
I don't think it has to do with kernel, that looks like a python
compilation problem. Rebuild a fresh rdma-core and make sure it is not
mixing and matching shared librarie somehow
Jason
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: warnings from pyverbs tests
2022-04-04 18:44 ` Jason Gunthorpe
@ 2022-04-04 19:31 ` Bob Pearson
0 siblings, 0 replies; 3+ messages in thread
From: Bob Pearson @ 2022-04-04 19:31 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: linux-rdma@vger.kernel.org
On 4/4/22 13:44, Jason Gunthorpe wrote:
> On Mon, Apr 04, 2022 at 01:19:21PM -0500, Bob Pearson wrote:
>> Back from vacation I see the following warnings when I run the pyverbs test suite.
>>
>> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.device.Context size changed, may indicate binary incompatibility. Expected 160 from C header, got 176 from PyObject
>>
>> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.qp.QPEx size changed, may indicate binary incompatibility. Expected 136 from C header, got 144 from PyObject
>>
>> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.qp.QPInitAttrEx size changed, may indicate binary incompatibility. Expected 208 from C header, got 216 from PyObject
>>
>> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.pd.PD size changed, may indicate binary incompatibility. Expected 128 from C header, got 136 from PyObject
>>
>> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.pd.ParentDomain size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
>>
>> <frozen importlib._bootstrap>:228: RuntimeWarning: pyverbs.providers.mlx5.mlx5dv.Mlx5Context size changed, may indicate binary incompatibility. Expected 192 from C header, got 200 from PyObject
>>
>>
>> It seems the headers in rdma-core and the kernel are out of sync. I just pulled fresh bits from both.
>
>
> I don't think it has to do with kernel, that looks like a python
> compilation problem. Rebuild a fresh rdma-core and make sure it is not
> mixing and matching shared librarie somehow
>
> Jason
I removed rdma-core/build and rebuilt everything. That fixed it.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-04 21:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-04 18:19 warnings from pyverbs tests Bob Pearson
2022-04-04 18:44 ` Jason Gunthorpe
2022-04-04 19:31 ` Bob Pearson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox