--Task-- name: Verification-ds-idrepo enabled: True class_name: VerificationTask source_name: ds-idrepo source_namespace: >default< target_name: ds-idrepo 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-10 05:48:40] Verification-ds-idrepo pre : N/A ________________________________________________________________________________ [2024-04-10 05:48:40] - INFO: Timeout for this Task has changed to 14h (50400 seconds) [2024-04-10 05:48:40] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [2024-04-10 05:48:40] Verification-ds-idrepo step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-10 05:48:40,227 INFO 2024-04-10 05:48:40,227 INFO --------------------- Get expected number of pods --------------------- 2024-04-10 05:48:40,232 INFO 2024-04-10 05:48:40,233 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get statefulsets --selector app=ds-idrepo --output jsonpath={.items[*].spec.replicas} 2024-04-10 05:48:40,233 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:41,319 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:41,319 DEBUG --- stdout --- 2024-04-10 05:48:41,319 DEBUG 3 2024-04-10 05:48:41,319 DEBUG --- stderr --- 2024-04-10 05:48:41,319 DEBUG 2024-04-10 05:48:41,319 INFO 2024-04-10 05:48:41,319 INFO -------------- Waiting for 3 expected pod(s) to be ready -------------- 2024-04-10 05:48:41,320 INFO 2024-04-10 05:48:41,320 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get statefulsets ds-idrepo --output jsonpath="current:{.status.currentReplicas} ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "current:3 ready:3 replicas:3" 2024-04-10 05:48:41,320 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-10 05:48:41,962 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-10 05:48:41,962 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:41,962 DEBUG --- stdout --- 2024-04-10 05:48:41,962 DEBUG current:3 ready:3 replicas:3 2024-04-10 05:48:41,962 DEBUG --- stderr --- 2024-04-10 05:48:41,962 DEBUG ________________________________________________________________________________ [2024-04-10 05:48:41] Verification-ds-idrepo step2 : Discovering pods ________________________________________________________________________________ 2024-04-10 05:48:41,963 INFO 2024-04-10 05:48:41,963 INFO --------------------- Get expected number of pods --------------------- 2024-04-10 05:48:41,964 INFO 2024-04-10 05:48:41,964 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get statefulsets --selector app=ds-idrepo --output jsonpath={.items[*].spec.replicas} 2024-04-10 05:48:41,964 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:42,804 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:42,804 DEBUG --- stdout --- 2024-04-10 05:48:42,805 DEBUG 3 2024-04-10 05:48:42,805 DEBUG --- stderr --- 2024-04-10 05:48:42,805 DEBUG 2024-04-10 05:48:42,805 INFO 2024-04-10 05:48:42,805 INFO ---------------------------- Get pod list ---------------------------- 2024-04-10 05:48:42,806 INFO 2024-04-10 05:48:42,806 INFO [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods --selector app=ds-idrepo --output jsonpath={.items[*].metadata.name}` | grep 3 2024-04-10 05:48:42,806 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-10 05:48:43,864 INFO [loop_until]: Function succeeded after 1s (rc=0) - expected number of elements found 2024-04-10 05:48:43,865 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:43,865 DEBUG --- stdout --- 2024-04-10 05:48:43,865 DEBUG ds-idrepo-0 ds-idrepo-1 ds-idrepo-2 2024-04-10 05:48:43,865 DEBUG --- stderr --- 2024-04-10 05:48:43,865 DEBUG ________________________________________________________________________________ [2024-04-10 05:48:43] Verification-ds-idrepo step3 : Check component is alive ________________________________________________________________________________ 2024-04-10 05:48:43,866 INFO Livecheck to ds-idrepo-0 2024-04-10 05:48:43,867 INFO 2024-04-10 05:48:43,867 INFO [run_command]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-idrepo-0 --container ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword **** --baseDn "" --searchScope base "(&)" alive 2024-04-10 05:48:46,041 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-10 05:48:46,041 DEBUG --- stdout --- 2024-04-10 05:48:46,041 DEBUG dn: alive: true 2024-04-10 05:48:46,041 DEBUG --- stderr --- 2024-04-10 05:48:46,041 DEBUG 2024-04-10 05:48:46,041 INFO 2024-04-10 05:48:46,041 INFO Livecheck to ds-idrepo-1 2024-04-10 05:48:46,041 INFO 2024-04-10 05:48:46,042 INFO [run_command]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-idrepo-1 --container ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword **** --baseDn "" --searchScope base "(&)" alive 2024-04-10 05:48:47,889 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-10 05:48:47,890 DEBUG --- stdout --- 2024-04-10 05:48:47,890 DEBUG dn: alive: true 2024-04-10 05:48:47,890 DEBUG --- stderr --- 2024-04-10 05:48:47,890 DEBUG 2024-04-10 05:48:47,890 INFO 2024-04-10 05:48:47,890 INFO Livecheck to ds-idrepo-2 2024-04-10 05:48:47,891 INFO 2024-04-10 05:48:47,891 INFO [run_command]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-idrepo-2 --container ds -- ldapsearch --noPropertiesFile --port 1389 --useStartTls --trustAll --bindDn "uid=admin" --bindPassword **** --baseDn "" --searchScope base "(&)" alive 2024-04-10 05:48:49,751 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-10 05:48:49,752 DEBUG --- stdout --- 2024-04-10 05:48:49,752 DEBUG dn: alive: true 2024-04-10 05:48:49,752 DEBUG --- stderr --- 2024-04-10 05:48:49,752 DEBUG 2024-04-10 05:48:49,752 INFO PASS : component ds-idrepo is alive ________________________________________________________________________________ [2024-04-10 05:48:49] Verification-ds-idrepo step4 : Record version ________________________________________________________________________________ 2024-04-10 05:48:49,753 INFO 2024-04-10 05:48:49,753 INFO ------------------- Get DS-IDREPO software version ------------------- 2024-04-10 05:48:49,753 INFO 2024-04-10 05:48:49,753 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec ds-idrepo-0 --container ds -- find /opt/opendj -name opendj-core.jar 2024-04-10 05:48:49,753 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-10 05:48:50,607 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:50,607 DEBUG --- stdout --- 2024-04-10 05:48:50,607 DEBUG /opt/opendj/lib/opendj-core.jar 2024-04-10 05:48:50,607 DEBUG --- stderr --- 2024-04-10 05:48:50,607 DEBUG 2024-04-10 05:48:50,608 INFO 2024-04-10 05:48:50,608 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp ds-idrepo-0:/opt/opendj/lib/opendj-core.jar /tmp/ds-idrepo_info/opendj-core.jar --container ds 2024-04-10 05:48:50,608 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:51,894 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:51,894 DEBUG --- stdout --- 2024-04-10 05:48:51,894 DEBUG tar: Removing leading `/' from member names 2024-04-10 05:48:51,894 DEBUG --- stderr --- 2024-04-10 05:48:51,894 DEBUG Version is 7.6.0.20240405153841-d49ad6a5879fab3530729d8773297783d Revision is d49ad6a5879fab3530729d8773297783d042f903 ________________________________________________________________________________ [2024-04-10 05:48:51] Verification-ds-idrepo step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-10 05:48:51,905 INFO 2024-04-10 05:48:51,905 INFO ----------------- Check pod ds-idrepo-0 restart count ----------------- 2024-04-10 05:48:51,905 INFO 2024-04-10 05:48:51,905 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod ds-idrepo-0 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-10 05:48:51,905 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:52,287 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:52,288 DEBUG --- stdout --- 2024-04-10 05:48:52,288 DEBUG 0 2024-04-10 05:48:52,288 DEBUG --- stderr --- 2024-04-10 05:48:52,288 DEBUG 2024-04-10 05:48:52,288 INFO Pod ds-idrepo-0 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases 2024-04-10 05:48:52,288 INFO 2024-04-10 05:48:52,289 INFO ----------------- Check pod ds-idrepo-1 restart count ----------------- 2024-04-10 05:48:52,289 INFO 2024-04-10 05:48:52,289 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod ds-idrepo-1 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-10 05:48:52,289 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:52,743 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:52,743 DEBUG --- stdout --- 2024-04-10 05:48:52,744 DEBUG 0 2024-04-10 05:48:52,744 DEBUG --- stderr --- 2024-04-10 05:48:52,744 DEBUG 2024-04-10 05:48:52,744 INFO Pod ds-idrepo-1 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases 2024-04-10 05:48:52,744 INFO 2024-04-10 05:48:52,745 INFO ----------------- Check pod ds-idrepo-2 restart count ----------------- 2024-04-10 05:48:52,745 INFO 2024-04-10 05:48:52,745 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod ds-idrepo-2 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-10 05:48:52,745 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:53,233 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:53,233 DEBUG --- stdout --- 2024-04-10 05:48:53,233 DEBUG 0 2024-04-10 05:48:53,233 DEBUG --- stderr --- 2024-04-10 05:48:53,234 DEBUG 2024-04-10 05:48:53,234 INFO Pod ds-idrepo-2 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases ________________________________________________________________________________ [2024-04-10 05:48:53] Verification-ds-idrepo post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped