--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 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: [] options: {} group_name: None Current dir: /mnt/scratch/workspaces/workspace/pit-debug-tests-debug-other-tests-463-1679261215469-1550440051/pyrock ________________________________________________________________________________ [19/Mar/2023 23:41:22] Verification_login-ui pre : N/A ________________________________________________________________________________ [19/Mar/2023 23:41:22] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [19/Mar/2023 23:41:22] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [19/Mar/2023 23:41:22] Verification_login-ui step1 : Wait until pods are in Running state and check number of running pods ________________________________________________________________________________ --------------------- Get expected number of pods --------------------- [loop_until]: kubectl --namespace=jnkns-pt-dbg-tsts-dbg-thr-tsts-463 get deployments -l app.kubernetes.io/name=login-ui -o jsonpath={.items[*].spec.replicas} [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- 1 --- stderr --- -------------- Waiting for 1 expected pod(s) to be ready -------------- [loop_until]: kubectl --namespace=jnkns-pt-dbg-tsts-dbg-thr-tsts-463 get deployments login-ui -o jsonpath="ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "ready:1 replicas:1" [loop_until]: (max_time=900, interval=30, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found [loop_until]: OK (rc = 0) --- stdout --- ready:1 replicas:1 --- stderr --- ________________________________________________________________________________ [19/Mar/2023 23:41:23] Verification_login-ui step2 : Discovering pods ________________________________________________________________________________ --------------------- Get expected number of pods --------------------- [loop_until]: kubectl --namespace=jnkns-pt-dbg-tsts-dbg-thr-tsts-463 get deployments -l app.kubernetes.io/name=login-ui -o jsonpath={.items[*].spec.replicas} [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- 1 --- stderr --- ---------------------------- Get pod list ---------------------------- [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=jnkns-pt-dbg-tsts-dbg-thr-tsts-463 get pods -l app.kubernetes.io/name=login-ui -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- login-ui-66b9cfcf9d-zmdp6 --- stderr --- ________________________________________________________________________________ [19/Mar/2023 23:41:23] Verification_login-ui step3 : Check component is alive ________________________________________________________________________________ Livecheck to https://jnkns-pt-dbg-tsts-dbg-thr-tsts-463.iam.perf-daily.engineeringpit.com/am/XUI [http_cmd]: curl -L -X GET "https://jnkns-pt-dbg-tsts-dbg-thr-tsts-463.iam.perf-daily.engineeringpit.com/am/XUI" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- Login
[] PASS : component login-ui is alive ________________________________________________________________________________ [19/Mar/2023 23:41:24] Verification_login-ui step4 : Record version ________________________________________________________________________________ -------------------- Get LOGIN-UI software version -------------------- [loop_until]: kubectl --namespace=jnkns-pt-dbg-tsts-dbg-thr-tsts-463 exec login-ui-66b9cfcf9d-zmdp6 -c login-ui -- find /usr/share/nginx/html -name chunk-vendors.*.js [loop_until]: (max_time=30, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- /usr/share/nginx/html/js/chunk-vendors.3e398831.js --- stderr --- [loop_until]: kubectl --namespace=jnkns-pt-dbg-tsts-dbg-thr-tsts-463 cp login-ui-66b9cfcf9d-zmdp6:/usr/share/nginx/html/js/chunk-vendors.3e398831.js /tmp/login-ui_info/chunk-vendors.3e398831.js -c login-ui [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- tar: Removing leading `/' from member names --- stderr --- Version is 7.2.0 Revision is 0330ca8a ________________________________________________________________________________ [19/Mar/2023 23:41:26] Verification_login-ui step5 : Checking pod restart counts ________________________________________________________________________________ ---------- Check pod login-ui-66b9cfcf9d-zmdp6 restart count ---------- [loop_until]: kubectl --namespace=jnkns-pt-dbg-tsts-dbg-thr-tsts-463 get pod login-ui-66b9cfcf9d-zmdp6 -o jsonpath={.status.containerStatuses[*].restartCount} [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- 0 --- stderr --- Pod login-ui-66b9cfcf9d-zmdp6 has been restarted 0 times. SUCCESS : pod restart count (0) did not change between validation and verification phases ________________________________________________________________________________ [19/Mar/2023 23:41:27] Verification_login-ui post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped