Open zhuwenxing opened 2 days ago
also happened in indexnode pod failure, and it does not make sense.
image tag master-20241105-b83b376c-amd64
log:
artifacts-indexnode-pod-failure-18453-server-logs.tar.gz
[2024-11-05T08:42:59.761Z] [2024-11-05 08:42:59 - INFO - ci_test]: server version: b83b376 (client_base.py:166)
[2024-11-05T08:42:59.761Z] [2024-11-05 08:42:59 - INFO - ci_test]: all database: ['default', 'prod'] (test_data_persistence.py:26)
[2024-11-05T08:43:00.015Z] [2024-11-05 08:42:59 - INFO - ci_test]: [test][2024-11-05T08:42:59Z] [0.51473958s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:43:00.016Z] [2024-11-05 08:42:59 - INFO - ci_test]: assert create collection: 0.004714250564575195, init_entities: 4000 (test_data_persistence.py:38)
[2024-11-05T08:43:00.271Z] [2024-11-05 08:43:00 - INFO - ci_test]: [test][2024-11-05T08:42:59Z] [0.19946044s] Hello_Milvus insert -> (insert count: 2000, delete count: 0, upsert count: 0, timestamp: 453717833810182145, success count: 2000, err count: 0 (wrapper.py:30)
[2024-11-05T08:43:00.276Z] [2024-11-05 08:43:00 - INFO - ci_test]: assert insert: 0.19964003562927246 (test_data_persistence.py:45)
[2024-11-05T08:43:12.431Z] [2024-11-05 08:43:10 - INFO - ci_test]: [test][2024-11-05T08:43:00Z] [10.73666304s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:43:22.372Z] [2024-11-05 08:43:21 - INFO - ci_test]: [test][2024-11-05T08:43:10Z] [10.23698029s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:43:32.302Z] [2024-11-05 08:43:31 - INFO - ci_test]: [test][2024-11-05T08:43:21Z] [10.17178544s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:43:32.302Z] [2024-11-05 08:43:31 - INFO - ci_test]: assert flush: 20.976419687271118, entities: 6000 (test_data_persistence.py:55)
[2024-11-05T08:43:32.302Z] [2024-11-05 08:43:31 - INFO - ci_test]: index info: [{'collection': 'Hello_Milvus', 'field': 'varchar', 'index_name': 'test_fhWbUNck', 'index_param': {}}, {'collection': 'Hello_Milvus', 'field': 'float_vector', 'index_name': 'test_nmaIoQf4', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}] (test_data_persistence.py:74)
[2024-11-05T08:43:32.302Z] [2024-11-05 08:43:31 - INFO - ci_test]: [test][2024-11-05T08:43:31Z] [0.00996241s] Hello_Milvus load -> None (wrapper.py:30)
[2024-11-05T08:43:58.780Z] [2024-11-05 08:43:55 - INFO - ci_test]: [test][2024-11-05T08:43:31Z] [24.30654723s] Hello_Milvus search -> data: ["['id: 388, distance: 0.34526920318603516, entity: {}']"] (wrapper.py:30)
[2024-11-05T08:43:58.780Z] [2024-11-05 08:43:55 - INFO - ci_test]: assert search: 24.30670976638794 (test_data_persistence.py:86)
[2024-11-05T08:47:05.172Z] [2024-11-05 08:46:55 - ERROR - pymilvus.decorators]: grpc RpcError: [release_collection], <_MultiThreadedRendezvous: StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded>, <Time:{'RPC start': '2024-11-05 08:43:55.541302', 'gRPC error': '2024-11-05 08:46:55.543250'}> (decorators.py:151)
[2024-11-05T08:47:05.173Z] [2024-11-05 08:46:55 - ERROR - ci_test]: Traceback (most recent call last):
[2024-11-05T08:47:05.173Z] File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 32, in inner_wrapper
[2024-11-05T08:47:05.173Z] res = func(*args, **_kwargs)
[2024-11-05T08:47:05.173Z] File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 63, in api_request
[2024-11-05T08:47:05.173Z] return func(*arg, **kwargs)
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/collection.py", line 458, in release
[2024-11-05T08:47:05.173Z] conn.release_collection(self._name, timeout=timeout, **kwargs)
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 155, in handler
[2024-11-05T08:47:05.173Z] raise e from e
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 137, in handler
[2024-11-05T08:47:05.173Z] return func(*args, **kwargs)
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 176, in handler
[2024-11-05T08:47:05.173Z] return func(self, *args, **kwargs)
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 90, in handler
[2024-11-05T08:47:05.173Z] raise e from e
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 86, in handler
[2024-11-05T08:47:05.173Z] return func(*args, **kwargs)
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 1210, in release_collection
[2024-11-05T08:47:05.173Z] response = rf.result()
[2024-11-05T08:47:05.173Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_channel.py", line 881, in result
[2024-11-05T08:47:05.173Z] raise self
[2024-11-05T08:47:05.173Z] grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
[2024-11-05T08:47:05.173Z] status = StatusCode.DEADLINE_EXCEEDED
[2024-11-05T08:47:05.173Z] details = "Deadline Exceeded"
[2024-11-05T08:47:05.173Z] debug_error_string = "UNKNOWN:Deadline Exceeded {grpc_status:4, created_time:"2024-11-05T08:46:55.54242492+00:00"}"
[2024-11-05T08:47:05.173Z] >
[2024-11-05T08:47:05.173Z] (api_request.py:45)
[2024-11-05T08:47:05.173Z] [2024-11-05 08:46:55 - ERROR - ci_test]: (api_response) : <_MultiThreadedRendezvous of RPC that terminated with:
[2024-11-05T08:47:05.173Z] status = StatusCode.DEADLINE_EXCEEDED
[2024-11-05T08:47:05.173Z] details = "Deadline Exceeded"
[2024-11-05T08:47:05.173Z] debug_error_string = "UNKNOWN:Deadline Exceeded {grpc_status:4, created_time:"2024-11-05T08:46:55.54242492+00:00"}"
[2024-11-05T08:47:05.173Z] > (api_request.py:46)
[2024-11-05T08:47:05.173Z] FAILED
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:47)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - INFO - ci_test]: pymilvus version: 2.5.0rc106 (client_base.py:48)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - INFO - ci_test]: [setup_method] Start setup test case test_milvus_default. (client_base.py:49)
[2024-11-05T08:53:29.746Z] ------------------------------ Captured log call -------------------------------
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default', '', '', 'default', ''], kwargs: {'host': '10.255.42.221', 'port': 19530} (api_request.py:62)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - INFO - ci_test]: server version: b83b376 (client_base.py:166)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [list_database] args: ['default', None], kwargs: {} (api_request.py:62)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : ['prod', 'default'] (api_request.py:37)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - INFO - ci_test]: all database: ['prod', 'default'] (test_data_persistence.py:26)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [using_database] args: ['prod', 'default'], kwargs: {} (api_request.py:62)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False, 'is_partition_key': False, 'nullable': False} (api_request.py:62)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : {'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>} (api_request.py:37)
[2024-11-05T08:53:29.746Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False, 'is_partition_key': False, 'nullable': False} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : {'name': 'varchar', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params': {'max_length': 65535}} (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False, 'nullable': False} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : {'name': 'float_vector', 'description': '', 'type': <DataType.FLOAT_VECTOR: 101>, 'params': {'dim': 128}} (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False, 'nullable': False} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>} (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['json_field', <DataType.JSON: 23>, ''], kwargs: {'is_primary': False, 'nullable': False} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : {'name': 'json_field', 'description': '', 'type': <DataType.JSON: 23>} (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'name': 'varchar', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params': {'max_length': 65535}}, {'name': 'json_field', 'description': '', 'type': <DataTyp......, kwargs: {'primary_field': 'int64', 'auto_id': False, 'enable_dynamic_field': False} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : {'auto_id': False, 'description': '', 'fields': [{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'name': 'varchar', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params...... (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : True (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [Collection] args: ['Hello_Milvus', {'auto_id': False, 'description': '', 'fields': [{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'name': 'varchar', 'description': '', 'type': <DataType.VARC......, kwargs: {'consistency_level': 'Strong'} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_response) : <Collection>:
[2024-11-05T08:53:29.747Z] -------------
[2024-11-05T08:53:29.747Z] <name>: Hello_Milvus
[2024-11-05T08:53:29.747Z] <description>:
[2024-11-05T08:53:29.747Z] <schema>: {'auto_id': False, 'description': '', 'fields': [{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'n...... (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:55 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - INFO - ci_test]: [test][2024-11-05T08:46:55Z] [0.51421434s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - INFO - ci_test]: assert create collection: 0.0066106319427490234, init_entities: 4000 (test_data_persistence.py:38)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [[0 0
[2024-11-05T08:53:29.747Z] 1 1
[2024-11-05T08:53:29.747Z] 2 2
[2024-11-05T08:53:29.747Z] 3 3
[2024-11-05T08:53:29.747Z] 4 4
[2024-11-05T08:53:29.747Z] ...
[2024-11-05T08:53:29.747Z] 1995 1995
[2024-11-05T08:53:29.747Z] 1996 1996
[2024-11-05T08:53:29.747Z] 1997 1997
[2024-11-05T08:53:29.747Z] 1998 1998
[2024-11-05T08:53:29.747Z] 1999 1999
[2024-11-05T08:53:29.747Z] Length: 2000, dtype: int64, 0 0.0
[2024-11-05T08:53:29.747Z] 1 1.0
[2024-11-05T08:53:29.747Z] 2 2.0
[2024-11-05T08:53:29.747Z] 3 3.0
[2024-11-05T08:53:29.747Z] 4 4.0
[2024-11-05T08:53:29.747Z] ...
[2024-11-05T08:53:29.747Z] 1995 1995.0
[2024-11-05T08:53:29.747Z] 1996 1996.0
[2024-11-05T08:53:29.747Z] 1997 ......, kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - DEBUG - ci_test]: (api_response) : (insert count: 2000, delete count: 0, upsert count: 0, timestamp: 453717895781023745, success count: 2000, err count: 0 (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - INFO - ci_test]: [test][2024-11-05T08:46:56Z] [0.18878228s] Hello_Milvus insert -> (insert count: 2000, delete count: 0, upsert count: 0, timestamp: 453717895781023745, success count: 2000, err count: 0 (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - INFO - ci_test]: assert insert: 0.18897247314453125 (test_data_persistence.py:45)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:46:56 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:47:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:47:06 - INFO - ci_test]: [test][2024-11-05T08:46:56Z] [10.17662379s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:47:06 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:47:16 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:47:16 - INFO - ci_test]: [test][2024-11-05T08:47:06Z] [10.17038712s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - INFO - ci_test]: [test][2024-11-05T08:50:09Z] [0.51233274s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - INFO - ci_test]: assert flush: 192.95085406303406, entities: 6000 (test_data_persistence.py:55)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - INFO - ci_test]: index info: [{'collection': 'Hello_Milvus', 'field': 'varchar', 'index_name': 'test_dQ39ti0A', 'index_param': {}}, {'collection': 'Hello_Milvus', 'field': 'float_vector', 'index_name': 'test_gSLJlfh1', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}] (test_data_persistence.py:74)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - DEBUG - ci_test]: (api_request) : [Collection.load] args: [None, 1, 180], kwargs: {} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - INFO - ci_test]: [test][2024-11-05T08:50:09Z] [0.00937892s] Hello_Milvus load -> None (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:09 - DEBUG - ci_test]: (api_request) : [Collection.search] args: [[[0.050541197856489535, 0.04297834468753657, 0.07692952372538671, 0.03807416894760198, 0.1590659275968698, 0.14672504608074, 0.09746071594677795, 0.04930868689179872, 0.026912923287030873, 0.11615310502222301, 0.05999914338585865, 0.1175727794990904, 0.030109210439919105, 0.007327967739902115, 0.15......, kwargs: {} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:10 - DEBUG - ci_test]: (api_response) : data: ["['id: 1254, distance: 0.3486194312572479, entity: {}']"] (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:10 - INFO - ci_test]: [test][2024-11-05T08:50:09Z] [0.45814290s] Hello_Milvus search -> data: ["['id: 1254, distance: 0.3486194312572479, entity: {}']"] (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:10 - INFO - ci_test]: assert search: 0.4583137035369873 (test_data_persistence.py:86)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:10 - DEBUG - ci_test]: (api_request) : [Collection.release] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:10 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:10 - INFO - ci_test]: [test][2024-11-05T08:50:10Z] [0.61245549s] Hello_Milvus release -> None (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:11 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [[0 0
[2024-11-05T08:53:29.747Z] 1 1
[2024-11-05T08:53:29.747Z] 2 2
[2024-11-05T08:53:29.747Z] 3 3
[2024-11-05T08:53:29.747Z] 4 4
[2024-11-05T08:53:29.747Z] ...
[2024-11-05T08:53:29.747Z] 1995 1995
[2024-11-05T08:53:29.747Z] 1996 1996
[2024-11-05T08:53:29.747Z] 1997 1997
[2024-11-05T08:53:29.747Z] 1998 1998
[2024-11-05T08:53:29.747Z] 1999 1999
[2024-11-05T08:53:29.747Z] Length: 2000, dtype: int64, 0 0.0
[2024-11-05T08:53:29.747Z] 1 1.0
[2024-11-05T08:53:29.747Z] 2 2.0
[2024-11-05T08:53:29.747Z] 3 3.0
[2024-11-05T08:53:29.747Z] 4 4.0
[2024-11-05T08:53:29.747Z] ...
[2024-11-05T08:53:29.747Z] 1995 1995.0
[2024-11-05T08:53:29.747Z] 1996 1996.0
[2024-11-05T08:53:29.747Z] 1997 ......, kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:11 - DEBUG - ci_test]: (api_response) : (insert count: 2000, delete count: 0, upsert count: 0, timestamp: 453717946833305602, success count: 2000, err count: 0 (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:11 - INFO - ci_test]: [test][2024-11-05T08:50:11Z] [0.19357006s] Hello_Milvus insert -> (insert count: 2000, delete count: 0, upsert count: 0, timestamp: 453717946833305602, success count: 2000, err count: 0 (wrapper.py:30)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:11 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:21 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:53:29.747Z] [2024-11-05 08:50:21 - INFO - ci_test]: [test][2024-11-05T08:50:11Z] [10.17305608s] Hello_Milvus flush -> None (wrapper.py:30)
[2024-11-05T08:53:29.748Z] [2024-11-05 08:50:21 - INFO - ci_test]: assert entities: 8000 (test_data_persistence.py:93)
[2024-11-05T08:53:29.748Z] [2024-11-05 08:50:21 - DEBUG - ci_test]: (api_request) : [Collection.load] args: [None, 1, 180], kwargs: {} (api_request.py:62)
[2024-11-05T08:53:29.748Z] [2024-11-05 08:53:21 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=wait for loading collection timeout, collection: Hello_Milvus)>, <Time:{'RPC start': '2024-11-05 08:50:21.428241', 'RPC error': '2024-11-05 08:53:21.564081'}> (decorators.py:140)
[2024-11-05T08:53:29.748Z] [2024-11-05 08:53:21 - WARNING - pymilvus.decorators]: Retry timeout: 180s (decorators.py:106)
[2024-11-05T08:53:29.748Z] [2024-11-05 08:53:21 - ERROR - pymilvus.decorators]: RPC error: [load_collection], <MilvusException: (code=1, message=Retry timeout: 180s, message=wait for loading collection timeout, collection: Hello_Milvus)>, <Time:{'RPC start': '2024-11-05 08:50:21.408710', 'RPC error': '2024-11-05 08:53:21.565090'}> (decorators.py:140)
[2024-11-05T08:53:29.748Z] [2024-11-05 08:53:21 - ERROR - ci_test]: Traceback (most recent call last):
[2024-11-05T08:53:29.748Z] File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 32, in inner_wrapper
[2024-11-05T08:53:29.748Z] res = func(*args, **_kwargs)
[2024-11-05T08:53:29.748Z] File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 63, in api_request
[2024-11-05T08:53:29.748Z] return func(*arg, **kwargs)
[2024-11-05T08:53:29.748Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/collection.py", line 429, in load
[2024-11-05T08:53:29.748Z] conn.load_collection(
[2024-11-05T08:53:29.748Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 141, in handler
[2024-11-05T08:53:29.748Z] raise e from e
[2024-11-05T08:53:29.748Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 137, in handler
[2024-11-05T08:53:29.748Z] return func(*args, **kwargs)
[2024-11-05T08:53:29.748Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 176, in handler
[2024-11-05T08:53:29.748Z] return func(self, *args, **kwargs)
[2024-11-05T08:53:29.748Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 107, in handler
[2024-11-05T08:53:29.748Z] raise MilvusException(
[2024-11-05T08:53:29.748Z] pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=Retry timeout: 180s, message=wait for loading collection timeout, collection: Hello_Milvus)>
[2024-11-05T08:53:29.748Z] (api_request.py:45)
[2024-11-05T08:53:29.748Z] [2024-11-05 08:53:21 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=Retry timeout: 180s, message=wait for loading collection timeout, collection: Hello_Milvus)> (api_request.py:46)
has collection
api also failed
[2024-11-05T08:49:48.241Z] [gw1] linux -- Python 3.8.10 /usr/bin/python3.8
[2024-11-05T08:49:48.241Z]
[2024-11-05T08:49:48.241Z] self = <test_concurrent_operation.TestOperations object at 0x7ff6246ef910>
[2024-11-05T08:49:48.241Z] request_duration = '4m', is_check = True, collection_name = 'Checker__Ci28fQqb'
[2024-11-05T08:49:48.241Z]
[2024-11-05T08:49:48.241Z] @pytest.mark.tags(CaseLabel.L3)
[2024-11-05T08:49:48.241Z] def test_operations(self, request_duration, is_check, collection_name):
[2024-11-05T08:49:48.241Z] # start the monitor threads to check the milvus ops
[2024-11-05T08:49:48.241Z] log.info("*********************Test Start**********************")
[2024-11-05T08:49:48.241Z] log.info(connections.get_connection_addr('default'))
[2024-11-05T08:49:48.241Z] # event_records = EventRecords()
[2024-11-05T08:49:48.241Z] c_name = collection_name if collection_name else cf.gen_unique_str("Checker_")
[2024-11-05T08:49:48.241Z] # event_records.insert("init_health_checkers", "start")
[2024-11-05T08:49:48.241Z] > self.init_health_checkers(collection_name=c_name)
[2024-11-05T08:49:48.241Z]
[2024-11-05T08:49:48.241Z] testcases/test_concurrent_operation.py:103:
[2024-11-05T08:49:48.241Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-05T08:49:48.241Z] testcases/test_concurrent_operation.py:76: in init_health_checkers
[2024-11-05T08:49:48.241Z] Op.insert: InsertChecker(collection_name=c_name),
[2024-11-05T08:49:48.241Z] checker.py:834: in __init__
[2024-11-05T08:49:48.241Z] super().__init__(collection_name=collection_name, shards_num=shards_num, schema=schema)
[2024-11-05T08:49:48.241Z] checker.py:359: in __init__
[2024-11-05T08:49:48.241Z] self.c_wrap.init_collection(name=c_name,
[2024-11-05T08:49:48.241Z] ../base/collection_wrapper.py:40: in init_collection
[2024-11-05T08:49:48.241Z] check_result = ResponseChecker(res, func_name, check_task, check_items, is_succ,
[2024-11-05T08:49:48.241Z] ../check/func_check.py:34: in run
[2024-11-05T08:49:48.241Z] result = self.assert_succ(self.succ, True)
[2024-11-05T08:49:48.241Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-05T08:49:48.241Z]
[2024-11-05T08:49:48.242Z] self = <check.func_check.ResponseChecker object at 0x7ff624011340>
[2024-11-05T08:49:48.242Z] actual = False, expect = True
[2024-11-05T08:49:48.242Z]
[2024-11-05T08:49:48.242Z] def assert_succ(self, actual, expect):
[2024-11-05T08:49:48.242Z] > assert actual is expect, f"Response of API {self.func_name} expect {expect}, but got {actual}"
[2024-11-05T08:49:48.242Z] E AssertionError: Response of API init_collection expect True, but got False
[2024-11-05T08:49:48.242Z]
[2024-11-05T08:49:48.242Z] ../check/func_check.py:116: AssertionError
[2024-11-05T08:49:48.242Z] ------------------------------ Captured log setup ------------------------------
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:16 - INFO - ci_test]: ################################################################################ (conftest.py:232)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:16 - INFO - ci_test]: [initialize_milvus] Log cleaned up, start testing... (conftest.py:233)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:16 - INFO - ci_test]: connect to milvus successfully (test_concurrent_operation.py:64)
[2024-11-05T08:49:48.242Z] ------------------------------ Captured log call -------------------------------
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - INFO - ci_test]: *********************Test Start********************** (test_concurrent_operation.py:98)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - INFO - ci_test]: {'address': '10.255.42.221:19530', 'user': ''} (test_concurrent_operation.py:99)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'varchar', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params': {'max_length': 65535}} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['text', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 2000, 'is_primary': False, 'enable_tokenizer': True, 'enable_match': True, 'tokenizer_params': {'tokenizer': 'default'}} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'text', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params': {'max_length': 2000, 'enable_match': True, 'enable_tokenizer': True, 'tokenizer_params': {'tokenizer': 'default'}}} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['json_field', <DataType.JSON: 23>, ''], kwargs: {'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'json_field', 'description': '', 'type': <DataType.JSON: 23>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['array_int', <DataType.ARRAY: 22>, ''], kwargs: {'element_type': <DataType.INT64: 5>, 'max_capacity': 100, 'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'array_int', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 100}, 'element_type': <DataType.INT64: 5>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['array_float', <DataType.ARRAY: 22>, ''], kwargs: {'element_type': <DataType.FLOAT: 10>, 'max_capacity': 100, 'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'array_float', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 100}, 'element_type': <DataType.FLOAT: 10>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['array_varchar', <DataType.ARRAY: 22>, ''], kwargs: {'element_type': <DataType.VARCHAR: 21>, 'max_capacity': 100, 'is_primary': False, 'max_length': 200} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'array_varchar', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_length': 200, 'max_capacity': 100}, 'element_type': <DataType.VARCHAR: 21>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['array_bool', <DataType.ARRAY: 22>, ''], kwargs: {'element_type': <DataType.BOOL: 1>, 'max_capacity': 100, 'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'array_bool', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 100}, 'element_type': <DataType.BOOL: 1>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'float_vector', 'description': '', 'type': <DataType.FLOAT_VECTOR: 101>, 'params': {'dim': 128}} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['image_emb', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'image_emb', 'description': '', 'type': <DataType.FLOAT_VECTOR: 101>, 'params': {'dim': 128}} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['text_sparse_emb', <DataType.SPARSE_FLOAT_VECTOR: 104>, ''], kwargs: {'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'text_sparse_emb', 'description': '', 'type': <DataType.SPARSE_FLOAT_VECTOR: 104>} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['voice_emb', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'name': 'voice_emb', 'description': '', 'type': <DataType.FLOAT_VECTOR: 101>, 'params': {'dim': 128}} (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'name': 'varchar', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params': {'max_length': 65535}}, {'name': 'text', 'description': '', 'type': <DataType.VARC......, kwargs: {'primary_field': 'int64', 'auto_id': False, 'enable_dynamic_field': True} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_response) : {'auto_id': False, 'description': '', 'fields': [{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'name': 'varchar', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params...... (api_request.py:37)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:43:53 - DEBUG - ci_test]: (api_request) : [Collection] args: ['Checker__Ci28fQqb', {'auto_id': False, 'description': '', 'fields': [{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'name': 'varchar', 'description': '', 'type': <DataType......, kwargs: {'shards_num': 2, 'timeout': 120, 'consistency_level': 'Strong'} (api_request.py:62)
[2024-11-05T08:49:48.242Z] [2024-11-05 08:45:53 - ERROR - pymilvus.decorators]: grpc RpcError: [has_collection], <_MultiThreadedRendezvous: StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded>, <Time:{'RPC start': '2024-11-05 08:43:53.296890', 'gRPC error': '2024-11-05 08:45:53.298025'}> (decorators.py:151)
and some search also failed
[2024-11-05T08:54:17.461Z] ___________ TestAllCollection.test_milvus_default[Checker__Pc4ibVTc] ___________
[2024-11-05T08:54:17.461Z] [gw3] linux -- Python 3.8.10 /usr/bin/python3.8
[2024-11-05T08:54:17.461Z]
[2024-11-05T08:54:17.461Z] self = <test_all_collections_after_chaos.TestAllCollection object at 0x7fe2c808f640>
[2024-11-05T08:54:17.461Z] collection_name = 'Checker__Pc4ibVTc'
[2024-11-05T08:54:17.461Z]
[2024-11-05T08:54:17.461Z] @pytest.mark.tags(CaseLabel.L1)
[2024-11-05T08:54:17.461Z] def test_milvus_default(self, collection_name):
[2024-11-05T08:54:17.461Z] self._connect()
[2024-11-05T08:54:17.461Z] # create
[2024-11-05T08:54:17.461Z] name = collection_name if collection_name else cf.gen_unique_str("Checker_")
[2024-11-05T08:54:17.461Z] t0 = time.time()
[2024-11-05T08:54:17.461Z] schema = Collection(name=name).schema
[2024-11-05T08:54:17.461Z] collection_w = self.init_collection_wrap(name=name, schema=schema)
[2024-11-05T08:54:17.461Z] tt = time.time() - t0
[2024-11-05T08:54:17.461Z] assert collection_w.name == name
[2024-11-05T08:54:17.461Z] # get collection info
[2024-11-05T08:54:17.461Z] schema = collection_w.schema
[2024-11-05T08:54:17.461Z] dim = cf.get_dim_by_schema(schema=schema)
[2024-11-05T08:54:17.461Z] int64_field_name = cf.get_int64_field_name(schema=schema)
[2024-11-05T08:54:17.461Z] float_vector_field_name = cf.get_float_vec_field_name(schema=schema)
[2024-11-05T08:54:17.461Z] float_vector_field_name_list = cf.get_float_vec_field_name_list(schema=schema)
[2024-11-05T08:54:17.461Z] # compact collection before getting num_entities
[2024-11-05T08:54:17.461Z] collection_w.flush(timeout=180)
[2024-11-05T08:54:17.461Z] collection_w.compact()
[2024-11-05T08:54:17.462Z] collection_w.wait_for_compaction_completed(timeout=720)
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] entities = collection_w.num_entities
[2024-11-05T08:54:17.462Z] log.info(f"assert create collection: {tt}, init_entities: {entities}")
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] # insert
[2024-11-05T08:54:17.462Z] offset = -3000
[2024-11-05T08:54:17.462Z] data = cf.gen_row_data_by_schema(nb=ct.default_nb, schema=schema, start=offset)
[2024-11-05T08:54:17.462Z] t0 = time.time()
[2024-11-05T08:54:17.462Z] _, res = collection_w.insert(data)
[2024-11-05T08:54:17.462Z] tt = time.time() - t0
[2024-11-05T08:54:17.462Z] log.info(f"assert insert: {tt}")
[2024-11-05T08:54:17.462Z] assert res
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] # flush
[2024-11-05T08:54:17.462Z] t0 = time.time()
[2024-11-05T08:54:17.462Z] _, check_result = collection_w.flush(timeout=180)
[2024-11-05T08:54:17.462Z] assert check_result
[2024-11-05T08:54:17.462Z] # assert collection_w.num_entities == len(data[0]) + entities
[2024-11-05T08:54:17.462Z] tt = time.time() - t0
[2024-11-05T08:54:17.462Z] entities = collection_w.num_entities
[2024-11-05T08:54:17.462Z] log.info(f"assert flush: {tt}, entities: {entities}")
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] # show index infos
[2024-11-05T08:54:17.462Z] index_infos = [index.to_dict() for index in collection_w.indexes]
[2024-11-05T08:54:17.462Z] log.info(f"index info: {index_infos}")
[2024-11-05T08:54:17.462Z] fields_created_index = [index["field"] for index in index_infos]
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] # create index if not have
[2024-11-05T08:54:17.462Z] index_params = {"index_type": "HNSW", "metric_type": "L2", "params": {"M": 48, "efConstruction": 500}}
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] for f in float_vector_field_name_list:
[2024-11-05T08:54:17.462Z] if f not in fields_created_index:
[2024-11-05T08:54:17.462Z] t0 = time.time()
[2024-11-05T08:54:17.462Z] index, _ = collection_w.create_index(field_name=float_vector_field_name,
[2024-11-05T08:54:17.462Z] index_params=index_params)
[2024-11-05T08:54:17.462Z] tt = time.time() - t0
[2024-11-05T08:54:17.462Z] log.info(f"create index for field {f} cost: {tt} seconds")
[2024-11-05T08:54:17.462Z] # show index infos
[2024-11-05T08:54:17.462Z] index_infos = [index.to_dict() for index in collection_w.indexes]
[2024-11-05T08:54:17.462Z] log.info(f"index info: {index_infos}")
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] # load
[2024-11-05T08:54:17.462Z] collection_w.load()
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] # search
[2024-11-05T08:54:17.462Z] search_vectors = cf.gen_vectors(1, dim)
[2024-11-05T08:54:17.462Z] search_params = {"metric_type": "L2", "params": {"ef": 64}}
[2024-11-05T08:54:17.462Z] t0 = time.time()
[2024-11-05T08:54:17.462Z] > res_1, _ = collection_w.search(data=search_vectors,
[2024-11-05T08:54:17.462Z] anns_field=float_vector_field_name,
[2024-11-05T08:54:17.462Z] param=search_params, limit=1)
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] testcases/test_all_collections_after_chaos.py:95:
[2024-11-05T08:54:17.462Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-05T08:54:17.462Z] ../utils/wrapper.py:33: in inner_wrapper
[2024-11-05T08:54:17.462Z] res, result = func(*args, **kwargs)
[2024-11-05T08:54:17.462Z] ../base/collection_wrapper.py:172: in search
[2024-11-05T08:54:17.462Z] check_result = ResponseChecker(res, func_name, check_task, check_items, check,
[2024-11-05T08:54:17.462Z] ../check/func_check.py:34: in run
[2024-11-05T08:54:17.462Z] result = self.assert_succ(self.succ, True)
[2024-11-05T08:54:17.462Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] self = <check.func_check.ResponseChecker object at 0x7fe1f007fbe0>
[2024-11-05T08:54:17.462Z] actual = False, expect = True
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] def assert_succ(self, actual, expect):
[2024-11-05T08:54:17.462Z] > assert actual is expect, f"Response of API {self.func_name} expect {expect}, but got {actual}"
[2024-11-05T08:54:17.462Z] E AssertionError: Response of API search expect True, but got False
[2024-11-05T08:54:17.462Z]
[2024-11-05T08:54:17.462Z] ../check/func_check.py:116: AssertionError
[2024-11-05T08:54:17.462Z] ------------------------------ Captured log setup ------------------------------
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - INFO - ci_test]: ################################################################################ (conftest.py:232)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - INFO - ci_test]: [initialize_milvus] Log cleaned up, start testing... (conftest.py:233)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - INFO - ci_test]: [setup_class] Start setup class... (client_base.py:41)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:47)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - INFO - ci_test]: pymilvus version: 2.5.0rc106 (client_base.py:48)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - INFO - ci_test]: [setup_method] Start setup test case test_milvus_default. (client_base.py:49)
[2024-11-05T08:54:17.462Z] ------------------------------ Captured log call -------------------------------
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default', '', '', 'default', ''], kwargs: {'host': '10.255.42.221', 'port': 19530} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - INFO - ci_test]: server version: b83b376 (client_base.py:166)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - DEBUG - ci_test]: (api_response) : True (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - DEBUG - ci_test]: (api_request) : [Collection] args: ['Checker__Pc4ibVTc', {'auto_id': False, 'description': '', 'fields': [{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}, {'name': 'varchar', 'description': '', 'type': <DataType......, kwargs: {'consistency_level': 'Strong'} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - DEBUG - ci_test]: (api_response) : <Collection>:
[2024-11-05T08:54:17.462Z] -------------
[2024-11-05T08:54:17.462Z] <name>: Checker__Pc4ibVTc
[2024-11-05T08:54:17.462Z] <description>:
[2024-11-05T08:54:17.462Z] <schema>: {'auto_id': False, 'description': '', 'fields': [{'name': 'int64', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float', 'description': '', 'type': <DataType.FLOAT: 10>}...... (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:15 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:16 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:16 - DEBUG - ci_test]: (api_request) : [Collection.compact] args: [False, 180], kwargs: {} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:16 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:17 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:27 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:27 - INFO - ci_test]: assert create collection: 0.00937962532043457, init_entities: 52772 (test_all_collections_after_chaos.py:49)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:29 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [[{'int64': -3000, 'float': 0.2327729, 'varchar': 'yqeq', 'text': 'Eye need meeting continue eat so. Feel think surface page fast share rest.\nLine someone evening prepare daughter institution. Market what truth fight hard. Cover organization Mr wish.', 'json_field': {'name': 'Sarah Snyder', 'addres......, kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:30 - DEBUG - ci_test]: (api_response) : (insert count: 2000, delete count: 0, upsert count: 0, timestamp: 453717841752883203, success count: 2000, err count: 0 (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:30 - INFO - ci_test]: assert insert: 0.9942841529846191 (test_all_collections_after_chaos.py:57)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:30 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:38 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:38 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 180} (api_request.py:62)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:48 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:48 - INFO - ci_test]: assert flush: 7.674049377441406, entities: 54772 (test_all_collections_after_chaos.py:67)
[2024-11-05T08:54:17.462Z] [2024-11-05 08:43:48 - INFO - ci_test]: index info: [{'collection': 'Checker__Pc4ibVTc', 'field': 'image_emb', 'index_name': 'image_emb', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'voice_emb', 'index_name': 'voice_emb', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'text_sparse_emb', 'index_name': 'text_sparse_emb', 'index_param': {'index_type': 'SPARSE_INVERTED_INDEX', 'metric_type': 'BM25', 'params': {'bm25_k1': 1.5, 'bm25_b': 0.75}}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'int64', 'index_name': 'int64', 'index_param': {'index_type': 'INVERTED'}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'float', 'index_name': 'float', 'index_param': {'index_type': 'INVERTED'}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'varchar', 'index_name': 'varchar', 'index_param': {'index_type': 'INVERTED'}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'text', 'index_name': 'text', 'index_param': {'index_type': 'INVERTED'}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'float_vector', 'index_name': 'float_vector', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}] (test_all_collections_after_chaos.py:71)
[2024-11-05T08:54:17.463Z] [2024-11-05 08:43:48 - INFO - ci_test]: index info: [{'collection': 'Checker__Pc4ibVTc', 'field': 'text', 'index_name': 'text', 'index_param': {'index_type': 'INVERTED'}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'float_vector', 'index_name': 'float_vector', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'image_emb', 'index_name': 'image_emb', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'voice_emb', 'index_name': 'voice_emb', 'index_param': {'index_type': 'HNSW', 'metric_type': 'L2', 'params': {'M': 48, 'efConstruction': 500}}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'text_sparse_emb', 'index_name': 'text_sparse_emb', 'index_param': {'index_type': 'SPARSE_INVERTED_INDEX', 'metric_type': 'BM25', 'params': {'bm25_k1': 1.5, 'bm25_b': 0.75}}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'int64', 'index_name': 'int64', 'index_param': {'index_type': 'INVERTED'}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'float', 'index_name': 'float', 'index_param': {'index_type': 'INVERTED'}}, {'collection': 'Checker__Pc4ibVTc', 'field': 'varchar', 'index_name': 'varchar', 'index_param': {'index_type': 'INVERTED'}}] (test_all_collections_after_chaos.py:86)
[2024-11-05T08:54:17.463Z] [2024-11-05 08:43:48 - DEBUG - ci_test]: (api_request) : [Collection.load] args: [None, 1, 180], kwargs: {} (api_request.py:62)
[2024-11-05T08:54:17.463Z] [2024-11-05 08:43:48 - DEBUG - ci_test]: (api_response) : None (api_request.py:37)
[2024-11-05T08:54:17.463Z] [2024-11-05 08:43:48 - DEBUG - ci_test]: (api_request) : [Collection.search] args: [[[0.013030808526965974, 0.10718841989023736, 0.03417382039349491, 0.09521140916860753, 0.06132043363766172, 0.08183799153940584, 0.01955850273859794, 0.033040919703253006, 0.10559069670981394, 0.09317936219713097, 0.05001781411734439, 0.07244139544415529, 0.09747295402789208, 0.08300185005986091, 0......, kwargs: {} (api_request.py:62)
[2024-11-05T08:54:17.463Z] [2024-11-05 08:46:48 - ERROR - pymilvus.decorators]: grpc RpcError: [search], <_InactiveRpcError: StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded>, <Time:{'RPC start': '2024-11-05 08:43:48.366804', 'gRPC error': '2024-11-05 08:46:48.367872'}> (decorators.py:151)
[2024-11-05T08:54:17.463Z] [2024-11-05 08:46:48 - ERROR - ci_test]: Traceback (most recent call last):
[2024-11-05T08:54:17.463Z] File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 32, in inner_wrapper
[2024-11-05T08:54:17.463Z] res = func(*args, **_kwargs)
[2024-11-05T08:54:17.463Z] File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 63, in api_request
[2024-11-05T08:54:17.463Z] return func(*arg, **kwargs)
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/collection.py", line 801, in search
[2024-11-05T08:54:17.463Z] resp = conn.search(
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 155, in handler
[2024-11-05T08:54:17.463Z] raise e from e
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 137, in handler
[2024-11-05T08:54:17.463Z] return func(*args, **kwargs)
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 176, in handler
[2024-11-05T08:54:17.463Z] return func(self, *args, **kwargs)
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 90, in handler
[2024-11-05T08:54:17.463Z] raise e from e
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 86, in handler
[2024-11-05T08:54:17.463Z] return func(*args, **kwargs)
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 806, in search
[2024-11-05T08:54:17.463Z] return self._execute_search(request, timeout, round_decimal=round_decimal, **kwargs)
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 747, in _execute_search
[2024-11-05T08:54:17.463Z] raise e from e
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 735, in _execute_search
[2024-11-05T08:54:17.463Z] response = self._stub.Search(request, timeout=timeout)
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_interceptor.py", line 277, in __call__
[2024-11-05T08:54:17.463Z] response, ignored_call = self._with_call(
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_interceptor.py", line 332, in _with_call
[2024-11-05T08:54:17.463Z] return call.result(), call
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_channel.py", line 438, in result
[2024-11-05T08:54:17.463Z] raise self
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_interceptor.py", line 315, in continuation
[2024-11-05T08:54:17.463Z] response, call = self._thunk(new_method).with_call(
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_interceptor.py", line 343, in with_call
[2024-11-05T08:54:17.463Z] return self._with_call(
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_interceptor.py", line 332, in _with_call
[2024-11-05T08:54:17.463Z] return call.result(), call
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_channel.py", line 438, in result
[2024-11-05T08:54:17.463Z] raise self
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_interceptor.py", line 315, in continuation
[2024-11-05T08:54:17.463Z] response, call = self._thunk(new_method).with_call(
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_channel.py", line 1178, in with_call
[2024-11-05T08:54:17.463Z] return _end_unary_response_blocking(state, call, True, None)
[2024-11-05T08:54:17.463Z] File "/usr/local/lib/python3.8/dist-packages/grpc/_channel.py", line 1004, in _end_unary_response_blocking
[2024-11-05T08:54:17.463Z] raise _InactiveRpcError(state) # pytype: disable=not-instantiable
[2024-11-05T08:54:17.463Z] grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
[2024-11-05T08:54:17.463Z] status = StatusCode.DEADLINE_EXCEEDED
[2024-11-05T08:54:17.463Z] details = "Deadline Exceeded"
[2024-11-05T08:54:17.463Z] debug_error_string = "UNKNOWN:Deadline Exceeded {created_time:"2024-11-05T08:46:48.367450715+00:00", grpc_status:4}"
[2024-11-05T08:54:17.463Z] >
[2024-11-05T08:54:17.463Z] (api_request.py:45)
[2024-11-05T08:54:17.463Z] [2024-11-05 08:46:48 - ERROR - ci_test]: (api_response) : <_InactiveRpcError of RPC that terminated with:
[2024-11-05T08:54:17.463Z] status = StatusCode.DEADLINE_EXCEEDED
[2024-11-05T08:54:17.463Z] details = "Deadline Exceeded"
[2024-11-05T08:54:17.463Z] debug_error_string = "UNKNOWN:Deadline Exceeded {created_time:"2024-11-05T08:46:48.367450715+00:00", grpc_status:4}"
[2024-11-05T08:54:17.463Z] > (api_request.py:46)
cluster: 4am ns: chaos-testing pod info
+ kubectl get pods -o wide
+ grep indexnode-pod-failure-18453
indexnode-pod-failure-18453-etcd-0 1/1 Running 0 44m 10.104.16.70 4am-node21 <none> <none>
indexnode-pod-failure-18453-etcd-1 1/1 Running 0 44m 10.104.27.226 4am-node31 <none> <none>
indexnode-pod-failure-18453-etcd-2 1/1 Running 0 44m 10.104.34.79 4am-node37 <none> <none>
indexnode-pod-failure-18453-kafka-0 2/2 Running 0 44m 10.104.34.80 4am-node37 <none> <none>
indexnode-pod-failure-18453-kafka-1 2/2 Running 0 44m 10.104.16.73 4am-node21 <none> <none>
indexnode-pod-failure-18453-kafka-2 2/2 Running 0 44m 10.104.19.33 4am-node28 <none> <none>
indexnode-pod-failure-18453-kafka-exporter-6f777db574-bvgm7 1/1 Running 4 (44m ago) 44m 10.104.19.27 4am-node28 <none> <none>
indexnode-pod-failure-18453-milvus-datanode-557c6cdb47-pwl2p 1/1 Running 2 (44m ago) 44m 10.104.27.222 4am-node31 <none> <none>
indexnode-pod-failure-18453-milvus-datanode-557c6cdb47-wl4v9 1/1 Running 2 (44m ago) 44m 10.104.16.62 4am-node21 <none> <none>
indexnode-pod-failure-18453-milvus-indexnode-678dff974b-dvbzq 1/1 Running 5 (19m ago) 44m 10.104.23.119 4am-node27 <none> <none>
indexnode-pod-failure-18453-milvus-indexnode-678dff974b-hv84v 1/1 Running 5 (19m ago) 44m 10.104.19.26 4am-node28 <none> <none>
indexnode-pod-failure-18453-milvus-indexnode-678dff974b-lfxvk 1/1 Running 5 (19m ago) 44m 10.104.15.53 4am-node20 <none> <none>
indexnode-pod-failure-18453-milvus-mixcoord-7c4978bbc8-h94zd 1/1 Running 2 (44m ago) 44m 10.104.19.24 4am-node28 <none> <none>
indexnode-pod-failure-18453-milvus-proxy-6ff4d994b-jlg7k 1/1 Running 2 (44m ago) 44m 10.104.16.61 4am-node21 <none> <none>
indexnode-pod-failure-18453-milvus-querynode-6cb76f6584-8cl89 1/1 Running 2 (44m ago) 44m 10.104.9.59 4am-node14 <none> <none>
indexnode-pod-failure-18453-milvus-querynode-6cb76f6584-sd5z4 1/1 Running 2 (44m ago) 44m 10.104.14.139 4am-node18 <none> <none>
indexnode-pod-failure-18453-milvus-querynode-6cb76f6584-tvx9h 1/1 Running 2 (44m ago) 44m 10.104.23.118 4am-node27 <none> <none>
indexnode-pod-failure-18453-minio-0 1/1 Running 0 44m 10.104.34.78 4am-node37 <none> <none>
indexnode-pod-failure-18453-minio-1 1/1 Running 0 44m 10.104.16.77 4am-node21 <none> <none>
indexnode-pod-failure-18453-minio-2 1/1 Running 0 44m 10.104.27.227 4am-node31 <none> <none>
indexnode-pod-failure-18453-minio-3 1/1 Running 0 44m 10.104.15.59 4am-node20 <none> <none>
indexnode-pod-failure-18453-zookeeper-0 1/1 Running 0 44m 10.104.16.74 4am-node21 <none> <none>
indexnode-pod-failure-18453-zookeeper-1 1/1 Running 0 44m 10.104.15.58 4am-node20 <none> <none>
indexnode-pod-failure-18453-zookeeper-2 1/1 Running 0 44m 10.104.19.32 4am-node28 <none> <none>
/assign @weiliu1031 /unassign
Is there an existing issue for this?
Environment
Current Behavior
load timeout
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
failed job: https://qa-jenkins.milvus.io/blue/organizations/jenkins/chaos-test-cron/detail/chaos-test-cron/19341/pipeline
log: artifacts-querynode-pod-kill-19341-server-logs.tar.gz
Anything else?
No response