From 9bb321cc98c9e515e15b2611d203c50909493db5 Mon Sep 17 00:00:00 2001 From: Sai Kiran Polisetty Date: Thu, 14 Aug 2025 12:27:40 +0530 Subject: [PATCH 1/3] Update --- qa/L0_grpc/python_grpc_aio_test.py | 6 ++++-- qa/L0_http/python_http_aio_test.py | 9 +++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/qa/L0_grpc/python_grpc_aio_test.py b/qa/L0_grpc/python_grpc_aio_test.py index ba43b36abb..c8745b6378 100755 --- a/qa/L0_grpc/python_grpc_aio_test.py +++ b/qa/L0_grpc/python_grpc_aio_test.py @@ -100,9 +100,11 @@ async def test_get_system_shared_memory_status(self): async def test_register_system_shared_memory(self): with self.assertRaisesRegex( InferenceServerException, - "\[StatusCode\.INTERNAL\] Unable to open shared memory region: ''", + "\[StatusCode\.INTERNAL\] Unable to open shared memory region: '/test_shm'", ): - await self._triton_client.register_system_shared_memory("", "", 0) + await self._triton_client.register_system_shared_memory( + "test_shm", "/test_shm", 0 + ) async def test_unregister_system_shared_memory(self): await self._triton_client.unregister_system_shared_memory() diff --git a/qa/L0_http/python_http_aio_test.py b/qa/L0_http/python_http_aio_test.py index bd8d342bb1..4681d0d9e7 100755 --- a/qa/L0_http/python_http_aio_test.py +++ b/qa/L0_http/python_http_aio_test.py @@ -95,8 +95,13 @@ async def test_get_system_shared_memory_status(self): await self._triton_client.get_system_shared_memory_status() async def test_register_system_shared_memory(self): - with self.assertRaisesRegex(InferenceServerException, ""): - await self._triton_client.register_system_shared_memory("", "", 0) + with self.assertRaisesRegex( + InferenceServerException, + "Unable to open shared memory region: '/test_shm'", + ): + await self._triton_client.register_system_shared_memory( + "test_shm", "/test_shm", 0 + ) async def test_unregister_system_shared_memory(self): await self._triton_client.unregister_system_shared_memory() From 5742a1d8aaa8831723ba0a37f1f0339a34df9f5b Mon Sep 17 00:00:00 2001 From: Sai Kiran Polisetty Date: Thu, 14 Aug 2025 12:31:55 +0530 Subject: [PATCH 2/3] Update --- qa/L0_grpc/python_grpc_aio_test.py | 2 +- qa/L0_http/python_http_aio_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/L0_grpc/python_grpc_aio_test.py b/qa/L0_grpc/python_grpc_aio_test.py index c8745b6378..6466432c6b 100755 --- a/qa/L0_grpc/python_grpc_aio_test.py +++ b/qa/L0_grpc/python_grpc_aio_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/qa/L0_http/python_http_aio_test.py b/qa/L0_http/python_http_aio_test.py index 4681d0d9e7..0eaffbc50b 100755 --- a/qa/L0_http/python_http_aio_test.py +++ b/qa/L0_http/python_http_aio_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions From 6e636c2917d89f8b44eab591860637e059989e63 Mon Sep 17 00:00:00 2001 From: Sai Kiran Polisetty Date: Fri, 15 Aug 2025 08:42:22 +0530 Subject: [PATCH 3/3] Undo L0_http --- qa/L0_http/python_http_aio_test.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/qa/L0_http/python_http_aio_test.py b/qa/L0_http/python_http_aio_test.py index 0eaffbc50b..bd8d342bb1 100755 --- a/qa/L0_http/python_http_aio_test.py +++ b/qa/L0_http/python_http_aio_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -95,13 +95,8 @@ async def test_get_system_shared_memory_status(self): await self._triton_client.get_system_shared_memory_status() async def test_register_system_shared_memory(self): - with self.assertRaisesRegex( - InferenceServerException, - "Unable to open shared memory region: '/test_shm'", - ): - await self._triton_client.register_system_shared_memory( - "test_shm", "/test_shm", 0 - ) + with self.assertRaisesRegex(InferenceServerException, ""): + await self._triton_client.register_system_shared_memory("", "", 0) async def test_unregister_system_shared_memory(self): await self._triton_client.unregister_system_shared_memory()