Gareth J. Greenaway
0574476321
Merge branch '2018.3' into fix_test_pkg
2019-01-22 08:42:33 -08:00
Erik Johnson
a6a9040e50
Merge pull request #51179 from terminalmage/fix-regex-chars
...
Fix possible oversight in nodegroup modifications
2019-01-22 06:50:48 -06:00
Daniel Wozniak
d5acd5bc9c
Merge pull request #51170 from dwoz/issue51158
...
Honor roster system for ssh orchestrations
2019-01-19 16:16:05 -07:00
Pedro Algarvio
5543a53215
Update pytest requirements
2019-01-19 18:37:52 +00:00
Pedro Algarvio
f958df5c2e
Move all of PyTest requirements to its own requiremnts file
2019-01-19 18:37:52 +00:00
Gareth J. Greenaway
8f8ebbc227
Merge pull request #51226 from garethgreenaway/51195_handle_spaces_in_fstab_opts
...
[2018.3] Handle spaces in fstab opts, similar fix to #39593
2019-01-18 17:30:58 -08:00
Gareth J. Greenaway
1902ce83a7
Merge branch '2018.3' into 51195_handle_spaces_in_fstab_opts
2019-01-18 15:03:12 -08:00
Gareth J. Greenaway
e3a9e99320
Merge pull request #51233 from Ch3LL/bp-51105
...
Backport #51105 to 2018.3
2019-01-18 14:44:32 -08:00
Gareth J. Greenaway
eef49e8999
Merge branch '2018.3' into bp-51105
2019-01-18 11:50:41 -08:00
Gareth J. Greenaway
e53e9b16b3
Merge pull request #51230 from Ch3LL/merge-2018.3
...
[2018.3] Merge forward from 2017.7 to 2018.3
2019-01-18 11:50:09 -08:00
Gareth J. Greenaway
c3520aa006
Accounting for when permissions are not returned from file.check_perms, eg. windows systems.
2019-01-17 17:32:58 -05:00
Gareth J. Greenaway
cd80548e79
When test=True and there are permissions changes, report it.
2019-01-17 17:31:23 -05:00
Ch3LL
0ef76755db
Merge branch '2017.7' into '2018.3'
...
Conflicts:
- salt/modules/capirca_acl.py
2019-01-17 16:11:12 -05:00
Gareth J. Greenaway
89345eb1ab
Handle spaces in fstab opts, similar fix to #39593
2019-01-17 12:06:34 -08:00
Daniel Wozniak
26008ef26c
Merge pull request #51212 from sathieu/file_roots_slash
...
Allow slashes in file_roots envs.
2019-01-17 10:29:17 -07:00
Mathieu Parent
b769f18085
Allow slash in file_roots envs
...
Fixes : #51211
2019-01-17 17:03:38 +01:00
Mathieu Parent
f9437e2590
Test for file_roots envs with slash leads to "No such file or directory"
...
See #51211 .
2019-01-08 09:57:23,653 [salt.master :1795][ERROR ][28091] Error in function _file_list:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/master.py", line 1788, in run_func
ret = getattr(self, func)(load)
File "/usr/lib/python2.7/dist-packages/salt/utils/decorators/__init__.py", line 594, in wrapped
**salt.utils.data.decode_dict(kwargs)
File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 752, in file_list
ret.update(self.servers[fstr](load))
File "/usr/lib/python2.7/dist-packages/salt/fileserver/roots.py", line 422, in file_list
return _file_lists(load, 'files')
File "/usr/lib/python2.7/dist-packages/salt/fileserver/roots.py", line 310, in _file_lists
__opts__, form, list_cache, w_lock
File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 122, in check_file_list_cache
if not os.path.isfile(list_cache) and _lock_cache(w_lock):
File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 56, in _lock_cache
os.mkdir(w_lock)
OSError: [Errno 2] No such file or directory: '/var/cache/salt/master/file_lists/roots/.foo/bar.w'
2019-01-17 17:03:33 +01:00
Shane Lee
5916282144
Merge pull request #51209 from garethgreenaway/bp-51124
...
[2018.3] Back-port PR #51124 to 2018.3
2019-01-17 06:28:31 -07:00
Ch3LL
82acce47cd
Handle encoding when opening file for both py2/py3
...
Conflicts:
setup.py
2019-01-16 19:09:25 -08:00
twangboy
b91b2c62f5
Backport PR# 50771 to 2018.3 branch
2019-01-16 15:54:17 -07:00
Daniel A. Wozniak
b69c002e68
Fix saltmod roster test
2019-01-16 11:20:05 -07:00
Daniel A. Wozniak
2594f246e5
Roster defines the roster system not a file
2019-01-16 11:18:41 -07:00
Daniel Wozniak
094bd33279
Merge pull request #51184 from twangboy/fix_auditpol
...
Fix win_lgpo_auditpol salt util on Windows
2019-01-16 11:08:00 -07:00
Daniel Wozniak
ac719226c0
Merge pull request #51191 from Ch3LL/bp-50918
...
Backport #50918 into 2018.3
2019-01-16 11:02:18 -07:00
twangboy
7300d84d54
Skip debian tests on Windows
2019-01-16 09:31:37 -05:00
twangboy
4622433f84
Fix test_debian_ip
on Windows
2019-01-16 09:31:33 -05:00
twangboy
2e68d35678
directly call cmd.run_all
...
Apparently, you can't always use __salt__ in a util
2019-01-15 18:09:36 -07:00
Erik Johnson
9951b8dcf1
Fix possible oversight in nodegroup modifications
...
b3e2f38
enhanced nodegroup matching to allow sequences. However, the
list of regex special characters appears to have been improperly
formatted.
2019-01-15 13:17:26 -06:00
Daniel Wozniak
e7f53a3df0
Merge pull request #51144 from jgleissner/2018.3-azurearm-py3
...
2018.3 azurearm py3
2019-01-15 09:46:34 -07:00
Daniel Wozniak
1206f92357
Merge pull request #51171 from twangboy/fix_crypt
...
Add random sleep time to avoid overloading Windows
2019-01-15 09:45:32 -07:00
Daniel Wozniak
a96deed641
Merge pull request #51174 from jpsv/2018.3
...
Update OpsGenie to use their V2 API (2018.3)
2019-01-15 09:44:53 -07:00
Daniel Wozniak
563d4875b8
Merge pull request #51010 from amendlik/ldap-groups
...
Allow unauthenticated bind for listing LDAP groups
2019-01-15 09:43:41 -07:00
Daniel Wozniak
6dc375226d
Merge pull request #51112 from s0undt3ch/2018.3
...
[2018.3] Update to salt-bootstrap v2019.01.08
2019-01-15 09:42:08 -07:00
Daniel Wozniak
4a12c5fa91
Merge pull request #50852 from mirceaulinic/fix-capirca
...
Improve the Capirca and related modules for ACL config generation
2019-01-15 09:41:00 -07:00
Daniel Wozniak
3f4759b8bf
Merge pull request #50923 from astronouth7303/patch-2
...
Document {% include %}
2019-01-15 09:39:11 -07:00
Daniel Wozniak
b19c990a16
Merge pull request #51097 from terminalmage/fix-keyerror-raise
...
Fix improper exception raises (2018.3)
2019-01-15 09:38:24 -07:00
Daniel Wozniak
8920a86f2c
Merge pull request #51169 from twangboy/fix_git_state
...
More descriptive error when missing GitPython or PyGit2
2019-01-15 09:37:43 -07:00
Daniel Wozniak
58eede65a7
Merge pull request #51173 from dwoz/issue51160
...
Avoid exceptions by passing bytes to idna
2019-01-15 09:32:30 -07:00
Jeremy McMillan
83c38c64a8
Revert "wordsmithing"
...
This reverts commit a07f3566516c3adb296e33fc0d3e2c9f30ac3eaf.
It wasn't necessary, and I want to trigger another round of tests on a Friday night.
2019-01-15 16:31:35 +00:00
Jeremy McMillan
a40739ce0a
wordsmithing
...
confession: tests failed to complete on gitub notification auth failure,
so I want to trigger another test.
2019-01-15 16:31:35 +00:00
Pedro Algarvio
b348ace640
Make sure blackout tests clean up after themselves. Properly.
...
(cherry picked from commit 9ab0e98e2c
)
2019-01-15 16:31:35 +00:00
Pedro Algarvio
68a12d50d0
These should not be considered destructive tests
...
(cherry picked from commit 479439ab99
)
2019-01-15 16:31:35 +00:00
Jeremy McMillan
475404d14b
fix docstring quote style
2019-01-15 16:31:35 +00:00
Jeremy McMillan
71c357414d
Revert "backport test improvements from develop"
...
This reverts commit 0af7653dfa3fc9b30601dec2c8ac2ce3cba52e7f.
I guess that was way too optimistic.
2019-01-15 16:31:35 +00:00
Jeremy McMillan
e32d219599
backport test improvements from develop
...
Bogus random test failures
forklifted from develop at 414bfe61a4
2019-01-15 16:31:35 +00:00
Jeremy McMillan
42654d8df9
socket.connect needs a tuple
...
TypeError
https://docs.python.org/2/library/socket.html
RTFD "Note This method has historically accepted a pair of parameters
for AF_INET addresses instead of only a tuple. This was never
intentional and is no longer available in Python 2.0 and later.
"
2019-01-15 16:31:35 +00:00
Jeremy McMillan
27254fce37
syntax error bad parentheses
2019-01-15 16:31:35 +00:00
Jeremy McMillan
24bb94fb9e
Don't ip_bracket addresses returned by check_dns.
...
This ends up in opts['master_ip'] where it can cause problems. I found
this while testng a git+pip based minion installation on Ubuntu Bionic.
I'm not sure why it doesn't affect other targeted OS versions in the
test framework. On Bionic, if 'salt' resolves to an IPv6 address,
zmq fails to connect to the master, and complains about the bracketed
address.
2019-01-15 16:31:35 +00:00
Jeremy McMillan
02b825ec3c
expose error in tests
...
Error Message
object of type 'NoneType' has no len()
Stacktrace
Traceback (most recent call last):
File "/tmp/kitchen/testing/tests/unit/utils/test_network.py", line 225, in test_parse_host_port
host, port = network.parse_host_port(host_port)
File "/tmp/kitchen/testing/salt/utils/network.py", line 1957, in parse_host_port
raise _e_
TypeError: object of type 'NoneType' has no len()
2019-01-15 16:31:35 +00:00
Jeremy McMillan
0a92c4691d
Need more detail on test failure
2019-01-15 16:31:35 +00:00