--Task-- name: Logs-parse-login-tree-1000 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-login-tree-100', 'Logs-parse-login-tree-400', 'Logs-parse-login-tree-800'] preceding_task: None options: {'task_name': 'login-tree-1000'} group_name: None Current dir: /mnt/disk1/xslou/workshop/lodestar-fork/pyrock source (overseer-0) is a component 2025-03-16 01:21:55 - INFO: Timeout for this Task has changed to 10m (600 seconds) 2025-03-16 01:21:55 - INFO: timeout was set to GatlingParseStdOutTask default - 10 minutes ________________________________________________________________________________ [2025-03-16 01:21:55] Logs-parse-login-tree-1000 step1 : Write order for overseer to parse Gatling task stdout ________________________________________________________________________________ Order file: /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_login_tree/08_Verification/05_Logs-parse-login-tree-1000/order.json { "name": "Logs-parse-login-tree-1000", "command": " /lodestar/pyrock/shared/scripts/logs_parser.py --non-interactive --input-file /results/orders/login-tree-1000/stdout.txt", "out-dir": "/results/orders/Logs-parse-login-tree-1000" } ________________________________________________________________________________ [2025-03-16 01:21:55] Logs-parse-login-tree-1000 step2 : Make sure overseer is ready to accept order (not already busy) ________________________________________________________________________________ 2025-03-16 01:21:55,706 INFO 2025-03-16 01:21:55,706 INFO [loop_until]: curl --insecure https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt | grep "WAITING" 2025-03-16 01:21:55,706 INFO [loop_until]: (max_time=120, interval=5, expected_rc=[0] 2025-03-16 01:21:55,919 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-16 01:21:55,919 INFO [loop_until]: OK (rc = 0) 2025-03-16 01:21:55,919 DEBUG --- stdout --- 2025-03-16 01:21:55,919 DEBUG WAITING 2025-03-16 01:21:55,919 DEBUG --- stderr --- 2025-03-16 01:21:55,919 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-16 01:21:55] Logs-parse-login-tree-1000 step3 : Send order to overseer ________________________________________________________________________________ 2025-03-16 01:21:55,920 INFO 2025-03-16 01:21:55,920 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-16 01:21:55,920 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2025-03-16 01:21:56,194 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2025-03-16 01:21:56,195 INFO [loop_until]: OK (rc = 0) 2025-03-16 01:21:56,195 DEBUG --- stdout --- 2025-03-16 01:21:56,195 DEBUG overseer-0-59c948f569-rgrkv 2025-03-16 01:21:56,195 DEBUG --- stderr --- 2025-03-16 01:21:56,195 DEBUG 2025-03-16 01:21:56,195 INFO 2025-03-16 01:21:56,195 INFO [loop_until]: kubectl --namespace=xlou --context=gke_engineeringpit_us-east1-d_xlou-cdm cp /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_login_tree/08_Verification/05_Logs-parse-login-tree-1000/order.json overseer-0-59c948f569-rgrkv:/results/orders/order.json 2025-03-16 01:21:56,195 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-03-16 01:21:57,607 INFO [loop_until]: OK (rc = 0) 2025-03-16 01:21:57,607 DEBUG --- stdout --- 2025-03-16 01:21:57,607 DEBUG 2025-03-16 01:21:57,607 DEBUG --- stderr --- 2025-03-16 01:21:57,607 DEBUG Order has been successfully forwarded to overseer ________________________________________________________________________________ [2025-03-16 01:21:57] Logs-parse-login-tree-1000 step4 : Wait order is done ________________________________________________________________________________ 2025-03-16 01:22:00,607 INFO 2025-03-16 01:22:00,608 INFO [loop_until]: curl --insecure https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt | grep "WAITING" 2025-03-16 01:22:00,608 INFO [loop_until]: (max_time=600, interval=5, expected_rc=[0] 2025-03-16 01:22:00,818 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-16 01:22:00,819 INFO [loop_until]: OK (rc = 0) 2025-03-16 01:22:00,819 DEBUG --- stdout --- 2025-03-16 01:22:00,819 DEBUG WAITING 2025-03-16 01:22:00,819 DEBUG --- stderr --- 2025-03-16 01:22:00,819 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-16 01:22:00] Logs-parse-login-tree-1000 step5 : Get and log parsed logs ________________________________________________________________________________ Log parsing order did not succeeded - log-parsing order log: 2025-03-16 01:22:01,053 INFO 2025-03-16 01:22:01,053 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-16 01:22:01,053 INFO [loop_until]: (max_time=180, interval=10, expected_rc=[0] 2025-03-16 01:22:01,327 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found 2025-03-16 01:22:01,328 INFO [loop_until]: OK (rc = 0) 2025-03-16 01:22:01,328 DEBUG --- stdout --- 2025-03-16 01:22:01,328 DEBUG overseer-0-59c948f569-rgrkv 2025-03-16 01:22:01,328 DEBUG --- stderr --- 2025-03-16 01:22:01,328 DEBUG Checking pod: overseer-0-59c948f569-rgrkv for file exists, if not wait. 2025-03-16 01:22:01,329 INFO 2025-03-16 01:22:01,329 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-login-tree-1000/stdout.txt" ]; then echo "/results/orders/Logs-parse-login-tree-1000/stdout.txt file found"; exit 0; else echo "/results/orders/Logs-parse-login-tree-1000/stdout.txt file not found"; exit 1; fi' | grep "/results/orders/Logs-parse-login-tree-1000/stdout.txt file found" 2025-03-16 01:22:01,329 INFO [loop_until]: (max_time=180, interval=5, expected_rc=[0] 2025-03-16 01:22:02,114 INFO [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found 2025-03-16 01:22:02,114 INFO [loop_until]: OK (rc = 0) 2025-03-16 01:22:02,114 DEBUG --- stdout --- 2025-03-16 01:22:02,114 DEBUG /results/orders/Logs-parse-login-tree-1000/stdout.txt file found 2025-03-16 01:22:02,114 DEBUG --- stderr --- 2025-03-16 01:22:02,114 DEBUG 2025-03-16 01:22:02,114 INFO 2025-03-16 01:22:02,114 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-login-tree-1000/stdout.txt 2025-03-16 01:22:02,906 INFO [run_command]: OK (rc = 0 - expected to be in [0]) 2025-03-16 01:22:02,906 DEBUG --- stdout --- 2025-03-16 01:22:02,907 DEBUG 4 /results/orders/Logs-parse-login-tree-1000/stdout.txt 2025-03-16 01:22:02,907 DEBUG --- stderr --- 2025-03-16 01:22:02,907 DEBUG 2025-03-16 01:22:02,907 INFO - Download file (size 4k) source : /results/orders/Logs-parse-login-tree-1000/stdout.txt @ overseer-0-59c948f569-rgrkv destination : /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_login_tree/08_Verification/05_Logs-parse-login-tree-1000/stdout_logs-parsing.txt 2025-03-16 01:22:02,908 INFO 2025-03-16 01:22:02,908 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-login-tree-1000/stdout.txt /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_login_tree/08_Verification/05_Logs-parse-login-tree-1000/stdout_logs-parsing.txt 2025-03-16 01:22:02,908 INFO [loop_until]: (max_time=-1, interval=5, expected_rc=[0] 2025-03-16 01:22:03,626 INFO [loop_until]: OK (rc = 0) 2025-03-16 01:22:03,627 DEBUG --- stdout --- 2025-03-16 01:22:03,627 DEBUG tar: Removing leading `/' from member names 2025-03-16 01:22:03,627 DEBUG --- stderr --- 2025-03-16 01:22:03,627 DEBUG 2025-03-16 01:22:03,627 DEBUG [print_head_tail]: Input file /mnt/disk1/xslou/workshop/lodestar-fork/results/pyrock/idc_login_tree/08_Verification/05_Logs-parse-login-tree-1000/stdout_logs-parsing.txt is small (9 lines), printing all lines: 2025-03-16 01:22:03,627 INFO ----- output ----- Running in non-interactive mode. Output file name was not provided, /results/orders/login-tree-1000/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-16 01:22:03] Logs-parse-login-tree-1000 post : Check output ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped