--Task-- name: Validation_user_idm enabled: True class_name: CheckUserTask source_name: idm 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 ________________________________________________________________________________ [08/Apr/2023 01:00:17] Validation_user_idm pre : N/A ________________________________________________________________________________ [08/Apr/2023 01:00:17] - INFO: Timeout for this Task has changed to 6h (21600 seconds) [08/Apr/2023 01:00:17] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [08/Apr/2023 01:00:17] Validation_user_idm step1 : Make sure we can create a user ________________________________________________________________________________ Authenticate user amadmin via REST [http_cmd]: curl -H "X-OpenAM-Username: amadmin" -H "X-OpenAM-Password: 1Q4RSXBG3b58XB2AfgGOqgWq" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "7PAW4D3kc7rjJf-mU9dp_pZtqtg.*AAJTSQACMDIAAlNLABxyQUlSU085V01OL3dhT2h5a1IzSWFXTVRVK289AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } Obtain Oauth2 authz code via REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=7PAW4D3kc7rjJf-mU9dp_pZtqtg.*AAJTSQACMDIAAlNLABxyQUlSU085V01OL3dhT2h5a1IzSWFXTVRVK289AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680915618.582.86289.162918|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "7PAW4D3kc7rjJf-mU9dp_pZtqtg.*AAJTSQACMDIAAlNLABxyQUlSU085V01OL3dhT2h5a1IzSWFXTVRVK289AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/authorize?client_id=smokeclient&scope=fr:idm:*&redirect_uri=https://fake.com&response_type=code&realm=/" [http_cmd]: http status code OK --- status code --- http status code is 302 (expected 302) --- http response --- {'Date': 'Sat, 08 Apr 2023 01:00:17 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Cache-Control': 'no-store', 'Location': 'https://fake.com?code=EYy19YShbmZgV-jfanF8vShr2Qs&iss=https%3A%2F%2Fxlou.iam.xlou-cdm.engineeringpit.com%2Fam%2Foauth2&client_id=smokeclient', 'Pragma': 'no-cache', 'Set-Cookie': 'OAUTH_REQUEST_ATTRIBUTES=DELETED; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Secure; HttpOnly; SameSite=none', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-ForgeRock-TransactionId': '91f57b531c86730f0a6d26087947230f'} Oauth2 get access-token REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -L -X POST --data '{"grant_type": "authorization_code", "redirect_uri": "https://fake.com", "client_id": "smokeclient", "code": "EYy19YShbmZgV-jfanF8vShr2Qs"}' "https://xlou.iam.xlou-cdm.engineeringpit.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": "GnPD8zsr4ssRfKQ0Gbo-_bTtMvY", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer GnPD8zsr4ssRfKQ0Gbo-_bTtMvY" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230408002556", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230408002556@forgerock.com"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user?_action=create" [http_cmd]: http status code OK --- status code --- http status code is 201 (expected [200, 201]) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (32 lines): ----- output ----- { "_id": "61555978-b0d0-4da5-965f-722ee3954427", "_rev": "09a89a9a-d762-45d6-8646-24dace3985af-4000699", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230408002556@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230408002556", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [08/Apr/2023 01:00:18] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230408002556 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230408002556" -H "X-OpenAM-Password: T35tr0ck123" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "WFdK0TihJPFkTj5yCxx1y27VmlU.*AAJTSQACMDIAAlNLABxUUFhtSUdrbDA4dURiNVRCSFM4QmFpL2VGVWc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } Obtain Oauth2 authz code via REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=WFdK0TihJPFkTj5yCxx1y27VmlU.*AAJTSQACMDIAAlNLABxUUFhtSUdrbDA4dURiNVRCSFM4QmFpL2VGVWc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680915619.603.86289.764191|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "WFdK0TihJPFkTj5yCxx1y27VmlU.*AAJTSQACMDIAAlNLABxUUFhtSUdrbDA4dURiNVRCSFM4QmFpL2VGVWc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/authorize?client_id=smokeclient&scope=fr:idm:*&redirect_uri=https://fake.com&response_type=code&realm=/" [http_cmd]: http status code OK --- status code --- http status code is 302 (expected 302) --- http response --- {'Date': 'Sat, 08 Apr 2023 01:00:18 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Cache-Control': 'no-store', 'Location': 'https://fake.com?code=A8XKGTTAoQBGsvw24xVJo2DNMOE&iss=https%3A%2F%2Fxlou.iam.xlou-cdm.engineeringpit.com%2Fam%2Foauth2&client_id=smokeclient', 'Pragma': 'no-cache', 'Set-Cookie': 'OAUTH_REQUEST_ATTRIBUTES=DELETED; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Secure; HttpOnly; SameSite=none', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-ForgeRock-TransactionId': '964de4fc5f8a6d5f37e4767188d12901'} Oauth2 get access-token REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -L -X POST --data '{"grant_type": "authorization_code", "redirect_uri": "https://fake.com", "client_id": "smokeclient", "code": "A8XKGTTAoQBGsvw24xVJo2DNMOE"}' "https://xlou.iam.xlou-cdm.engineeringpit.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": "FJw018DtZGGoc7BddtAjegFYBlI", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer FJw018DtZGGoc7BddtAjegFYBlI" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/61555978-b0d0-4da5-965f-722ee3954427" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (32 lines): ----- output ----- { "_id": "61555978-b0d0-4da5-965f-722ee3954427", "_rev": "09a89a9a-d762-45d6-8646-24dace3985af-4000699", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230408002556@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230408002556", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [08/Apr/2023 01:00:19] Validation_user_idm step3 : Make sure user can authenticate himself ________________________________________________________________________________ Anonymous POST to Login service endpoint to obtain appropriate callbacks Call to Login Tree [http_cmd]: curl -H "Content-Type: application/json" -H "Accept-API-Version: protocol=2.0,resource=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/realms/root/authenticate?authIndexType=service&authIndexValue=Login" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (39 lines): ----- output ----- { "authId": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZ2Q2M2k5bzhnZTJqMWh2OXZuc2JiamIwMnQiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTV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elYxUnlibkZZUW1WalVtaExVVGxxWWw5UloyczNWSFpYVkRWblJsOHRiWG96V0RoaVpubEdjM1psVDJKTmNHZFFOMWRKYzJWWGJVVnJiRkJGYm0wNFZtOVNUVjlIZUdZMFdrOWlZeTEwWDNrNFowczJSRmhJZDIxdVZqRjZhMk4zVUZsQk4wbDVSR2xyTnkxelRsb3laelp1VTNSbFIxQnBWRmxIYlhCNmVVWjVXamRPUVhBMlgySjRRakF4ZVd0UFdURnBOVVpyTGxCRGIyVjBSRVJsYW1rNE4xUXlkRXcxYTA0MmRVRS5UblJ0VkpZcnItbWVOTEM3RmMtSjJhSXZ6U3RxT1VZYnl4bXhqT2FncHBVIiwiZXhwIjoxNjgwOTE1OTIwLCJpYXQiOjE2ODA5MTU2MjB9.plgiRwVtQ4bcr1ThFOxN5_DzH4t5UDpn4nImNmwge68", "callbacks": [ { "type": "NameCallback", "output": [ { "name": "prompt", "value": "User Name" } [...] "name": "IDToken2", "value": "" } ], "_id": 1 } ], "header": "Sign In", "description": "New here? Create an account
Forgot username? Forgot password?" } Set value for first two callbacks for login Call to Login Tree with input values [http_cmd]: curl -H "Content-Type: application/json" -H "Accept-API-Version: protocol=2.0,resource=1.0" -L -X POST --data '{"authId": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZ2Q2M2k5bzhnZTJqMWh2OXZuc2JiamIwMnQiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFYZHB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yczNWSFpYVkRWblJsOHRiWG96V0RoaVpubEdjM1psVDJKTmNHZFFOMWRKYzJWWGJVVnJiRkJGYm0wNFZtOVNUVjlIZUdZMFdrOWlZeTEwWDNrNFowczJSRmhJZDIxdVZqRjZhMk4zVUZsQk4wbDVSR2xyTnkxelRsb3laelp1VTNSbFIxQnBWRmxIYlhCNmVVWjVXamRPUVhBMlgySjRRakF4ZVd0UFdURnBOVVpyTGxCRGIyVjBSRVJsYW1rNE4xUXlkRXcxYTA0MmRVRS5UblJ0VkpZcnItbWVOTEM3RmMtSjJhSXZ6U3RxT1VZYnl4bXhqT2FncHBVIiwiZXhwIjoxNjgwOTE1OTIwLCJpYXQiOjE2ODA5MTU2MjB9.plgiRwVtQ4bcr1ThFOxN5_DzH4t5UDpn4nImNmwge68", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230408002556"}], "_id": 0}, {"type": "PasswordCallback", "output": [{"name": "prompt", "value": "Password"}], "input": [{"name": "IDToken2", "value": "T35tr0ck123"}], "_id": 1}], "header": "Sign In", "description": "New here? Create an account
Forgot username? Forgot password?"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/realms/root/authenticate?authIndexType=service&authIndexValue=Login" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "2nnpIUQN_1vkFs-LlHEJBMNpr9Q.*AAJTSQACMDIAAlNLABxSRXVVS1BWa0t2ODlRWUFkY0wxODRHSmhsZEk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [08/Apr/2023 01:00:21] Validation_user_idm step4 : Make sure we can delete the user ________________________________________________________________________________ Authenticate user amadmin via REST [http_cmd]: curl -H "X-OpenAM-Username: amadmin" -H "X-OpenAM-Password: 1Q4RSXBG3b58XB2AfgGOqgWq" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "9cSKg1cOAIy_CkXFFIo8lBJnJbw.*AAJTSQACMDIAAlNLABwrVzhlWXpFYnRvRXdZUW9OTFhCNWE5MFdBQ3M9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } Obtain Oauth2 authz code via REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=9cSKg1cOAIy_CkXFFIo8lBJnJbw.*AAJTSQACMDIAAlNLABwrVzhlWXpFYnRvRXdZUW9OTFhCNWE5MFdBQ3M9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680915622.589.86212.369248|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "9cSKg1cOAIy_CkXFFIo8lBJnJbw.*AAJTSQACMDIAAlNLABwrVzhlWXpFYnRvRXdZUW9OTFhCNWE5MFdBQ3M9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/authorize?client_id=smokeclient&scope=fr:idm:*&redirect_uri=https://fake.com&response_type=code&realm=/" [http_cmd]: http status code OK --- status code --- http status code is 302 (expected 302) --- http response --- {'Date': 'Sat, 08 Apr 2023 01:00:21 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Cache-Control': 'no-store', 'Location': 'https://fake.com?code=9omexnBr3-iEyY3ejJshX6zON1o&iss=https%3A%2F%2Fxlou.iam.xlou-cdm.engineeringpit.com%2Fam%2Foauth2&client_id=smokeclient', 'Pragma': 'no-cache', 'Set-Cookie': 'OAUTH_REQUEST_ATTRIBUTES=DELETED; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Secure; HttpOnly; SameSite=none', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-ForgeRock-TransactionId': 'b9cc0e3b403ba6fb4c1edaebb467c61e'} Oauth2 get access-token REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -L -X POST --data '{"grant_type": "authorization_code", "redirect_uri": "https://fake.com", "client_id": "smokeclient", "code": "9omexnBr3-iEyY3ejJshX6zON1o"}' "https://xlou.iam.xlou-cdm.engineeringpit.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": "_LQya5DBZBQuyCo15pf7CPy40OU", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer _LQya5DBZBQuyCo15pf7CPy40OU" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/61555978-b0d0-4da5-965f-722ee3954427" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (32 lines): ----- output ----- { "_id": "61555978-b0d0-4da5-965f-722ee3954427", "_rev": "09a89a9a-d762-45d6-8646-24dace3985af-4000699", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230408002556@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230408002556", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [08/Apr/2023 01:00:22] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped