--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 ________________________________________________________________________________ [22/Apr/2023 00:36:48] Validation_user_idm pre : N/A ________________________________________________________________________________ [22/Apr/2023 00:36:48] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [22/Apr/2023 00:36:48] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [22/Apr/2023 00:36:48] 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: NJHHuVIwNWvsuWOuGxf0MFDN" -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": "jenm2UIUwJprGAGkRRyPOW2h9sM.*AAJTSQACMDIAAlNLABw1S3NmcUJTbUhuWUJ5TTcrZWxnUXNLdWxLN0U9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=jenm2UIUwJprGAGkRRyPOW2h9sM.*AAJTSQACMDIAAlNLABw1S3NmcUJTbUhuWUJ5TTcrZWxnUXNLdWxLN0U9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682123809.297.282011.461525|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "jenm2UIUwJprGAGkRRyPOW2h9sM.*AAJTSQACMDIAAlNLABw1S3NmcUJTbUhuWUJ5TTcrZWxnUXNLdWxLN0U9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 22 Apr 2023 00:36:48 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=A0paspmWj-Ebo1_-CftiWoI93RA&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': 'a1ed99b8eddcaf1ede0d841abf2714eb'} 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": "A0paspmWj-Ebo1_-CftiWoI93RA"}' "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": "6Sx3GMkL3V_cl_QTvGu6XYiOvi8", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 6Sx3GMkL3V_cl_QTvGu6XYiOvi8" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230421235728", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230421235728@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": "de5c528c-d795-454c-bd75-49d98889e7e3", "_rev": "11deabd0-243d-46c3-a0ff-bc0490b0ca0f-504", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230421235728@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230421235728", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [22/Apr/2023 00:36:49] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230421235728 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230421235728" -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": "WyMz84ksCXSaC54wEhCB45OEoTk.*AAJTSQACMDIAAlNLABxiRnk2ZzJoUXBGWk1KN3E5TStHWTdINUpyaWM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=WyMz84ksCXSaC54wEhCB45OEoTk.*AAJTSQACMDIAAlNLABxiRnk2ZzJoUXBGWk1KN3E5TStHWTdINUpyaWM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682123811.012.282012.222702|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "WyMz84ksCXSaC54wEhCB45OEoTk.*AAJTSQACMDIAAlNLABxiRnk2ZzJoUXBGWk1KN3E5TStHWTdINUpyaWM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 22 Apr 2023 00:36:50 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=HCBVJM64eQL5ZsScIXGgc0kAyPI&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': '671672e4b320bf97c293ff5a6c36ee2a'} 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": "HCBVJM64eQL5ZsScIXGgc0kAyPI"}' "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": "PW8LHjAXd0mmegwPSQG8Ip-pmKo", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer PW8LHjAXd0mmegwPSQG8Ip-pmKo" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/de5c528c-d795-454c-bd75-49d98889e7e3" [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": "de5c528c-d795-454c-bd75-49d98889e7e3", "_rev": "11deabd0-243d-46c3-a0ff-bc0490b0ca0f-504", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230421235728@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230421235728", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [22/Apr/2023 00:36:51] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibjRoZjViZGM4MTZxdXUxamR1dWt0czd2YTIiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExW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t6UkdSb1lXdGlSRXBqYjBVMVkxbGxSblJTVkc5VlZFRjFXVmxwT1d4RVVrMXpTVzlEUzFKVVlYTXdiWFpaYzBWSk1uQmZNSHBYUW5KT1FtazJhVFozYVRkcVZHZEVja2xKTVhJNE1YQjFURzl0ZGxwUVpWWktWVFJGY21GaFUyTjBOSGxvUjFoNU1sOVhaekEzTjBaU1RtZ3pVVFpLTjJ4VFJVSnRiekk1YmpaTFkyWTBVVFJXUlVSSlIyaExkMVpUZWtsZllrcEVZMnB2YUd4UWNtd3dZVkk0TGtWcWFubFhaMFpHYTNCVWJrOURXVXRLVFdkQlYyYy5fNGc0TUJLWTNsaDB6ZlBRUWhIZmhEbkJTMVp0Q1R6UGJFLWRVR18xdV9jIiwiZXhwIjoxNjgyMTI0MTEzLCJpYXQiOjE2ODIxMjM4MTN9.4PACGemnjtoFOOW1lUJyHKYvoffrLYbzda55H1tgD4Y", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibjRoZjViZGM4MTZxdXUxamR1dWt0czd2YTIiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJST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kc5VlZFRjFXVmxwT1d4RVVrMXpTVzlEUzFKVVlYTXdiWFpaYzBWSk1uQmZNSHBYUW5KT1FtazJhVFozYVRkcVZHZEVja2xKTVhJNE1YQjFURzl0ZGxwUVpWWktWVFJGY21GaFUyTjBOSGxvUjFoNU1sOVhaekEzTjBaU1RtZ3pVVFpLTjJ4VFJVSnRiekk1YmpaTFkyWTBVVFJXUlVSSlIyaExkMVpUZWtsZllrcEVZMnB2YUd4UWNtd3dZVkk0TGtWcWFubFhaMFpHYTNCVWJrOURXVXRLVFdkQlYyYy5fNGc0TUJLWTNsaDB6ZlBRUWhIZmhEbkJTMVp0Q1R6UGJFLWRVR18xdV9jIiwiZXhwIjoxNjgyMTI0MTEzLCJpYXQiOjE2ODIxMjM4MTN9.4PACGemnjtoFOOW1lUJyHKYvoffrLYbzda55H1tgD4Y", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230421235728"}], "_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": "l5u8lF2BPUNwgCqdJHBfQmP4J5o.*AAJTSQACMDIAAlNLABxXakJQZmlTMDN3VUxQaDhBS1JRSWdEOGtCUE09AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [22/Apr/2023 00:36:54] 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: NJHHuVIwNWvsuWOuGxf0MFDN" -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": "K_lKbvR9vq0x-0nwRdL-IwniQ6c.*AAJTSQACMDIAAlNLABwvdWpQRXNUZ2M2TnVweWMrdHdUeFRwTHBNYkE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=K_lKbvR9vq0x-0nwRdL-IwniQ6c.*AAJTSQACMDIAAlNLABwvdWpQRXNUZ2M2TnVweWMrdHdUeFRwTHBNYkE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682123815.286.282135.783843|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "K_lKbvR9vq0x-0nwRdL-IwniQ6c.*AAJTSQACMDIAAlNLABwvdWpQRXNUZ2M2TnVweWMrdHdUeFRwTHBNYkE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 22 Apr 2023 00:36:54 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=-QcMN4r8NbxeEE-tBUgq-CZSODM&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': '4490d39413b8b8c646d6b5b397e3bb1d'} 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": "-QcMN4r8NbxeEE-tBUgq-CZSODM"}' "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": "6I1WaJt2n_UTjIMMIm9GU8ABIC8", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 6I1WaJt2n_UTjIMMIm9GU8ABIC8" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/de5c528c-d795-454c-bd75-49d98889e7e3" [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": "de5c528c-d795-454c-bd75-49d98889e7e3", "_rev": "11deabd0-243d-46c3-a0ff-bc0490b0ca0f-504", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230421235728@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230421235728", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [22/Apr/2023 00:36:55] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped