Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
0
Description
Failing on 6.6-release server version. For server versions after 6.6-release, test is getting skipped with cluster capability missing.
FIT test for CollectionQueryIndexManager are failing with internal server error. Tests are expecting to return SDK_FEATURE_NOT_AVAILABLE_EXCEPTION but instead got SDK_INTERNAL_SERVER_FAILURE_EXCEPTION.
Result got:
Unexpected result on exception {
|
couchbase {
|
name: "InternalServerFailureException" |
type: SDK_INTERNAL_SERVER_FAILURE_EXCEPTION
|
serialized: "internal server failure (5) {\"last_dispatched_to\": \"172.23.111.129:8093\", \"last_dispatched_from\": \"172.16.1.84:59500\", \"retry_attempts\": 0, \"client_context_id\": \"be6342-6471-3d42-ee6a-e798e84fef07e5\", \"method\": \"POST\", \"path\": \"/query/service\", \"http_status\": 400, \"http_body\": \"{\\n\\\"requestID\\\": \\\"49ae42f1-170c-49e5-afa1-18dbe9723a5f\\\",\\n\\\"clientContextID\\\": \\\"be6342-6471-3d42-ee6a-e798e84fef07e5\\\",\\n\\\"errors\\\": [{\\\"code\\\":3000,\\\"msg\\\":\\\"syntax error - at .\\\"}],\\n\\\"status\\\": \\\"fatal\\\",\\n\\\"metrics\\\": {\\\"elapsedTime\\\": \\\"1.706189ms\\\",\\\"executionTime\\\": \\\"1.407986ms\\\",\\\"resultCount\\\": 0,\\\"resultSize\\\": 0,\\\"errorCount\\\": 1}\\n}\\n\", \"context_type\": \"HTTPErrorContext\", \"context_detail_type\": \"QueryIndexMgmt\"}" |
}
|
}
|
Expected Result:
couchbase { name: "FeatureNotAvailableException" type: SDK_FEATURE_NOT_AVAILABLE_EXCEPTION serialized: "com.couchbase.client.core.error.FeatureNotAvailableException: Scope-Level queries for the QUERY service are not supported on the connected cluster (Only supported with Couchbase Server 7.0 and later)."} |
No errors found in performer logs.
================ Test file : Start ================
|
[2024-03-20 11:26:56,376] [root] [INFO] ================ java.util.stream.Stream com.couchbase.client.management.query.collection.CollectionQueryIndexManagerPreCollectionClusterTest.createPrimaryIndexWithNamedIndex():createPrimaryIndexWithNamedIndex() : testStart ================ |
[2024-03-20 11:26:56,486] [root] [INFO] Run called |
[2024-03-20 11:26:56,486] [executors.workload_executor_builder] [INFO] Using multi-thread executor |
[2024-03-20 11:26:56,487] [executors.multi_thread_executor] [INFO] There are 1 workloads |
[2024-03-20 11:26:56,487] [executors.request_executor] [INFO] Batch size is 1 |
[2024-03-20 11:26:56,489] [executors.multi_thread_executor] [INFO] Started thread |
[2024-03-20 11:26:58,344] [executors.multi_thread_executor] [INFO] Thread 6199603200 has finished its workloads |
[2024-03-20 11:26:58,346] [streaming.stream_owner] [INFO] Waiting for streams from run 758043e9-96bb-4dea-bc12-db7297e2baf9 |
[2024-03-20 11:26:58,346] [streaming.stream_owner] [INFO] All streams from run 758043e9-96bb-4dea-bc12-db7297e2baf9 have finished |
[2024-03-20 11:26:58,346] [executors.multi_thread_executor] [INFO] Workloads complete |
[2024-03-20 11:26:58,347] [root] [INFO] Sent all the results for this run |
[2024-03-20 11:26:58,347] [root] [INFO] Run finished |
[2024-03-20 11:26:58,426] [root] [INFO] Run called |
[2024-03-20 11:26:58,426] [executors.workload_executor_builder] [INFO] Using multi-thread executor |
[2024-03-20 11:26:58,426] [executors.multi_thread_executor] [INFO] There are 1 workloads |
[2024-03-20 11:26:58,426] [executors.request_executor] [INFO] Batch size is 1 |
[2024-03-20 11:26:58,427] [executors.multi_thread_executor] [INFO] Started thread |
[2024-03-20 11:26:58,953] [executors.multi_thread_executor] [INFO] Thread 6199603200 has finished its workloads |
[2024-03-20 11:26:58,955] [streaming.stream_owner] [INFO] Waiting for streams from run 09d11fb0-1f96-496f-851a-fa2a9f7911a2 |
[2024-03-20 11:26:58,955] [streaming.stream_owner] [INFO] All streams from run 09d11fb0-1f96-496f-851a-fa2a9f7911a2 have finished |
[2024-03-20 11:26:58,955] [executors.multi_thread_executor] [INFO] Workloads complete |
[2024-03-20 11:26:58,956] [root] [INFO] Sent all the results for this run |
[2024-03-20 11:26:58,957] [root] [INFO] Run finished |
[2024-03-20 11:26:58,965] [root] [INFO] ================ java.util.stream.Stream com.couchbase.client.management.query.collection.CollectionQueryIndexManagerPreCollectionClusterTest.createPrimaryIndexWithNamedIndex():createPrimaryIndexWithNamedIndex() : testEnd ================ |
[2024-03-20 11:26:58,968] [root] [INFO] ================ Test file : End ================ |