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

(Backport 49037) Fix case where args or kwargs are not specified in loop state #55006

Merged
merged 2 commits into from
Dec 5, 2019

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Oct 14, 2019

Backport to master of #49037

@aplanas
Copy link
Contributor Author

aplanas commented Oct 15, 2019

Looks like that one fail in the centos6 test is in 'integration.modules.test_shadow.ShadowModuleTest', where the random users 'tu-XXXX' are expected, but not present in the system.

Is this a known error that is addressed somewhere else?

Edit: Seems to me that is some side-effect of test_lock_password and test_unlock_password, as all the tests running in between are failing (@s0undt3ch?)

@s0undt3ch
Copy link
Collaborator

These do kind of seem like some flaky test failures we've seen before, @Dowz?

mtlaird and others added 2 commits December 3, 2019 11:19
Currently, the m_ret line will error if the loop state definition does not specify values for args or kwargs, because None is neither iterable nor a map. If not specified, those values should be set to an empty list and empty dict.

(cherry picked from commit f0c0bd0)
(cherry picked from commit 8cb7937)
@dwoz
Copy link
Contributor

dwoz commented Dec 5, 2019

@aplanas @s0undt3ch They pass now, must be flaky tests. Merging

@dwoz dwoz merged commit 24a79f8 into saltstack:master Dec 5, 2019
@s0undt3ch
Copy link
Collaborator

👍

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

Successfully merging this pull request may close these issues.

5 participants