--Task-- name: Verification-ds-cts enabled: True class_name: VerificationTask source_name: ds-cts source_namespace: >default< target_name: ds-cts target_namespace: >default< start: 0.0 stop: None timeout: not yet initialized for this Task as timeout was not explicitly defined, see updates bellow loop: False interval: None dependencies: [] wait_for: [] preceding_task: None options: {} group_name: None Current dir: /mnt/disks/data/xslou/lodestar-fork/pyrock ________________________________________________________________________________ [2024-04-24 09:54:50] Verification-ds-cts pre : N/A ________________________________________________________________________________ [2024-04-24 09:54:50] - INFO: Timeout for this Task has changed to 8h (28800 seconds) [2024-04-24 09:54:50] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [2024-04-24 09:54:50] Verification-ds-cts step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-24 09:54:50,074 INFO 2024-04-24 09:54:50,074 INFO --------------------- Get expected number of pods --------------------- 2024-04-24 09:54:50,075 INFO 2024-04-24 09:54:50,075 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get statefulsets --selector app=ds-cts --output jsonpath={.items[*].spec.replicas} 2024-04-24 09:54:50,075 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 09:54:51,155 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:54:51,155 DEBUG --- stdout --- 2024-04-24 09:54:51,155 DEBUG 3 2024-04-24 09:54:51,155 DEBUG --- stderr --- 2024-04-24 09:54:51,155 DEBUG 2024-04-24 09:54:51,156 INFO 2024-04-24 09:54:51,156 INFO -------------- Waiting for 3 expected pod(s) to be ready -------------- 2024-04-24 09:54:51,156 INFO 2024-04-24 09:54:51,156 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get statefulsets ds-cts --output jsonpath="current:{.status.currentReplicas} ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "current:3 ready:3 replicas:3" 2024-04-24 09:54:51,156 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-24 09:54:52,094 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-24 09:54:52,095 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:54:52,095 DEBUG --- stdout --- 2024-04-24 09:54:52,095 DEBUG current:3 ready:3 replicas:3 2024-04-24 09:54:52,095 DEBUG --- stderr --- 2024-04-24 09:54:52,095 DEBUG ________________________________________________________________________________ [2024-04-24 09:54:52] Verification-ds-cts step2 : Discovering pods ________________________________________________________________________________ 2024-04-24 09:54:52,096 INFO 2024-04-24 09:54:52,096 INFO --------------------- Get expected number of pods --------------------- 2024-04-24 09:54:52,096 INFO 2024-04-24 09:54:52,096 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get statefulsets --selector app=ds-cts --output jsonpath={.items[*].spec.replicas} 2024-04-24 09:54:52,096 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 09:54:53,143 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:54:53,143 DEBUG --- stdout --- 2024-04-24 09:54:53,143 DEBUG 3 2024-04-24 09:54:53,143 DEBUG --- stderr --- 2024-04-24 09:54:53,143 DEBUG 2024-04-24 09:54:53,144 INFO 2024-04-24 09:54:53,144 INFO ---------------------------- Get pod list ---------------------------- 2024-04-24 09:54:53,144 INFO 2024-04-24 09:54:53,144 INFO [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods --selector app=ds-cts --output jsonpath={.items[*].metadata.name}` | grep 3 2024-04-24 09:54:53,144 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-24 09:54:54,311 INFO [loop_until]: Function succeeded after 1s (rc=0) - expected number of elements found 2024-04-24 09:54:54,312 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:54:54,312 DEBUG --- stdout --- 2024-04-24 09:54:54,312 DEBUG ds-cts-0 ds-cts-1 ds-cts-2 2024-04-24 09:54:54,312 DEBUG --- stderr --- 2024-04-24 09:54:54,312 DEBUG ________________________________________________________________________________ [2024-04-24 09:54:54] Verification-ds-cts step3 : Check component is alive ________________________________________________________________________________ 2024-04-24 09:54:54,313 INFO Livecheck to ds-cts-0 2024-04-24 09:54:54,313 INFO 2024-04-24 09:54:54,314 INFO [run_command]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-cts-0 --container ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword **** --baseDn "" --searchScope base "(&)" alive 2024-04-24 09:54:56,376 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-24 09:54:56,380 DEBUG --- stdout --- 2024-04-24 09:54:56,381 DEBUG dn: alive: true 2024-04-24 09:54:56,381 DEBUG --- stderr --- 2024-04-24 09:54:56,381 DEBUG 2024-04-24 09:54:56,381 INFO 2024-04-24 09:54:56,381 INFO Livecheck to ds-cts-1 2024-04-24 09:54:56,382 INFO 2024-04-24 09:54:56,383 INFO [run_command]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-cts-1 --container ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword **** --baseDn "" --searchScope base "(&)" alive 2024-04-24 09:54:58,591 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-24 09:54:58,591 DEBUG --- stdout --- 2024-04-24 09:54:58,591 DEBUG dn: alive: true 2024-04-24 09:54:58,591 DEBUG --- stderr --- 2024-04-24 09:54:58,591 DEBUG 2024-04-24 09:54:58,591 INFO 2024-04-24 09:54:58,592 INFO Livecheck to ds-cts-2 2024-04-24 09:54:58,592 INFO 2024-04-24 09:54:58,593 INFO [run_command]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-cts-2 --container ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword **** --baseDn "" --searchScope base "(&)" alive 2024-04-24 09:55:00,529 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-24 09:55:00,529 DEBUG --- stdout --- 2024-04-24 09:55:00,530 DEBUG dn: alive: true 2024-04-24 09:55:00,530 DEBUG --- stderr --- 2024-04-24 09:55:00,530 DEBUG 2024-04-24 09:55:00,530 INFO PASS : component ds-cts is alive ________________________________________________________________________________ [2024-04-24 09:55:00] Verification-ds-cts step4 : Record version ________________________________________________________________________________ 2024-04-24 09:55:00,531 INFO 2024-04-24 09:55:00,531 INFO --------------------- Get DS-CTS software version --------------------- 2024-04-24 09:55:00,532 INFO 2024-04-24 09:55:00,532 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-cts-0 --container ds -- find /opt/opendj -name opendj-core.jar 2024-04-24 09:55:00,532 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-24 09:55:01,489 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:55:01,489 DEBUG --- stdout --- 2024-04-24 09:55:01,489 DEBUG /opt/opendj/lib/opendj-core.jar 2024-04-24 09:55:01,489 DEBUG --- stderr --- 2024-04-24 09:55:01,490 DEBUG 2024-04-24 09:55:01,490 INFO 2024-04-24 09:55:01,490 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp ds-cts-0:/opt/opendj/lib/opendj-core.jar /tmp/ds-cts_info/opendj-core.jar --container ds 2024-04-24 09:55:01,490 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 09:55:02,927 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:55:02,927 DEBUG --- stdout --- 2024-04-24 09:55:02,928 DEBUG tar: Removing leading `/' from member names 2024-04-24 09:55:02,928 DEBUG --- stderr --- 2024-04-24 09:55:02,928 DEBUG Version is 7.6.0.20240418130921-7e0436f7626375c00baee240ad259d6a2 Revision is 7e0436f7626375c00baee240ad259d6a2b07d5f4 ________________________________________________________________________________ [2024-04-24 09:55:02] Verification-ds-cts step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-24 09:55:02,940 INFO 2024-04-24 09:55:02,940 INFO ------------------ Check pod ds-cts-0 restart count ------------------ 2024-04-24 09:55:02,941 INFO 2024-04-24 09:55:02,941 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod ds-cts-0 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-24 09:55:02,941 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 09:55:03,342 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:55:03,342 DEBUG --- stdout --- 2024-04-24 09:55:03,343 DEBUG 0 2024-04-24 09:55:03,343 DEBUG --- stderr --- 2024-04-24 09:55:03,343 DEBUG 2024-04-24 09:55:03,343 INFO Pod ds-cts-0 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases 2024-04-24 09:55:03,343 INFO 2024-04-24 09:55:03,343 INFO ------------------ Check pod ds-cts-1 restart count ------------------ 2024-04-24 09:55:03,343 INFO 2024-04-24 09:55:03,343 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod ds-cts-1 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-24 09:55:03,343 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 09:55:03,745 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:55:03,745 DEBUG --- stdout --- 2024-04-24 09:55:03,745 DEBUG 0 2024-04-24 09:55:03,745 DEBUG --- stderr --- 2024-04-24 09:55:03,745 DEBUG 2024-04-24 09:55:03,745 INFO Pod ds-cts-1 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases 2024-04-24 09:55:03,746 INFO 2024-04-24 09:55:03,746 INFO ------------------ Check pod ds-cts-2 restart count ------------------ 2024-04-24 09:55:03,746 INFO 2024-04-24 09:55:03,746 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod ds-cts-2 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-24 09:55:03,746 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 09:55:04,152 INFO [loop_until]: OK (rc = 0) 2024-04-24 09:55:04,153 DEBUG --- stdout --- 2024-04-24 09:55:04,153 DEBUG 0 2024-04-24 09:55:04,153 DEBUG --- stderr --- 2024-04-24 09:55:04,153 DEBUG 2024-04-24 09:55:04,153 INFO Pod ds-cts-2 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases ________________________________________________________________________________ [2024-04-24 09:55:04] Verification-ds-cts post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped