Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On error, validation is not generating a report #154

Open
Juan4SAS opened this issue May 4, 2023 · 2 comments
Open

On error, validation is not generating a report #154

Juan4SAS opened this issue May 4, 2023 · 2 comments
Assignees

Comments

@Juan4SAS
Copy link

Juan4SAS commented May 4, 2023

Hello,

when I try to validate, of course I am getting an expected error on the last test, since the user is sasboot, which cannot create a Compute Context,/Launcher Context as it requires a user with OS permissions.

However, the script halts in the error and it does not continue, which ends in not being able to generate a report.
Is there a solution or a workaround for it?

$ python3 validateviya.py --output report-full --output-directory ~
Data Collection Test Started: Logged in User
Data Collection Test Started: List Users
Data Collection Test Started: List Base Folders
Data Collection Test Started: List CAS Servers
Data Collection Test Started: List CAS Server Metrics
Data Collection Test Started: List CAS Server Caslibs
Data Collection Test Started: List CASLib Tables
Computation Test Started: Run Test SAS Code
http response code: 500
ret.text: {"version":2,"httpStatusCode":500,"errorCode":30154,"message":"Failed to retrieve identifier information user: "@currentuser"","details":["traceId: c8f68efdbc99b3e0","path: /launcher/processes","path: /compute/contexts/a768a6d7-bc93-48db-8acd-8760da1099d1/sessions","correlator: db1657d0-22c9-415e-99af-6c834ce95ef4"],"errors":[{"version":2,"httpStatusCode":404,"errorCode":10525,"message":"Unable to process identifier data for USER "sasboot".","details":["traceId: c8f68efdbc99b3e0","path: /identities/users/@currentUser/identifier"]}]}

Thank you in advance!
Best regards,
Juan

@gerrynelson63
Copy link
Member

Thanks Juan, I agree the process should complete and provide the report. We will fix this one.

@Juan4SAS
Copy link
Author

Juan4SAS commented May 4, 2023

Thank you Gary will be looking forward to the update, since it will help validation of environments in Life Sciences a lot - it is actually kind of mandatory for those deployments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants