--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 ________________________________________________________________________________ [19/Apr/2023 14:51:19] Validation_user_idm pre : N/A ________________________________________________________________________________ [19/Apr/2023 14:51:19] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [19/Apr/2023 14:51:19] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [19/Apr/2023 14:51:19] 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: Gp7X5LHFs14CHZFZAkoWoAUc" -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": "La03JiFQNMRN5LMO8Hd3-Sdu4sA.*AAJTSQACMDIAAlNLABw0SEhzUjFoNmorblpWbGxpNk13MlJFS1FOK0E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=La03JiFQNMRN5LMO8Hd3-Sdu4sA.*AAJTSQACMDIAAlNLABw0SEhzUjFoNmorblpWbGxpNk13MlJFS1FOK0E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681915881.168.217763.144824|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "La03JiFQNMRN5LMO8Hd3-Sdu4sA.*AAJTSQACMDIAAlNLABw0SEhzUjFoNmorblpWbGxpNk13MlJFS1FOK0E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Wed, 19 Apr 2023 14:51:20 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=MVPMsmN4eWYwMVhU46PcGy4t2HM&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': 'fe61bb409633dff8258110f8440a1df7'} 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": "MVPMsmN4eWYwMVhU46PcGy4t2HM"}' "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": "g5gI2t-00hILp4gX-1HZV-kkZcU", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer g5gI2t-00hILp4gX-1HZV-kkZcU" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230419141300", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230419141300@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": "b2f3cb87-b46f-4526-9531-deec366c70ff", "_rev": "8708b5ae-119e-4f27-94d1-07091be35e9a-472", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419141300@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419141300", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 14:51:21] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230419141300 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230419141300" -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": "HVEc3ldNApcZQTwRIn5xxJiSip4.*AAJTSQACMDIAAlNLABxJZ01HVHJSakVvZURIWnhscWRzVSsxUHdJd3c9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=HVEc3ldNApcZQTwRIn5xxJiSip4.*AAJTSQACMDIAAlNLABxJZ01HVHJSakVvZURIWnhscWRzVSsxUHdJd3c9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681915882.858.217758.500421|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "HVEc3ldNApcZQTwRIn5xxJiSip4.*AAJTSQACMDIAAlNLABxJZ01HVHJSakVvZURIWnhscWRzVSsxUHdJd3c9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Wed, 19 Apr 2023 14:51:22 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=uJzUqcaMudkzM41ltOAGdbzNPYw&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': 'd7e3045edb48a6c2b583e1686b35d971'} 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": "uJzUqcaMudkzM41ltOAGdbzNPYw"}' "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": "rCETtrrTE60KQk2px9R3zFyyYFw", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer rCETtrrTE60KQk2px9R3zFyyYFw" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/b2f3cb87-b46f-4526-9531-deec366c70ff" [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": "b2f3cb87-b46f-4526-9531-deec366c70ff", "_rev": "8708b5ae-119e-4f27-94d1-07091be35e9a-472", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419141300@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419141300", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 14:51:23] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZjgwOTR0bGhydG5pczJzdG9tbzNndmNkZ2giLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMV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0RrNFNrczNORzlmYVc0ME4yMXVlVEJuUWsxMk9XMW9aemQzVUdSMVluZGZVVVpXVEMxd1dXa3RkM3B2WkdJNFdWUnhNMkowYW5CTVVsTk1URUp6UVRkcGJXbG1WRU10VmpGbUxWbFpVMU5PZFdsdmRsa3pNbHAwZW5BNWNTMUtXa1kwWW01UWVtVXhPWGRoY2taUGIxcHpSMHRXZURBMVF6SndZbnB5VFRoM1NVcFFXRlpPTUZkMVZrMVdWRWxuTGtOTWRYSkxjWGRaYkVreGNYSndjMU41ZERaeWRYYy5aZENkdXljNHVtaFowcDltRm5RRE94cEFSVm5RYWhrbkN1MFJOaC1JQnFjIiwiZXhwIjoxNjgxOTE2MTg0LCJpYXQiOjE2ODE5MTU4ODR9.x_3xM0ID7KRDXMyiVCo93ySqSprTcDnge2mEhHrL9VQ", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZjgwOTR0bGhydG5pczJzdG9tbzNndmNkZ2giLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFYZHBXVmQ0YmtscWIybGFS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VluZGZVVVpXVEMxd1dXa3RkM3B2WkdJNFdWUnhNMkowYW5CTVVsTk1URUp6UVRkcGJXbG1WRU10VmpGbUxWbFpVMU5PZFdsdmRsa3pNbHAwZW5BNWNTMUtXa1kwWW01UWVtVXhPWGRoY2taUGIxcHpSMHRXZURBMVF6SndZbnB5VFRoM1NVcFFXRlpPTUZkMVZrMVdWRWxuTGtOTWRYSkxjWGRaYkVreGNYSndjMU41ZERaeWRYYy5aZENkdXljNHVtaFowcDltRm5RRE94cEFSVm5RYWhrbkN1MFJOaC1JQnFjIiwiZXhwIjoxNjgxOTE2MTg0LCJpYXQiOjE2ODE5MTU4ODR9.x_3xM0ID7KRDXMyiVCo93ySqSprTcDnge2mEhHrL9VQ", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230419141300"}], "_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": "2yop1M3tsYJlgM5plhW-hWzoB8s.*AAJTSQACMDIAAlNLABxFbnRoNWFuVDk4S1k1dWVxTG9zY3d0MUp3OEE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [19/Apr/2023 14:51:24] 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: Gp7X5LHFs14CHZFZAkoWoAUc" -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": "bIq_DwK6hDRW_j_9VdEZcHvhxdM.*AAJTSQACMDIAAlNLABw4Kzh1cmpaODV4WmVCVUZldDRsWngvd1YySFk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=bIq_DwK6hDRW_j_9VdEZcHvhxdM.*AAJTSQACMDIAAlNLABw4Kzh1cmpaODV4WmVCVUZldDRsWngvd1YySFk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681915885.814.217761.273366|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "bIq_DwK6hDRW_j_9VdEZcHvhxdM.*AAJTSQACMDIAAlNLABw4Kzh1cmpaODV4WmVCVUZldDRsWngvd1YySFk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Wed, 19 Apr 2023 14:51:25 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=T4mBF97wMh6OJ8IhY0zG3sjHqyo&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': '294fad8859f889e56ac97f7c61688bcb'} 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": "T4mBF97wMh6OJ8IhY0zG3sjHqyo"}' "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": "HZ92jPn-ELkMBXb7P5CnHJhWvSU", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer HZ92jPn-ELkMBXb7P5CnHJhWvSU" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/b2f3cb87-b46f-4526-9531-deec366c70ff" [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": "b2f3cb87-b46f-4526-9531-deec366c70ff", "_rev": "8708b5ae-119e-4f27-94d1-07091be35e9a-472", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419141300@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419141300", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 14:51:25] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped