--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-19 11:48:57] Verification-ds-idrepo pre : N/A ________________________________________________________________________________ [2024-04-19 11:48:57] - INFO: Timeout for this Task has changed to 14h (50400 seconds) [2024-04-19 11:48:57] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [2024-04-19 11:48:57] Verification-ds-idrepo step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-19 11:48:57,199 INFO 2024-04-19 11:48:57,199 INFO --------------------- Get expected number of pods --------------------- 2024-04-19 11:48:57,199 INFO 2024-04-19 11:48:57,199 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-19 11:48:57,199 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-19 11:48:58,224 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:48:58,224 DEBUG --- stdout --- 2024-04-19 11:48:58,225 DEBUG 3 2024-04-19 11:48:58,225 DEBUG --- stderr --- 2024-04-19 11:48:58,225 DEBUG 2024-04-19 11:48:58,225 INFO 2024-04-19 11:48:58,225 INFO -------------- Waiting for 3 expected pod(s) to be ready -------------- 2024-04-19 11:48:58,226 INFO 2024-04-19 11:48:58,226 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-19 11:48:58,226 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-19 11:48:59,122 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-19 11:48:59,123 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:48:59,123 DEBUG --- stdout --- 2024-04-19 11:48:59,123 DEBUG current:3 ready:3 replicas:3 2024-04-19 11:48:59,123 DEBUG --- stderr --- 2024-04-19 11:48:59,123 DEBUG ________________________________________________________________________________ [2024-04-19 11:48:59] Verification-ds-idrepo step2 : Discovering pods ________________________________________________________________________________ 2024-04-19 11:48:59,124 INFO 2024-04-19 11:48:59,124 INFO --------------------- Get expected number of pods --------------------- 2024-04-19 11:48:59,125 INFO 2024-04-19 11:48:59,145 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-19 11:48:59,146 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-19 11:48:59,992 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:48:59,992 DEBUG --- stdout --- 2024-04-19 11:48:59,992 DEBUG 3 2024-04-19 11:48:59,992 DEBUG --- stderr --- 2024-04-19 11:48:59,993 DEBUG 2024-04-19 11:48:59,993 INFO 2024-04-19 11:48:59,993 INFO ---------------------------- Get pod list ---------------------------- 2024-04-19 11:48:59,993 INFO 2024-04-19 11:48:59,993 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-19 11:48:59,993 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-19 11:49:00,861 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-19 11:49:00,861 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:49:00,862 DEBUG --- stdout --- 2024-04-19 11:49:00,862 DEBUG ds-idrepo-0 ds-idrepo-1 ds-idrepo-2 2024-04-19 11:49:00,862 DEBUG --- stderr --- 2024-04-19 11:49:00,862 DEBUG ________________________________________________________________________________ [2024-04-19 11:49:00] Verification-ds-idrepo step3 : Check component is alive ________________________________________________________________________________ 2024-04-19 11:49:00,864 INFO Livecheck to ds-idrepo-0 2024-04-19 11:49:00,864 INFO 2024-04-19 11:49:00,865 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-19 11:49:02,909 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-19 11:49:02,932 DEBUG --- stdout --- 2024-04-19 11:49:02,935 DEBUG dn: alive: true 2024-04-19 11:49:02,935 DEBUG --- stderr --- 2024-04-19 11:49:02,935 DEBUG 2024-04-19 11:49:02,935 INFO 2024-04-19 11:49:02,936 INFO Livecheck to ds-idrepo-1 2024-04-19 11:49:02,936 INFO 2024-04-19 11:49:02,936 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-19 11:49:05,252 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-19 11:49:05,252 DEBUG --- stdout --- 2024-04-19 11:49:05,252 DEBUG dn: alive: true 2024-04-19 11:49:05,252 DEBUG --- stderr --- 2024-04-19 11:49:05,252 DEBUG 2024-04-19 11:49:05,252 INFO 2024-04-19 11:49:05,253 INFO Livecheck to ds-idrepo-2 2024-04-19 11:49:05,253 INFO 2024-04-19 11:49:05,253 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-19 11:49:07,062 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2024-04-19 11:49:07,062 DEBUG --- stdout --- 2024-04-19 11:49:07,063 DEBUG dn: alive: true 2024-04-19 11:49:07,063 DEBUG --- stderr --- 2024-04-19 11:49:07,063 DEBUG 2024-04-19 11:49:07,063 INFO PASS : component ds-idrepo is alive ________________________________________________________________________________ [2024-04-19 11:49:07] Verification-ds-idrepo step4 : Record version ________________________________________________________________________________ 2024-04-19 11:49:07,063 INFO 2024-04-19 11:49:07,063 INFO ------------------- Get DS-IDREPO software version ------------------- 2024-04-19 11:49:07,064 INFO 2024-04-19 11:49:07,064 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-19 11:49:07,064 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-19 11:49:07,860 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:49:07,861 DEBUG --- stdout --- 2024-04-19 11:49:07,861 DEBUG /opt/opendj/lib/opendj-core.jar 2024-04-19 11:49:07,861 DEBUG --- stderr --- 2024-04-19 11:49:07,861 DEBUG 2024-04-19 11:49:07,861 INFO 2024-04-19 11:49:07,861 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-19 11:49:07,861 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-19 11:49:09,139 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:49:09,139 DEBUG --- stdout --- 2024-04-19 11:49:09,139 DEBUG tar: Removing leading `/' from member names 2024-04-19 11:49:09,139 DEBUG --- stderr --- 2024-04-19 11:49:09,139 DEBUG Version is 7.6.0.20240412143511-db97906b8eff882e42d79d5b86aca4356 Revision is db97906b8eff882e42d79d5b86aca43562470e8d ________________________________________________________________________________ [2024-04-19 11:49:09] Verification-ds-idrepo step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-19 11:49:09,148 INFO 2024-04-19 11:49:09,148 INFO ----------------- Check pod ds-idrepo-0 restart count ----------------- 2024-04-19 11:49:09,148 INFO 2024-04-19 11:49:09,149 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-19 11:49:09,149 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-19 11:49:09,524 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:49:09,524 DEBUG --- stdout --- 2024-04-19 11:49:09,524 DEBUG 0 2024-04-19 11:49:09,524 DEBUG --- stderr --- 2024-04-19 11:49:09,524 DEBUG 2024-04-19 11:49:09,524 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-19 11:49:09,524 INFO 2024-04-19 11:49:09,524 INFO ----------------- Check pod ds-idrepo-1 restart count ----------------- 2024-04-19 11:49:09,525 INFO 2024-04-19 11:49:09,525 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-19 11:49:09,525 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-19 11:49:09,913 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:49:09,913 DEBUG --- stdout --- 2024-04-19 11:49:09,914 DEBUG 0 2024-04-19 11:49:09,914 DEBUG --- stderr --- 2024-04-19 11:49:09,914 DEBUG 2024-04-19 11:49:09,914 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-19 11:49:09,914 INFO 2024-04-19 11:49:09,914 INFO ----------------- Check pod ds-idrepo-2 restart count ----------------- 2024-04-19 11:49:09,914 INFO 2024-04-19 11:49:09,914 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-19 11:49:09,914 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-19 11:49:10,301 INFO [loop_until]: OK (rc = 0) 2024-04-19 11:49:10,302 DEBUG --- stdout --- 2024-04-19 11:49:10,302 DEBUG 0 2024-04-19 11:49:10,302 DEBUG --- stderr --- 2024-04-19 11:49:10,302 DEBUG 2024-04-19 11:49:10,302 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-19 11:49:10] Verification-ds-idrepo post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped