--Task-- name: Pre-check Num Users enabled: True class_name: ValidationNumUsers source_name: controller 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: [] options: {} group_name: None Current dir: /mnt/disks/data/xslou/lodestar-fork/pyrock ________________________________________________________________________________ [23/Oct/2023 14:45:51] Pre-check Num Users pre : N/A ________________________________________________________________________________ [23/Oct/2023 14:45:51] - INFO: Timeout for this Task has changed to 18h (64800 seconds) [23/Oct/2023 14:45:51] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [23/Oct/2023 14:45:51] Pre-check Num Users step1 : Get expected number of users from config (conf.yaml) ________________________________________________________________________________ ________________________________________________________________________________ [23/Oct/2023 14:45:51] Pre-check Num Users step2 : Get real number of users ________________________________________________________________________________ [23/Oct/2023 14:45:51] - INFO: Getting number of user entries through IDM API [LoginSession] Get "access_token" token for user "xiaosong.lou@forgerock.com" [LoginSession] Obtaining new "access_token" token from server because it was not obtained yet for the user [LoginSession] Get "token_id" token for user "xiaosong.lou@forgerock.com" [LoginSession] re-using "token_id" token that remains valid for 29m 22s Obtain Oauth2 authz code via REST with PKCE flow Oauth2 authorize for access token [http_cmd]: curl --header "Content-Type: application/x-www-form-urlencoded" --insecure --request POST --cookie "0e26551c0104b88=0YWvVOjI8g5BAaZzbrWxTOgm-OA.*AAJTSQACMDIAAlNLABxLQnl6N09MZE1Oa0hBTjlmRTBTSHQ1QWpLaTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "amlbcookie=01" --data '{"decision": "Allow", "csrf": "0YWvVOjI8g5BAaZzbrWxTOgm-OA.*AAJTSQACMDIAAlNLABxLQnl6N09MZE1Oa0hBTjlmRTBTSHQ1QWpLaTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://openam-ema-perf-benchmark.forgeblocks.com/am/oauth2/authorize?client_id=idmAdminClient&scope=openid fr:idm:*&redirect_uri=https://openam-ema-perf-benchmark.forgeblocks.com/platform/appAuthHelperRedirect.html&response_type=code&realm=/&code_challenge=H8VHP73pYVOJ0f7Y9lG3J5DU3gjTBCElj1L3LM6FgO&code_challenge_method=plain" [http_cmd]: http status code OK --- status code --- http status code is 302 (expected 302) --- http response --- {'x-frame-options': 'SAMEORIGIN', 'content-security-policy-report-only': "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'", 'x-content-type-options': 'nosniff', 'cache-control': 'no-store', 'location': 'https://openam-ema-perf-benchmark.forgeblocks.com/platform/appAuthHelperRedirect.html?code=OvtNnbqgRinWEyt78Nc7fIwsu3Y&iss=https%3A%2F%2Fopenam-ema-perf-benchmark.forgeblocks.com%3A443%2Fam%2Foauth2&client_id=idmAdminClient', 'pragma': 'no-cache', 'set-cookie': 'OAUTH_REQUEST_ATTRIBUTES=DELETED; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Domain=openam-ema-perf-benchmark.forgeblocks.com; Secure; HttpOnly; SameSite=none', 'content-length': '0', 'date': 'Mon, 23 Oct 2023 14:45:51 GMT', 'x-forgerock-transactionid': '1698072351723-89ea3c94463c1a57a7a9-7463137', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload;', 'Via': '1.1 google', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'} Oauth2 exchange authorize code for access token [http_cmd]: curl --header "Content-Type: application/x-www-form-urlencoded" --insecure -L --request POST --data '{"grant_type": "authorization_code", "redirect_uri": "https://openam-ema-perf-benchmark.forgeblocks.com/platform/appAuthHelperRedirect.html", "client_id": "idmAdminClient", "code": "OvtNnbqgRinWEyt78Nc7fIwsu3Y", "code_verifier": "H8VHP73pYVOJ0f7Y9lG3J5DU3gjTBCElj1L3LM6FgO"}' "https://openam-ema-perf-benchmark.forgeblocks.com/am/oauth2/access_token?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "access_token": "ey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xLQ0WavFod-wJf8k0sXw2XSPhBkWx43fZ188vLlFmHy4OpaE2llbEQeU46ou0UAnyJBA6Lx7hqCf_QrdmwwlS3MAapvk5EsCdHcWXL8OOYvMUqNPRRG6Nn7u8zw0M6U2pyvnsskYMXyRT8F7Cw468GRj51g-aPetqHtjUfIYG2Q12gYpzfhtDCaY2O3lmkpwNXBO_kD9E0wGeJbmg-BHIz46V0MmWJOeLXKgE1a1Pj7_DaTomOkXDtenqoXgJCbxHQo57Ie0fQKUWQm9pyR9riBgF8fq8HltoBy4VEnkgMD5MmcslSRNyOqAdjA9SngOqOztVeX7Dxoq7Lihbw", "token_type": "Bearer", "expires_in": 3599 } ________________________________________________________________________________ [23/Oct/2023 14:45:52] Pre-check Num Users step3 : Evaluate if the identities count is correct ________________________________________________________________________________ [23/Oct/2023 14:45:52] - INFO: Real count of identities in ID repo/userstore is 0. That differs from expected count of 1000000 identities. [23/Oct/2023 14:45:52] - INFO: Data not preloaded or at incorrect count - proceed with cleanup and fresh preload. ________________________________________________________________________________ [23/Oct/2023 14:45:52] Pre-check Num Users post : N/A ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped