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

Consider making terratest output readable #825

Closed
jkremser opened this issue Jan 5, 2022 · 2 comments
Closed

Consider making terratest output readable #825

jkremser opened this issue Jan 5, 2022 · 2 comments

Comments

@jkremser
Copy link
Member

jkremser commented Jan 5, 2022

Because of the fact that terratests are run in parallel and produce a lot of log messages when doing the polling mechanisms (those waitUntilX functions), it's almost impossible to find out the root cause of the issue why some test is red.

Gruntwork provides a tool that produces separate log files for each test w/o any interleaving, it's called terratest_log_parser They also provide an example how to use it together with CircleCI. Here is an example of circle.ci config: https://github.com/gruntwork-io/kubergrunt/blob/master/.circleci/config.yml#L42:L54

They upload the separate log files into artifact repository that pertains to the job. GHA has something similar

links:

@AugustasV
Copy link
Contributor

Will take a look into that

jkremser added a commit that referenced this issue Jan 20, 2022
* terratest_log_parser
* terratest_dir
* DCO

Signed-off-by: AugustasV <reg1nt1z@gmail.com>

Co-authored-by: Jirka Kremser <535866+jkremser@users.noreply.github.com>
@jkremser
Copy link
Member Author

@AugustasV thanks!

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

2 participants