diff --git a/qa/L0_server_status/server_status_test.py b/qa/L0_server_status/server_status_test.py index c54a4e8c0a..53a091e046 100755 --- a/qa/L0_server_status/server_status_test.py +++ b/qa/L0_server_status/server_status_test.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2018-2024, 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 @@ -723,8 +723,8 @@ def test_infer_stats_no_model(self): stats = infer_stats.model_stats self.assertEqual( len(stats), - 219, - "expected 219 infer stats for all ready versions of all model", + 221, + "expected 221 infer stats for all ready versions of all model", ) except InferenceServerException as ex: diff --git a/qa/L0_server_status/test.sh b/qa/L0_server_status/test.sh index 1e27339a38..d66b4d5a44 100755 --- a/qa/L0_server_status/test.sh +++ b/qa/L0_server_status/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2018-2024, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -89,6 +89,12 @@ rm -fr models/onnx_int32_int32_int32/2 models/onnx_int32_int32_int32/3 cp -r models/graphdef_float16_float32_float32/1 models/graphdef_float16_float32_float32/7 sleep 3 +# Dumping the contents of the models that are currently loaded for debugging purposes +# Primarily meant to assist in debugging ModelMetadataTest::test_infer_stats_no_model +# Diff the output with a previous L0_server_status job to catch any changes to +# /data/inferenceserver/${REPO_VERSION}/qa_model_repository that were not accounted for. +curl -X POST http://localhost:8000/v2/repository/index + set +e python $SERVER_STATUS_TEST ModelMetadataTest >>$CLIENT_LOG 2>&1