Report generated on 17-Feb-2023 at 08:46:05 by pytest-html v3.1.1
BUILD_ID | 363 |
BUILD_NUMBER | 363 |
BUILD_TAG | jenkins-deploy_test_for_release_cron-363 |
BUILD_URL | https://qa-jenkins.milvus.io/job/deploy_test_for_release_cron/363/ |
CI | true |
EXECUTOR_NUMBER | 0 |
GIT_BRANCH | origin/fix_checkout |
GIT_COMMIT | 496321e1c0e250ce619f659dc7ca65c4f13c0002 |
GIT_URL | git@github.com:zhuwenxing/test-jobs.git |
JENKINS_URL | https://qa-jenkins.milvus.io/ |
JOB_NAME | deploy_test_for_release_cron |
NODE_NAME | deploy-test-for-release-cron-363-lclnw-n9n5k-dnpql |
Packages | {"pluggy": "1.0.0", "pytest": "7.2.0"} |
Platform | Linux-4.18.0-372.16.1.el8_6.x86_64-x86_64-with-glibc2.29 |
Plugins | {"allure-pytest": "2.7.0", "assume": "2.4.3", "cov": "2.8.1", "forked": "1.4.0", "html": "3.1.1", "level": "0.1.1", "metadata": "2.0.3", "parallel": "0.1.1", "print": "0.2.1", "random-order": "1.0.4", "repeat": "0.8.0", "reportportal": "5.0.10", "rerunfailures": "9.1.1", "sugar": "0.9.5", "tags": "1.8.1", "timeout": "1.3.3", "xdist": "2.5.0"} |
Python | 3.8.10 |
WORKSPACE | /home/jenkins/agent/workspace |
34 tests ran in 544.11 seconds.
(Un)check the boxes to filter the results.
34 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes, 0 rerunResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 44.38 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:37:06 - INFO - ci_test]: ################################################################################ (conftest.py:195) [2023-02-17 08:37:06 - INFO - ci_test]: [initialize_milvus] Log cleaned up, start testing... (conftest.py:196) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_class] Start setup class... (client_base.py:33) [2023-02-17 08:37:06 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_...... (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:06 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0011644363403320312 (test_action_second_deployment.py:106) [2023-02-17 08:37:06 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:07 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_...... (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:07 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.07328061919083548, 0.10082554717489493, 0.0... 1 1 1.0 1 [0.02638471605897078, 0.07254775062455865, 0.0... 2 2 2.0 2 [0.11156403528641234, 0.057689937......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516667096334340, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:08 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_...... (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:10 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:10 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:10 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.0068390878474964695, 0.05701987752578777, 0... 1 1 1.0 1 [0.04455305812524678, 0.0039320279850808566, 0... 2 2 2.0 2 [0.1031852893498114, 0.0002915106......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:10 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516667804123145, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:17 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:37:50 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:37:50 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:37:50 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:37:50 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29870 (test_action_second_deployment.py:45) [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582267824 collectionID: 439516399402312575 partitionID: 439516399402312576 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582267823 collectionID: 439516399402312575 partitionID: 439516399402312576 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:37:50 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582267824 collectionID: 439516399402312575 partitionID: 439516399402312576 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582267823 collectionID: 439516399402312575 partitionID: 439516399402312576 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582267894 collectionID: 439516399402312575 partitionID: 439516399402312576 num_rows: 13463 state: Sealed nodeIds: 10 , segmentID: 439516528582267888 collectionID: 439516399402312575 partitionID: 439516399402312576 num_rows: 13407 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:37:50 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_9EEIuq5o', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_j81wDx4t', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:37:50 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 55.28 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:37:06 - INFO - ci_test]: ################################################################################ (conftest.py:195) [2023-02-17 08:37:06 - INFO - ci_test]: [initialize_milvus] Log cleaned up, start testing... (conftest.py:196) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_class] Start setup class... (client_base.py:33) [2023-02-17 08:37:06 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_no...... (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:06 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402513063 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:37:06.229698', 'RPC error': '2023-02-17 08:37:06.230460'}> (decorators.py:108) [2023-02-17 08:37:06 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402513063 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:37:06.229673', 'RPC error': '2023-02-17 08:37:06.230581'}> (decorators.py:108) [2023-02-17 08:37:06 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402513063 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:37:06 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402513063 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:37:06 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:37:06 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:37:06.232071', 'RPC error': '2023-02-17 08:37:06.233923'}> (decorators.py:108) [2023-02-17 08:37:06 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:37:06 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:37:06 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:58) [2023-02-17 08:37:06 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:37:06 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:14 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:14 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fal......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_no...... (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:17 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.019650393592050154, 0.028325077664994414, 0... 1 1 1.0 1 [0.027530711248742738, 0.05582780540691278, 0.... 2 2 2.0 2 [0.004299548930565143, 0.13833008......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516669573595138, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:17 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fal......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_no...... (api_request.py:31) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:20 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:20 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:20 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.08501865146532406, 0.04022828253949179, 0.1... 1 1 1.0 1 [0.0507105493743187, 0.002977428123046497, 0.0... 2 2 2.0 2 [0.031250164987209506, 0.05716150......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:20 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516670412455937, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:25 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_AFfw6P3V', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:37:25 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:37:25 - INFO - ci_test]: current index name is test_AFfw6P3V, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:38:00 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:38:00 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:38:00 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:38:01 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402514188 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516399402513397 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:38:01 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402514188 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516399402513397 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582268124 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582267984 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582268125 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402514494 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516399402513396 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582267983 collectionID: 439516399402513063 partitionID: 439516399402513064 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:38:01 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_AFfw6P3V', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_pN7etmKP', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:51) [2023-02-17 08:38:01 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 55.27 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:37:06 - INFO - ci_test]: ################################################################################ (conftest.py:195) [2023-02-17 08:37:06 - INFO - ci_test]: [initialize_milvus] Log cleaned up, start testing... (conftest.py:196) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_class] Start setup class... (client_base.py:33) [2023-02-17 08:37:06 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_com...... (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:06 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0010607242584228516 (test_action_second_deployment.py:106) [2023-02-17 08:37:06 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:07 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True aut......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_com...... (api_request.py:31) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:07 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.12789579959328035, 0.02875078565949748, 0.1... 1 1 1.0 1 [0.14808333722444084, 0.0042780697625777, 0.08... 2 2 2.0 2 [0.0888795606186394, 0.1252187095......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516667083227138, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:08 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True aut......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_com...... (api_request.py:31) [2023-02-17 08:37:08 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:10 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:10 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:10 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.15336968222548916, 0.02934688645260806, 0.0... 1 1 1.0 1 [0.07129288234520892, 0.006016236420842266, 0.... 2 2 2.0 2 [0.06947229327936512, 0.081441873......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:10 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516667804123140, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:17 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:38:00 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:38:00 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:38:00 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:38:01 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 8990 (test_action_second_deployment.py:45) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582267994 collectionID: 439516399401511270 partitionID: 439516399401511271 num_rows: 4505 state: Sealed nodeIds: 10 , segmentID: 439516528582268185 collectionID: 439516399401511270 partitionID: 439516399401511271 num_rows: 4485 state: Sealed nodeIds: 10 ] (api_request.py:31) [2023-02-17 08:38:01 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582267994 collectionID: 439516399401511270 partitionID: 439516399401511271 num_rows: 4505 state: Sealed nodeIds: 10 , segmentID: 439516528582268185 collectionID: 439516399401511270 partitionID: 439516399401511271 num_rows: 4485 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:38:01 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_cDqfLI1Y', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_zzMWLz65', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:38:01 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 101.98 | |
[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 [gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:37:06 - INFO - ci_test]: ################################################################################ (conftest.py:195) [2023-02-17 08:37:06 - INFO - ci_test]: [initialize_milvus] Log cleaned up, start testing... (conftest.py:196) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_class] Start setup class... (client_base.py:33) [2023-02-17 08:37:06 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:37:06 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:37:06 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:06 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402513667 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:37:06.404627', 'RPC error': '2023-02-17 08:37:06.405561'}> (decorators.py:108) [2023-02-17 08:37:06 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402513667 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:37:06.404612', 'RPC error': '2023-02-17 08:37:06.405714'}> (decorators.py:108) [2023-02-17 08:37:06 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402513667 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:37:06 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402513667 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:37:06 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:37:06 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:37:06.406921', 'RPC error': '2023-02-17 08:37:06.408902'}> (decorators.py:108) [2023-02-17 08:37:06 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:37:06 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:37:06 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:37:06 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:37:06 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:37:13 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:13 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\x9c\xbb\n\x1fu\xc2\xa9\x04S9\x83\xd2\xa8\xb... 1 1 1.0 1 b'\xeca\xe3f\x18\x0b\xc1/\xec"\xdd\x1dM\xc8Fu' 2 2 2.0 2 b'\xa4_0/\xe3NO\x14\xf4\xd6\x9b\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516668577447938, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:37:13 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:37:13 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:16 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:17 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b';\x86\xf8G\xaf\xfe/\xb2}\x81\x0c\xf4\x07>\x8... 1 1 1.0 1 b'\xe9{I\x9f\xe1l/\xb3n\xb8\xc0\x04C9`L' 2 2 2.0 2 b'l\x0f/\x0b\xf8\x8e\x98\xd6\xb1\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:17 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516669612916737, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:22 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:38:48 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:38:48 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:38:48 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:38:48 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29870 (test_action_second_deployment.py:45) [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582267996 collectionID: 439516399402513667 partitionID: 439516399402513668 num_rows: 13463 state: Sealed nodeIds: 10 , segmentID: 439516528582267988 collectionID: 439516399402513667 partitionID: 439516399402513668 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 43951652858...... (api_request.py:31) [2023-02-17 08:38:48 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582267996 collectionID: 439516399402513667 partitionID: 439516399402513668 num_rows: 13463 state: Sealed nodeIds: 10 , segmentID: 439516528582267988 collectionID: 439516399402513667 partitionID: 439516399402513668 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582267989 collectionID: 439516399402513667 partitionID: 439516399402513668 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582268186 collectionID: 439516399402513667 partitionID: 439516399402513668 num_rows: 13407 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:38:48 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_BJ6PfYMy', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_JllfqrAg', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:38:48 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 62.79 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:37:50 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:37:50 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN...... (api_request.py:31) [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:50 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:50 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0010797977447509766 (test_action_second_deployment.py:106) [2023-02-17 08:37:50 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:37:52 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN...... (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:52 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\x0e\xf5\x80\xf0OP\x85\x98*\xa4JY\x91\xa9k\xbb' 1 1 1.0 1 b"\x93#\xb5\xa5\xab\xc0\xd3m\xc43)W'dT\xb4" 2 2 2.0 2 b'\x1bg\xb1\xd3\xa3\xe1d\xfd\xf5\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516678787956738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:37:52 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN...... (api_request.py:31) [2023-02-17 08:37:52 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:37:56 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:37:56 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xd6\x9c\x06\xb4\x95\xfe\xdf\xf2\xec\x1f\xdc... 1 1 1.0 1 b"\xa9\xd59\x80\xdfqZ\x03o\x00\xde\x08\xea'\x8... 2 2 2.0 2 b'\x96\x87\xde\x10\xae\xfc\xec\x9......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:37:56 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516679849639937, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:38:02 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:38:53 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:38:53 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:38:53 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:38:53 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 8996 (test_action_second_deployment.py:45) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582268449 collectionID: 439516399402513606 partitionID: 439516399402513607 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513618 collectionID: 439516399402513606 partitionID: 439516399402513607 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:38:53 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582268449 collectionID: 439516399402513606 partitionID: 439516399402513607 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513618 collectionID: 439516399402513606 partitionID: 439516399402513607 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582268975 collectionID: 439516399402513606 partitionID: 439516399402513607 num_rows: 4505 state: Sealed nodeIds: 10 , segmentID: 439516528582268388 collectionID: 439516399402513606 partitionID: 439516399402513607 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:38:53 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_d8IABWdk', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_NsaJOOFV', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:38:53 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 113.89 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:38:01 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:38:01 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:02 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:38:04 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:04 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:04 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0012319087982177734 (test_action_second_deployment.py:106) [2023-02-17 08:38:04 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:38:49 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:49 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'<z\xf5\xca\xa8\xd5\x8b\xab\xea\xf9X\xba\x88^... 1 1 1.0 1 b'\xfa\xe2\xb7\\\xcfz#\xa9\x8e\x15*\x9e\xce:\x... 2 2 2.0 2 b'\x1bO\x95f\xcb\xb9\xcd\xa2\x83\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516693795700738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:38:50 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:52 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:38:52 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\x86~J\xcea\xd8\x9e\xc4\x13\xc7(\xb4\xca\x08@j' 1 1 1.0 1 b'I\x96\r\xa4\xa2\xde\x00\x93\xd1\x16\xafT\x1a... 2 2 2.0 2 b'\x97\xfek\x94\xd43\xee7\x8......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516694569025537, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:38:59 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:39:55 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:39:55 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:39:55 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582269810 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582269811 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:39:55 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582269810 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582269811 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582269958 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582269959 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513576 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513575 collectionID: 439516399402513564 partitionID: 439516399402513565 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_tRQIxaJO', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_AH0nnlcE', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:51) [2023-02-17 08:39:55 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 113.89 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:38:01 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:38:01 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:01 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:02 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:38:04 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:04 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402714936 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:38:04.335154', 'RPC error': '2023-02-17 08:38:04.336172'}> (decorators.py:108) [2023-02-17 08:38:04 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402714936 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:38:04.335134', 'RPC error': '2023-02-17 08:38:04.336353'}> (decorators.py:108) [2023-02-17 08:38:04 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402714936 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:38:04 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402714936 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:38:04 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:38:04 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:38:04.337143', 'RPC error': '2023-02-17 08:38:04.338955'}> (decorators.py:108) [2023-02-17 08:38:04 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:38:04 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:38:05 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:58) [2023-02-17 08:38:05 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:38:05 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:38:49 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:49 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:49 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'O\xbb\xf7^=\xe8\xfb\xc5\x04\x01\x92\nS6\x1e\... 1 1 1.0 1 b'\xafA\x00\x01\x91cN\xd7\x9b\x88h\x9b#\x04,*' 2 2 2.0 2 b'1\x84=\xd3\xbdXa\xcbQ\x0c\xc......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516693795700743, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:38:50 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:53 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xa7\n\xef\xbe.\xeaD\x07Lw]\x8a\x9c\xb7\xe4\... 1 1 1.0 1 b'\xa1\x9a\xac\x02?\xd6*Aqu\xee*>N-\xf5' 2 2 2.0 2 b'\xfb1w\xa2\xbb}\x06\x9b\xef\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516694713204740, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:38:59 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_rvrkdTC7', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:38:59 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:38:59 - INFO - ci_test]: current index name is test_rvrkdTC7, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:39:55 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:39:55 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:39:55 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402715632 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516528582269966 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:39:55 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402715632 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516528582269966 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402715420 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582269818 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402715631 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516528582269969 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582269815 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402715421 collectionID: 439516399402714936 partitionID: 439516399402714937 num_rows: 3006 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_rvrkdTC7', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_gi1J7XPv', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:51) [2023-02-17 08:39:55 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 67.19 | |
[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 [gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:38:48 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:38:48 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:48 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:48 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0009722709655761719 (test_action_second_deployment.py:106) [2023-02-17 08:38:48 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:38:50 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:50 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:50 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'/\xc9U\xd3\xf0\xccjiW\x8d\xbf\xac\xc9(|\t' 1 1 1.0 1 b'U\xc4u\xcfks@\x07&\xfc\x11\x88\xa5\xf7<5' 2 2 2.0 2 b"*~S\x15\xa4\xbc\xa1mj\x87......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516694057844738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:38:51 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:38:51 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:54 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:54 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:38:54 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xdd\xe8-%\xe6 \xad\x9b\x93]\xcb\xd5`_\xda\xf3' 1 1 1.0 1 b'\x10E\xcc\xf3\x94\x87\xc1\xbe\xb1\x1b\xedY\x... 2 2 2.0 2 b'}\x16\xddC\xef\xb8\x9800\x17_o\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:38:54 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516694975348737, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:38:59 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:39:55 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:39:55 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:39:55 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582269890 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582270018 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:39:55 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582269890 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582270018 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582270017 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402513487 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582269891 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513488 collectionID: 439516399402513465 partitionID: 439516399402513466 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_AY2cJ0wz', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_nIQevhiN', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:39:55 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 123.19 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:38:53 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:38:53 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_not...... (api_request.py:31) [2023-02-17 08:38:53 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:38:53 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402312519 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:38:53.425970', 'RPC error': '2023-02-17 08:38:53.426714'}> (decorators.py:108) [2023-02-17 08:38:53 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402312519 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:38:53.425955', 'RPC error': '2023-02-17 08:38:53.426825'}> (decorators.py:108) [2023-02-17 08:38:53 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402312519 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:38:53 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402312519 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:38:53 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:38:53 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:38:53.427947', 'RPC error': '2023-02-17 08:38:53.429683'}> (decorators.py:108) [2023-02-17 08:38:53 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:38:53 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:38:53 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:38:53 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:38:53 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:39:00 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_not...... (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:00 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.023199653861401003, 0.0002815459969605835, ... 1 1 1.0 1 [0.13572354677959278, 0.106245602151573, 0.014... 2 2 2.0 2 [0.006599334279505467, 0.05059672......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516696613748738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:39:00 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_not...... (api_request.py:31) [2023-02-17 08:39:00 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:39:03 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:03 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:39:03 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.10026267703961217, 0.13310770368190525, 0.0... 1 1 1.0 1 [0.07140651132478998, 0.024007233865401965, 0.... 2 2 2.0 2 [0.012167839217443925, 0.08208976......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:39:03 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516697321537545, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:39:51 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:40:56 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:40:56 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:40:56 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:40:56 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402512854 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582270267 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:40:56 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402512854 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582270267 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582270266 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582270205 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582270204 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402512853 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516399402513331 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516399402513178 collectionID: 439516399402312519 partitionID: 439516399402312520 num_rows: 9014 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:40:56 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_HnEPkTaa', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_9N61dPq2', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:40:56 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 95.20 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:39:55 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:39:55 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:55 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0009579658508300781 (test_action_second_deployment.py:106) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:39:57 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:39:57 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:57 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'vO#\xdf\x10E\xe1]\xb7-\xe99\xf5\xdb\x16\xa2' 1 1 1.0 1 b'\xd3\xc5\xf2\xb1\xb9e\x17j\x96\x0c\x89\xb7\x... 2 2 2.0 2 b'\xe8!cKs\\\xe6v:S......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516711673921538, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:39:58 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:39:58 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:01 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:40:01 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'$\x90KV\xa7{Z^I\xe2\xb4\xafBh\xfe\xdc' 1 1 1.0 1 b"\xa3\xb7\xfce\x19']\xdd\t\x1d\xb5\xaa\xb1Z\x... 2 2 2.0 2 b'o\xf0\xc0<\xf3\xe9\x14\x1a6\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:01 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516712578580482, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:40:52 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:41:30 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:41:30 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:41:30 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:41:30 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29876 (test_action_second_deployment.py:45) [2023-02-17 08:41:30 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:30 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402714845 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516528582270848 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:41:30 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402714845 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516528582270848 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402714675 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516399402714843 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516399402714676 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582270769 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582270770 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582270849 collectionID: 439516399402514118 partitionID: 439516399402514119 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:41:30 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_Lmgh8Pre', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_8NUcJdJJ', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:51) [2023-02-17 08:41:30 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 103.00 | |
[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 [gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:39:55 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:39:55 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_i...... (api_request.py:31) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:55 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402513646 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:39:55.403467', 'RPC error': '2023-02-17 08:39:55.404217'}> (decorators.py:108) [2023-02-17 08:39:55 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402513646 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:39:55.403406', 'RPC error': '2023-02-17 08:39:55.404393'}> (decorators.py:108) [2023-02-17 08:39:55 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402513646 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:39:55 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402513646 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:39:55 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:39:55 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:39:55.405535', 'RPC error': '2023-02-17 08:39:55.407477'}> (decorators.py:108) [2023-02-17 08:39:55 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:39:55 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:39:55 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:39:55 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:40:49 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:40:49 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_i......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_i...... (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:52 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b">'\xa9\xda\xa9\xe6\xa0Iw\xdbg\x1biq\xf2\xc7" 1 1 1.0 1 b'x\xcdw)\x80\xb9m\xc9\x9a\x83\x94\xf8\xa3P+\xaf' 2 2 2.0 2 b'K\xda\x12\x8cT\xc6\x19/\xf26......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516725986983938, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:40:52 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_i......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_i...... (api_request.py:31) [2023-02-17 08:40:52 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:55 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'H\xf0\xfe\xcaJQm\x83S\xd8\x00\x8a\x0b\xec\xa1x' 1 1 1.0 1 b'\xb1\xdd\xdc\t\x8b\x8f8@\xaa4oK\x9c\xfaI\xc3' 2 2 2.0 2 b'\xb8#\xce\x01;\xd3\x18\xc0\x06\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516726891380737, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:01 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:41:38 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:41:38 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:41:38 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:41:38 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402514018 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516528582271302 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:41:38 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402514018 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516528582271302 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402514020 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516528582271258 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582271257 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402514040 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582271303 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402514039 collectionID: 439516399402513646 partitionID: 439516399402513647 num_rows: 3006 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:41:38 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_waQfboBi', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_JCMugb3b', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:41:38 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 74.19 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:39:55 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:39:55 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:39:55 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:39:55 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399401311238 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:39:55.403920', 'RPC error': '2023-02-17 08:39:55.404612'}> (decorators.py:108) [2023-02-17 08:39:55 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399401311238 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:39:55.403901', 'RPC error': '2023-02-17 08:39:55.404715'}> (decorators.py:108) [2023-02-17 08:39:55 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399401311238 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:39:55 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399401311238 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:39:55 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:39:55 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:39:55.405540', 'RPC error': '2023-02-17 08:39:55.407236'}> (decorators.py:108) [2023-02-17 08:39:55 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:39:55 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:39:55 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:58) [2023-02-17 08:39:55 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:39:55 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:40:00 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:00 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.07542627638261641, 0.01874094813072634, 0.1... 1 1 1.0 1 [0.11112117174338157, 0.07905644152610931, 0.0... 2 2 2.0 2 [0.006989740770686251, 0.06074994......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516712224423938, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:40:00 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:40:00 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:03 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:03 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:40:03 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.01897801718766314, 0.11488957185734018, 0.0... 1 1 1.0 1 [0.001039132082986235, 0.0345869328958757, 0.0... 2 2 2.0 2 [0.04620171359584393, 0.139093178......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:40:03 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516713076391937, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:40:52 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_6oNceJAV', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:40:52 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:40:52 - INFO - ci_test]: current index name is test_6oNceJAV, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:41:09 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:41:09 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:41:09 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:41:09 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:41:09 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:09 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582270819 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399401311254 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:41:09 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582270819 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399401311254 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582270820 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582270872 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582270871 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399401311253 collectionID: 439516399401311238 partitionID: 439516399401311239 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:41:09 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_6oNceJAV', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_SgybabeA', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:51) [2023-02-17 08:41:09 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_replica_number_0_empty] | 16.80 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:40:56 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:40:56 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_replica_number_0_empty', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_replica_number_0_empty <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_replica_number_0_empty", "description": ""}] <description>: <schema>: { auto_id: False description: fields: [{ name: ...... (api_request.py:31) [2023-02-17 08:40:56 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_replica_number_0_empty', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:40:56 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399401110957 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:40:56.617866', 'RPC error': '2023-02-17 08:40:56.618516'}> (decorators.py:108) [2023-02-17 08:40:56 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399401110957 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:40:56.617839', 'RPC error': '2023-02-17 08:40:56.618644'}> (decorators.py:108) [2023-02-17 08:40:56 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399401110957 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:40:56 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399401110957 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:40:56 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:40:56 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:40:56.619251', 'RPC error': '2023-02-17 08:40:56.621010'}> (decorators.py:108) [2023-02-17 08:40:56 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:40:56 - INFO - ci_test]: collection deploy_test_index_type_HNSW_replica_number_0_empty has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:40:56 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:01 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_replica_number_0_empty', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_replica_number_0_empty <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_replica_number_0_empty", "description": ""}] <description>: <schema>: { auto_id: False description: fields: [{ name: ...... (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:01 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_replica_number_0_empty (common_func.py:740) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.14967755371383126, 0.05829723004317436, 0.0... 1 1 1.0 1 [0.0964765587332069, 0.009221806794034967, 0.1... 2 2 2.0 2 [0.11052370878522372, 0.018982609......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516728372494338, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:01 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_replica_number_0_empty', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_replica_number_0_empty <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_replica_number_0_empty", "description": ""}] <description>: <schema>: { auto_id: False description: fields: [{ name: ...... (api_request.py:31) [2023-02-17 08:41:01 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:04 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:05 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_replica_number_0_empty (common_func.py:740) [2023-02-17 08:41:05 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.08748832853730701, 0.15526189466716395, 0.1... 1 1 1.0 1 [0.08819251634897472, 0.1307574017596019, 0.06... 2 2 2.0 2 [0.08797211749462076, 0.047018014......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:05 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516729329319937, success count: 3000, err count: 0) (api_request.py:31) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:41:13 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:41:13 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:41:13 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:41:13 - INFO - ci_test]: collection deploy_test_index_type_HNSW_replica_number_0_empty has entities: 6000 (test_action_second_deployment.py:45) [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_replica_number_0_empty', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_response) : [] (api_request.py:31) [2023-02-17 08:41:13 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_replica_number_0_empty is [] (test_action_second_deployment.py:48) [2023-02-17 08:41:13 - INFO - ci_test]: collection deploy_test_index_type_HNSW_replica_number_0_empty index infos [{'collection': 'deploy_test_index_type_HNSW_replica_number_0_empty', 'field': 'float_vector', 'index_name': 'test_rODAoB3e', 'index_param': {'index_type': 'IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_replica_number_0_empty', 'field': 'varchar', 'index_name': 'test_9MmknMY1', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:41:13 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 67.81 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:41:09 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:41:09 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:41:09 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:09 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:09 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:09 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_c...... (api_request.py:31) [2023-02-17 08:41:09 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:09 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399401511377 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:41:09.602981', 'RPC error': '2023-02-17 08:41:09.603691'}> (decorators.py:108) [2023-02-17 08:41:09 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399401511377 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:41:09.602963', 'RPC error': '2023-02-17 08:41:09.603842'}> (decorators.py:108) [2023-02-17 08:41:09 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399401511377 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:41:09 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399401511377 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:41:09 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:41:09 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:41:09.604715', 'RPC error': '2023-02-17 08:41:09.606449'}> (decorators.py:108) [2023-02-17 08:41:09 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:41:09 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:41:09 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:41:09 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:41:09 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:17 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_c...... (api_request.py:31) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:17 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:17 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.04167128937887616, 0.10931045719628112, 0.0... 1 1 1.0 1 [0.05485726250181008, 0.04008354924026318, 0.0... 2 2 2.0 2 [0.14005284418023325, 0.043891643......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516732619227138, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:18 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_c...... (api_request.py:31) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:21 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:21 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:41:21 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.06392875371887255, 0.06359382237293436, 0.0... 1 1 1.0 1 [0.024279060365185963, 0.13146374903104474, 0.... 2 2 2.0 2 [0.05662809445065529, 0.157919411......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:21 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516733471195137, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:26 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:42:15 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:42:15 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:42:15 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:42:16 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:42:16 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:16 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402312042 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516399402312044 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:42:16 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402312042 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516399402312044 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516528582271589 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582271786 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402312071 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582271787 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582271588 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402312072 collectionID: 439516399401511377 partitionID: 439516399401511378 num_rows: 2994 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:42:17 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_bY7qAMFo', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_VjcxfJ8q', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:42:17 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 50.99 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:41:13 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:41:13 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_c...... (api_request.py:31) [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:13 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:13 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0009515285491943359 (test_action_second_deployment.py:106) [2023-02-17 08:41:13 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:15 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_c...... (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:15 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.046191320040361354, 0.1391591207330033, 0.1... 1 1 1.0 1 [0.11824075079431207, 0.04516045967065519, 0.0... 2 2 2.0 2 [0.07535203932809234, 0.047336071......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516731937914882, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:15 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_c...... (api_request.py:31) [2023-02-17 08:41:15 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:18 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.02867471733343676, 0.12005144566531316, 0.0... 1 1 1.0 1 [0.13183429357632295, 0.11733565414960109, 0.0... 2 2 2.0 2 [0.05937064366436687, 0.107985072......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:18 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516732776513537, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:23 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:42:04 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:42:04 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:42:04 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:42:04 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29870 (test_action_second_deployment.py:45) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402312422 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516399402312443 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:42:04 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402312422 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516399402312443 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582271568 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582271614 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582271569 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402312444 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582271615 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402312424 collectionID: 439516399402312079 partitionID: 439516399402312080 num_rows: 8976 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:42:04 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_gyGnyAUT', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_PmUFFL1h', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:42:04 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 50.79 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:41:30 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:41:30 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:41:30 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:30 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:30 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:30 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:41:30 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:30 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402513584 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:41:30.599333', 'RPC error': '2023-02-17 08:41:30.600004'}> (decorators.py:108) [2023-02-17 08:41:30 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402513584 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:41:30.599321', 'RPC error': '2023-02-17 08:41:30.600117'}> (decorators.py:108) [2023-02-17 08:41:30 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402513584 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:41:30 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402513584 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:41:30 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:41:30 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:41:30.601288', 'RPC error': '2023-02-17 08:41:30.603017'}> (decorators.py:108) [2023-02-17 08:41:30 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:41:30 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:41:30 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:58) [2023-02-17 08:41:30 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:41:30 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:41:35 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:35 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:35 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'eR\xef3b\xbf\x1a\x1cIN\xe8Y=\xec\xc6\x8e' 1 1 1.0 1 b'\xa0\xbe\xb4k\xa5\xfd-hU\xa9\x93?\x1d?dh' 2 2 2.0 2 b"\xbbh\x16gi'\x99\x96P\xfd......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516737311604738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:41:36 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:41:36 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:38 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:41:39 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'(\x1d\xaa\x1b\x85i\x00H\x9b\x9ae\x99\x15\xc6... 1 1 1.0 1 b'\x1f\xe6;~\x16l\xf5]o\xa2\xda\x872e\x91\xc1' 2 2 2.0 2 b'c\xd4\xd9\n}~\xba\x11\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:41:39 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516738111143938, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:41:44 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_ULh17KW0', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:41:44 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:41:44 - INFO - ci_test]: current index name is test_ULh17KW0, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:42:21 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:42:21 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:42:21 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:42:21 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582272018 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513598 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:42:21 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582272018 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513598 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582272017 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582271971 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582271972 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513599 collectionID: 439516399402513584 partitionID: 439516399402513585 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:42:21 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_ULh17KW0', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_h13Xg1x2', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:51) [2023-02-17 08:42:21 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 59.19 | |
[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 [gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:41:38 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:41:38 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT...... (api_request.py:31) [2023-02-17 08:41:38 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:41:38 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402715708 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:41:38.407302', 'RPC error': '2023-02-17 08:41:38.408040'}> (decorators.py:108) [2023-02-17 08:41:38 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402715708 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:41:38.407289', 'RPC error': '2023-02-17 08:41:38.408147'}> (decorators.py:108) [2023-02-17 08:41:38 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402715708 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:41:38 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402715708 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:41:38 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:41:38 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:41:38.408958', 'RPC error': '2023-02-17 08:41:38.411101'}> (decorators.py:108) [2023-02-17 08:41:38 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:41:38 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:41:38 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:58) [2023-02-17 08:41:38 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:41:38 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:01 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT...... (api_request.py:31) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:01 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'V\xf4 \xa9\xe9\x85\x03C\xf8\x85\xf8&\xb1\xed... 1 1 1.0 1 b'\xec0\x85\xcaF\xa2:\xd2\xd0]\x98\x0e\x04\x9f... 2 2 2.0 2 b'\x1a\xc5\xc1\xe7|\xd4\xebt\xd4d......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516744232206338, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:02 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT...... (api_request.py:31) [2023-02-17 08:42:02 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:04 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'"\xfa\xdfVE\x0fv\xa5b\x98i\xf7\x85F\x11\xa9' 1 1 1.0 1 b'\x17I\x98\x99UJ,1\xda\xc2\xa6\xa2\xfc\xb8k\x11' 2 2 2.0 2 b'\x93D\x93,\xb3\x95\xebr\xcc\x11......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516745005531139, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:11 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_jaT7qyQe', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:42:11 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:42:11 - INFO - ci_test]: current index name is test_jaT7qyQe, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:42:37 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:42:37 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:42:37 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:42:37 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29870 (test_action_second_deployment.py:45) [2023-02-17 08:42:37 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:37 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582066677 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 8916 state: Sealed nodeIds: 10 , segmentID: 439516528582272269 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:42:37 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582066677 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 8916 state: Sealed nodeIds: 10 , segmentID: 439516528582272269 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582272270 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402716028 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582272308 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582066673 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 8954 state: Sealed nodeIds: 10 , segmentID: 439516528582272309 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402716027 collectionID: 439516399402715708 partitionID: 439516399402715709 num_rows: 3006 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:42:37 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_EYnQYL8q', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_jaT7qyQe', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:42:37 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 45.20 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:42:04 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:42:04 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:04 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:04 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0010867118835449219 (test_action_second_deployment.py:106) [2023-02-17 08:42:04 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:05 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:05 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:05 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.07802164832646144, 0.12337878504662811, 0.0... 1 1 1.0 1 [0.03885986316925687, 0.09609044031858911, 0.1... 2 2 2.0 2 [0.03904594850626148, 0.045786977......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516745202401282, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:06 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:42:06 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:09 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:11 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:11 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.056405956512085506, 0.11060769685168197, 0.... 1 1 1.0 1 [0.02889712399161114, 0.0016418765123496742, 0... 2 2 2.0 2 [0.03723860773934142, 0.114481079......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:11 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516746617978881, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:17 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:42:49 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:42:49 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:42:49 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:42:49 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 8996 (test_action_second_deployment.py:45) [2023-02-17 08:42:49 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:49 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582272513 collectionID: 439516399401311244 partitionID: 439516399401311245 num_rows: 4505 state: Sealed nodeIds: 10 , segmentID: 439516528582272323 collectionID: 439516399401311244 partitionID: 439516399401311245 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:42:49 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582272513 collectionID: 439516399401311244 partitionID: 439516399401311245 num_rows: 4505 state: Sealed nodeIds: 10 , segmentID: 439516528582272323 collectionID: 439516399401311244 partitionID: 439516399401311245 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582272406 collectionID: 439516399401311244 partitionID: 439516399401311245 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399401311265 collectionID: 439516399401311244 partitionID: 439516399401311245 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:42:49 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_ianjf6rk', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_90tWH6RC', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:42:49 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 47.17 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:42:17 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:42:17 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:42:17 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:17 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:17 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:17 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_i...... (api_request.py:31) [2023-02-17 08:42:17 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:17 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:17 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0018415451049804688 (test_action_second_deployment.py:106) [2023-02-17 08:42:17 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:19 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_i......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_i...... (api_request.py:31) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:19 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:19 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xc7\xca7w\xee\x15\xb6\xe4\x93\xab\xfbA\x0c\... 1 1 1.0 1 b'TjlD\xea\x07!%\xd9_\x9e\xc8\x7f\x8f\xdbw' 2 2 2.0 2 b"I\xfb\x87a\t\xc8\xb7yO\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516748898369538, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:20 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_i......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_i...... (api_request.py:31) [2023-02-17 08:42:20 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:23 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xc4\xa1L\x91\x8d\xa6\xd6\xcd1F\xed\xb4<8x\xef' 1 1 1.0 1 b'\x14\xa71\xc3-\xab\xda\xa6\xfe\xf7\xa0\x84z\... 2 2 2.0 2 b'\xe1m\\\xe9p\x05\xce^\x9a\x16......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516749802766339, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:28 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:43:04 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:43:04 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:43:04 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:43:04 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402714762 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516528582272666 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:43:04 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402714762 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516528582272666 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402714635 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582272538 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402714634 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582272539 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402714761 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516528582272665 collectionID: 439516399402514067 partitionID: 439516399402514068 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:43:04 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_LlhjXQxE', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_wP1Xmydt', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:43:04 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 48.99 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:42:21 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:42:21 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_I...... (api_request.py:31) [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:21 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:21 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0011475086212158203 (test_action_second_deployment.py:106) [2023-02-17 08:42:21 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:23 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_I...... (api_request.py:31) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:23 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:23 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xda~\xae\xec\xa3\xc3\x10B{\x8aL\xf2,\x85\x85=' 1 1 1.0 1 b'\xc4\x8e@\xd3\x1ep&v1l}iR[\xac\x1a' 2 2 2.0 2 b'\xf2:\x18\xec\x04+\xa2\xed\xc4\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516749933838338, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:24 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_I...... (api_request.py:31) [2023-02-17 08:42:24 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:26 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:26 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:27 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xf0\x12I\xb8\xc9\x9dB\r]\xea\x95\xcc\xa07\x... 1 1 1.0 1 b'8\xf5\xdcqc\x82\x9e<^\x106\xff\x86\xd1\xd5\xe1' 2 2 2.0 2 b'\xed\xa9a:\xbcl\x85\t\xe9S\xef\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:27 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516750746484738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:31 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:43:10 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:43:10 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:43:10 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:43:10 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582272725 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582272726 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:43:10 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582272725 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582272726 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513460 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582272674 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513459 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582272673 collectionID: 439516399402513447 partitionID: 439516399402513448 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:43:10 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_FBL6CEcY', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_EnRNAkXv', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:43:10 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 58.99 | |
[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 [gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:42:37 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:42:37 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:42:37 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:37 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:37 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:37 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_...... (api_request.py:31) [2023-02-17 08:42:37 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:37 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402312191 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:42:37.604458', 'RPC error': '2023-02-17 08:42:37.605134'}> (decorators.py:108) [2023-02-17 08:42:37 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402312191 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:42:37.604445', 'RPC error': '2023-02-17 08:42:37.605214'}> (decorators.py:108) [2023-02-17 08:42:37 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402312191 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:42:37 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402312191 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:42:37 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:42:37 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:42:37.605798', 'RPC error': '2023-02-17 08:42:37.607569'}> (decorators.py:108) [2023-02-17 08:42:37 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:42:37 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:42:37 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:58) [2023-02-17 08:42:37 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:42:37 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:54 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_...... (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:54 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.09332762523074802, 0.11319121452537752, 0.0... 1 1 1.0 1 [0.09458160545655496, 0.1510643535896245, 0.14... 2 2 2.0 2 [0.006685000659763645, 0.00338472......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516757955444738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:54 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_is_...... (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:57 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:57 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:57 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.06211842458156487, 0.02896378772384183, 0.0... 1 1 1.0 1 [0.027425967337435814, 0.1354050911553425, 0.1... 2 2 2.0 2 [0.11263067395616572, 0.040128068......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:57 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516758676602881, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:03 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_Aan5iOEF', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:43:03 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:43:03 - INFO - ci_test]: current index name is test_Aan5iOEF, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:43:36 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:43:36 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:43:36 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:43:36 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 29780 (test_action_second_deployment.py:45) [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582273172 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273098 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:43:36 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582273172 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273098 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273097 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402312554 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516399402312553 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582273171 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402312542 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516399402312544 collectionID: 439516399402312191 partitionID: 439516399402312192 num_rows: 8976 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:43:36 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_Aan5iOEF', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_oxXyIyto', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:51) [2023-02-17 08:43:36 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 39.98 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:42:49 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:42:49 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:42:49 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:49 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:49 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:49 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN...... (api_request.py:31) [2023-02-17 08:42:49 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:49 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402513623 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:42:49.606429', 'RPC error': '2023-02-17 08:42:49.607242'}> (decorators.py:108) [2023-02-17 08:42:49 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402513623 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:42:49.606415', 'RPC error': '2023-02-17 08:42:49.607391'}> (decorators.py:108) [2023-02-17 08:42:49 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402513623 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:42:49 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402513623 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:42:49 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:42:49 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:42:49.608364', 'RPC error': '2023-02-17 08:42:49.610435'}> (decorators.py:108) [2023-02-17 08:42:49 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:42:49 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:42:50 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:58) [2023-02-17 08:42:50 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:42:50 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:54 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN...... (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:54 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'K\xdb{=\x9e\xe9C)am\xf25\r\xee\xf8-' 1 1 1.0 1 b"\xe8\xbb'\xb6\xa1\xff\xc3&\x8fp\xd6\xfc\x1b|... 2 2 2.0 2 b'<\xf3[NY\xab\xb9\x84\x85;\xa9\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516757955444744, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:42:54 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN...... (api_request.py:31) [2023-02-17 08:42:54 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:57 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:42:57 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:42:57 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'pJXEE\xfb\x1b$2\x89\xd5\x9d=v\xe9\x92' 1 1 1.0 1 b'\xfa\xaf\xe8\x1c\xf67\xd9\xcd\xc4\xd6\x07\xc... 2 2 2.0 2 b'\xfbZ\x0bq\xd0[\xbd \x9eV\xdf\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:42:57 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516758741876738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:03 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_yVQy2blu', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:43:03 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:43:03 - INFO - ci_test]: current index name is test_yVQy2blu, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:43:29 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:43:29 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:43:29 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:43:29 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402513636 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273177 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:43:29 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402513636 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273177 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273176 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273101 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402513637 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273102 collectionID: 439516399402513623 partitionID: 439516399402513624 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:43:29 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_yVQy2blu', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_JInuhUOM', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}] (test_action_second_deployment.py:51) [2023-02-17 08:43:29 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 46.79 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:43:04 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:43:04 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT...... (api_request.py:31) [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:04 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:04 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0011835098266601562 (test_action_second_deployment.py:106) [2023-02-17 08:43:04 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:43:07 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT...... (api_request.py:31) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:07 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'I\x9d \xd3]\x91H5\xca\xd7H\xa0\xe0\xaa\x91\x8d' 1 1 1.0 1 b'\x03\xa4\x1c\xf7\x108%xR\x90\x8d:PH^\xff' 2 2 2.0 2 b',\\ay\xe3\xff\xa9\xfb0h*\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516761468174338, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:43:08 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT...... (api_request.py:31) [2023-02-17 08:43:08 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:10 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:11 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'Fo2\x13\xec\xddB\x1c\xae\xcaV{\x9a\xdb\xb7I' 1 1 1.0 1 b'.\x875\xd0\xad\xf3{f*\xc4\xc6\x7f\x13d\xb7s' 2 2 2.0 2 b'}\x878\x0e\x15L#o\xc2\xcd\x0......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:11 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516762241499137, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:15 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:43:51 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:43:51 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:43:51 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:43:51 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29816 (test_action_second_deployment.py:45) [2023-02-17 08:43:51 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:51 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402715950 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582273329 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:43:51 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402715950 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582273329 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273364 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582066766 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 8954 state: Sealed nodeIds: 10 , segmentID: 439516528582273365 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582066765 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 8916 state: Sealed nodeIds: 10 , segmentID: 439516528582273328 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402715951 collectionID: 439516399402715458 partitionID: 439516399402715459 num_rows: 2994 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:43:51 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_oKFR3SS4', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_IkoSYGP0', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:43:51 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 47.20 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:43:10 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:43:10 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compa...... (api_request.py:31) [2023-02-17 08:43:10 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:10 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399401111002 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:43:10.398647', 'RPC error': '2023-02-17 08:43:10.399347'}> (decorators.py:108) [2023-02-17 08:43:10 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399401111002 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:43:10.398633', 'RPC error': '2023-02-17 08:43:10.399465'}> (decorators.py:108) [2023-02-17 08:43:10 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399401111002 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:43:10 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399401111002 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:43:10 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:43:10 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:43:10.400115', 'RPC error': '2023-02-17 08:43:10.402097'}> (decorators.py:108) [2023-02-17 08:43:10 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:43:10 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:43:10 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:43:10 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:43:10 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:14 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:14 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compa...... (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:15 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.13260390722135684, 0.07808252924538397, 0.0... 1 1 1.0 1 [0.1000869579708159, 0.03281285421889026, 0.08... 2 2 2.0 2 [0.05303224647672171, 0.033730941......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516763408039938, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:15 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compa...... (api_request.py:31) [2023-02-17 08:43:15 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:18 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:18 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:18 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.015140644552872147, 0.014330288764687008, 0... 1 1 1.0 1 [0.102079309674698, 0.0551599693842695, 0.1273... 2 2 2.0 2 [0.11384527750512159, 0.026130215......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:18 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516764260007937, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:25 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:43:57 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:43:57 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:43:57 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:43:57 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399401111038 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273421 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:43:57 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399401111038 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273421 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273420 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273448 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273449 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399401111041 collectionID: 439516399401111002 partitionID: 439516399401111003 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:43:57 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_OFvDDYSL', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_EqdCqMcd', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:43:57 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 50.80 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:43:29 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:43:29 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_not...... (api_request.py:31) [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:29 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:29 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0009224414825439453 (test_action_second_deployment.py:106) [2023-02-17 08:43:29 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:31 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:31 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_not...... (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:32 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.1418305529112686, 0.09765984933622299, 0.07... 1 1 1.0 1 [0.15153646526957304, 0.11410563051310599, 0.1... 2 2 2.0 2 [0.05249041841873822, 0.104884982......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516767864487938, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:32 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fals......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_not...... (api_request.py:31) [2023-02-17 08:43:32 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:35 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:35 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:35 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.13188868776702836, 0.05033833756688033, 0.1... 1 1 1.0 1 [0.13161312099672198, 0.05023594260908661, 0.1... 2 2 2.0 2 [0.09153376854996893, 0.011984546......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:35 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516768716718081, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:40 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:44:20 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:44:20 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:44:20 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:44:20 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582273776 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273777 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:44:20 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582273776 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273777 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402312122 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582273720 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273721 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402312123 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516399402512937 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 9014 state: Sealed nodeIds: 10 , segmentID: 439516399402513179 collectionID: 439516399401511393 partitionID: 439516399401511394 num_rows: 8976 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:44:20 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_0vSsd2EZ', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_tx0g1Dsn', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:44:20 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 53.79 | |
[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 [gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:43:36 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:43:36 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_no...... (api_request.py:31) [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:36 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:36 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0009398460388183594 (test_action_second_deployment.py:106) [2023-02-17 08:43:36 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:38 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fal......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_no...... (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:38 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.021865750589959567, 0.0027755420788933035, ... 1 1 1.0 1 [0.03665232621468223, 0.0707999420814971, 0.06... 2 2 2.0 2 [0.10090175757698742, 0.140124250......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516769437351938, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:38 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: Fal......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compacted_no...... (api_request.py:31) [2023-02-17 08:43:38 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:41 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:41 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:41 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.08379745666923469, 0.07587952271638149, 0.1... 1 1 1.0 1 [0.04985698246511175, 0.12568666039580384, 0.0... 2 2 2.0 2 [0.1339884747732486, 0.0726705658......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:41 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516770276212737, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:47 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:44:29 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:44:29 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:44:29 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:44:30 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29930 (test_action_second_deployment.py:45) [2023-02-17 08:44:30 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:30 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399402513290 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582273877 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:44:30 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399402513290 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582273877 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402714703 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 8976 state: Sealed nodeIds: 10 , segmentID: 439516399402513292 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516528582273795 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582273810 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582273882 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402514186 collectionID: 439516399402512863 partitionID: 439516399402512864 num_rows: 9014 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:44:30 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_f1zcJSu6', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_8yKORled', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:44:30 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 56.20 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:43:51 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:43:51 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:43:51 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:51 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:51 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:51 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:43:51 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:51 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402513431 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:43:51.404091', 'RPC error': '2023-02-17 08:43:51.404799'}> (decorators.py:108) [2023-02-17 08:43:51 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402513431 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:43:51.404078', 'RPC error': '2023-02-17 08:43:51.404894'}> (decorators.py:108) [2023-02-17 08:43:51 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402513431 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:43:51 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402513431 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:43:51 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:43:51 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:43:51.405434', 'RPC error': '2023-02-17 08:43:51.406968'}> (decorators.py:108) [2023-02-17 08:43:51 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:43:51 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:43:51 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:43:51 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:43:51 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:43:57 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:57 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'7\xcb\xb1\x95\xe6\x1b\xbf\x9c\xf3\xfd3\xb0\x... 1 1 1.0 1 b'@\x96\x19\xc7ww"\xdb\xb3\xdb{\xdc\xe7u\xf7\x81' 2 2 2.0 2 b'\nWD\xe98\xef\xca\xed\xe4\xf9\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516774522945538, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:43:58 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_...... (api_request.py:31) [2023-02-17 08:43:58 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:01 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:01 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:01 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xc9i\xf7\xfd\xc2"\x1a\xf4\xf7\xc9ZV\xb1\xa1... 1 1 1.0 1 b'\t\xcb0\x1c66\xdb\xac\x85\xc5u\x8eE%)\x16' 2 2 2.0 2 b'\xf2v\x9ag>\xb7_\xaa\x07vdC\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:01 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516775440449539, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:05 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:44:47 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:44:47 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:44:47 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:44:47 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 8996 (test_action_second_deployment.py:45) [2023-02-17 08:44:47 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:47 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582274158 collectionID: 439516399402513431 partitionID: 439516399402513432 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513442 collectionID: 439516399402513431 partitionID: 439516399402513432 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:44:47 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582274158 collectionID: 439516399402513431 partitionID: 439516399402513432 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513442 collectionID: 439516399402513431 partitionID: 439516399402513432 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582474434 collectionID: 439516399402513431 partitionID: 439516399402513432 num_rows: 4505 state: Sealed nodeIds: 10 , segmentID: 439516528582474227 collectionID: 439516399402513431 partitionID: 439516399402513432 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:44:47 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_y4xYImGC', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_M7l3i4DV', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:44:47 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty] | 15.78 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:43:57 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:43:57 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty", "description": ""}] <description>: <schema>: { auto_id: False description: field...... (api_request.py:31) [2023-02-17 08:43:57 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:43:57 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399401110960 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:43:57.604159', 'RPC error': '2023-02-17 08:43:57.604904'}> (decorators.py:108) [2023-02-17 08:43:57 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399401110960 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:43:57.604141', 'RPC error': '2023-02-17 08:43:57.605041'}> (decorators.py:108) [2023-02-17 08:43:57 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399401110960 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:43:57 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399401110960 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:43:57 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:43:57 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:43:57.605682', 'RPC error': '2023-02-17 08:43:57.607623'}> (decorators.py:108) [2023-02-17 08:43:57 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:43:57 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:43:57 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:44:02 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: ty......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty", "description": ""}] <description>: <schema>: { auto_id: False description: field...... (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:02 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty (common_func.py:740) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'T\xc0\xb4\xb5\xec\xf6\x94\x94,"\xde\xecS/\x07 ' 1 1 1.0 1 b'\x9e\xb8\xeb\x95\x14\n\xc5\xc3~\xd4\xb7w\x96... 2 2 2.0 2 b'n\xaf\x99\xfa\xa9\x9e\xc6\xa3\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516775741915138, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:44:02 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: ty......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty", "description": ""}] <description>: <schema>: { auto_id: False description: field...... (api_request.py:31) [2023-02-17 08:44:02 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:05 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:05 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty (common_func.py:740) [2023-02-17 08:44:06 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\xab\x9b\r\x8b\x1d\x19\xc7\x92\\tN\xf5\xb7j\... 1 1 1.0 1 b'\xdb\x911|\xe1\xc6\xbc[jZcn0\xb3\xe2/' 2 2 2.0 2 b'\x9b\xd8\x1a\x80\xeceH\\\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:06 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516776646311939, success count: 3000, err count: 0) (api_request.py:31) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:44:13 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:44:13 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:44:13 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:44:13 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty has entities: 6000 (test_action_second_deployment.py:45) [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_response) : [] (api_request.py:31) [2023-02-17 08:44:13 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty is [] (test_action_second_deployment.py:48) [2023-02-17 08:44:13 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty', 'field': 'binary_vector', 'index_name': 'test_fgbWfY07', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_replica_number_0_empty', 'field': 'varchar', 'index_name': 'test_GYOXVeeZ', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:44:13 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 49.19 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:44:13 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:44:13 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:13 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:13 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0009784698486328125 (test_action_second_deployment.py:106) [2023-02-17 08:44:13 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:15 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:15 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:16 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.10746917873951518, 0.10033522629965479, 0.0... 1 1 1.0 1 [0.12784281781333895, 0.032413937384013165, 0.... 2 2 2.0 2 [0.09636850536609624, 0.085511864......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516779385716738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:16 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:44:16 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:19 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:19 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:19 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.07144330081065998, 0.12007250710942123, 0.0... 1 1 1.0 1 [0.003880096379077223, 0.0953050614729819, 0.1... 2 2 2.0 2 [0.10640438277466004, 0.019965740......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:19 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516780106612737, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:25 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:45:02 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:45:02 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:45:02 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:45:02 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:45:02 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:02 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582474423 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582474376 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:45:02 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582474423 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582474376 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582474422 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399401311101 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399401311102 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582474377 collectionID: 439516399401111091 partitionID: 439516399401111092 num_rows: 1497 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:45:02 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_fpBDK5Ls', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_oNuHAIfv', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:45:02 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 61.20 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:44:20 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:44:20 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:20 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:20 - INFO - ci_test]: wait for deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0009942054748535156 (test_action_second_deployment.py:106) [2023-02-17 08:44:20 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:44:22 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:22 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:22 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\x82\x12gP\xa9\xc4Q\xec\xc3\xfc\x1c\xfa\xd9D... 1 1 1.0 1 b'x\r\xcd\x1b\xc6\xa9\x89\xe2\x1eX\x0b\x01\xdc... 2 2 2.0 2 b'\xf8#w\x98=\xa0\x1f\xc7\xb7\xf4......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516781089914882, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:44:23 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:23 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:25 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_IVF_FLAT_...... (api_request.py:31) [2023-02-17 08:44:25 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:25 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:25 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:26 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\x04\xdc\xa8\\B\x15>\xa6\xcf*\xd4B\xb0\xfc\x... 1 1 1.0 1 b'\x1a\x88*\x8e\xb8g>\xccQ\x10*\xdf\xfe\xbaU,' 2 2 2.0 2 b'sD\xa6\x9e\x0bKw\xdaL\xfdk\x......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:26 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516781941620739, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:30 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:45:21 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:45:21 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:45:21 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:45:21 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 29990 (test_action_second_deployment.py:45) [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582474656 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582474608 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402...... (api_request.py:31) [2023-02-17 08:45:21 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582474656 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582474608 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402715367 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 6008 state: Sealed nodeIds: 10 , segmentID: 439516399402715507 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582474607 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402715885 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 3006 state: Sealed nodeIds: 10 , segmentID: 439516528582474657 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402715508 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 2994 state: Sealed nodeIds: 10 , segmentID: 439516399402715369 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 5982 state: Sealed nodeIds: 10 , segmentID: 439516399402715886 collectionID: 439516399402714941 partitionID: 439516399402714942 num_rows: 2994 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:45:21 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_nFgykKQg', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_all_is_string_indexed_not_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_Y70CHwH9', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:45:21 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 43.05 | |
[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 [gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8[gw0] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:44:30 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:44:30 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:44:30 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:30 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:30 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:30 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_com...... (api_request.py:31) [2023-02-17 08:44:30 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:30 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399401511360 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:44:30.414922', 'RPC error': '2023-02-17 08:44:30.415638'}> (decorators.py:108) [2023-02-17 08:44:30 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399401511360 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:44:30.414906', 'RPC error': '2023-02-17 08:44:30.415745'}> (decorators.py:108) [2023-02-17 08:44:30 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399401511360 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:44:30 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399401511360 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:44:30 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:44:30 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:44:30.416537', 'RPC error': '2023-02-17 08:44:30.418107'}> (decorators.py:108) [2023-02-17 08:44:30 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:44:30 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:44:30 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:58) [2023-02-17 08:44:30 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:44:30 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:34 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True aut......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_com...... (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:34 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.11757228430110907, 0.11255356176125875, 0.1... 1 1 1.0 1 [0.1135529062991003, 0.08319797561386665, 0.09... 2 2 2.0 2 [0.09073336644454938, 0.063759061......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516784209166340, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:34 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True aut......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_com...... (api_request.py:31) [2023-02-17 08:44:34 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:37 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:37 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:38 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.04662523009250438, 0.022498644061597784, 0.... 1 1 1.0 1 [0.021147278728815746, 0.14933451226310482, 0.... 2 2 2.0 2 [0.06982469040704599, 0.021253444......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:38 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516785048027137, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:43 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_2PU1L5dC', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:44:43 - INFO - ci_test]: current index param is {'index_type': 'Trie'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:44:43 - INFO - ci_test]: current index name is test_2PU1L5dC, passed in param is None (test_action_second_deployment.py:63) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:45:13 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:45:13 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:45:13 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:45:13 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:45:13 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:13 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582474818 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582474775 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:45:13 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582474818 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582474775 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582474774 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399401511372 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582474819 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399401511371 collectionID: 439516399401511360 partitionID: 439516399401511361 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:45:13 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_2PU1L5dC', 'index_param': {'index_type': 'Trie'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_not_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_lkWJR7yh', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}] (test_action_second_deployment.py:51) [2023-02-17 08:45:13 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) [2023-02-17 08:45:13 - INFO - ci_test]: [teardown_class] Start teardown class... (client_base.py:36) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 52.99 | |
[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 [gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8[gw3] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:44:47 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:44:47 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:44:47 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:47 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:47 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:47 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:44:47 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:47 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399401311157 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:44:47.602881', 'RPC error': '2023-02-17 08:44:47.603664'}> (decorators.py:108) [2023-02-17 08:44:47 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399401311157 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:44:47.602868', 'RPC error': '2023-02-17 08:44:47.603751'}> (decorators.py:108) [2023-02-17 08:44:47 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399401311157 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:44:47 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399401311157 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:44:47 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:44:47 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:44:47.604321', 'RPC error': '2023-02-17 08:44:47.605779'}> (decorators.py:108) [2023-02-17 08:44:47 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:44:47 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:44:47 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:44:47 - INFO - ci_test]: current index param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}, passed in param is {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'} (test_action_second_deployment.py:61) [2023-02-17 08:44:47 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:52 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:52 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.05140413755827844, 0.03908372330750381, 0.0... 1 1 1.0 1 [0.07003895483153313, 0.05492354122984187, 0.1... 2 2 2.0 2 [0.03032526861716826, 0.080868674......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516788822900738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:44:52 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_comp...... (api_request.py:31) [2023-02-17 08:44:52 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:55 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:44:55 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:44:55 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.05248024298136282, 0.12095216947034018, 0.0... 1 1 1.0 1 [0.13836101829859845, 0.09341422994381952, 0.0... 2 2 2.0 2 [0.14973343162133523, 0.100976183......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:44:55 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516789543796738, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:44:59 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:45:40 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:45:40 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:45:40 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:45:40 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:45:40 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:40 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399401311185 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399401311186 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:45:40 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399401311185 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399401311186 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475063 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475104 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582475105 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475062 collectionID: 439516399401311157 partitionID: 439516399401311158 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:45:40 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_izkiztwv', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_not_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_Kne43KWW', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:45:40 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) [2023-02-17 08:45:40 - INFO - ci_test]: [teardown_class] Start teardown class... (client_base.py:36) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000] | 44.99 | |
[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 [gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8[gw2] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:45:02 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:45:02 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:45:02 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:45:02 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:02 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:45:02 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_I...... (api_request.py:31) [2023-02-17 08:45:02 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:02 - ERROR - pymilvus.decorators]: RPC error: [get_loading_progress], <MilvusException: (code=1, message=collection 439516399402513384 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:45:02.600513', 'RPC error': '2023-02-17 08:45:02.601161'}> (decorators.py:108) [2023-02-17 08:45:02 - ERROR - pymilvus.decorators]: RPC error: [wait_for_loading_collection], <MilvusException: (code=1, message=collection 439516399402513384 has not been loaded to memory or load failed)>, <Time:{'RPC start': '2023-02-17 08:45:02.600501', 'RPC error': '2023-02-17 08:45:02.601255'}> (decorators.py:108) [2023-02-17 08:45:02 - ERROR - ci_test]: Traceback (most recent call last): File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 26, in inner_wrapper res = func(*args, **_kwargs) File "/home/jenkins/agent/workspace/tests/python_client/utils/api_request.py", line 57, in api_request return func(*arg, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/orm/utility.py", line 277, in wait_for_loading_complete return _get_connection(using).wait_for_loading_collection(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 693, in wait_for_loading_collection progress = self.get_loading_progress(collection_name, timeout=timeout) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 109, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 105, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 136, in handler ret = func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 85, in handler raise e File "/usr/local/lib/python3.8/dist-packages/pymilvus/decorators.py", line 50, in handler return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/pymilvus/client/grpc_handler.py", line 760, in get_loading_progress raise MilvusException(response.status.error_code, response.status.reason) pymilvus.exceptions.MilvusException: <MilvusException: (code=1, message=collection 439516399402513384 has not been loaded to memory or load failed)> (api_request.py:39) [2023-02-17 08:45:02 - ERROR - ci_test]: (api_response) : <MilvusException: (code=1, message=collection 439516399402513384 has not been loaded to memory or load failed)> (api_request.py:40) [2023-02-17 08:45:02 - ERROR - ci_test]: (test_action_second_deployment.py:108) [2023-02-17 08:45:02 - ERROR - pymilvus.decorators]: RPC error: [get_replicas], <MilvusException: (code=15, message=failed to get replicas, collection not loaded)>, <Time:{'RPC start': '2023-02-17 08:45:02.601857', 'RPC error': '2023-02-17 08:45:02.603587'}> (decorators.py:108) [2023-02-17 08:45:02 - ERROR - ci_test]: <MilvusException: (code=15, message=failed to get replicas, collection not loaded)> (test_action_second_deployment.py:114) [2023-02-17 08:45:02 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has 0 replicas (test_action_second_deployment.py:117) [2023-02-17 08:45:02 - INFO - ci_test]: index info: [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': '_default_idx_103', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': '_default_string_idx', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:58) [2023-02-17 08:45:02 - INFO - ci_test]: current index param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}, passed in param is {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'} (test_action_second_deployment.py:61) [2023-02-17 08:45:02 - INFO - ci_test]: current index name is _default_idx_103, passed in param is _default_idx_103 (test_action_second_deployment.py:63) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:45:07 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_I...... (api_request.py:31) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:07 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:07 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\x97I\x08^\xcdk/o(*G\xcb\x0e\xb8\x88\x8f' 1 1 1.0 1 b'\x94\x81B\xe6\xad\xd0\xf9\xe8M\xea\xc0P9\xd8... 2 2 2.0 2 b'\x96-D\xd0\x03\x00\t:\x03\\\x0e......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516792977883138, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['binary_vector', <DataType.BINARY_VECTOR: 100>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { name: binary_vector description: type: 100 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binary_vector description: type: 100 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: binar...... (api_request.py:31) [2023-02-17 08:45:08 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:45:08 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True ......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:45:09 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_BIN_I...... (api_request.py:31) [2023-02-17 08:45:09 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:11 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:11 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:45:11 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar binary_vector 0 0 0.0 0 b'\x1fQ?u\t\xd9z\xeb\x17\xce\x18\xaaU\xf9\xffO' 1 1 1.0 1 b'\x96\x1f\xbeN\x82\xbcB\x82\xc2\xa3\x9b\xe4\x... 2 2 2.0 2 b'.\xaaNW\x14F\x03z%\......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:11 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516793882279937, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:45:17 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:45:47 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:45:47 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:45:47 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:45:47 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 has entities: 8996 (test_action_second_deployment.py:45) [2023-02-17 08:45:47 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:47 - DEBUG - ci_test]: (api_response) : [segmentID: 439516528582475274 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513405 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:45:47 - INFO - ci_test]: The segment info of collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516528582475274 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399402513405 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475223 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475273 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516399402513404 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582475222 collectionID: 439516399402513384 partitionID: 439516399402513385 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:45:47 - INFO - ci_test]: collection deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'binary_vector', 'index_name': 'test_jRXStdUt', 'index_param': {'index_type': 'BIN_IVF_FLAT', 'params': {'nlist': 128}, 'metric_type': 'HAMMING'}}, {'collection': 'deploy_test_index_type_BIN_IVF_FLAT_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_0_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_BnTeNZaC', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:45:47 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) [2023-02-17 08:45:47 - INFO - ci_test]: [teardown_class] Start teardown class... (client_base.py:36) | |||
Passed | deploy/testcases/test_action_second_deployment.py::TestActionSecondDeployment::test_check[deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000] | 42.99 | |
[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 [gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8[gw1] linux -- Python 3.8.10 /usr/bin/python3.8 -------------------------------Captured log setup------------------------------- [2023-02-17 08:45:21 - INFO - ci_test]: *********************************** setup *********************************** (client_base.py:39) [2023-02-17 08:45:21 - INFO - ci_test]: [setup_method] Start setup test case test_check. (client_base.py:40) -------------------------------Captured log call-------------------------------- [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 'default', 2], kwargs: {'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compa...... (api_request.py:31) [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_request) : [wait_for_loading_complete] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', None, 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:21 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:21 - INFO - ci_test]: wait for deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 loading complete cost 0.0008690357208251953 (test_action_second_deployment.py:106) [2023-02-17 08:45:21 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has 1 replicas (test_action_second_deployment.py:117) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:45:23 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compa...... (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:23 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.028479784942345758, 0.12260875552246817, 0.... 1 1 1.0 1 [0.0410535249162576, 0.14237075676952707, 0.14... 2 2 2.0 2 [0.1119433587959565, 0.0709497102......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516797001793538, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Connections.connect] args: ['default'], kwargs: {'host': '10.101.136.205', 'port': 19530} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['int64', <DataType.INT64: 5>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: int64 description: type: 5 } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float', <DataType.FLOAT: 10>, ''], kwargs: {'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: float description: type: 10 } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['varchar', <DataType.VARCHAR: 21>, ''], kwargs: {'max_length': 65535, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: varchar description: type: 21 params: {'max_length': 65535} } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [FieldSchema] args: ['float_vector', <DataType.FLOAT_VECTOR: 101>, ''], kwargs: {'dim': 128, 'is_primary': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { name: float_vector description: type: 101 params: {'dim': 128} } (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [CollectionSchema] args: [[{ name: int64 description: type: 5 }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float_vector description: type: 101 params: {'dim': 128} }], ''], kwargs: {'primary_field': 'int64', 'auto_id': False} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_id: False }, { name: float description: type: 10 }, { name: varchar description: type: 21 params: {'max_length': 65535} }, { name: float...... (api_request.py:31) [2023-02-17 08:45:23 - INFO - ci_test]: init_collection_general: collection creation (client_base.py:170) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Connections.has_connection] args: ['default'], kwargs: {} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : True (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Collection] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', { auto_id: False description: fields: [{ name: int64 description: type: 5 is_primary: True auto_......, kwargs: {'is_index': True, 'consistency_level': 'Strong'} (api_request.py:56) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_response) : <Collection>: ------------- <name>: deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 <partitions>: [{"name": "_default", "collection_name": "deploy_test_index_type_HNSW_is_compa...... (api_request.py:31) [2023-02-17 08:45:23 - DEBUG - ci_test]: (api_request) : [Collection.flush] args: [], kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:26 - DEBUG - ci_test]: (api_response) : None (api_request.py:31) [2023-02-17 08:45:26 - INFO - ci_test]: inserted 3000 data into collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 (common_func.py:740) [2023-02-17 08:45:26 - DEBUG - ci_test]: (api_request) : [Collection.insert] args: [ int64 float varchar float_vector 0 0 0.0 0 [0.09937653019599312, 0.055598828841456026, 0.... 1 1 1.0 1 [0.10753805834407877, 0.03882879640868578, 0.0... 2 2 2.0 2 [0.09801955475713288, 0.049555889......, kwargs: {'timeout': 120} (api_request.py:56) [2023-02-17 08:45:26 - DEBUG - ci_test]: (api_response) : (insert count: 3000, delete count: 0, upsert count: 0, timestamp: 439516797840654337, success count: 3000, err count: 0) (api_request.py:31) [2023-02-17 08:45:32 - INFO - ci_test]: index info: [] (test_action_second_deployment.py:58) -----------------------------Captured log teardown------------------------------ [2023-02-17 08:46:04 - INFO - ci_test]: *********************************** teardown *********************************** (test_action_second_deployment.py:41) [2023-02-17 08:46:04 - INFO - ci_test]: [teardown_method] Start teardown test case test_check... (test_action_second_deployment.py:42) [2023-02-17 08:46:04 - INFO - ci_test]: show collection info (test_action_second_deployment.py:44) [2023-02-17 08:46:04 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 has entities: 9000 (test_action_second_deployment.py:45) [2023-02-17 08:46:04 - DEBUG - ci_test]: (api_request) : [get_query_segment_info] args: ['deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 20, 'default'], kwargs: {} (api_request.py:56) [2023-02-17 08:46:04 - DEBUG - ci_test]: (api_response) : [segmentID: 439516399401111031 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475541 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582...... (api_request.py:31) [2023-02-17 08:46:04 - INFO - ci_test]: The segment info of collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 is [segmentID: 439516399401111031 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475541 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516528582475515 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1497 state: Sealed nodeIds: 10 , segmentID: 439516399401111030 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582475540 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1503 state: Sealed nodeIds: 10 , segmentID: 439516528582475514 collectionID: 439516399401110998 partitionID: 439516399401110999 num_rows: 1503 state: Sealed nodeIds: 10 ] (test_action_second_deployment.py:48) [2023-02-17 08:46:04 - INFO - ci_test]: collection deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000 index infos [{'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'float_vector', 'index_name': 'test_iW1jkL7R', 'index_param': {'index_type': 'HNSW', 'params': {'M': 48, 'efConstruction': 500}, 'metric_type': 'L2'}}, {'collection': 'deploy_test_index_type_HNSW_is_compacted_is_compacted_segment_status_only_growing_is_string_indexed_is_string_indexed_replica_number_1_is_deleted_is_deleted_data_size_3000', 'field': 'varchar', 'index_name': 'test_3CBH0gg4', 'index_param': {'index_type': 'Trie'}}] (test_action_second_deployment.py:51) [2023-02-17 08:46:04 - INFO - ci_test]: skip drop collection (test_action_second_deployment.py:52) [2023-02-17 08:46:04 - INFO - ci_test]: [teardown_class] Start teardown class... (client_base.py:36) |