Commit graph

25327 commits

Author SHA1 Message Date
twangboy
79d4ff772a Change repo.saltproject.io to new url 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
6f387ded58 Add distro to FakeExtension to fix tests/pytests/functional/test_version.py tests 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
58f448405b Use broadcom.com instead of repo.saltproject.io for test_cp 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
1fbb0ab2ea Fix assertion 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
f3ef32f6d4 Fix ip_to_host on photon 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
0193650b8a Allow for containers 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
bbb3ada781 Fix pre-commit 2024-12-17 13:24:51 -07:00
Daniel A. Wozniak
d47af5245c Test debug 2024-12-17 13:24:51 -07:00
Daniel A. Wozniak
f9e7dc3eb5 Migrate tests to use packages.broadcom.com instead of repo.saltproject.io 2024-12-17 13:24:51 -07:00
twangboy
0794878e79 Add some debugging for macOS failures 2024-10-30 14:32:25 -07:00
Daniel A. Wozniak
9d10d699f3 Skip tests that are not applicable on windows 2024-10-29 14:32:21 -07:00
Daniel A. Wozniak
5eb5a4035c Improve tests 2024-10-29 14:32:21 -07:00
Daniel A. Wozniak
486462b992 Pull in changes from #66931
Make sure we only call chmod when pull_path or pub_path is used. Add
regression tests for this behavior.
2024-10-29 14:32:21 -07:00
Daniel A. Wozniak
d4ebb63638 Add started event to PublishServer
- Add a started event that gets set after the server transport is ready
for clients to connect.
- Wait on publish servers start while the master process is starting up.
2024-10-29 14:32:21 -07:00
twangboy
1168334a40 Handle zombie processes when getting pids 2024-10-29 09:13:34 -07:00
Daniel A. Wozniak
1a834761bf Merge branch '3006.x' into merge/3007.x/3006.x 2024-10-25 17:07:29 -07:00
jeanluc
a27549800b Add test for issue #66999 2024-10-25 04:45:35 -07:00
jeanluc
931e4632ce Add test for issue #66996 2024-10-25 04:45:35 -07:00
David Murphy
ed89424059 Updated selinux commands and tests after reviewer comments, need the extra space 2024-10-24 08:57:52 -07:00
David Murphy
d19258590b Adjusted selinux and tests for egrep to grep -E 2024-10-24 08:57:52 -07:00
Hristo Voyvodov
d7b4d10f2a update vault client tests to ensure unwrap is respecting verify 2024-10-21 14:25:43 -07:00
Shane Lee
eee8215933 Skip tests unless on Linux 2024-10-21 14:17:14 -07:00
Nick Porter
983cfe75e3 fixes #66252 correct use of egrep to parse semanage output 2024-10-21 14:17:14 -07:00
Daniel Dehennin
3b8c57e29d Add test for saltclass nested classes expansion 2024-10-21 14:15:41 -07:00
twangboy
98f49eba4e Remove wmic from iscsi grains 2024-10-16 18:08:52 -07:00
twangboy
30e0de375f Remove wmic usage from disk grains on Windows 2024-10-16 18:08:52 -07:00
Ben Grande
e3f25965af Regularize yumpkg option separators
Add logging and convert to formatted string literal.

Other Yum options uses equal sign as separator but setopt separator is
irregular using space as separator.

Fix: https://github.com/saltstack/salt/issues/66970
2024-10-16 18:08:11 -07:00
Daniel A. Wozniak
9b157d732f Merge branch '3006.x' into merge/3007.x/3006.x 2024-10-16 18:03:43 -07:00
David Murphy
1b680c6f13 Added tests to excerise changes for efi-secure-boot grain 2024-10-15 15:20:51 -07:00
David Murphy
effada446c Initial test for testing secure-boot grain 2024-10-15 15:20:51 -07:00
Daniel A. Wozniak
6388536beb Merge branch '3006.x' into merge/3007.x/3006.x 2024-10-14 22:52:30 -07:00
Daniel A. Wozniak
23b2f654b7 More reliable test shutdown 2024-10-10 12:56:15 -07:00
Daniel A. Wozniak
7f73274352 The zmq socket poll method needs to be awaited
When using zmq.asyncio.Context, the socket's poll method is a coroutine.
2024-10-10 12:56:15 -07:00
bdrx312
221420cd57 Use importlib.metadata for python >= 3.10
Add slots to DependencyGraph

Pinned networkx to 3.1

Pinned networkx to latest version supported on python 3.8 to support running salt-ssh to systems with python 3.8

Fixed assignment of env in support helpers VirtualEnv

Restrict networkx version with contraints instead of in base

Fixed setting context retcode in some places where errors are returned.
Removed unnecessary pylint ignore comment.
Reverted importlib-metadata version bump.

Added networkx to versions report

Actually fixed VirtualEnv env assignment from kwargs
2024-10-10 01:53:52 -07:00
bdrx312
66caa58346 Fix issues with requisites and aggregate
add install of networkx
fix aggregate to properly work with requisites
fix requisite checking to not be exponential
fix pkg aggregate to work when multiple states specify the same package
add some type hints to state.py to make the code easier to follow
fix case of pkg aggregate duplicate package.
2024-10-10 01:53:52 -07:00
twangboy
08e56a130a Fix some more windows tests 2024-10-09 09:10:58 -07:00
twangboy
ec83f5d506 Fix win_file tests 2024-10-09 09:10:58 -07:00
jeanluc
096dca61ba Make SSH FunctionWrapper behave more like LazyLoader 2024-10-08 13:15:09 -07:00
jeanluc
3bcb67f1c1 Add tests for issues #66376 and #41794 2024-10-08 13:15:09 -07:00
jeanluc
47e4c80a74 Add test for issue #66600 2024-10-08 13:15:09 -07:00
Tyler Levy Conde
216764c69e Allow fstring linting 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
7e334bce6f Allow fstring linting 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
3bf8dda2e5 Relenv salt-ssh fully functional 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
a74ce63e09 add basic ssh-relenv test 2024-09-30 12:10:26 -07:00
Olivier Mehani
15573a8f20 Add state.sls_exists to ssh client
fixes: #66893

Signed-off-by: Olivier Mehani <shtrom@ssji.net>

Fix typo in sate.sls_exists doctstrings (module & ssh wrapper)

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2024-09-26 15:11:09 -07:00
Daniel A. Wozniak
19dfa41bb9 Merge remote-tracking branch 'saltstack/3006.x' into merge/3007.x/3006.x 2024-09-26 15:01:16 -07:00
vzhestkov
6976c17c8c Add more cases to test grains.core._systemd 2024-09-25 02:28:51 -07:00
Daniel A. Wozniak
c38448909c Merge remote-tracking branch 'saltstack/3006.x' into merge/3007.x/3006.x 2024-09-23 01:38:28 -07:00
Daniel A. Wozniak
b6e3f9b2c6 Fix test on platforms that do not have cdumper 2024-09-23 01:31:53 -07:00
Daniel A. Wozniak
818dd9f827 Fix yamldumper test 2024-09-23 01:31:53 -07:00