sassoftware / sassoftware/pyviyatools

On error, validation is not generating a report

Open
#154 2 comments 0 reactions 1 assignee View on GitHub

@mjerick25 is already working on this.

Since May 10, 2023.

Dominant language
Python
Stars
50
Forks
42
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.