--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-13 02:24:15] Verification-admin-ui pre : N/A ________________________________________________________________________________ [2024-04-13 02:24:15] - INFO: Timeout for this Task has changed to 12h (43200 seconds) [2024-04-13 02:24:15] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [2024-04-13 02:24:15] Verification-admin-ui step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-13 02:24:15,347 INFO 2024-04-13 02:24:15,347 INFO --------------------- Get expected number of pods --------------------- 2024-04-13 02:24:15,347 INFO 2024-04-13 02:24:15,348 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-13 02:24:15,348 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-13 02:24:16,442 INFO [loop_until]: OK (rc = 0) 2024-04-13 02:24:16,442 DEBUG --- stdout --- 2024-04-13 02:24:16,471 DEBUG 1 2024-04-13 02:24:16,471 DEBUG --- stderr --- 2024-04-13 02:24:16,472 DEBUG 2024-04-13 02:24:16,494 INFO 2024-04-13 02:24:16,496 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-13 02:24:16,497 INFO 2024-04-13 02:24:16,497 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-13 02:24:16,497 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-13 02:24:17,481 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-13 02:24:17,482 INFO [loop_until]: OK (rc = 0) 2024-04-13 02:24:17,490 DEBUG --- stdout --- 2024-04-13 02:24:17,490 DEBUG ready:1 replicas:1 2024-04-13 02:24:17,490 DEBUG --- stderr --- 2024-04-13 02:24:17,491 DEBUG ________________________________________________________________________________ [2024-04-13 02:24:17] Verification-admin-ui step2 : Discovering pods ________________________________________________________________________________ 2024-04-13 02:24:17,492 INFO 2024-04-13 02:24:17,492 INFO --------------------- Get expected number of pods --------------------- 2024-04-13 02:24:17,492 INFO 2024-04-13 02:24:17,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-13 02:24:17,493 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-13 02:24:18,422 INFO [loop_until]: OK (rc = 0) 2024-04-13 02:24:18,422 DEBUG --- stdout --- 2024-04-13 02:24:18,422 DEBUG 1 2024-04-13 02:24:18,422 DEBUG --- stderr --- 2024-04-13 02:24:18,422 DEBUG 2024-04-13 02:24:18,422 INFO 2024-04-13 02:24:18,422 INFO ---------------------------- Get pod list ---------------------------- 2024-04-13 02:24:18,423 INFO 2024-04-13 02:24:18,423 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-13 02:24:18,423 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-13 02:24:18,827 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-13 02:24:18,828 INFO [loop_until]: OK (rc = 0) 2024-04-13 02:24:18,828 DEBUG --- stdout --- 2024-04-13 02:24:18,828 DEBUG admin-ui-c4c7bf584-vlxw7 2024-04-13 02:24:18,828 DEBUG --- stderr --- 2024-04-13 02:24:18,828 DEBUG ________________________________________________________________________________ [2024-04-13 02:24:18] Verification-admin-ui step3 : Check component is alive ________________________________________________________________________________ 2024-04-13 02:24:18,829 INFO Livecheck to https://xlou.iam.xlou-cdm.engineeringpit.com/platform 2024-04-13 02:24:18,843 INFO [http_cmd]: curl -L --request GET "https://xlou.iam.xlou-cdm.engineeringpit.com/platform" 2024-04-13 02:24:19,191 INFO [http_cmd]: http status code OK 2024-04-13 02:24:19,191 DEBUG --- status code --- 2024-04-13 02:24:19,191 DEBUG http status code is 200 (expected 200) 2024-04-13 02:24:19,191 DEBUG --- http response --- 2024-04-13 02:24:19,191 DEBUG Platform Admin
[] PASS : component admin-ui is alive ________________________________________________________________________________ [2024-04-13 02:24:19] Verification-admin-ui step4 : Record version ________________________________________________________________________________ 2024-04-13 02:24:19,194 INFO 2024-04-13 02:24:19,195 INFO -------------------- Get ADMIN-UI software version -------------------- 2024-04-13 02:24:19,195 INFO 2024-04-13 02:24:19,195 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec admin-ui-c4c7bf584-vlxw7 --container admin-ui -- find /usr/share/nginx/html -name chunk-vendors.*.js 2024-04-13 02:24:19,195 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-13 02:24:20,015 INFO [loop_until]: OK (rc = 0) 2024-04-13 02:24:20,015 DEBUG --- stdout --- 2024-04-13 02:24:20,015 DEBUG /usr/share/nginx/html/js/chunk-vendors.b3d879ac.js 2024-04-13 02:24:20,016 DEBUG --- stderr --- 2024-04-13 02:24:20,016 DEBUG 2024-04-13 02:24:20,016 INFO 2024-04-13 02:24:20,016 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp admin-ui-c4c7bf584-vlxw7:/usr/share/nginx/html/js/chunk-vendors.b3d879ac.js /tmp/admin-ui_info/chunk-vendors.b3d879ac.js --container admin-ui 2024-04-13 02:24:20,016 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-13 02:24:21,263 INFO [loop_until]: OK (rc = 0) 2024-04-13 02:24:21,263 DEBUG --- stdout --- 2024-04-13 02:24:21,264 DEBUG tar: Removing leading `/' from member names 2024-04-13 02:24:21,264 DEBUG --- stderr --- 2024-04-13 02:24:21,264 DEBUG Version is not_implemented Revision is e28d3cbe ________________________________________________________________________________ [2024-04-13 02:24:21] Verification-admin-ui step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-13 02:24:21,437 INFO 2024-04-13 02:24:21,438 INFO ---------- Check pod admin-ui-c4c7bf584-vlxw7 restart count ---------- 2024-04-13 02:24:21,438 INFO 2024-04-13 02:24:21,438 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod admin-ui-c4c7bf584-vlxw7 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-13 02:24:21,438 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-13 02:24:21,818 INFO [loop_until]: OK (rc = 0) 2024-04-13 02:24:21,819 DEBUG --- stdout --- 2024-04-13 02:24:21,819 DEBUG 0 2024-04-13 02:24:21,819 DEBUG --- stderr --- 2024-04-13 02:24:21,819 DEBUG 2024-04-13 02:24:21,819 INFO Pod admin-ui-c4c7bf584-vlxw7 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases ________________________________________________________________________________ [2024-04-13 02:24:21] Verification-admin-ui post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped