--Task-- name: Verification-end-user-ui enabled: True class_name: VerificationTask source_name: end-user-ui source_namespace: >default< target_name: end-user-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-15 22:46:48] Verification-end-user-ui pre : N/A ________________________________________________________________________________ [2024-04-15 22:46:48] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [2024-04-15 22:46:48] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [2024-04-15 22:46:48] Verification-end-user-ui step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ 2024-04-15 22:46:48,654 INFO 2024-04-15 22:46:48,654 INFO --------------------- Get expected number of pods --------------------- 2024-04-15 22:46:48,655 INFO 2024-04-15 22:46:48,655 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app.kubernetes.io/name=end-user-ui --output jsonpath={.items[*].spec.replicas} 2024-04-15 22:46:48,655 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-15 22:46:49,655 INFO [loop_until]: OK (rc = 0) 2024-04-15 22:46:49,656 DEBUG --- stdout --- 2024-04-15 22:46:49,656 DEBUG 1 2024-04-15 22:46:49,656 DEBUG --- stderr --- 2024-04-15 22:46:49,657 DEBUG 2024-04-15 22:46:49,657 INFO 2024-04-15 22:46:49,657 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-15 22:46:49,658 INFO 2024-04-15 22:46:49,658 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments end-user-ui --output jsonpath="ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "ready:1 replicas:1" 2024-04-15 22:46:49,658 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-15 22:46:50,594 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-15 22:46:50,594 INFO [loop_until]: OK (rc = 0) 2024-04-15 22:46:50,594 DEBUG --- stdout --- 2024-04-15 22:46:50,595 DEBUG ready:1 replicas:1 2024-04-15 22:46:50,595 DEBUG --- stderr --- 2024-04-15 22:46:50,595 DEBUG ________________________________________________________________________________ [2024-04-15 22:46:50] Verification-end-user-ui step2 : Discovering pods ________________________________________________________________________________ 2024-04-15 22:46:50,596 INFO 2024-04-15 22:46:50,596 INFO --------------------- Get expected number of pods --------------------- 2024-04-15 22:46:50,596 INFO 2024-04-15 22:46:50,596 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app.kubernetes.io/name=end-user-ui --output jsonpath={.items[*].spec.replicas} 2024-04-15 22:46:50,596 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-15 22:46:51,332 INFO [loop_until]: OK (rc = 0) 2024-04-15 22:46:51,332 DEBUG --- stdout --- 2024-04-15 22:46:51,332 DEBUG 1 2024-04-15 22:46:51,332 DEBUG --- stderr --- 2024-04-15 22:46:51,332 DEBUG 2024-04-15 22:46:51,332 INFO 2024-04-15 22:46:51,332 INFO ---------------------------- Get pod list ---------------------------- 2024-04-15 22:46:51,333 INFO 2024-04-15 22:46:51,333 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=end-user-ui --output jsonpath={.items[*].metadata.name}` | grep 1 2024-04-15 22:46:51,333 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-15 22:46:52,312 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-15 22:46:52,321 INFO [loop_until]: OK (rc = 0) 2024-04-15 22:46:52,322 DEBUG --- stdout --- 2024-04-15 22:46:52,322 DEBUG end-user-ui-58878d7668-zg4h2 2024-04-15 22:46:52,322 DEBUG --- stderr --- 2024-04-15 22:46:52,322 DEBUG ________________________________________________________________________________ [2024-04-15 22:46:52] Verification-end-user-ui step3 : Check component is alive ________________________________________________________________________________ 2024-04-15 22:46:52,323 INFO Livecheck to https://xlou.iam.xlou-cdm.engineeringpit.com/enduser 2024-04-15 22:46:52,323 INFO [http_cmd]: curl -L --request GET "https://xlou.iam.xlou-cdm.engineeringpit.com/enduser" 2024-04-15 22:46:52,662 INFO [http_cmd]: http status code OK 2024-04-15 22:46:52,663 DEBUG --- status code --- 2024-04-15 22:46:52,663 DEBUG http status code is 200 (expected 200) 2024-04-15 22:46:52,663 DEBUG --- http response --- 2024-04-15 22:46:52,663 DEBUG Identity Management
[] PASS : component end-user-ui is alive ________________________________________________________________________________ [2024-04-15 22:46:52] Verification-end-user-ui step4 : Record version ________________________________________________________________________________ 2024-04-15 22:46:52,666 INFO 2024-04-15 22:46:52,666 INFO ------------------ Get END-USER-UI software version ------------------ 2024-04-15 22:46:52,667 INFO 2024-04-15 22:46:52,667 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec end-user-ui-58878d7668-zg4h2 --container end-user-ui -- find /usr/share/nginx/html -name chunk-vendors.*.js 2024-04-15 22:46:52,667 INFO [loop_until]: (max_time=30, interval=5, expected_rc=[0] 2024-04-15 22:46:53,535 INFO [loop_until]: OK (rc = 0) 2024-04-15 22:46:53,535 DEBUG --- stdout --- 2024-04-15 22:46:53,536 DEBUG /usr/share/nginx/html/js/chunk-vendors.0380a414.js 2024-04-15 22:46:53,536 DEBUG --- stderr --- 2024-04-15 22:46:53,536 DEBUG 2024-04-15 22:46:53,537 INFO 2024-04-15 22:46:53,537 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp end-user-ui-58878d7668-zg4h2:/usr/share/nginx/html/js/chunk-vendors.0380a414.js /tmp/end-user-ui_info/chunk-vendors.0380a414.js --container end-user-ui 2024-04-15 22:46:53,537 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-15 22:46:54,864 INFO [loop_until]: OK (rc = 0) 2024-04-15 22:46:54,865 DEBUG --- stdout --- 2024-04-15 22:46:54,865 DEBUG tar: Removing leading `/' from member names 2024-04-15 22:46:54,865 DEBUG --- stderr --- 2024-04-15 22:46:54,865 DEBUG Version is not_implemented Revision is e28d3cbe ________________________________________________________________________________ [2024-04-15 22:46:54] Verification-end-user-ui step5 : Checking pod restart counts ________________________________________________________________________________ 2024-04-15 22:46:54,979 INFO 2024-04-15 22:46:54,979 INFO -------- Check pod end-user-ui-58878d7668-zg4h2 restart count -------- 2024-04-15 22:46:54,980 INFO 2024-04-15 22:46:54,980 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod end-user-ui-58878d7668-zg4h2 --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-15 22:46:54,980 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-15 22:46:55,440 INFO [loop_until]: OK (rc = 0) 2024-04-15 22:46:55,440 DEBUG --- stdout --- 2024-04-15 22:46:55,440 DEBUG 0 2024-04-15 22:46:55,440 DEBUG --- stderr --- 2024-04-15 22:46:55,440 DEBUG 2024-04-15 22:46:55,440 INFO Pod end-user-ui-58878d7668-zg4h2 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases ________________________________________________________________________________ [2024-04-15 22:46:55] Verification-end-user-ui post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped