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

ERROR:Task exception was never retrieved when run molecule test command #3112

Closed
gun082544 opened this issue May 13, 2021 · 1 comment · Fixed by pycontribs/subprocess-tee#39 or #3141
Assignees
Labels

Comments

@gun082544
Copy link

When I run molecule test command, I found an error after converge step like this:

error molecule test

I use Python 3.8, Ansible 2.10.8 and molecule 3.3.0.
How can I fix this error ?
Thank you.

@gun082544 gun082544 added the bug label May 13, 2021
@ssbarnea
Copy link
Member

ssbarnea commented Jun 5, 2021

That is caused by too much output being logged by Ansible per-line. Recently we increased the default limit from 64kb to 512kb in subproces-tee. Half a megabyte is huge but if you run in verbose it we may need even more.

Bumping this value is easy but I am worried about to which extend we should do it and if there are going to be other undesired side-effects.

@felixfontein @tadeboro What do you think?

@ssbarnea ssbarnea self-assigned this Jun 5, 2021
ssbarnea added a commit to pycontribs/subprocess-tee that referenced this issue Jun 5, 2021
It seems that even 0.5MB was not enough for some
Ansible users so we bump the limit to 8MB and allow
users to override the value.

Fixes: ansible/molecule#3112
ssbarnea added a commit to pycontribs/subprocess-tee that referenced this issue Jun 5, 2021
It seems that even 0.5MB was not enough for some
Ansible users so we bump the limit to 8MB and allow
users to override the value.

Fixes: ansible/molecule#3112
ssbarnea added a commit that referenced this issue Jun 5, 2021
ssbarnea added a commit that referenced this issue Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants