Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile.QA
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ RUN mkdir -p qa/common && \
cp bin/response_cache_test qa/L0_response_cache/. && \
cp bin/request_cancellation_test qa/L0_request_cancellation/. && \
cp bin/triton_json_test qa/L0_json/. && \
cp bin/logging_test qa/L0_logging/. && \
cp bin/backend_output_detail_test qa/L0_backend_output_detail/. && \
cp -r deploy/mlflow-triton-plugin qa/L0_mlflow/. && \
cp bin/input_byte_size_test qa/L0_input_validation/.
Expand Down
13 changes: 12 additions & 1 deletion qa/L0_logging/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright 2022-2026, 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
Expand Down Expand Up @@ -654,6 +654,17 @@ fi
unset $SERVER_ERROR_LOG
set -e

# Triton common log-callback test.
set +e
UNIT_TEST_LOG="./log_callback_test.log"
./logging_test --gtest_output=xml:logging.report.xml >> $UNIT_TEST_LOG 2>&1
if [ $? -ne 0 ]; then
cat $UNIT_TEST_LOG
echo -e "\n***\n*** Logging Callback Unit Test Failed\n***"
RET=1
fi
set -e

if [ $RET -eq 0 ]; then
echo -e "\n***\n*** Test Passed\n***"
else
Expand Down
11 changes: 10 additions & 1 deletion qa/L0_python_api/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright 2023-2026, 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
Expand Down Expand Up @@ -58,6 +58,15 @@ if [ $? -ne 0 ]; then
RET=1
fi

LOG_CALLBACK_TEST_LOG="./python_logging_callback.log"
rm -f $LOG_CALLBACK_TEST_LOG
python -m pytest --junitxml=test_logging_callback_report.xml test_logging_callback.py > $LOG_CALLBACK_TEST_LOG 2>&1
if [ $? -ne 0 ]; then
cat $LOG_CALLBACK_TEST_LOG
echo -e "\n***\n*** Test Failed\n***"
RET=1
fi

set -e

if [ $RET -eq 0 ]; then
Expand Down
Loading