--Task-- name: Logs-parse-pkce-access-token-800 enabled: True class_name: GatlingParseStdOutTask source_name: overseer-0 source_namespace: >default< target_name: overseer-0 target_namespace: >default< start: 0.0 stop: None timeout: not yet initialized for this Task as timeout was not explicitly defined, see updates below loop: False interval: None dependencies: [] wait_for: ['Logs-parse-pkce-access-token-10', 'Logs-parse-pkce-access-token-200', 'Logs-parse-pkce-access-token-400', 'Logs-parse-pkce-access-token-600'] preceding_task: None options: {'task_name': 'pkce-access-token-800'} group_name: None Current dir: /mnt/disk1/xslou/workshop/lodestar-fork/pyrock source (overseer-0) is a component 2025-03-19 21:16:17 - INFO: Timeout for this Task has changed to 10m (600 seconds) 2025-03-19 21:16:17 - INFO: timeout was set to GatlingParseStdOutTask default - 10 minutes ________________________________________________________________________________ [2025-03-19 21:16:17] Logs-parse-pkce-access-token-800 step1 : Write order for overseer to parse Gatling task stdout ________________________________________________________________________________ Order file: /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/06_Logs-parse-pkce-access-token-800/order.json { "name": "Logs-parse-pkce-access-token-800", "command": " /lodestar/pyrock/shared/scripts/logs_parser.py --non-interactive --input-file /results/orders/pkce-access-token-800/stdout.txt", "out-dir": "/results/orders/Logs-parse-pkce-access-token-800" } ________________________________________________________________________________ [2025-03-19 21:16:17] Logs-parse-pkce-access-token-800 step2 : Make sure overseer is ready to accept order (not already busy) ________________________________________________________________________________ 2025-03-19 21:16:17,548 INFO 2025-03-19 21:16:17,548 INFO [loop_until]: curl --insecure https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt | grep "WAITING" 2025-03-19 21:16:17,548 INFO [loop_until]: (max_time=120, interval=5, expected_rc=[0] 2025-03-19 21:16:17,759 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-19 21:16:17,759 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:17,759 DEBUG --- stdout --- 2025-03-19 21:16:17,759 DEBUG WAITING 2025-03-19 21:16:17,759 DEBUG --- stderr --- 2025-03-19 21:16:17,759 DEBUG % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7 100 7 0 0 34 0 --:--:-- --:--:-- --:--:-- 34 ________________________________________________________________________________ [2025-03-19 21:16:17] Logs-parse-pkce-access-token-800 step3 : Send order to overseer ________________________________________________________________________________ 2025-03-19 21:16:17,760 INFO 2025-03-19 21:16:17,760 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 2025-03-19 21:16:17,760 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2025-03-19 21:16:18,033 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2025-03-19 21:16:18,033 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:18,033 DEBUG --- stdout --- 2025-03-19 21:16:18,033 DEBUG overseer-0-59c948f569-rgrkv 2025-03-19 21:16:18,033 DEBUG --- stderr --- 2025-03-19 21:16:18,033 DEBUG 2025-03-19 21:16:18,033 INFO 2025-03-19 21:16:18,033 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/06_Logs-parse-pkce-access-token-800/order.json overseer-0-59c948f569-rgrkv:/results/orders/order.json 2025-03-19 21:16:18,033 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-03-19 21:16:19,367 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:19,367 DEBUG --- stdout --- 2025-03-19 21:16:19,367 DEBUG 2025-03-19 21:16:19,367 DEBUG --- stderr --- 2025-03-19 21:16:19,367 DEBUG Order has been successfully forwarded to overseer ________________________________________________________________________________ [2025-03-19 21:16:19] Logs-parse-pkce-access-token-800 step4 : Wait order is done ________________________________________________________________________________ 2025-03-19 21:16:22,368 INFO 2025-03-19 21:16:22,368 INFO [loop_until]: curl --insecure https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt | grep "WAITING" 2025-03-19 21:16:22,368 INFO [loop_until]: (max_time=600, interval=5, expected_rc=[0] 2025-03-19 21:16:22,579 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-19 21:16:22,579 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:22,579 DEBUG --- stdout --- 2025-03-19 21:16:22,579 DEBUG WAITING 2025-03-19 21:16:22,579 DEBUG --- stderr --- 2025-03-19 21:16:22,579 DEBUG % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7 100 7 0 0 34 0 --:--:-- --:--:-- --:--:-- 34 ________________________________________________________________________________ [2025-03-19 21:16:22] Logs-parse-pkce-access-token-800 step5 : Get and log parsed logs ________________________________________________________________________________ Log parsing order did not succeeded - log-parsing order log: 2025-03-19 21:16:22,811 INFO 2025-03-19 21:16:22,812 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 2025-03-19 21:16:22,812 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2025-03-19 21:16:23,089 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2025-03-19 21:16:23,089 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:23,089 DEBUG --- stdout --- 2025-03-19 21:16:23,089 DEBUG overseer-0-59c948f569-rgrkv 2025-03-19 21:16:23,089 DEBUG --- stderr --- 2025-03-19 21:16:23,089 DEBUG Checking pod: overseer-0-59c948f569-rgrkv for file exists, if not wait. 2025-03-19 21:16:23,091 INFO 2025-03-19 21:16:23,091 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec overseer-0-59c948f569-rgrkv --stdin -- bash -c 'if [ -f "/results/orders/Logs-parse-pkce-access-token-800/stdout.txt" ]; then echo "/results/orders/Logs-parse-pkce-access-token-800/stdout.txt file found"; exit 0; else echo "/results/orders/Logs-parse-pkce-access-token-800/stdout.txt file not found"; exit 1; fi' | grep "/results/orders/Logs-parse-pkce-access-token-800/stdout.txt file found" 2025-03-19 21:16:23,091 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-03-19 21:16:23,886 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-19 21:16:23,887 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:23,887 DEBUG --- stdout --- 2025-03-19 21:16:23,887 DEBUG /results/orders/Logs-parse-pkce-access-token-800/stdout.txt file found 2025-03-19 21:16:23,887 DEBUG --- stderr --- 2025-03-19 21:16:23,887 DEBUG 2025-03-19 21:16:23,887 INFO 2025-03-19 21:16:23,887 INFO [run_command]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm exec overseer-0-59c948f569-rgrkv --stdin -- du -k /results/orders/Logs-parse-pkce-access-token-800/stdout.txt 2025-03-19 21:16:24,674 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2025-03-19 21:16:24,674 DEBUG --- stdout --- 2025-03-19 21:16:24,674 DEBUG 4 /results/orders/Logs-parse-pkce-access-token-800/stdout.txt 2025-03-19 21:16:24,674 DEBUG --- stderr --- 2025-03-19 21:16:24,674 DEBUG 2025-03-19 21:16:24,674 INFO - Download file (size 4k) source : /results/orders/Logs-parse-pkce-access-token-800/stdout.txt @ overseer-0-59c948f569-rgrkv destination : /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/06_Logs-parse-pkce-access-token-800/stdout_logs-parsing.txt 2025-03-19 21:16:24,675 INFO 2025-03-19 21:16:24,675 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp --retries=100 overseer-0-59c948f569-rgrkv:/results/orders/Logs-parse-pkce-access-token-800/stdout.txt /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/06_Logs-parse-pkce-access-token-800/stdout_logs-parsing.txt 2025-03-19 21:16:24,675 INFO [loop_until]: (max_time=-1, interval=5, expected_rc=[0] 2025-03-19 21:16:25,515 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:25,515 DEBUG --- stdout --- 2025-03-19 21:16:25,515 DEBUG tar: Removing leading `/' from member names 2025-03-19 21:16:25,515 DEBUG --- stderr --- 2025-03-19 21:16:25,515 DEBUG 2025-03-19 21:16:25,515 DEBUG [print_head_tail]: Input file /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/06_Logs-parse-pkce-access-token-800/stdout_logs-parsing.txt is small (9 lines), printing all lines: 2025-03-19 21:16:25,515 INFO ----- output ----- Running in non-interactive mode. Output file name was not provided, /results/orders/pkce-access-token-800/stdout_parsed.txt will be used. Log items processed. Formatting output... Traceback (most recent call last): File "/lodestar/pyrock/shared/scripts/logs_parser.py", line 408, in seconds = int(log_group_timestamp / 1000) ~~~~~~~~~~~~~~~~~~~~^~~~~~ TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' ________________________________________________________________________________ [2025-03-19 21:16:25] Logs-parse-pkce-access-token-800 post : Check output ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped