From be76d721bf32acbc756d6ef0261ef9405b4a7b25 Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:42:53 -0700 Subject: [PATCH 01/13] add error print --- tests/test_serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_serve.py b/tests/test_serve.py index 81d51dcd27..b28f1b88b0 100644 --- a/tests/test_serve.py +++ b/tests/test_serve.py @@ -208,7 +208,7 @@ def run_server(): try: # Test server health response = requests.get("http://127.0.0.1:8000/health") - assert response.status_code == 200, f"Server health check failed with status code {response.status_code}" + assert response.status_code == 200, f"Server health check failed with status code {response.status_code}: {response.text}" assert response.text == "ok", "Server did not respond as expected." # Test non-streaming chat completion From c7a35243a108067c0704e59e31257e0b148a1938 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 23:43:52 +0000 Subject: [PATCH 02/13] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_serve.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_serve.py b/tests/test_serve.py index b28f1b88b0..dd4963225c 100644 --- a/tests/test_serve.py +++ b/tests/test_serve.py @@ -208,7 +208,9 @@ def run_server(): try: # Test server health response = requests.get("http://127.0.0.1:8000/health") - assert response.status_code == 200, f"Server health check failed with status code {response.status_code}: {response.text}" + assert response.status_code == 200, ( + f"Server health check failed with status code {response.status_code}: {response.text}" + ) assert response.text == "ok", "Server did not respond as expected." # Test non-streaming chat completion From 7aa0707aac48c76197ac152b5f7acd672ed5c9c9 Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:56:03 -0700 Subject: [PATCH 03/13] trigger CI From ae0de846e0f03056f81555d858cbe830c816937b Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Thu, 11 Sep 2025 17:11:50 -0700 Subject: [PATCH 04/13] trigger CI From a93221f9bae28d24ed1ad001351f99d11d7c1a98 Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Thu, 11 Sep 2025 18:46:12 -0700 Subject: [PATCH 05/13] add error print --- tests/test_serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_serve.py b/tests/test_serve.py index dd4963225c..dc1dff1e78 100644 --- a/tests/test_serve.py +++ b/tests/test_serve.py @@ -222,7 +222,7 @@ def run_server(): }, ) assert response.status_code == 200, ( - f"Non-streaming chat completion failed with status code {response.status_code}" + f"Non-streaming chat completion failed with status code {response.status_code}: {response.text}" ) response_json = response.json() assert "choices" in response_json, "Response JSON does not contain 'choices'." From f30948afe57cce6099ac39b0e9a1ea08883f04e2 Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:08:28 -0700 Subject: [PATCH 06/13] try running only serve tests --- .lightning/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lightning/workflows/tests.yaml b/.lightning/workflows/tests.yaml index 8604cac59c..63e7053b68 100644 --- a/.lightning/workflows/tests.yaml +++ b/.lightning/workflows/tests.yaml @@ -43,7 +43,7 @@ run: | python -c "import torch ; gpus = torch.cuda.device_count() ; assert gpus >= 2, f'GPU: {gpus}'" python -c "from torch import __version__ as ver ; assert str(ver).split('+')[0] == '$TORCH_VERSION', f'PyTorch: installed {ver} but expected $TORCH_VERSION'" - pytest -v --durations=100 + pytest -v --durations=100 tests/test_serve.py wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/run_standalone_tests.sh PL_RUN_STANDALONE_TESTS=1 bash run_standalone_tests.sh "tests" From ab1d7a5d3ef116dcb0f93789e0736211ccca9e1f Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:39:32 -0700 Subject: [PATCH 07/13] run all tests --- .lightning/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lightning/workflows/tests.yaml b/.lightning/workflows/tests.yaml index 63e7053b68..ab2301b0fb 100644 --- a/.lightning/workflows/tests.yaml +++ b/.lightning/workflows/tests.yaml @@ -43,7 +43,7 @@ run: | python -c "import torch ; gpus = torch.cuda.device_count() ; assert gpus >= 2, f'GPU: {gpus}'" python -c "from torch import __version__ as ver ; assert str(ver).split('+')[0] == '$TORCH_VERSION', f'PyTorch: installed {ver} but expected $TORCH_VERSION'" - pytest -v --durations=100 tests/test_serve.py + pytest -v --durations=100 tests/ wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/run_standalone_tests.sh PL_RUN_STANDALONE_TESTS=1 bash run_standalone_tests.sh "tests" From 42df522445d466a46c34946cce322c17fdd9778f Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Fri, 19 Sep 2025 11:38:46 -0500 Subject: [PATCH 08/13] split out test_serve.py --- .lightning/workflows/tests.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.lightning/workflows/tests.yaml b/.lightning/workflows/tests.yaml index ab2301b0fb..344dc1f477 100644 --- a/.lightning/workflows/tests.yaml +++ b/.lightning/workflows/tests.yaml @@ -43,7 +43,9 @@ run: | python -c "import torch ; gpus = torch.cuda.device_count() ; assert gpus >= 2, f'GPU: {gpus}'" python -c "from torch import __version__ as ver ; assert str(ver).split('+')[0] == '$TORCH_VERSION', f'PyTorch: installed {ver} but expected $TORCH_VERSION'" - pytest -v --durations=100 tests/ + pytest -v --durations=100 tests/ --ignore=tests/test_serve.py + pytest -v --durations=100 tests/test_serve.py + wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/run_standalone_tests.sh PL_RUN_STANDALONE_TESTS=1 bash run_standalone_tests.sh "tests" From 2232516fc5b94a699014823d9727bafe942d951b Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Mon, 22 Sep 2025 10:18:21 -0500 Subject: [PATCH 09/13] trigger CI From 3b0a20115b3c1708d81a2f8aa697bf6da657f1c3 Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Mon, 22 Sep 2025 15:03:06 -0700 Subject: [PATCH 10/13] trigger CI From 51846420987c804a79880981d73289e6bb0f5312 Mon Sep 17 00:00:00 2001 From: Liana Koleva <43767763+lianakoleva@users.noreply.github.com> Date: Mon, 22 Sep 2025 22:43:06 -0700 Subject: [PATCH 11/13] trigger CI From ac69c58f91462ded2bebbaba3a77b1457f426361 Mon Sep 17 00:00:00 2001 From: Andy McSherry Date: Wed, 24 Sep 2025 15:04:42 -0700 Subject: [PATCH 12/13] trigger CI From cb423ff59f3b082f32bd4762e1b654c91a4355d1 Mon Sep 17 00:00:00 2001 From: Peyton Gardipee Date: Fri, 26 Sep 2025 13:23:22 -0700 Subject: [PATCH 13/13] trigger CI