--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-25 17:42:22] Verification-ds-idrepo pre : N/A ________________________________________________________________________________ [2024-04-25 17:42:22] - INFO: Timeout for this Task has changed to 5m (300 seconds) [2024-04-25 17:42:22] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [2024-04-25 17:42:22] Verification-ds-idrepo step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-25 17:42:22,010 INFO 2024-04-25 17:42:22,010 INFO --------------------- Get expected number of pods --------------------- 2024-04-25 17:42:22,010 INFO 2024-04-25 17:42:22,010 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-25 17:42:22,010 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-25 17:42:22,902 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:22,902 DEBUG --- stdout --- 2024-04-25 17:42:22,902 DEBUG 3 2024-04-25 17:42:22,902 DEBUG --- stderr --- 2024-04-25 17:42:22,902 DEBUG 2024-04-25 17:42:22,902 INFO 2024-04-25 17:42:22,902 INFO -------------- Waiting for 3 expected pod(s) to be ready -------------- 2024-04-25 17:42:22,903 INFO 2024-04-25 17:42:22,903 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-25 17:42:22,903 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-25 17:42:23,452 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-25 17:42:23,453 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:23,453 DEBUG --- stdout --- 2024-04-25 17:42:23,453 DEBUG current:3 ready:3 replicas:3 2024-04-25 17:42:23,453 DEBUG --- stderr --- 2024-04-25 17:42:23,453 DEBUG ________________________________________________________________________________ [2024-04-25 17:42:23] Verification-ds-idrepo step2 : Discovering pods ________________________________________________________________________________ 2024-04-25 17:42:23,454 INFO 2024-04-25 17:42:23,454 INFO --------------------- Get expected number of pods --------------------- 2024-04-25 17:42:23,454 INFO 2024-04-25 17:42:23,454 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-25 17:42:23,454 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-25 17:42:24,257 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:24,257 DEBUG --- stdout --- 2024-04-25 17:42:24,257 DEBUG 3 2024-04-25 17:42:24,257 DEBUG --- stderr --- 2024-04-25 17:42:24,257 DEBUG 2024-04-25 17:42:24,258 INFO 2024-04-25 17:42:24,258 INFO ---------------------------- Get pod list ---------------------------- 2024-04-25 17:42:24,259 INFO 2024-04-25 17:42:24,259 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-25 17:42:24,259 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-25 17:42:25,314 INFO [loop_until]: Function succeeded after 1s (rc=0) - expected number of elements found 2024-04-25 17:42:25,327 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:25,327 DEBUG --- stdout --- 2024-04-25 17:42:25,327 DEBUG ds-idrepo-0 ds-idrepo-1 ds-idrepo-2 2024-04-25 17:42:25,327 DEBUG --- stderr --- 2024-04-25 17:42:25,327 DEBUG ________________________________________________________________________________ [2024-04-25 17:42:25] Verification-ds-idrepo step3 : Check component is alive ________________________________________________________________________________ 2024-04-25 17:42:25,328 INFO Livecheck to ds-idrepo-0 2024-04-25 17:42:25,328 INFO 2024-04-25 17:42:25,329 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-25 17:42:27,267 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-25 17:42:27,267 DEBUG --- stdout --- 2024-04-25 17:42:27,267 DEBUG dn: alive: true 2024-04-25 17:42:27,267 DEBUG --- stderr --- 2024-04-25 17:42:27,267 DEBUG 2024-04-25 17:42:27,267 INFO 2024-04-25 17:42:27,267 INFO Livecheck to ds-idrepo-1 2024-04-25 17:42:27,268 INFO 2024-04-25 17:42:27,268 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-25 17:42:29,210 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-25 17:42:29,210 DEBUG --- stdout --- 2024-04-25 17:42:29,210 DEBUG dn: alive: true 2024-04-25 17:42:29,210 DEBUG --- stderr --- 2024-04-25 17:42:29,210 DEBUG 2024-04-25 17:42:29,210 INFO 2024-04-25 17:42:29,210 INFO Livecheck to ds-idrepo-2 2024-04-25 17:42:29,210 INFO 2024-04-25 17:42:29,211 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-25 17:42:30,972 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-25 17:42:30,972 DEBUG --- stdout --- 2024-04-25 17:42:30,972 DEBUG dn: alive: true 2024-04-25 17:42:30,972 DEBUG --- stderr --- 2024-04-25 17:42:30,972 DEBUG 2024-04-25 17:42:30,972 INFO PASS : component ds-idrepo is alive ________________________________________________________________________________ [2024-04-25 17:42:30] Verification-ds-idrepo step4 : Record version ________________________________________________________________________________ 2024-04-25 17:42:30,973 INFO 2024-04-25 17:42:30,973 INFO ------------------- Get DS-IDREPO software version ------------------- 2024-04-25 17:42:30,974 INFO 2024-04-25 17:42:30,974 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-25 17:42:30,975 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-25 17:42:31,817 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:31,818 DEBUG --- stdout --- 2024-04-25 17:42:31,818 DEBUG /opt/opendj/lib/opendj-core.jar 2024-04-25 17:42:31,818 DEBUG --- stderr --- 2024-04-25 17:42:31,818 DEBUG 2024-04-25 17:42:31,818 INFO 2024-04-25 17:42:31,818 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-25 17:42:31,818 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-25 17:42:33,082 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:33,082 DEBUG --- stdout --- 2024-04-25 17:42:33,082 DEBUG tar: Removing leading `/' from member names 2024-04-25 17:42:33,082 DEBUG --- stderr --- 2024-04-25 17:42:33,082 DEBUG Version is 7.6.0.20240418130921-7e0436f7626375c00baee240ad259d6a2 Revision is 7e0436f7626375c00baee240ad259d6a2b07d5f4 ________________________________________________________________________________ [2024-04-25 17:42:33] Verification-ds-idrepo step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-25 17:42:33,091 INFO 2024-04-25 17:42:33,091 INFO ----------------- Check pod ds-idrepo-0 restart count ----------------- 2024-04-25 17:42:33,091 INFO 2024-04-25 17:42:33,091 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-25 17:42:33,091 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-25 17:42:33,461 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:33,462 DEBUG --- stdout --- 2024-04-25 17:42:33,462 DEBUG 0 2024-04-25 17:42:33,462 DEBUG --- stderr --- 2024-04-25 17:42:33,462 DEBUG 2024-04-25 17:42:33,462 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-25 17:42:33,462 INFO 2024-04-25 17:42:33,462 INFO ----------------- Check pod ds-idrepo-1 restart count ----------------- 2024-04-25 17:42:33,462 INFO 2024-04-25 17:42:33,462 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-25 17:42:33,462 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-25 17:42:33,823 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:33,823 DEBUG --- stdout --- 2024-04-25 17:42:33,823 DEBUG 0 2024-04-25 17:42:33,823 DEBUG --- stderr --- 2024-04-25 17:42:33,823 DEBUG 2024-04-25 17:42:33,823 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-25 17:42:33,823 INFO 2024-04-25 17:42:33,823 INFO ----------------- Check pod ds-idrepo-2 restart count ----------------- 2024-04-25 17:42:33,824 INFO 2024-04-25 17:42:33,824 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-25 17:42:33,824 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-25 17:42:34,190 INFO [loop_until]: OK (rc = 0) 2024-04-25 17:42:34,191 DEBUG --- stdout --- 2024-04-25 17:42:34,191 DEBUG 0 2024-04-25 17:42:34,191 DEBUG --- stderr --- 2024-04-25 17:42:34,191 DEBUG 2024-04-25 17:42:34,191 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-25 17:42:34] Verification-ds-idrepo post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped