File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ def get_input_array(input_size, np_dtype):
195
195
triton_client .infer (model_name = model_name , inputs = inputs )
196
196
err_str = str (e .exception )
197
197
self .assertIn (
198
- f"expected { input_size } string elements for inference input 'INPUT1', got { input_size - 2 } " ,
198
+ f"expected { input_size } string elements for inference input 'INPUT1' for model ' { model_name } ' , got { input_size - 2 } " ,
199
199
err_str ,
200
200
)
201
201
@@ -208,7 +208,7 @@ def get_input_array(input_size, np_dtype):
208
208
triton_client .infer (model_name = model_name , inputs = inputs )
209
209
err_str = str (e .exception )
210
210
self .assertIn (
211
- f"expected { input_size } string elements for inference input 'INPUT1', got { input_size + 2 } " ,
211
+ f"unexpected number of string elements { input_size + 1 } for inference input 'INPUT1' for model ' { model_name } ', expecting { input_size } " ,
212
212
err_str ,
213
213
)
214
214
Original file line number Diff line number Diff line change 68
68
python3 -m pytest --junitxml=" input_validation.report.xml" $TEST_PY ::InputValTest >> $CLIENT_LOG 2>&1
69
69
70
70
if [ $? -ne 0 ]; then
71
- echo -e " \n***\n*** input_validation_test.py FAILED. \n***"
71
+ cat $CLIENT_LOG
72
+ cat $SERVER_LOG
73
+ echo -e " \n***\n*** input_validation_test.py::InputValTest FAILED. \n***"
72
74
RET=1
73
75
fi
74
76
set -e
@@ -138,7 +140,9 @@ set +e
138
140
python3 -m pytest --junitxml=" input_shape_validation.report.xml" $TEST_PY ::InputShapeTest >> $CLIENT_LOG 2>&1
139
141
140
142
if [ $? -ne 0 ]; then
141
- echo -e " \n***\n*** input_validation_test.py FAILED. \n***"
143
+ cat $CLIENT_LOG
144
+ cat $SERVER_LOG
145
+ echo -e " \n***\n*** input_validation_test.py::InputShapeTest FAILED. \n***"
142
146
RET=1
143
147
fi
144
148
set -e
@@ -147,19 +151,20 @@ kill $SERVER_PID
147
151
wait $SERVER_PID
148
152
149
153
# input_byte_size_test
154
+ cp -r /data/inferenceserver/${REPO_VERSION} /qa_identity_model_repository/{savedmodel_zero_1_float32,savedmodel_zero_1_object} ./models
155
+
150
156
set +e
151
- LD_LIBRARY_PATH=/opt/tritonserver/lib:$LD_LIBRARY_PATH $TEST_EXEC >> $TEST_LOG 2>&1
157
+ LD_LIBRARY_PATH=/opt/tritonserver/lib:$LD_LIBRARY_PATH $TEST_EXEC >> $TEST_LOG 2>&1
152
158
if [ $? -ne 0 ]; then
153
- echo -e " \n***\n*** Query Unit Test Failed\n***"
159
+ cat $TEST_LOG
160
+ echo -e " \n***\n*** input_byte_size_test FAILED\n***"
154
161
RET=1
155
162
fi
156
163
set -e
157
164
158
165
if [ $RET -eq 0 ]; then
159
166
echo -e " \n***\n*** Input Validation Test Passed\n***"
160
167
else
161
- cat $CLIENT_LOG
162
- cat $SERVER_LOG
163
168
echo -e " \n***\n*** Input Validation Test FAILED\n***"
164
169
fi
165
170
You can’t perform that action at this time.
0 commit comments