--Task-- name: Verification-login-ui enabled: True class_name: VerificationTask source_name: login-ui source_namespace: >default< target_name: login-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-login-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-login-ui step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-10 05:48:40,323 INFO 2024-04-10 05:48:40,372 INFO --------------------- Get expected number of pods --------------------- 2024-04-10 05:48:40,374 INFO 2024-04-10 05:48:40,374 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app.kubernetes.io/name=login-ui --output jsonpath={.items[*].spec.replicas} 2024-04-10 05:48:40,378 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:41,652 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:41,652 DEBUG --- stdout --- 2024-04-10 05:48:41,653 DEBUG 1 2024-04-10 05:48:41,653 DEBUG --- stderr --- 2024-04-10 05:48:41,653 DEBUG 2024-04-10 05:48:41,653 INFO 2024-04-10 05:48:41,653 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-10 05:48:41,653 INFO 2024-04-10 05:48:41,653 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments login-ui --output jsonpath="ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "ready:1 replicas:1" 2024-04-10 05:48:41,653 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-10 05:48:42,597 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-10 05:48:42,597 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:42,597 DEBUG --- stdout --- 2024-04-10 05:48:42,598 DEBUG ready:1 replicas:1 2024-04-10 05:48:42,598 DEBUG --- stderr --- 2024-04-10 05:48:42,598 DEBUG ________________________________________________________________________________ [2024-04-10 05:48:42] Verification-login-ui step2 : Discovering pods ________________________________________________________________________________ 2024-04-10 05:48:42,599 INFO 2024-04-10 05:48:42,600 INFO --------------------- Get expected number of pods --------------------- 2024-04-10 05:48:42,600 INFO 2024-04-10 05:48:42,600 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app.kubernetes.io/name=login-ui --output jsonpath={.items[*].spec.replicas} 2024-04-10 05:48:42,600 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:43,520 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:43,521 DEBUG --- stdout --- 2024-04-10 05:48:43,521 DEBUG 1 2024-04-10 05:48:43,521 DEBUG --- stderr --- 2024-04-10 05:48:43,521 DEBUG 2024-04-10 05:48:43,522 INFO 2024-04-10 05:48:43,522 INFO ---------------------------- Get pod list ---------------------------- 2024-04-10 05:48:43,523 INFO 2024-04-10 05:48:43,523 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=login-ui --output jsonpath={.items[*].metadata.name}` | grep 1 2024-04-10 05:48:43,523 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-10 05:48:44,279 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-10 05:48:44,279 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:44,279 DEBUG --- stdout --- 2024-04-10 05:48:44,279 DEBUG login-ui-5f964fb894-5zpvq 2024-04-10 05:48:44,279 DEBUG --- stderr --- 2024-04-10 05:48:44,280 DEBUG ________________________________________________________________________________ [2024-04-10 05:48:44] Verification-login-ui step3 : Check component is alive ________________________________________________________________________________ 2024-04-10 05:48:44,280 INFO Livecheck to https://xlou.iam.xlou-cdm.engineeringpit.com/am/XUI 2024-04-10 05:48:44,280 INFO [http_cmd]: curl -L --request GET "https://xlou.iam.xlou-cdm.engineeringpit.com/am/XUI" 2024-04-10 05:48:44,625 INFO [http_cmd]: http status code OK 2024-04-10 05:48:44,625 DEBUG --- status code --- 2024-04-10 05:48:44,625 DEBUG http status code is 200 (expected 200) 2024-04-10 05:48:44,625 DEBUG --- http response --- 2024-04-10 05:48:44,625 DEBUG Login
[] PASS : component login-ui is alive ________________________________________________________________________________ [2024-04-10 05:48:44] Verification-login-ui step4 : Record version ________________________________________________________________________________ 2024-04-10 05:48:44,630 INFO 2024-04-10 05:48:44,631 INFO -------------------- Get LOGIN-UI software version -------------------- 2024-04-10 05:48:44,631 INFO 2024-04-10 05:48:44,631 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec login-ui-5f964fb894-5zpvq --container login-ui -- find /usr/share/nginx/html -name chunk-vendors.*.js 2024-04-10 05:48:44,631 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-10 05:48:45,507 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:45,507 DEBUG --- stdout --- 2024-04-10 05:48:45,507 DEBUG /usr/share/nginx/html/js/chunk-vendors.4b29eede.js 2024-04-10 05:48:45,507 DEBUG --- stderr --- 2024-04-10 05:48:45,507 DEBUG 2024-04-10 05:48:45,508 INFO 2024-04-10 05:48:45,508 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp login-ui-5f964fb894-5zpvq:/usr/share/nginx/html/js/chunk-vendors.4b29eede.js /tmp/login-ui_info/chunk-vendors.4b29eede.js --container login-ui 2024-04-10 05:48:45,508 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:46,709 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:46,710 DEBUG --- stdout --- 2024-04-10 05:48:46,710 DEBUG tar: Removing leading `/' from member names 2024-04-10 05:48:46,710 DEBUG --- stderr --- 2024-04-10 05:48:46,710 DEBUG Version is not_implemented Revision is 7f0cffe7 ________________________________________________________________________________ [2024-04-10 05:48:46] Verification-login-ui step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-10 05:48:46,951 INFO 2024-04-10 05:48:46,952 INFO ---------- Check pod login-ui-5f964fb894-5zpvq restart count ---------- 2024-04-10 05:48:46,952 INFO 2024-04-10 05:48:46,952 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod login-ui-5f964fb894-5zpvq --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-10 05:48:46,952 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-10 05:48:47,399 INFO [loop_until]: OK (rc = 0) 2024-04-10 05:48:47,399 DEBUG --- stdout --- 2024-04-10 05:48:47,400 DEBUG 0 2024-04-10 05:48:47,400 DEBUG --- stderr --- 2024-04-10 05:48:47,400 DEBUG 2024-04-10 05:48:47,400 INFO Pod login-ui-5f964fb894-5zpvq 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-login-ui post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped