Skip to content

Commit b9b89c1

Browse files
Skip peer access tests until nvbug 5821337 is resolved
Unconditionally skip all peer access tests in test_memory_peer_access.py and memory_ipc/test_peer_access.py with pytest.mark.skip referencing the tracking bug. Co-authored-by: Cursor <[email protected]>
1 parent 1d7c89e commit b9b89c1

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎cuda_core/tests/memory_ipc/test_peer_access.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
POOL_SIZE = 2097152
1414

1515

16+
@pytest.mark.skip(reason="nvbug 5821337: peer access tests disabled until resolved")
1617
class TestPeerAccessNotPreservedOnImport:
1718
"""
1819
Verify that peer access settings are not preserved when a memory resource
@@ -51,6 +52,7 @@ def child_main(self, mr):
5152
mr.close()
5253

5354

55+
@pytest.mark.skip(reason="nvbug 5821337: peer access tests disabled until resolved")
5456
class TestBufferPeerAccessAfterImport:
5557
"""
5658
Verify that buffers imported via IPC can be accessed from peer devices after

‎cuda_core/tests/test_memory_peer_access.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
NBYTES = 1024
1111

1212

13+
@pytest.mark.skip(reason="nvbug 5821337: peer access tests disabled until resolved")
1314
def test_peer_access_basic(mempool_device_x2):
1415
"""Basic tests for dmr.peer_accessible_by."""
1516
dev0, dev1 = mempool_device_x2
@@ -46,6 +47,7 @@ def test_peer_access_basic(mempool_device_x2):
4647
zero_on_dev0.copy_from(buf_on_dev1, stream=stream_on_dev0)
4748

4849

50+
@pytest.mark.skip(reason="nvbug 5821337: peer access tests disabled until resolved")
4951
def test_peer_access_property_x2(mempool_device_x2):
5052
"""The the dmr.peer_accessible_by property (but not its functionality)."""
5153
# The peer access list is a sorted tuple and always excludes the self
@@ -78,6 +80,7 @@ def check(expected):
7880
dmr.peer_accessible_by = [num_devices] # device ID out of bounds
7981

8082

83+
@pytest.mark.skip(reason="nvbug 5821337: peer access tests disabled until resolved")
8184
def test_peer_access_transitions(mempool_device_x3):
8285
"""Advanced tests for dmr.peer_accessible_by."""
8386

0 commit comments

Comments
 (0)