Commit graph

30566 commits

Author SHA1 Message Date
Pedro Algarvio
be835603fc Merge 3006.x into master 2023-11-29 14:43:39 +00:00
butch12
39a6f15d0d maintain user-defined options in apt source definitions 2023-11-28 20:02:59 +00:00
Pedro Algarvio
fda8fcaae6 Merge 3006.x into master 2023-11-28 17:46:50 +00:00
Pedro Algarvio
7b205ad421 Reduce flakyness by reducing the worker threads and forcing the pillar timeout
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-28 15:33:17 +00:00
jeanluc
c9f54e425f Add tests for issue 64588 2023-11-28 10:44:24 +00:00
jeanluc
7029dea93f Fix salt-ssh stacktrace when retcode is not an integer 2023-11-28 10:44:24 +00:00
Gareth J. Greenaway
15ac64d798 Additional package name for OS X 13.
(cherry picked from commit ad05dce33a)
2023-11-28 04:04:05 +00:00
Pedro Algarvio
8447c548a3 Erm... Skip it!
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
Pedro Algarvio
226fcd0de6 Fix the capability package name. The old one no longer exists.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
Pedro Algarvio
d277d16b71 Skip test on PhotonOS 3
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
Pedro Algarvio
b1b625134f Let's fake the filesystem instead
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
Gareth J. Greenaway
15a7fdaf22 Migrate tests/pytests/functional/modules/test_mac_system.py to functional tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
Pedro Algarvio
0811f0a90b Match timeout
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
vzhestkov
5acdcfe6c0 Make pre-commit check happy 2023-11-26 15:27:39 -07:00
vzhestkov
756295a2bb Improve pip test with different condition of overriding the target 2023-11-26 15:27:39 -07:00
jeanluc
57402000ca Use already parsed JSON in ret.data 2023-11-26 17:25:38 +00:00
jeanluc
1930e10ccf Refactor state tests again 2023-11-26 17:25:38 +00:00
jeanluc
b3f654b8ab Refactor state SSH wrapper integration tests 2023-11-26 17:25:38 +00:00
jeanluc
f874289e9f cleanup 2023-11-26 17:25:38 +00:00
jeanluc
3f221f88a1 Fix salt-ssh master access during pillar rendering
This also ports #50489 into the present
2023-11-26 17:25:38 +00:00
Pedro Algarvio
63c0b43e31 Run pyupgrade against the files modified in the merge-forward 2023-11-26 16:24:07 +00:00
Pedro Algarvio
e7bfe4bd4f Merge 3006.x into master 2023-11-26 16:10:40 +00:00
Pedro Algarvio
5a3517c67c Skip performance tests on PhotonOS.
They were also getting skipped previously.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 13:05:11 +00:00
Pedro Algarvio
0e71e4505a Pull the containers prior to starting the daemons.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 13:05:11 +00:00
Pedro Algarvio
21d2477f69 Move the install salt routine to the custom salt minion class implementation
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 13:05:11 +00:00
Pedro Algarvio
3c3c7f0413 Fix the libvirt tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 13:05:11 +00:00
Pedro Algarvio
357a3645e8 Be sure to set the returner address
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 13:05:11 +00:00
Pedro Algarvio
627985c8d3 Fix/De-complicate the performance test scenarios
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 13:05:11 +00:00
Daniel A. Wozniak
75d62539db Only warn when connect was called 2023-11-22 12:48:56 +00:00
Ryan Addessi
50206c08c5 Update tests/pytests/functional/states/file/test_directory.py
lgtm, ty

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-11-22 12:46:00 +00:00
Ryan Addessi
ae0d135d90 black 2023-11-22 12:46:00 +00:00
Ryan Addessi
6a9959bf8a skip on windows 2023-11-22 12:46:00 +00:00
Ryan Addessi
ec429fa450 trying another method 2023-11-22 12:46:00 +00:00
Ryan Addessi
a7b61c0066 & 0o7777 2023-11-22 12:46:00 +00:00
Ryan Addessi (raddessi)
d4ed08d8b2 precommit 2023-11-22 12:46:00 +00:00
Ryan Addessi (raddessi)
8936d5b3f0 add a test 2023-11-22 12:46:00 +00:00
Sander Cornelissen
14226043b7 Fix pylint issues in unit test for pip state
(cherry picked from commit a686ce00b2)
2023-11-22 08:52:34 +00:00
Sander Cornelissen
96737501a9 Add test for fix when user does not exists on pip
(cherry picked from commit f36b821e1a)
2023-11-22 08:52:34 +00:00
Shane Lee
3b0b6d67fa Put cleanup in a try/except block
If it fails to cleanup the PAexec binaries, it should still continue
2023-11-21 16:42:21 -08:00
MKLeb
5d56549e39 Fix windows tests 2023-11-21 12:28:20 +00:00
MKLeb
2447263f9a Migrate tests/integration/modules/test_jinja.py to pytest 2023-11-21 12:28:20 +00:00
MKLeb
f94a245abd Migrate tests/integration/renderers/test_jinja.py to pytest 2023-11-21 12:28:20 +00:00
MKLeb
b8d2f8d614 Add full coverage for the jinja filters 2023-11-21 12:28:20 +00:00
MKLeb
f948971e8c Add some more filter tests in test_jinja_filters.py 2023-11-21 12:28:20 +00:00
MKLeb
e1a4d092a8 Add full coverage for SaltCacheLoader 2023-11-21 12:28:20 +00:00
MKLeb
4af922695f Add test for pillar_rend=True 2023-11-21 12:28:20 +00:00
Sander Cornelissen
c8cf857422 Fix pylint issues in unit test for pip state 2023-11-20 07:16:55 +00:00
Sander Cornelissen
3bdd5b4002 Add test for fix when user does not exists on pip 2023-11-20 07:16:55 +00:00
Shane Lee
44d732a097 Add some more tests for LGPO module
Split out some of the tests into their own file
2023-11-20 06:46:26 +00:00
jeanluc
800549ee1e Support master tops on masterless minions
Also, make salt-ssh master tops behave like regular ones, i.e. merge the
returns of multiple master top modules for the same environment.
2023-11-17 11:34:02 +00:00