--Task-- name: Verification-admin-ui enabled: True class_name: VerificationTask source_name: admin-ui source_namespace: >default< target_name: admin-ui 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-admin-ui 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-admin-ui step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-10 05:48:40,379 INFO 2024-04-10 05:48:40,379 INFO --------------------- Get expected number of pods --------------------- 2024-04-10 05:48:40,380 INFO 2024-04-10 05:48:40,380 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app.kubernetes.io/name=admin-ui --output jsonpath={.items[*].spec.replicas} 2024-04-10 05:48:40,380 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:41,560 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:41,561 DEBUG --- stdout --- 2024-04-10 05:48:41,561 DEBUG 1 2024-04-10 05:48:41,561 DEBUG --- stderr --- 2024-04-10 05:48:41,561 DEBUG 2024-04-10 05:48:41,562 INFO 2024-04-10 05:48:41,562 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-10 05:48:41,569 INFO 2024-04-10 05:48:41,569 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments admin-ui --output jsonpath="ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "ready:1 replicas:1" 2024-04-10 05:48:41,569 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-10 05:48:42,491 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-10 05:48:42,491 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:42,491 DEBUG --- stdout --- 2024-04-10 05:48:42,491 DEBUG ready:1 replicas:1 2024-04-10 05:48:42,491 DEBUG --- stderr --- 2024-04-10 05:48:42,491 DEBUG ________________________________________________________________________________ [2024-04-10 05:48:42] Verification-admin-ui step2 : Discovering pods ________________________________________________________________________________ 2024-04-10 05:48:42,492 INFO 2024-04-10 05:48:42,492 INFO --------------------- Get expected number of pods --------------------- 2024-04-10 05:48:42,493 INFO 2024-04-10 05:48:42,493 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app.kubernetes.io/name=admin-ui --output jsonpath={.items[*].spec.replicas} 2024-04-10 05:48:42,493 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:43,266 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:43,267 DEBUG --- stdout --- 2024-04-10 05:48:43,267 DEBUG 1 2024-04-10 05:48:43,267 DEBUG --- stderr --- 2024-04-10 05:48:43,267 DEBUG 2024-04-10 05:48:43,268 INFO 2024-04-10 05:48:43,268 INFO ---------------------------- Get pod list ---------------------------- 2024-04-10 05:48:43,268 INFO 2024-04-10 05:48:43,268 INFO [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods --selector app.kubernetes.io/name=admin-ui --output jsonpath={.items[*].metadata.name}` | grep 1 2024-04-10 05:48:43,268 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-10 05:48:44,154 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-10 05:48:44,155 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:44,155 DEBUG --- stdout --- 2024-04-10 05:48:44,155 DEBUG admin-ui-7cf664f88d-pnt57 2024-04-10 05:48:44,155 DEBUG --- stderr --- 2024-04-10 05:48:44,155 DEBUG ________________________________________________________________________________ [2024-04-10 05:48:44] Verification-admin-ui step3 : Check component is alive ________________________________________________________________________________ 2024-04-10 05:48:44,157 INFO Livecheck to https://xlou.iam.xlou-cdm.engineeringpit.com/platform 2024-04-10 05:48:44,160 INFO [http_cmd]: curl -L --request GET "https://xlou.iam.xlou-cdm.engineeringpit.com/platform" 2024-04-10 05:48:44,511 INFO [http_cmd]: http status code OK 2024-04-10 05:48:44,511 DEBUG --- status code --- 2024-04-10 05:48:44,511 DEBUG http status code is 200 (expected 200) 2024-04-10 05:48:44,511 DEBUG --- http response --- 2024-04-10 05:48:44,512 DEBUG Platform Admin
[] PASS : component admin-ui is alive ________________________________________________________________________________ [2024-04-10 05:48:44] Verification-admin-ui step4 : Record version ________________________________________________________________________________ 2024-04-10 05:48:44,514 INFO 2024-04-10 05:48:44,514 INFO -------------------- Get ADMIN-UI software version -------------------- 2024-04-10 05:48:44,515 INFO 2024-04-10 05:48:44,515 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec admin-ui-7cf664f88d-pnt57 --container admin-ui -- find /usr/share/nginx/html -name chunk-vendors.*.js 2024-04-10 05:48:44,515 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-10 05:48:45,364 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:45,365 DEBUG --- stdout --- 2024-04-10 05:48:45,365 DEBUG /usr/share/nginx/html/js/chunk-vendors.66372e8c.js 2024-04-10 05:48:45,365 DEBUG --- stderr --- 2024-04-10 05:48:45,365 DEBUG 2024-04-10 05:48:45,365 INFO 2024-04-10 05:48:45,365 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp admin-ui-7cf664f88d-pnt57:/usr/share/nginx/html/js/chunk-vendors.66372e8c.js /tmp/admin-ui_info/chunk-vendors.66372e8c.js --container admin-ui 2024-04-10 05:48:45,365 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:46,719 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:46,719 DEBUG --- stdout --- 2024-04-10 05:48:46,719 DEBUG tar: Removing leading `/' from member names 2024-04-10 05:48:46,719 DEBUG --- stderr --- 2024-04-10 05:48:46,719 DEBUG Version is not_implemented Revision is 7f0cffe7 ________________________________________________________________________________ [2024-04-10 05:48:46] Verification-admin-ui step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-10 05:48:46,908 INFO 2024-04-10 05:48:46,908 INFO ---------- Check pod admin-ui-7cf664f88d-pnt57 restart count ---------- 2024-04-10 05:48:46,908 INFO 2024-04-10 05:48:46,908 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod admin-ui-7cf664f88d-pnt57 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-10 05:48:46,908 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:47,343 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:47,343 DEBUG --- stdout --- 2024-04-10 05:48:47,344 DEBUG 0 2024-04-10 05:48:47,344 DEBUG --- stderr --- 2024-04-10 05:48:47,344 DEBUG 2024-04-10 05:48:47,344 INFO Pod admin-ui-7cf664f88d-pnt57 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases ________________________________________________________________________________ [2024-04-10 05:48:47] Verification-admin-ui post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped