Skip to content

[develop] Only make a new log record if it's a dictionary.#53362

Merged
twangboy merged 3 commits intosaltstack:developfrom
s0undt3ch:hotfix/fix-mp-logging-develop
Jun 6, 2019
Merged

[develop] Only make a new log record if it's a dictionary.#53362
twangboy merged 3 commits intosaltstack:developfrom
s0undt3ch:hotfix/fix-mp-logging-develop

Conversation

@s0undt3ch
Copy link
Copy Markdown
Contributor

@s0undt3ch s0undt3ch force-pushed the hotfix/fix-mp-logging-develop branch from 4f3f787 to 326c80d Compare June 4, 2019 15:47
@Akm0d Akm0d self-requested a review June 4, 2019 20:14
@s0undt3ch
Copy link
Copy Markdown
Contributor Author

re-run all full

s0undt3ch added 2 commits June 5, 2019 11:40
This change prevents the following traceback on Ubuntu 18.04, at least:
```
19:58:13        Traceback (most recent call last):
19:58:13          File "tests/runtests.py", line 62, in <module>
19:58:13            from tests.integration import TestDaemon  # pylint: disable=W0403
19:58:13          File "/tmp/kitchen/testing/tests/integration/__init__.py", line 36, in <module>
19:58:13            from tests.support.case import ShellTestCase
19:58:13          File "/tmp/kitchen/testing/tests/support/case.py", line 35, in <module>
19:58:13            from tests.support.mixins import AdaptedConfigurationTestCaseMixin, SaltClientTestCaseMixin
19:58:13          File "/tmp/kitchen/testing/tests/support/mixins.py", line 33, in <module>
19:58:13            import salt.config
19:58:13          File "/tmp/kitchen/testing/salt/config/__init__.py", line 27, in <module>
19:58:13            import salt.utils.network
19:58:13          File "/tmp/kitchen/testing/salt/utils/network.py", line 24, in <module>
19:58:13            import salt.utils.win_network
19:58:13          File "/tmp/kitchen/testing/salt/utils/win_network.py", line 42, in <module>
19:58:13            USE_WMI = StrictVersion(platform.version()) < StrictVersion('6.2')
19:58:13          File "/usr/lib/python2.7/distutils/version.py", line 40, in __init__
19:58:13            self.parse(vstring)
19:58:13          File "/tmp/kitchen/testing/salt/utils/versions.py", line 36, in parse
19:58:13            _StrictVersion.parse(self, vstring)
19:58:13          File "/usr/lib/python2.7/distutils/version.py", line 107, in parse
19:58:13            raise ValueError, "invalid version number '%s'" % vstring
19:58:13        ValueError: invalid version number 'saltstack#41-Ubuntu SMP Wed May 8 10:43:54 UTC 2019'
```
@s0undt3ch s0undt3ch force-pushed the hotfix/fix-mp-logging-develop branch from 326c80d to fded9da Compare June 5, 2019 10:46
@s0undt3ch s0undt3ch force-pushed the hotfix/fix-mp-logging-develop branch from 5586899 to 769eb96 Compare June 5, 2019 15:40
@twangboy twangboy merged commit 21adca9 into saltstack:develop Jun 6, 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.

5 participants