--Task-- name: Deploy_or_discover_overseer enabled: True class_name: DeployOrDiscoverOverseerTask source_name: controller source_namespace: >default< target_name: controller target_namespace: >default< start: 0.0 stop: None timeout: no timeout loop: False interval: None dependencies: ['Deploy_all_forgerock_components'] wait_for: [] preceding_task: None options: {} group_name: None Current dir: /mnt/disks/data/xslou/lodestar-fork/pyrock ________________________________________________________________________________ [2024-04-09 22:04:47] Deploy_or_discover_overseer pre : Initialising task parameters ________________________________________________________________________________ task will be executed on controller (localhost) ________________________________________________________________________________ [2024-04-09 22:04:47] Deploy_or_discover_overseer step1 : Discover or deploy overseer ________________________________________________________________________________ 2024-04-09 22:04:47,862 INFO 2024-04-09 22:04:47,863 INFO [loop_until]: kubectl --namespace=xlou get deployments -l "release=overseer" -o name 2024-04-09 22:04:47,863 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-09 22:04:48,160 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:04:48,160 DEBUG --- stdout --- 2024-04-09 22:04:48,160 DEBUG 2024-04-09 22:04:48,160 DEBUG --- stderr --- 2024-04-09 22:04:48,160 DEBUG overseer-0 pod does not exit, deploy it 2024-04-09 22:04:48,407 INFO 2024-04-09 22:04:48,407 INFO ------------ Deploy the lodestarbox with overseer profile ------------ 2024-04-09 22:04:48,407 INFO 2024-04-09 22:04:48,407 INFO [run_command]: skaffold deploy --profile overseer --config=/tmp/tmpt63qixh7 --status-check=true --namespace=xlou 2024-04-09 22:04:51,124 INFO Starting deploy... 2024-04-09 22:04:53,933 INFO - serviceaccount/k8s-svc-acct-0 created 2024-04-09 22:04:54,134 INFO - clusterrolebinding.rbac.authorization.k8s.io/k8s-svc-acct-crb-xlou-0 created 2024-04-09 22:04:54,335 INFO - configmap/overseer-config-0 created 2024-04-09 22:04:54,637 INFO - service/overseer-0 created 2024-04-09 22:04:54,838 INFO - persistentvolumeclaim/overseer-0 created 2024-04-09 22:04:55,139 INFO - deployment.apps/overseer-0 created 2024-04-09 22:04:55,340 INFO - ingress.networking.k8s.io/overseer-0 created 2024-04-09 22:04:55,441 INFO Waiting for deployments to stabilize... 2024-04-09 22:05:00,661 INFO - xlou:deployment/overseer-0: creating container overseer 2024-04-09 22:05:00,762 INFO - xlou:pod/overseer-0-6f8784665d-zq5hb: creating container overseer 2024-04-09 22:05:09,088 INFO - xlou:deployment/overseer-0 is ready. 2024-04-09 22:05:09,189 INFO Deployments stabilized in 13.688 seconds 2024-04-09 22:05:09,290 ERROR There is a new version (2.11.0) of Skaffold available. Download it from: 2024-04-09 22:05:09,290 ERROR https://github.com/GoogleContainerTools/skaffold/releases/tag/v2.11.0 2024-04-09 22:05:09,290 ERROR 2024-04-09 22:05:09,291 ERROR Help improve Skaffold with our 2-minute anonymous survey: run 'skaffold survey' 2024-04-09 22:05:09,291 ERROR To help improve the quality of this product, we collect anonymized usage data for details on what is tracked and how we use this data visit . This data is handled in accordance with our privacy policy 2024-04-09 22:05:09,291 ERROR 2024-04-09 22:05:09,291 ERROR You may choose to opt out of this collection by running the following command: 2024-04-09 22:05:09,291 ERROR skaffold config set --global collect-metrics false 2024-04-09 22:05:09,291 INFO 2024-04-09 22:05:09,291 INFO --------------------- Get expected number of pods --------------------- 2024-04-09 22:05:09,292 INFO 2024-04-09 22:05:09,292 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app=overseer-0 --output jsonpath={.items[*].spec.replicas} 2024-04-09 22:05:09,292 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-09 22:05:09,626 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:09,626 DEBUG --- stdout --- 2024-04-09 22:05:09,628 DEBUG 1 2024-04-09 22:05:09,628 DEBUG --- stderr --- 2024-04-09 22:05:09,628 DEBUG 2024-04-09 22:05:09,628 INFO 2024-04-09 22:05:09,628 INFO ---------------------------- Get pod list ---------------------------- 2024-04-09 22:05:09,629 INFO 2024-04-09 22:05:09,629 INFO [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods --selector app=overseer-0 --output jsonpath={.items[*].metadata.name}` | grep 1 2024-04-09 22:05:09,629 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-09 22:05:09,994 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-09 22:05:09,994 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:09,994 DEBUG --- stdout --- 2024-04-09 22:05:09,994 DEBUG overseer-0-6f8784665d-zq5hb 2024-04-09 22:05:09,994 DEBUG --- stderr --- 2024-04-09 22:05:09,994 DEBUG 2024-04-09 22:05:09,994 INFO 2024-04-09 22:05:09,994 INFO ---------- Check pod overseer-0-6f8784665d-zq5hb is running ---------- 2024-04-09 22:05:09,995 INFO 2024-04-09 22:05:09,995 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods overseer-0-6f8784665d-zq5hb -o=jsonpath={.status.phase} | grep "Running" 2024-04-09 22:05:09,995 INFO [loop_until]: (max_time=360, interval=5, expected_rc=[0] 2024-04-09 22:05:10,339 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-09 22:05:10,339 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:10,339 DEBUG --- stdout --- 2024-04-09 22:05:10,339 DEBUG Running 2024-04-09 22:05:10,339 DEBUG --- stderr --- 2024-04-09 22:05:10,339 DEBUG 2024-04-09 22:05:10,340 INFO 2024-04-09 22:05:10,340 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods overseer-0-6f8784665d-zq5hb -o=jsonpath={.status.containerStatuses[*].ready} | grep "true" 2024-04-09 22:05:10,340 INFO [loop_until]: (max_time=360, interval=5, expected_rc=[0] 2024-04-09 22:05:10,641 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-09 22:05:10,641 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:10,641 DEBUG --- stdout --- 2024-04-09 22:05:10,641 DEBUG true 2024-04-09 22:05:10,641 DEBUG --- stderr --- 2024-04-09 22:05:10,641 DEBUG 2024-04-09 22:05:10,641 INFO 2024-04-09 22:05:10,641 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod overseer-0-6f8784665d-zq5hb --output jsonpath={.status.startTime} 2024-04-09 22:05:10,641 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-09 22:05:10,945 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:10,945 DEBUG --- stdout --- 2024-04-09 22:05:10,945 DEBUG 2024-04-09T22:04:59Z 2024-04-09 22:05:10,945 DEBUG --- stderr --- 2024-04-09 22:05:10,945 DEBUG 2024-04-09 22:05:10,946 INFO 2024-04-09 22:05:10,946 INFO --- Check pod overseer-0-6f8784665d-zq5hb filesystem is accessible --- 2024-04-09 22:05:11,732 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-09 22:05:11,733 INFO 2024-04-09 22:05:11,733 INFO --------- Check pod overseer-0-6f8784665d-zq5hb restart count --------- 2024-04-09 22:05:11,733 INFO 2024-04-09 22:05:11,733 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod overseer-0-6f8784665d-zq5hb --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-09 22:05:11,733 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-09 22:05:12,034 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:12,034 DEBUG --- stdout --- 2024-04-09 22:05:12,034 DEBUG 0 2024-04-09 22:05:12,034 DEBUG --- stderr --- 2024-04-09 22:05:12,035 DEBUG 2024-04-09 22:05:12,035 INFO Pod overseer-0-6f8784665d-zq5hb has been restarted 0 times. 2024-04-09 22:05:12,035 INFO 2024-04-09 22:05:12,035 INFO --------------------- Get expected number of pods --------------------- 2024-04-09 22:05:12,035 INFO 2024-04-09 22:05:12,035 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app=overseer-0 --output jsonpath={.items[*].spec.replicas} 2024-04-09 22:05:12,035 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-09 22:05:12,351 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:12,351 DEBUG --- stdout --- 2024-04-09 22:05:12,351 DEBUG 1 2024-04-09 22:05:12,351 DEBUG --- stderr --- 2024-04-09 22:05:12,351 DEBUG 2024-04-09 22:05:12,351 INFO 2024-04-09 22:05:12,351 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-09 22:05:12,352 INFO 2024-04-09 22:05:12,352 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments overseer-0 --output jsonpath="ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "ready:1 replicas:1" 2024-04-09 22:05:12,352 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-09 22:05:12,670 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-09 22:05:12,670 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:12,670 DEBUG --- stdout --- 2024-04-09 22:05:12,670 DEBUG ready:1 replicas:1 2024-04-09 22:05:12,670 DEBUG --- stderr --- 2024-04-09 22:05:12,670 DEBUG 2024-04-09 22:05:12,670 INFO Livecheck to https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com 2024-04-09 22:05:12,671 INFO [http_cmd]: curl --insecure -L --request GET "https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com" 2024-04-09 22:05:12,938 INFO [http_cmd]: http status code OK 2024-04-09 22:05:12,939 DEBUG --- status code --- 2024-04-09 22:05:12,939 DEBUG http status code is 200 (expected 200) 2024-04-09 22:05:12,939 DEBUG --- http response --- 2024-04-09 22:05:12,939 DEBUG Directory listing for /

Directory listing for /



2024-04-09 22:05:12,939 INFO Component overseer-0 is alive 2024-04-09 22:05:13,965 INFO Dumping pod description and logs to /mnt/disks/data/xslou/lodestar-fork/results/pyrock/authn_rest/pod-logs/stack/20240409_220512-after-overseer-0-deploy/overseer-0-6f8784665d-zq5hb.txt 2024-04-09 22:05:13,965 INFO Dumping pod description and logs to /mnt/disks/data/xslou/lodestar-fork/results/pyrock/authn_rest/pod-logs/stack/20240409_220512-after-overseer-0-deploy/overseer-0-6f8784665d-zq5hb.txt 2024-04-09 22:05:13,966 INFO Check pod logs for errors 2024-04-09 22:05:13,966 INFO 2024-04-09 22:05:13,966 INFO --------------------- Get expected number of pods --------------------- 2024-04-09 22:05:13,966 INFO 2024-04-09 22:05:13,966 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app=overseer-0 --output jsonpath={.items[*].spec.replicas} 2024-04-09 22:05:13,966 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-09 22:05:14,280 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:14,280 DEBUG --- stdout --- 2024-04-09 22:05:14,280 DEBUG 1 2024-04-09 22:05:14,280 DEBUG --- stderr --- 2024-04-09 22:05:14,280 DEBUG 2024-04-09 22:05:14,280 INFO 2024-04-09 22:05:14,280 INFO ---------------------------- Get pod list ---------------------------- 2024-04-09 22:05:14,281 INFO 2024-04-09 22:05:14,281 INFO [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods --selector app=overseer-0 --output jsonpath={.items[*].metadata.name}` | grep 1 2024-04-09 22:05:14,281 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-09 22:05:14,614 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-09 22:05:14,615 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:14,615 DEBUG --- stdout --- 2024-04-09 22:05:14,615 DEBUG overseer-0-6f8784665d-zq5hb 2024-04-09 22:05:14,615 DEBUG --- stderr --- 2024-04-09 22:05:14,615 DEBUG 2024-04-09 22:05:14,615 INFO 2024-04-09 22:05:14,615 INFO --------------------- Get expected number of pods --------------------- 2024-04-09 22:05:14,616 INFO 2024-04-09 22:05:14,616 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments --selector app=overseer-0 --output jsonpath={.items[*].spec.replicas} 2024-04-09 22:05:14,616 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-09 22:05:14,998 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:15,001 DEBUG --- stdout --- 2024-04-09 22:05:15,001 DEBUG 1 2024-04-09 22:05:15,001 DEBUG --- stderr --- 2024-04-09 22:05:15,001 DEBUG 2024-04-09 22:05:15,002 INFO 2024-04-09 22:05:15,002 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-09 22:05:15,002 INFO 2024-04-09 22:05:15,002 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get deployments overseer-0 --output jsonpath="ready:{.status.readyReplicas} replicas:{.status.replicas}" | grep "ready:1 replicas:1" 2024-04-09 22:05:15,002 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-09 22:05:15,378 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-09 22:05:15,379 INFO [loop_until]: OK (rc = 0) 2024-04-09 22:05:15,379 DEBUG --- stdout --- 2024-04-09 22:05:15,379 DEBUG ready:1 replicas:1 2024-04-09 22:05:15,379 DEBUG --- stderr --- 2024-04-09 22:05:15,379 DEBUG 2024-04-09 22:05:15,379 INFO Livecheck to https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com 2024-04-09 22:05:15,380 INFO [http_cmd]: curl --insecure -L --request GET "https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com" 2024-04-09 22:05:15,585 INFO [http_cmd]: http status code OK 2024-04-09 22:05:15,585 DEBUG --- status code --- 2024-04-09 22:05:15,585 DEBUG http status code is 200 (expected 200) 2024-04-09 22:05:15,585 DEBUG --- http response --- 2024-04-09 22:05:15,586 DEBUG Directory listing for /

Directory listing for /



________________________________________________________________________________ [2024-04-09 22:05:15] Deploy_or_discover_overseer post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped