--Task-- name: Logs-parse-pkce-access-token-600 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'] preceding_task: None options: {'task_name': 'pkce-access-token-600'} group_name: None Current dir: /mnt/disk1/xslou/workshop/lodestar-fork/pyrock source (overseer-0) is a component 2025-03-19 21:16:09 - INFO: Timeout for this Task has changed to 10m (600 seconds) 2025-03-19 21:16:09 - INFO: timeout was set to GatlingParseStdOutTask default - 10 minutes ________________________________________________________________________________ [2025-03-19 21:16:09] Logs-parse-pkce-access-token-600 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/05_Logs-parse-pkce-access-token-600/order.json { "name": "Logs-parse-pkce-access-token-600", "command": " /lodestar/pyrock/shared/scripts/logs_parser.py --non-interactive --input-file /results/orders/pkce-access-token-600/stdout.txt", "out-dir": "/results/orders/Logs-parse-pkce-access-token-600" } ________________________________________________________________________________ [2025-03-19 21:16:09] Logs-parse-pkce-access-token-600 step2 : Make sure overseer is ready to accept order (not already busy) ________________________________________________________________________________ 2025-03-19 21:16:09,624 INFO 2025-03-19 21:16:09,624 INFO [loop_until]: curl --insecure https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt | grep "WAITING" 2025-03-19 21:16:09,624 INFO [loop_until]: (max_time=120, interval=5, expected_rc=[0] 2025-03-19 21:16:09,835 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-19 21:16:09,835 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:09,835 DEBUG --- stdout --- 2025-03-19 21:16:09,835 DEBUG WAITING 2025-03-19 21:16:09,835 DEBUG --- stderr --- 2025-03-19 21:16:09,835 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:09] Logs-parse-pkce-access-token-600 step3 : Send order to overseer ________________________________________________________________________________ 2025-03-19 21:16:09,836 INFO 2025-03-19 21:16:09,836 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:09,836 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2025-03-19 21:16:10,110 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2025-03-19 21:16:10,110 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:10,110 DEBUG --- stdout --- 2025-03-19 21:16:10,110 DEBUG overseer-0-59c948f569-rgrkv 2025-03-19 21:16:10,110 DEBUG --- stderr --- 2025-03-19 21:16:10,110 DEBUG 2025-03-19 21:16:10,111 INFO 2025-03-19 21:16:10,111 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/05_Logs-parse-pkce-access-token-600/order.json overseer-0-59c948f569-rgrkv:/results/orders/order.json 2025-03-19 21:16:10,111 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-03-19 21:16:11,533 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:11,533 DEBUG --- stdout --- 2025-03-19 21:16:11,533 DEBUG 2025-03-19 21:16:11,533 DEBUG --- stderr --- 2025-03-19 21:16:11,533 DEBUG Order has been successfully forwarded to overseer ________________________________________________________________________________ [2025-03-19 21:16:11] Logs-parse-pkce-access-token-600 step4 : Wait order is done ________________________________________________________________________________ 2025-03-19 21:16:14,533 INFO 2025-03-19 21:16:14,533 INFO [loop_until]: curl --insecure https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt | grep "WAITING" 2025-03-19 21:16:14,534 INFO [loop_until]: (max_time=600, interval=5, expected_rc=[0] 2025-03-19 21:16:14,744 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-19 21:16:14,744 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:14,744 DEBUG --- stdout --- 2025-03-19 21:16:14,744 DEBUG WAITING 2025-03-19 21:16:14,744 DEBUG --- stderr --- 2025-03-19 21:16:14,744 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:14] Logs-parse-pkce-access-token-600 step5 : Get and log parsed logs ________________________________________________________________________________ Log parsing order did not succeeded - log-parsing order log: 2025-03-19 21:16:14,978 INFO 2025-03-19 21:16:14,978 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:14,978 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2025-03-19 21:16:15,254 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2025-03-19 21:16:15,254 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:15,254 DEBUG --- stdout --- 2025-03-19 21:16:15,254 DEBUG overseer-0-59c948f569-rgrkv 2025-03-19 21:16:15,254 DEBUG --- stderr --- 2025-03-19 21:16:15,254 DEBUG Checking pod: overseer-0-59c948f569-rgrkv for file exists, if not wait. 2025-03-19 21:16:15,255 INFO 2025-03-19 21:16:15,255 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-600/stdout.txt" ]; then echo "/results/orders/Logs-parse-pkce-access-token-600/stdout.txt file found"; exit 0; else echo "/results/orders/Logs-parse-pkce-access-token-600/stdout.txt file not found"; exit 1; fi' | grep "/results/orders/Logs-parse-pkce-access-token-600/stdout.txt file found" 2025-03-19 21:16:15,255 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-03-19 21:16:16,045 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-19 21:16:16,045 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:16,045 DEBUG --- stdout --- 2025-03-19 21:16:16,045 DEBUG /results/orders/Logs-parse-pkce-access-token-600/stdout.txt file found 2025-03-19 21:16:16,045 DEBUG --- stderr --- 2025-03-19 21:16:16,045 DEBUG 2025-03-19 21:16:16,045 INFO 2025-03-19 21:16:16,046 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-600/stdout.txt 2025-03-19 21:16:16,823 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2025-03-19 21:16:16,823 DEBUG --- stdout --- 2025-03-19 21:16:16,823 DEBUG 4 /results/orders/Logs-parse-pkce-access-token-600/stdout.txt 2025-03-19 21:16:16,823 DEBUG --- stderr --- 2025-03-19 21:16:16,823 DEBUG 2025-03-19 21:16:16,823 INFO - Download file (size 4k) source : /results/orders/Logs-parse-pkce-access-token-600/stdout.txt @ overseer-0-59c948f569-rgrkv destination : /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/05_Logs-parse-pkce-access-token-600/stdout_logs-parsing.txt 2025-03-19 21:16:16,824 INFO 2025-03-19 21:16:16,824 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-600/stdout.txt /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/05_Logs-parse-pkce-access-token-600/stdout_logs-parsing.txt 2025-03-19 21:16:16,824 INFO [loop_until]: (max_time=-1, interval=5, expected_rc=[0] 2025-03-19 21:16:17,545 INFO [loop_until]: OK (rc = 0) 2025-03-19 21:16:17,545 DEBUG --- stdout --- 2025-03-19 21:16:17,545 DEBUG tar: Removing leading `/' from member names 2025-03-19 21:16:17,545 DEBUG --- stderr --- 2025-03-19 21:16:17,545 DEBUG 2025-03-19 21:16:17,545 DEBUG [print_head_tail]: Input file /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_access_token/08_Verification/05_Logs-parse-pkce-access-token-600/stdout_logs-parsing.txt is small (9 lines), printing all lines: 2025-03-19 21:16:17,545 INFO ----- output ----- Running in non-interactive mode. Output file name was not provided, /results/orders/pkce-access-token-600/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:17] Logs-parse-pkce-access-token-600 post : Check output ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped