--Task-- name: create enabled: True class_name: GatlingTask source_name: overseer-0 source_namespace: >default< target_name: idm target_namespace: >default< start: 0 stop: None timeout: not yet initialized for this Task as timeout was not explicitly defined, see updates bellow loop: False interval: None dependencies: [] wait_for: ['patch'] options: {'testMode': 'open', 'simulation': 'com.forgerock.gatling.Loadtest', 'testCase': 'idm.ManagedUsersCreate', 'throughput': '700', 'duration': 1800, 'java-opts': '-Dcsvfile=/results/idm/benchmark_users.csv -Doutput=/results/idm/ids.csv'} group_name: None Current dir: /mnt/disks/data/xslou/lodestar-fork/pyrock ________________________________________________________________________________ [16/May/2023 10:44:42] create pre : N/A ________________________________________________________________________________ [16/May/2023 10:44:42] - INFO: Get overseer pod resources requests memory [loop_until]: kubectl --namespace=xlou get pods overseer-0-668f5c8776-5l5g2 -o jsonpath={.spec.containers[].resources.requests.memory} [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- 4Gi --- stderr --- [16/May/2023 10:44:42] - INFO: Timeout for this Task has changed to 36m (2160 seconds) [16/May/2023 10:44:42] - INFO: timeout was calculated based on simulation duration parameter Pod log file : /results/orders/create/stdout.txt Pod log : /results/orders/create ________________________________________________________________________________ [16/May/2023 10:44:42] create print_command : Display the command to be forwarded to overseer as an order ________________________________________________________________________________ /lodestar/clients/gatling-for-pyrock.sh --run-mode local --simulation com.forgerock.gatling.Loadtest --simulations-folder /lodestar/pyrock/shared/clients/gatling-open/ --run-description idm.ManagedUsersCreate@medium --results-folder /results/gatling/create --no-reports ________________________________________________________________________________ [16/May/2023 10:44:42] create create_order : Create order for overseer with the command to run ________________________________________________________________________________ Order file : /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/order.json { "name": "create", "command": "/lodestar/clients/gatling-for-pyrock.sh --run-mode local --simulation com.forgerock.gatling.Loadtest --simulations-folder /lodestar/pyrock/shared/clients/gatling-open/ --run-description idm.ManagedUsersCreate@medium --results-folder /results/gatling/create --no-reports", "out-dir": "/results/orders/create", "environment": { "JAVA_OPTS": "-Dam_host=xlou.iam.xlou-cdm.engineeringpit.com -DamadminPassword=K6AZC3EW3nzqq2UfWCXDBKH9 -DamadminUsername=amadmin -Dcsvfile=/results/idm/benchmark_users.csv -Dduration=1800 -Didm_host=xlou.iam.xlou-cdm.engineeringpit.com -Dnum_users=10000000 -Doutput=/results/idm/ids.csv -DtestCase=idm.ManagedUsersCreate -DtestMode=open -Dthroughput=700 -Duser_password=T35tr0ck123 -Xmx4G" } } ________________________________________________________________________________ [16/May/2023 10:44:42] create loop_until_ready : Loop until overseer pod is ready to accept order ________________________________________________________________________________ [loop_until]: curl -k https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt | grep "WAITING" [loop_until]: (max_time=120, interval=5, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found [loop_until]: OK (rc = 0) --- stdout --- WAITING --- stderr --- % 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 33 0 --:--:-- --:--:-- --:--:-- 33 ________________________________________________________________________________ [16/May/2023 10:44:42] create start_order : Send the order to the overseer pod ________________________________________________________________________________ [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- [loop_until]: kubectl --namespace=xlou cp /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/order.json overseer-0-668f5c8776-5l5g2:/results/orders/order.json [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- --- stderr --- Order has been successfully forwarded to overseer [16/May/2023 10:44:44] - INFO: Check if Gatling simulation started successfully [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- [loop_until]: kubectl --namespace=xlou exec overseer-0-668f5c8776-5l5g2 -- head /results/orders/create/stdout.txt | grep "started..." [loop_until]: (max_time=300, interval=5, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - failed to find expected output: started... - retry [loop_until]: Function succeeded after 6s (rc=0) - failed to find expected output: started... - retry [loop_until]: Function succeeded after 12s (rc=0) - failed to find expected output: started... - retry [loop_until]: Function succeeded after 18s (rc=0) - expected pattern found [loop_until]: OK (rc = 0) --- stdout --- GATLING_HOME is set to /home/jenkins/lodestar/clients/gatling 11:44:48.060 [WARN ] i.g.c.ZincCompiler$ - -target is deprecated: Use -release instead to compile against the correct platform API. 11:44:53.535 [WARN ] i.g.c.ZincCompiler$ - one warning found Gatling 3.9.5 is available! (you're using 3.9.0) 11:44:56.766 [WARN ] i.g.c.s.e.ElCompiler$ - You're still using the deprecated ${} pattern for Gatling EL. Please use the #{} pattern instead. Simulation com.forgerock.gatling.Loadtest started... --- stderr --- ________________________________________________________________________________ [16/May/2023 10:45:02] create wait_stop_by_itself : Wait for the order to stop by itself ________________________________________________________________________________ Task may stop by itself (no stop defined in configuration file), wait until overseer ends the order - timeout is 36m Waiting for status (curl --fail -k https://overseer-0.xlou.iam.xlou-cdm.engineeringpit.com/orders/status.txt) == WAITING Order is running since 2m, retry Order is running since 4m, retry Order is running since 6m 01s, retry Order is running since 8m 01s, retry Order is running since 10m 01s, retry Order is running since 12m 02s, retry Order is running since 14m 02s, retry Order is running since 16m 02s, retry Order is running since 18m 03s, retry Order is running since 20m 03s, retry Order is running since 22m 03s, retry Order is running since 24m 04s, retry Order is running since 26m 04s, retry Order is running since 28m 04s, retry Order is running since 30m 05s, retry PASS : Order stopped by itself after 32m 05s and before timeout (36m) ________________________________________________________________________________ [16/May/2023 11:17:08] create stop_order : Stop the order on overseer pod ________________________________________________________________________________ [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- [loop_until]: kubectl --namespace=xlou exec overseer-0-668f5c8776-5l5g2 -- rm -f /results/orders/order.json [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- --- stderr --- Order ran during 32m 25s ________________________________________________________________________________ [16/May/2023 11:17:09] create download_logs : Download order.tar.gz ________________________________________________________________________________ [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- Checking pod: overseer-0-668f5c8776-5l5g2 for file exists, if not wait. [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- [loop_until]: kubectl --namespace=xlou exec overseer-0-668f5c8776-5l5g2 -i -- bash -c 'if [ -f "/results/orders/create/order.tar.gz" ]; then echo "/results/orders/create/order.tar.gz file found"; exit 0; else echo "/results/orders/create/order.tar.gz file not found"; exit 1; fi' | grep "/results/orders/create/order.tar.gz file found" [loop_until]: (max_time=180, interval=5, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected pattern found [loop_until]: OK (rc = 0) --- stdout --- /results/orders/create/order.tar.gz file found --- stderr --- [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- [run_command]: kubectl --namespace=xlou exec overseer-0-668f5c8776-5l5g2 -i -- du -k /results/orders/create/order.tar.gz [run_command]: OK (rc = 0 - expected to be in [0]) --- stdout --- 4040 /results/orders/create/order.tar.gz --- stderr --- - Download file (size 4040k) [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- source : /results/orders/create/order.tar.gz @ overseer-0-668f5c8776-5l5g2 destination : /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/order.tar.gz [loop_until]: awk -F" " "{print NF}" <<< `kubectl --namespace=xlou get pods -l app=overseer-0 -o jsonpath={.items[*].metadata.name}` | grep 1 [loop_until]: (max_time=180, interval=10, expected_rc=[0] [loop_until]: Function succeeded after 0s (rc=0) - expected number of elements found [loop_until]: OK (rc = 0) --- stdout --- overseer-0-668f5c8776-5l5g2 --- stderr --- [loop_until]: kubectl --namespace=xlou cp overseer-0-668f5c8776-5l5g2:/results/orders/create/order.tar.gz /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/order.tar.gz [loop_until]: (max_time=-1, interval=5, expected_rc=[0] [loop_until]: OK (rc = 0) --- stdout --- tar: Removing leading `/' from member names --- stderr --- - Extract archive zip file : /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/order.tar.gz destination : /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create ________________________________________________________________________________ [16/May/2023 11:17:15] create show_cmd : Display order command ________________________________________________________________________________ [print_head_tail]: Input file /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/cmd.txt is small (1 lines), printing all lines: ----- output ----- /lodestar/clients/gatling-for-pyrock.sh --run-mode local --simulation com.forgerock.gatling.Loadtest --simulations-folder /lodestar/pyrock/shared/clients/gatling-open/ --run-description idm.ManagedUsersCreate@medium --results-folder /results/gatling/create --no-reports ________________________________________________________________________________ [16/May/2023 11:17:15] create show_rc : Display rc order ________________________________________________________________________________ [print_head_tail]: Input file /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/rc.txt is small (1 lines), printing all lines: ----- output ----- CMD SUCCESS: command returns code 0 (expected [0, -9, 143, 137, -15]) ________________________________________________________________________________ [16/May/2023 11:17:15] create show_stdout : Display stdout order ________________________________________________________________________________ [print_head_tail]: Print head (100 lines) and tail (100 lines) of input file (/mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/stdout.txt is 2267584 lines): ----- output ----- GATLING_HOME is set to /home/jenkins/lodestar/clients/gatling 11:44:48.060 [WARN ] i.g.c.ZincCompiler$ - -target is deprecated: Use -release instead to compile against the correct platform API. 11:44:53.535 [WARN ] i.g.c.ZincCompiler$ - one warning found Gatling 3.9.5 is available! (you're using 3.9.0) 11:44:56.766 [WARN ] i.g.c.s.e.ElCompiler$ - You're still using the deprecated ${} pattern for Gatling EL. Please use the #{} pattern instead. Simulation com.forgerock.gatling.Loadtest started... ================================================================================ 2023-05-16 11:45:02 5s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=0 KO=0 ) ---- getToken ------------------------------------------------------------------ [--------------------------------------------------------------------------] 0% waiting: 0 / active: 1 / done: 0 ---- idm.ManagedUsersCreate ---------------------------------------------------- [- ] 0% waiting: 1269534 / active: 105 / done: 187 ================================================================================ ================================================================================ 2023-05-16 11:45:07 10s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=0 KO=0 ) ---- getToken ------------------------------------------------------------------ [--------------------------------------------------------------------------] 0% waiting: 0 / active: 1 / done: 0 ---- idm.ManagedUsersCreate ---------------------------------------------------- [- ] 0% waiting: 1268658 / active: 221 / done: 947 ================================================================================ ================================================================================ 2023-05-16 11:45:12 15s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=684 KO=0 ) > AdminRestLogin (OK=1 KO=0 ) > AdminAuthorize (OK=1 KO=0 ) > Admin AccessToken stage (OK=1 KO=0 ) > CreateManagedUser (OK=681 KO=0 ) ---- getToken ------------------------------------------------------------------ [--------------------------------------------------------------------------] 0% waiting: 0 / active: 1 / done: 0 ---- idm.ManagedUsersCreate ---------------------------------------------------- [- ] 0% waiting: 1267198 / active: 736 / done: 1892 ================================================================================ ================================================================================ 2023-05-16 11:45:17 20s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=1954 KO=0 ) > AdminRestLogin (OK=1 KO=0 ) > AdminAuthorize (OK=1 KO=0 ) > Admin AccessToken stage (OK=1 KO=0 ) > CreateManagedUser (OK=1951 KO=0 ) ---- getToken ------------------------------------------------------------------ [--------------------------------------------------------------------------] 0% waiting: 0 / active: 1 / done: 0 ---- idm.ManagedUsersCreate ---------------------------------------------------- [- ] 0% waiting: 1265156 / active: 1508 / done: 3162 ================================================================================ ================================================================================ 2023-05-16 11:45:22 25s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=3388 KO=0 ) > AdminRestLogin (OK=1 KO=0 ) > AdminAuthorize (OK=1 KO=0 ) > Admin AccessToken stage (OK=1 KO=0 ) > CreateManagedUser (OK=3385 KO=0 ) ---- getToken ------------------------------------------------------------------ [--------------------------------------------------------------------------] 0% waiting: 0 / active: 1 / done: 0 ---- idm.ManagedUsersCreate ---------------------------------------------------- [- ] 0% waiting: 1262530 / active: 2700 / done: 4596 ================================================================================ ================================================================================ 2023-05-16 11:45:27 30s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=5094 KO=0 ) > AdminRestLogin (OK=1 KO=0 ) > AdminAuthorize (OK=1 KO=0 ) > Admin AccessToken stage (OK=1 KO=0 ) > CreateManagedUser (OK=5091 KO=0 ) [...] s defined > Request timeout to xlou.iam.xlou-cdm.engineeringpit.com/34.148 3081 (13.97%) .47.242:443 after 60000 ms ---- getToken ------------------------------------------------------------------ [##########################################################################]100% waiting: 0 / active: 0 / done: 1 ---- idm.ManagedUsersCreate ---------------------------------------------------- [#########################################################################-] 99% waiting: 6950 / active: 703 / done: 1262173 ================================================================================ ================================================================================ 2023-05-16 12:15:22 1825s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=1225110 KO=22061 ) > AdminRestLogin (OK=1 KO=0 ) > AdminAuthorize (OK=1 KO=0 ) > Admin AccessToken stage (OK=1 KO=0 ) > CreateManagedUser (OK=1225107 KO=22061 ) ---- Errors -------------------------------------------------------------------- > j.u.NoSuchElementException: No attribute named 'savedStatus' i 18980 (86.03%) s defined > Request timeout to xlou.iam.xlou-cdm.engineeringpit.com/34.148 3081 (13.97%) .47.242:443 after 60000 ms ---- getToken ------------------------------------------------------------------ [##########################################################################]100% waiting: 0 / active: 0 / done: 1 ---- idm.ManagedUsersCreate ---------------------------------------------------- [#########################################################################-] 99% waiting: 3425 / active: 667 / done: 1265734 ================================================================================ ================================================================================ 2023-05-16 12:15:27 1830s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=1225110 KO=22061 ) > AdminRestLogin (OK=1 KO=0 ) > AdminAuthorize (OK=1 KO=0 ) > Admin AccessToken stage (OK=1 KO=0 ) > CreateManagedUser (OK=1225107 KO=22061 ) ---- Errors -------------------------------------------------------------------- > j.u.NoSuchElementException: No attribute named 'savedStatus' i 18980 (86.03%) s defined > Request timeout to xlou.iam.xlou-cdm.engineeringpit.com/34.148 3081 (13.97%) .47.242:443 after 60000 ms ---- getToken ------------------------------------------------------------------ [##########################################################################]100% waiting: 0 / active: 0 / done: 1 ---- idm.ManagedUsersCreate ---------------------------------------------------- [#########################################################################-] 99% waiting: 0 / active: 665 / done: 1269161 ================================================================================ ================================================================================ 2023-05-16 12:15:28 1831s elapsed ---- Requests ------------------------------------------------------------------ > Global (OK=1225110 KO=22061 ) > AdminRestLogin (OK=1 KO=0 ) > AdminAuthorize (OK=1 KO=0 ) > Admin AccessToken stage (OK=1 KO=0 ) > CreateManagedUser (OK=1225107 KO=22061 ) ---- Errors -------------------------------------------------------------------- > j.u.NoSuchElementException: No attribute named 'savedStatus' i 18980 (86.03%) s defined > Request timeout to xlou.iam.xlou-cdm.engineeringpit.com/34.148 3081 (13.97%) .47.242:443 after 60000 ms ---- getToken ------------------------------------------------------------------ [##########################################################################]100% waiting: 0 / active: 0 / done: 1 ---- idm.ManagedUsersCreate ---------------------------------------------------- [##########################################################################]100% waiting: 0 / active: 0 / done: 1269826 ================================================================================ Simulation com.forgerock.gatling.Loadtest completed in 1831 seconds ---------------------- [16/May/2023 12:15:29] Create tar file create.tar.gz ---------------------- RESULTS_FOLDER=/results/gatling/ RESULT_FOLDER=create SIMULATION_PATH=create/loadtest-20230516104457074 PWD=/results/gatling/create/loadtest-20230516104457074 [cmd] tar -czvf /results/gatling//create.tar.gz --exclude=simulation.log * /results/gatling ---------------------- [16/May/2023 12:15:29] Update /results/gatling//latest ---------------------- ---------------------- [16/May/2023 12:15:29] Update /results/gatling//latest.tar.gz ---------------------- ________________________________________________________________________________ [16/May/2023 11:17:16] create show_stderr : Display stderr order ________________________________________________________________________________ [print_head_tail]: Input file /mnt/disks/data/xslou/lodestar-fork/results/pyrock/simple_managed_users/07_scenario/03_create/stderr.txt is small (0 lines), printing all lines: ----- output ----- ________________________________________________________________________________ [16/May/2023 11:17:16] create check_rc_and_logs : Check order's outputs ________________________________________________________________________________ PASS: no error found in rc log PASS: no error found in stdout log PASS: no error found in stderr log ________________________________________________________________________________ [16/May/2023 11:17:22] create print_overseer_logs : Print overseer logs from the K8s pod ________________________________________________________________________________ Task result is INIT no need to display logs. ________________________________________________________________________________ [16/May/2023 11:17:22] create post : Post ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped