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

Store and retrieve the last model trace #55

Closed
andrey-kuprianov opened this issue Jul 26, 2022 · 0 comments · Fixed by #79
Closed

Store and retrieve the last model trace #55

andrey-kuprianov opened this issue Jul 26, 2022 · 0 comments · Fixed by #79
Assignees

Comments

@andrey-kuprianov
Copy link
Contributor

As documented in ADR-05 Test execution, there is a dependency on the Model module, for providing programmatic access to obtaining the last trace produced from the model.

Programmatically, the following function needs to be provided by the Model module:

get_trace(trace = None)

The trace parameter, when given, will provide a filesystem path where to retrieve the trace. When the parameter is omitted, the last trace produced from the atomkraft model check or atmokraft model sample commands should be retrieved from Atomkraft configuration.

Errors: on any error, an exception should be raised, explaining the error reason (e.g. no trace has been sampled, or the provided trace can't be parsed).

Return value: on success, the trace represented as an ITF class from Modelator should be returned.

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

Successfully merging a pull request may close this issue.

2 participants