manticoresoftware / manticoresearch-helm

Helm chart for Manticore Search
Apache License 2.0
34 stars 10 forks source link

Feat: Expose probes to values.yaml #101

Closed djklim87 closed 2 weeks ago

github-actions[bot] commented 2 weeks ago

tests

👎 CLT tests in clt_tests/tests/ ✅ OK: 3 ❌ Failed: 4 ⏳ Duration: 224s 👉 Check Action Results for commit b55f9b0 Failed tests:

clt_tests/tests/4-show-status-slave.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– kubectl exec -it my-helm-manticoresearch-worker-1 -- mysql -h0 -P9306 -e "show status\G" | grep -A1 "Counter: cluster" ––– output ––– - Counter: cluster_name + Error from server (NotFound): pods "my-helm-manticoresearch-worker-1" not found - Value: manticore_cluster + - -- - Counter: cluster_manticore_cluster_state_uuid - Value: #!/[a-z0-9-]+/!# - -- - Counter: cluster_manticore_cluster_conf_id - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_status - Value: primary - -- - Counter: cluster_manticore_cluster_size - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_index - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_node_state - Value: synced - -- - Counter: cluster_manticore_cluster_nodes_set - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312 - -- - Counter: cluster_manticore_cluster_nodes_view - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication - -- - Counter: cluster_manticore_cluster_indexes_count - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_indexes - Value: - -- - Counter: cluster_manticore_cluster_local_state_uuid - Value: #!/[a-z0-9-]+/!# - -- - Counter: cluster_manticore_cluster_protocol_version - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_last_applied - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_last_committed - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_replicated - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_replicated_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_keys - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_keys_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_data_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_other_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_received - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_received_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_commits - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_cert_failures - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_replays - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue_max - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue_min - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue_avg - Value: %{NUMBER}.%{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue_max - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue_min - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue_avg - Value: %{NUMBER}.%{NUMBER} - -- - Counter: cluster_manticore_cluster_local_cached_downto - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_paused_ns - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_paused - Value: %{NUMBER}.%{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_sent - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_recv - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_interval - Value: [ %{NUMBER}, %{NUMBER} ] - -- - Counter: cluster_manticore_cluster_flow_control_interval_low - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_interval_high - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_status - Value: OFF - -- - Counter: cluster_manticore_cluster_cert_deps_distance - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_apply_oooe - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_apply_oool - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_apply_window - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_commit_oooe - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_commit_oool - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_commit_window - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_local_state - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_state_comment - Value: Synced - -- - Counter: cluster_manticore_cluster_cert_index_size - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_cert_bucket_count - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_gcache_pool_size - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_causal_reads - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_cert_interval - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_open_transactions - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_open_connections - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_ist_receive_status - Value: - -- - Counter: cluster_manticore_cluster_ist_receive_seqno_start - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_ist_receive_seqno_current - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_ist_receive_seqno_end - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_incoming_addresses - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication - -- - Counter: cluster_manticore_cluster_cluster_weight - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_desync_count - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_evs_delayed - Value: - -- - Counter: cluster_manticore_cluster_evs_evict_list - Value: - -- - Counter: cluster_manticore_cluster_evs_repl_latency - Value: #!/[0-9a-z-.\/]+/!# - -- - Counter: cluster_manticore_cluster_evs_state - Value: OPERATIONAL - -- - Counter: cluster_manticore_cluster_gcomm_uuid - Value: #!/[a-z0-9-]+/!# - ```
clt_tests/tests/3-show-status-master.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– kubectl exec -it my-helm-manticoresearch-worker-0 -- mysql -h0 -P9306 -e "show status\G" | grep -A1 "Counter: cluster" ––– output ––– Counter: cluster_name Value: manticore_cluster -- Counter: cluster_manticore_cluster_state_uuid Value: #!/[a-z0-9-]+/!# -- Counter: cluster_manticore_cluster_conf_id Value: %{NUMBER} -- Counter: cluster_manticore_cluster_status Value: primary -- Counter: cluster_manticore_cluster_size Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_index Value: %{NUMBER} -- Counter: cluster_manticore_cluster_node_state Value: synced -- Counter: cluster_manticore_cluster_nodes_set - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312 + Value: -- Counter: cluster_manticore_cluster_nodes_view - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication + Value: my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication -- Counter: cluster_manticore_cluster_indexes_count Value: %{NUMBER} -- Counter: cluster_manticore_cluster_indexes Value: -- Counter: cluster_manticore_cluster_local_state_uuid Value: #!/[a-z0-9-]+/!# -- Counter: cluster_manticore_cluster_protocol_version Value: %{NUMBER} -- Counter: cluster_manticore_cluster_last_applied Value: %{NUMBER} -- Counter: cluster_manticore_cluster_last_committed Value: %{NUMBER} -- Counter: cluster_manticore_cluster_replicated Value: %{NUMBER} -- Counter: cluster_manticore_cluster_replicated_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_keys Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_keys_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_data_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_other_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_received Value: %{NUMBER} -- Counter: cluster_manticore_cluster_received_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_commits Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_cert_failures Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_replays Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue_max Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue_min Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue_avg Value: %{NUMBER}.%{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue_max Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue_min Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue_avg Value: %{NUMBER}.%{NUMBER} -- Counter: cluster_manticore_cluster_local_cached_downto Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_paused_ns Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_paused Value: %{NUMBER}.%{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_sent Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_recv Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_interval Value: [ %{NUMBER}, %{NUMBER} ] -- Counter: cluster_manticore_cluster_flow_control_interval_low Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_interval_high Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_status Value: OFF -- Counter: cluster_manticore_cluster_cert_deps_distance Value: 0.000000 -- Counter: cluster_manticore_cluster_apply_oooe Value: 0.000000 -- Counter: cluster_manticore_cluster_apply_oool Value: 0.000000 -- Counter: cluster_manticore_cluster_apply_window Value: 0.000000 -- Counter: cluster_manticore_cluster_commit_oooe Value: 0.000000 -- Counter: cluster_manticore_cluster_commit_oool Value: 0.000000 -- Counter: cluster_manticore_cluster_commit_window Value: 0.000000 -- Counter: cluster_manticore_cluster_local_state Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_state_comment Value: Synced -- Counter: cluster_manticore_cluster_cert_index_size Value: %{NUMBER} -- Counter: cluster_manticore_cluster_cert_bucket_count Value: %{NUMBER} -- Counter: cluster_manticore_cluster_gcache_pool_size Value: %{NUMBER} -- Counter: cluster_manticore_cluster_causal_reads Value: %{NUMBER} -- Counter: cluster_manticore_cluster_cert_interval Value: 0.000000 -- Counter: cluster_manticore_cluster_open_transactions Value: %{NUMBER} -- Counter: cluster_manticore_cluster_open_connections Value: %{NUMBER} -- Counter: cluster_manticore_cluster_ist_receive_status Value: -- Counter: cluster_manticore_cluster_ist_receive_seqno_start Value: %{NUMBER} -- Counter: cluster_manticore_cluster_ist_receive_seqno_current Value: %{NUMBER} -- Counter: cluster_manticore_cluster_ist_receive_seqno_end Value: %{NUMBER} -- Counter: cluster_manticore_cluster_incoming_addresses - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication + Value: my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication -- Counter: cluster_manticore_cluster_cluster_weight Value: %{NUMBER} -- Counter: cluster_manticore_cluster_desync_count Value: %{NUMBER} -- Counter: cluster_manticore_cluster_evs_delayed Value: -- Counter: cluster_manticore_cluster_evs_evict_list Value: -- Counter: cluster_manticore_cluster_evs_repl_latency Value: #!/[0-9a-z-.\/]+/!# -- Counter: cluster_manticore_cluster_evs_state Value: OPERATIONAL -- Counter: cluster_manticore_cluster_gcomm_uuid Value: #!/[a-z0-9-]+/!# ```
clt_tests/tests/6-query.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– echo "Wait until new index will replicated to balancer"; sleep 30 ––– output ––– Wait until new index will replicated to balancer ––– input ––– export BALANCER_NAME=$(kubectl get pods -l "app.kubernetes.io/name=manticoresearch,app.kubernetes.io/instance=my-helm,name=my-helm-manticoresearch-balancer" -o jsonpath="{.items[0].metadata.name}") && echo "Ok" ––– output ––– Ok ––– input ––– echo $BALANCER_NAME ––– output ––– my-helm-manticoresearch-balancer-#!/[0-9a-z]+/!#-#!/[0-9a-z]+/!# ––– input ––– kubectl exec $BALANCER_NAME -- mysql -h0 -P9306 -e "SHOW TABLES\G" ––– output ––– - *************************** 1. row *************************** - Index: idx - Type: distributed ––– input ––– kubectl exec $BALANCER_NAME -- mysql -h0 -P9306 -e "SELECT * FROM idx WHERE match('dog')\G" ––– output ––– - *************************** 1. row *************************** + ERROR 1064 (42000) at line 1: unknown local table(s) 'idx' in search request - id: #!/[0-9]+/!# + command terminated with exit code 1 - title: dog is brown + - ```
clt_tests/tests/2-wait-until-deploy.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– timeout 180 bash -c 'while [[ ! $(kubectl get po | grep "Running" | wc -l) -eq 4 ]]; do sleep 1; done' && echo "OK" || echo "Failed waiting until pods was deployed" ––– output ––– - OK + Failed waiting until pods was deployed ––– input ––– sleep 5 ––– output ––– ```
github-actions[bot] commented 2 weeks ago

tests

👎 CLT tests in clt_tests/tests/ ✅ OK: 3 ❌ Failed: 4 ⏳ Duration: 223s 👉 Check Action Results for commit a6c7e18 Failed tests:

clt_tests/tests/4-show-status-slave.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– kubectl exec -it my-helm-manticoresearch-worker-1 -- mysql -h0 -P9306 -e "show status\G" | grep -A1 "Counter: cluster" ––– output ––– - Counter: cluster_name + - Value: manticore_cluster - -- - Counter: cluster_manticore_cluster_state_uuid - Value: #!/[a-z0-9-]+/!# - -- - Counter: cluster_manticore_cluster_conf_id - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_status - Value: primary - -- - Counter: cluster_manticore_cluster_size - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_index - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_node_state - Value: synced - -- - Counter: cluster_manticore_cluster_nodes_set - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312 - -- - Counter: cluster_manticore_cluster_nodes_view - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication - -- - Counter: cluster_manticore_cluster_indexes_count - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_indexes - Value: - -- - Counter: cluster_manticore_cluster_local_state_uuid - Value: #!/[a-z0-9-]+/!# - -- - Counter: cluster_manticore_cluster_protocol_version - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_last_applied - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_last_committed - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_replicated - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_replicated_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_keys - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_keys_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_data_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_repl_other_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_received - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_received_bytes - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_commits - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_cert_failures - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_replays - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue_max - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue_min - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_send_queue_avg - Value: %{NUMBER}.%{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue_max - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue_min - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_recv_queue_avg - Value: %{NUMBER}.%{NUMBER} - -- - Counter: cluster_manticore_cluster_local_cached_downto - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_paused_ns - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_paused - Value: %{NUMBER}.%{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_sent - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_recv - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_interval - Value: [ %{NUMBER}, %{NUMBER} ] - -- - Counter: cluster_manticore_cluster_flow_control_interval_low - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_interval_high - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_flow_control_status - Value: OFF - -- - Counter: cluster_manticore_cluster_cert_deps_distance - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_apply_oooe - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_apply_oool - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_apply_window - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_commit_oooe - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_commit_oool - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_commit_window - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_local_state - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_local_state_comment - Value: Synced - -- - Counter: cluster_manticore_cluster_cert_index_size - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_cert_bucket_count - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_gcache_pool_size - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_causal_reads - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_cert_interval - Value: 0.000000 - -- - Counter: cluster_manticore_cluster_open_transactions - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_open_connections - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_ist_receive_status - Value: - -- - Counter: cluster_manticore_cluster_ist_receive_seqno_start - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_ist_receive_seqno_current - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_ist_receive_seqno_end - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_incoming_addresses - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication - -- - Counter: cluster_manticore_cluster_cluster_weight - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_desync_count - Value: %{NUMBER} - -- - Counter: cluster_manticore_cluster_evs_delayed - Value: - -- - Counter: cluster_manticore_cluster_evs_evict_list - Value: - -- - Counter: cluster_manticore_cluster_evs_repl_latency - Value: #!/[0-9a-z-.\/]+/!# - -- - Counter: cluster_manticore_cluster_evs_state - Value: OPERATIONAL - -- - Counter: cluster_manticore_cluster_gcomm_uuid - Value: #!/[a-z0-9-]+/!# - ```
clt_tests/tests/3-show-status-master.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– kubectl exec -it my-helm-manticoresearch-worker-0 -- mysql -h0 -P9306 -e "show status\G" | grep -A1 "Counter: cluster" ––– output ––– Counter: cluster_name Value: manticore_cluster -- Counter: cluster_manticore_cluster_state_uuid Value: #!/[a-z0-9-]+/!# -- Counter: cluster_manticore_cluster_conf_id Value: %{NUMBER} -- Counter: cluster_manticore_cluster_status Value: primary -- Counter: cluster_manticore_cluster_size Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_index Value: %{NUMBER} -- Counter: cluster_manticore_cluster_node_state Value: synced -- Counter: cluster_manticore_cluster_nodes_set - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312 + Value: -- Counter: cluster_manticore_cluster_nodes_view - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication + Value: my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication -- Counter: cluster_manticore_cluster_indexes_count Value: %{NUMBER} -- Counter: cluster_manticore_cluster_indexes Value: -- Counter: cluster_manticore_cluster_local_state_uuid Value: #!/[a-z0-9-]+/!# -- Counter: cluster_manticore_cluster_protocol_version Value: %{NUMBER} -- Counter: cluster_manticore_cluster_last_applied Value: %{NUMBER} -- Counter: cluster_manticore_cluster_last_committed Value: %{NUMBER} -- Counter: cluster_manticore_cluster_replicated Value: %{NUMBER} -- Counter: cluster_manticore_cluster_replicated_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_keys Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_keys_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_data_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_repl_other_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_received Value: %{NUMBER} -- Counter: cluster_manticore_cluster_received_bytes Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_commits Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_cert_failures Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_replays Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue_max Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue_min Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_send_queue_avg Value: %{NUMBER}.%{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue_max Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue_min Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_recv_queue_avg Value: %{NUMBER}.%{NUMBER} -- Counter: cluster_manticore_cluster_local_cached_downto Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_paused_ns Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_paused Value: %{NUMBER}.%{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_sent Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_recv Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_interval Value: [ %{NUMBER}, %{NUMBER} ] -- Counter: cluster_manticore_cluster_flow_control_interval_low Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_interval_high Value: %{NUMBER} -- Counter: cluster_manticore_cluster_flow_control_status Value: OFF -- Counter: cluster_manticore_cluster_cert_deps_distance Value: 0.000000 -- Counter: cluster_manticore_cluster_apply_oooe Value: 0.000000 -- Counter: cluster_manticore_cluster_apply_oool Value: 0.000000 -- Counter: cluster_manticore_cluster_apply_window Value: 0.000000 -- Counter: cluster_manticore_cluster_commit_oooe Value: 0.000000 -- Counter: cluster_manticore_cluster_commit_oool Value: 0.000000 -- Counter: cluster_manticore_cluster_commit_window Value: 0.000000 -- Counter: cluster_manticore_cluster_local_state Value: %{NUMBER} -- Counter: cluster_manticore_cluster_local_state_comment Value: Synced -- Counter: cluster_manticore_cluster_cert_index_size Value: %{NUMBER} -- Counter: cluster_manticore_cluster_cert_bucket_count Value: %{NUMBER} -- Counter: cluster_manticore_cluster_gcache_pool_size Value: %{NUMBER} -- Counter: cluster_manticore_cluster_causal_reads Value: %{NUMBER} -- Counter: cluster_manticore_cluster_cert_interval Value: 0.000000 -- Counter: cluster_manticore_cluster_open_transactions Value: %{NUMBER} -- Counter: cluster_manticore_cluster_open_connections Value: %{NUMBER} -- Counter: cluster_manticore_cluster_ist_receive_status Value: -- Counter: cluster_manticore_cluster_ist_receive_seqno_start Value: %{NUMBER} -- Counter: cluster_manticore_cluster_ist_receive_seqno_current Value: %{NUMBER} -- Counter: cluster_manticore_cluster_ist_receive_seqno_end Value: %{NUMBER} -- Counter: cluster_manticore_cluster_incoming_addresses - Value: my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-%{NUMBER}.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication + Value: my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9312,my-helm-manticoresearch-worker-0.my-helm-manticoresearch-worker-svc.default.svc.cluster.local:9315:replication -- Counter: cluster_manticore_cluster_cluster_weight Value: %{NUMBER} -- Counter: cluster_manticore_cluster_desync_count Value: %{NUMBER} -- Counter: cluster_manticore_cluster_evs_delayed Value: -- Counter: cluster_manticore_cluster_evs_evict_list Value: -- Counter: cluster_manticore_cluster_evs_repl_latency Value: #!/[0-9a-z-.\/]+/!# -- Counter: cluster_manticore_cluster_evs_state Value: OPERATIONAL -- Counter: cluster_manticore_cluster_gcomm_uuid Value: #!/[a-z0-9-]+/!# ```
clt_tests/tests/6-query.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– echo "Wait until new index will replicated to balancer"; sleep 30 ––– output ––– Wait until new index will replicated to balancer ––– input ––– export BALANCER_NAME=$(kubectl get pods -l "app.kubernetes.io/name=manticoresearch,app.kubernetes.io/instance=my-helm,name=my-helm-manticoresearch-balancer" -o jsonpath="{.items[0].metadata.name}") && echo "Ok" ––– output ––– Ok ––– input ––– echo $BALANCER_NAME ––– output ––– my-helm-manticoresearch-balancer-#!/[0-9a-z]+/!#-#!/[0-9a-z]+/!# ––– input ––– kubectl exec $BALANCER_NAME -- mysql -h0 -P9306 -e "SHOW TABLES\G" ––– output ––– - *************************** 1. row *************************** - Index: idx - Type: distributed ––– input ––– kubectl exec $BALANCER_NAME -- mysql -h0 -P9306 -e "SELECT * FROM idx WHERE match('dog')\G" ––– output ––– - *************************** 1. row *************************** + ERROR 1064 (42000) at line 1: unknown local table(s) 'idx' in search request - id: #!/[0-9]+/!# + command terminated with exit code 1 - title: dog is brown + - ```
clt_tests/tests/2-wait-until-deploy.rec ```diff ––– input ––– export KUBECONFIG=/tmp/output/kubeconfig-latest.yaml ––– output ––– ––– input ––– timeout 180 bash -c 'while [[ ! $(kubectl get po | grep "Running" | wc -l) -eq 4 ]]; do sleep 1; done' && echo "OK" || echo "Failed waiting until pods was deployed" ––– output ––– - OK + Failed waiting until pods was deployed ––– input ––– sleep 5 ––– output ––– ```