Skip to content

[Python][CI] test_dlpack is failing on some nightly jobs allocating unexpected memory #44728

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

Several jobs:

are failing for the test_dlpack test with some variants of:

 ________________________ test_dlpack[value_type6-int32] ________________________
args = (), kwargs = {'np_type_str': 'int32', 'value_type': DataType(int32)}
allocated_bytes = 7440
@py_assert1 = <cyfunction total_allocated_bytes at 0x7fc798db2b70>
@py_assert3 = 3728, @py_assert5 = False
@py_format7 = '3728\n{3728 = <cyfunction total_allocated_bytes at 0x7fc798db2b70>\n{<cyfunction total_allocated_bytes at 0x7fc798db2b70> = pa.total_allocated_bytes\n}()\n} == 7440'
@py_format9 = 'assert 3728\n{3728 = <cyfunction total_allocated_bytes at 0x7fc798db2b70>\n{<cyfunction total_allocated_bytes at 0x7fc798db2b70> = pa.total_allocated_bytes\n}()\n} == 7440'
@wraps(f)
def wrapper(*args, **kwargs):
allocated_bytes = pa.total_allocated_bytes()
try:
return f(*args, **kwargs)
finally:
> assert pa.total_allocated_bytes() == allocated_bytes
E assert 3728 == 7440
E + where 3728 = <cyfunction total_allocated_bytes at 0x7fc798db2b70>()
E + where <cyfunction total_allocated_bytes at 0x7fc798db2b70> = pa.total_allocated_bytes

Component(s)

Continuous Integration, Python

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions