Skip to content

2019.2: bug: executors lazyloader is missing functions and proxy args#52773

Merged
waynew merged 10 commits intosaltstack:2019.2from
bloomberg:exec_2019
May 8, 2019
Merged

2019.2: bug: executors lazyloader is missing functions and proxy args#52773
waynew merged 10 commits intosaltstack:2019.2from
bloomberg:exec_2019

Conversation

@mattp-
Copy link
Copy Markdown
Contributor

@mattp- mattp- commented May 1, 2019

What does this PR do?
these are needed for this functionality to work

Tests written?

should be covered by existing tests

Commits signed with GPG?

no

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

these are needed for this functionality to work, otherwise the dunders
are not available to generated executors.
@mattp- mattp- requested a review from a team as a code owner May 1, 2019 12:07
@waynew
Copy link
Copy Markdown
Contributor

waynew commented May 1, 2019

@mattp- thanks for the PR!

Is there a test that this fixes, or would it be possible to throw together a regression test?

@mattp-
Copy link
Copy Markdown
Contributor Author

mattp- commented May 1, 2019

the bug is only seen in the sudo executor in core, for which there are no tests. I am working on a replacement implementation of that executor that doesn't rely on sudo but it is not ready for upstream

@mattp-
Copy link
Copy Markdown
Contributor Author

mattp- commented May 3, 2019

@waynew i worked out adding an integration test that exercises the bug, however I can't backport it to #52772 because it relies on salt-call having --module-executors via salt-call, which is new functionality added elsewhere in 2019. while doing this i uncovered that executors weren't actually exposed via saltutil.sync* in runner & module, so added that in both pr's. looks like serializer was also added in 2019 but not 2018, so i added it there as well in the other PR.

@mattp-
Copy link
Copy Markdown
Contributor Author

mattp- commented May 6, 2019

@waynew clean now. py3 windows seems hung from unrelated issue, but py2 windows passed along with the others.

@waynew
Copy link
Copy Markdown
Contributor

waynew commented May 6, 2019

Looks like last couple passed, just waiting on this current build to finish

@waynew
Copy link
Copy Markdown
Contributor

waynew commented May 6, 2019

Oi. Looks like this is out of date again 😜

@mattp-
Copy link
Copy Markdown
Contributor Author

mattp- commented May 6, 2019

something seems wrong with that win2k16 build, its been running for 2 hours. I'll update branch maybe it will pass this time

@mattp-
Copy link
Copy Markdown
Contributor Author

mattp- commented May 6, 2019

@waynew clean now

@waynew waynew merged commit ae1d914 into saltstack:2019.2 May 8, 2019
@max-arnold
Copy link
Copy Markdown
Contributor

I'm pretty sure this could cause some conflicts during a forward-merge, because I added sync_executors to develop (Neon): #51427

max-arnold pushed a commit to max-arnold/salt that referenced this pull request Nov 13, 2019
2019.2: bug: executors lazyloader is missing functions and proxy args
dwoz added a commit that referenced this pull request Nov 14, 2019
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 this pull request may close these issues.

4 participants