--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-24 05:18:34] Deploy_or_discover_overseer pre : Initialising task parameters ________________________________________________________________________________ task will be executed on controller (localhost) ________________________________________________________________________________ [2024-04-24 05:18:34] Deploy_or_discover_overseer step1 : Discover or deploy overseer ________________________________________________________________________________ 2024-04-24 05:18:34,663 INFO 2024-04-24 05:18:34,663 INFO [loop_until]: kubectl --namespace=xlou get deployments -l "release=overseer" -o name 2024-04-24 05:18:34,663 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 05:18:34,963 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:18:34,963 DEBUG --- stdout --- 2024-04-24 05:18:34,963 DEBUG 2024-04-24 05:18:34,963 DEBUG --- stderr --- 2024-04-24 05:18:34,964 DEBUG overseer-0 pod does not exit, deploy it 2024-04-24 05:18:35,236 INFO 2024-04-24 05:18:35,236 INFO ------------ Deploy the lodestarbox with overseer profile ------------ 2024-04-24 05:18:35,236 INFO 2024-04-24 05:18:35,236 INFO [run_command]: skaffold deploy --profile overseer --config=/tmp/tmpxyh0q291 --status-check=true --namespace=xlou 2024-04-24 05:18:40,624 INFO Starting deploy... 2024-04-24 05:18:45,261 INFO - serviceaccount/k8s-svc-acct-0 created 2024-04-24 05:18:45,363 INFO - clusterrolebinding.rbac.authorization.k8s.io/k8s-svc-acct-crb-xlou-0 created 2024-04-24 05:18:45,672 INFO - configmap/overseer-config-0 created 2024-04-24 05:18:45,872 INFO - service/overseer-0 created 2024-04-24 05:18:46,176 INFO - persistentvolumeclaim/overseer-0 created 2024-04-24 05:18:46,381 INFO - deployment.apps/overseer-0 created 2024-04-24 05:18:46,685 INFO - ingress.networking.k8s.io/overseer-0 created 2024-04-24 05:18:46,788 INFO Waiting for deployments to stabilize... 2024-04-24 05:18:52,110 INFO - xlou:deployment/overseer-0: creating container overseer 2024-04-24 05:18:52,211 INFO - xlou:pod/overseer-0-55d5975bd7-gp92m: creating container overseer 2024-04-24 05:19:20,745 INFO - xlou:deployment/overseer-0 is ready. 2024-04-24 05:19:20,847 INFO Deployments stabilized in 33.972 seconds 2024-04-24 05:19:20,948 ERROR There is a new version (2.11.0) of Skaffold available. Download it from: 2024-04-24 05:19:20,948 ERROR https://github.com/GoogleContainerTools/skaffold/releases/tag/v2.11.0 2024-04-24 05:19:20,948 ERROR 2024-04-24 05:19:20,948 ERROR Help improve Skaffold with our 2-minute anonymous survey: run 'skaffold survey' 2024-04-24 05:19:20,948 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-24 05:19:20,948 ERROR 2024-04-24 05:19:20,948 ERROR You may choose to opt out of this collection by running the following command: 2024-04-24 05:19:20,949 ERROR skaffold config set --global collect-metrics false 2024-04-24 05:19:20,949 INFO 2024-04-24 05:19:20,950 INFO --------------------- Get expected number of pods --------------------- 2024-04-24 05:19:20,950 INFO 2024-04-24 05:19:20,950 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-24 05:19:20,950 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 05:19:21,526 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:21,526 DEBUG --- stdout --- 2024-04-24 05:19:21,526 DEBUG 1 2024-04-24 05:19:21,527 DEBUG --- stderr --- 2024-04-24 05:19:21,527 DEBUG 2024-04-24 05:19:21,528 INFO 2024-04-24 05:19:21,528 INFO ---------------------------- Get pod list ---------------------------- 2024-04-24 05:19:21,529 INFO 2024-04-24 05:19:21,530 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-24 05:19:21,530 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-24 05:19:22,220 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-24 05:19:22,220 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:22,220 DEBUG --- stdout --- 2024-04-24 05:19:22,220 DEBUG overseer-0-55d5975bd7-gp92m 2024-04-24 05:19:22,221 DEBUG --- stderr --- 2024-04-24 05:19:22,222 DEBUG 2024-04-24 05:19:22,223 INFO 2024-04-24 05:19:22,223 INFO ---------- Check pod overseer-0-55d5975bd7-gp92m is running ---------- 2024-04-24 05:19:22,223 INFO 2024-04-24 05:19:22,223 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods overseer-0-55d5975bd7-gp92m -o=jsonpath={.status.phase} | grep "Running" 2024-04-24 05:19:22,224 INFO [loop_until]: (max_time=360, interval=5, expected_rc=[0] 2024-04-24 05:19:22,793 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-24 05:19:22,794 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:22,794 DEBUG --- stdout --- 2024-04-24 05:19:22,794 DEBUG Running 2024-04-24 05:19:22,794 DEBUG --- stderr --- 2024-04-24 05:19:22,794 DEBUG 2024-04-24 05:19:22,794 INFO 2024-04-24 05:19:22,795 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pods overseer-0-55d5975bd7-gp92m -o=jsonpath={.status.containerStatuses[*].ready} | grep "true" 2024-04-24 05:19:22,795 INFO [loop_until]: (max_time=360, interval=5, expected_rc=[0] 2024-04-24 05:19:23,246 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-24 05:19:23,247 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:23,247 DEBUG --- stdout --- 2024-04-24 05:19:23,247 DEBUG true 2024-04-24 05:19:23,247 DEBUG --- stderr --- 2024-04-24 05:19:23,247 DEBUG 2024-04-24 05:19:23,247 INFO 2024-04-24 05:19:23,247 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod overseer-0-55d5975bd7-gp92m --output jsonpath={.status.startTime} 2024-04-24 05:19:23,247 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 05:19:23,691 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:23,691 DEBUG --- stdout --- 2024-04-24 05:19:23,692 DEBUG 2024-04-24T05:18:50Z 2024-04-24 05:19:23,692 DEBUG --- stderr --- 2024-04-24 05:19:23,692 DEBUG 2024-04-24 05:19:23,692 INFO 2024-04-24 05:19:23,692 INFO --- Check pod overseer-0-55d5975bd7-gp92m filesystem is accessible --- 2024-04-24 05:19:24,672 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-24 05:19:24,673 INFO 2024-04-24 05:19:24,673 INFO --------- Check pod overseer-0-55d5975bd7-gp92m restart count --------- 2024-04-24 05:19:24,673 INFO 2024-04-24 05:19:24,673 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm get pod overseer-0-55d5975bd7-gp92m --output jsonpath={.status.containerStatuses[*].restartCount} 2024-04-24 05:19:24,673 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 05:19:25,061 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:25,062 DEBUG --- stdout --- 2024-04-24 05:19:25,062 DEBUG 0 2024-04-24 05:19:25,062 DEBUG --- stderr --- 2024-04-24 05:19:25,062 DEBUG 2024-04-24 05:19:25,062 INFO Pod overseer-0-55d5975bd7-gp92m has been restarted 0 times. 2024-04-24 05:19:25,062 INFO 2024-04-24 05:19:25,062 INFO --------------------- Get expected number of pods --------------------- 2024-04-24 05:19:25,063 INFO 2024-04-24 05:19:25,063 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-24 05:19:25,063 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 05:19:25,433 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:25,433 DEBUG --- stdout --- 2024-04-24 05:19:25,433 DEBUG 1 2024-04-24 05:19:25,433 DEBUG --- stderr --- 2024-04-24 05:19:25,433 DEBUG 2024-04-24 05:19:25,433 INFO 2024-04-24 05:19:25,433 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-24 05:19:25,433 INFO 2024-04-24 05:19:25,433 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-24 05:19:25,433 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-24 05:19:25,737 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-24 05:19:25,737 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:25,737 DEBUG --- stdout --- 2024-04-24 05:19:25,737 DEBUG ready:1 replicas:1 2024-04-24 05:19:25,738 DEBUG --- stderr --- 2024-04-24 05:19:25,738 DEBUG 2024-04-24 05:19:25,738 INFO Livecheck to https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com 2024-04-24 05:19:25,739 INFO [http_cmd]: curl --insecure -L --request GET "https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com" 2024-04-24 05:19:26,021 INFO [http_cmd]: http status code OK 2024-04-24 05:19:26,021 DEBUG --- status code --- 2024-04-24 05:19:26,022 DEBUG http status code is 200 (expected 200) 2024-04-24 05:19:26,022 DEBUG --- http response --- 2024-04-24 05:19:26,022 DEBUG Directory listing for /

Directory listing for /



2024-04-24 05:19:26,022 INFO Component overseer-0 is alive 2024-04-24 05:19:26,901 INFO Dumping pod description and logs to /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/pod-logs/stack/20240424_051926-after-overseer-0-deploy/overseer-0-55d5975bd7-gp92m.txt 2024-04-24 05:19:26,901 INFO Dumping pod description and logs to /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/pod-logs/stack/20240424_051926-after-overseer-0-deploy/overseer-0-55d5975bd7-gp92m.txt 2024-04-24 05:19:26,901 INFO Check pod logs for errors 2024-04-24 05:19:26,902 INFO 2024-04-24 05:19:26,902 INFO --------------------- Get expected number of pods --------------------- 2024-04-24 05:19:26,902 INFO 2024-04-24 05:19:26,902 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-24 05:19:26,902 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 05:19:27,211 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:27,211 DEBUG --- stdout --- 2024-04-24 05:19:27,211 DEBUG 1 2024-04-24 05:19:27,211 DEBUG --- stderr --- 2024-04-24 05:19:27,211 DEBUG 2024-04-24 05:19:27,212 INFO 2024-04-24 05:19:27,212 INFO ---------------------------- Get pod list ---------------------------- 2024-04-24 05:19:27,212 INFO 2024-04-24 05:19:27,212 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-24 05:19:27,212 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2024-04-24 05:19:27,536 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2024-04-24 05:19:27,536 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:27,536 DEBUG --- stdout --- 2024-04-24 05:19:27,536 DEBUG overseer-0-55d5975bd7-gp92m 2024-04-24 05:19:27,536 DEBUG --- stderr --- 2024-04-24 05:19:27,536 DEBUG 2024-04-24 05:19:27,536 INFO 2024-04-24 05:19:27,536 INFO --------------------- Get expected number of pods --------------------- 2024-04-24 05:19:27,537 INFO 2024-04-24 05:19:27,537 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-24 05:19:27,537 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2024-04-24 05:19:27,842 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:27,842 DEBUG --- stdout --- 2024-04-24 05:19:27,842 DEBUG 1 2024-04-24 05:19:27,842 DEBUG --- stderr --- 2024-04-24 05:19:27,842 DEBUG 2024-04-24 05:19:27,842 INFO 2024-04-24 05:19:27,842 INFO -------------- Waiting for 1 expected pod(s) to be ready -------------- 2024-04-24 05:19:27,843 INFO 2024-04-24 05:19:27,843 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-24 05:19:27,843 INFO [loop_until]: (max_time=900, interval=30, expected_rc=[0] 2024-04-24 05:19:28,150 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2024-04-24 05:19:28,151 INFO [loop_until]: OK (rc = 0) 2024-04-24 05:19:28,151 DEBUG --- stdout --- 2024-04-24 05:19:28,151 DEBUG ready:1 replicas:1 2024-04-24 05:19:28,151 DEBUG --- stderr --- 2024-04-24 05:19:28,151 DEBUG 2024-04-24 05:19:28,151 INFO Livecheck to https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com 2024-04-24 05:19:28,152 INFO [http_cmd]: curl --insecure -L --request GET "https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com" 2024-04-24 05:19:28,357 INFO [http_cmd]: http status code OK 2024-04-24 05:19:28,357 DEBUG --- status code --- 2024-04-24 05:19:28,357 DEBUG http status code is 200 (expected 200) 2024-04-24 05:19:28,357 DEBUG --- http response --- 2024-04-24 05:19:28,357 DEBUG Directory listing for /

Directory listing for /



________________________________________________________________________________ [2024-04-24 05:19:28] Deploy_or_discover_overseer post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped