Commit graph

24967 commits

Author SHA1 Message Date
David Murphy
00c45646d3 Fix nightly build test missed in PR 65937 2024-06-05 14:47:29 -07:00
David Murphy
332379d06a Removed debugging statements 2024-06-03 12:24:11 -07:00
David Murphy
9bb92ed23d Revised finalization of processes 2024-06-03 12:24:11 -07:00
David Murphy
8198500f51 Saving debug info for proc and psutil processes which shows difference - psutil.process(pid) doesn't give register function 2024-06-03 12:24:11 -07:00
David Murphy
eb07f58277 Added debugging 2024-06-03 12:24:11 -07:00
David Murphy
af5a485793 Updates after reviewer comments 2024-06-03 12:24:11 -07:00
David Murphy
55fa8cee80 Cleanup debug logging 2024-06-03 12:24:11 -07:00
David Murphy
7b40bdd4f9 Fix typo in assert check 2024-06-03 12:24:11 -07:00
David Murphy
b9203f80db Add allowance for machine identifier for recent test 2024-06-03 12:24:11 -07:00
David Murphy
5910c162d7 Some clean up of old code 2024-06-03 12:24:11 -07:00
David Murphy
f4d1e2ee49 Fix typo 2024-06-03 12:24:11 -07:00
David Murphy
f7366267ab WIP Initial testing refactor 2024-06-03 12:24:11 -07:00
David Murphy
848c7ad5bf Moved get_machine_identifier to salt utils platfrom as per reviewers request 2024-06-03 12:24:11 -07:00
David Murphy
fcbb59cf17 Updates due to reviewer comments 2024-06-03 12:24:11 -07:00
David Murphy
9d5975f64e Ensure SIGTERM tests etc only run on Linux 2024-06-03 12:24:11 -07:00
David Murphy
20854d6366 Allow some time for processes to get started after processmanager.run() command 2024-06-03 12:24:11 -07:00
David Murphy
b2c2c5a9cd Moved code under with caplog set to DEBUG to ensure all tests correct 2024-06-03 12:24:11 -07:00
David Murphy
152811fcc6 Altered procmgr.run to run asynchronously 2024-06-03 12:24:11 -07:00
David Murphy
6a2fb70d59 Updated tests to release lock with try/except/finally 2024-06-03 12:24:11 -07:00
David Murphy
8fb0127f99 Allow for machine_id key when getting the machine_identifier 2024-06-03 12:24:11 -07:00
David Murphy
0de790cd28 Ensured use of get_machine_identifier from salt.utils.files for identifying a machine id 2024-06-03 12:24:11 -07:00
David Murphy
f98b7073cd Moved location for finding machine_id to salt utils files, and had grains import from there 2024-06-03 12:24:11 -07:00
David Murphy
21cf213b10 Cleaned up tests and removal of debug statements 2024-06-03 12:24:11 -07:00
David Murphy
695353ee91 Updated to use grains/core.py get_machine_id for machine identifier 2024-06-03 12:24:11 -07:00
David Murphy
c982cbdb3e Updated SIGTERM test, and additional tests, and cleanup 2024-06-03 12:24:11 -07:00
David Murphy
2265376154 Working test for SIGTERM of held lock 2024-06-03 12:24:11 -07:00
David Murphy
56a11ba9d1 WIP Test for kill SIGTERM 2024-06-03 12:24:11 -07:00
David Murphy
443fdd3e34 WIP - Test kill cleanup of resources 2024-06-03 12:24:11 -07:00
David Murphy
ee55b9abe3 Initial SIGTERM testing 2024-06-03 12:24:11 -07:00
David Murphy
9c80258c0c Tests for gen_lock functionality 2024-06-03 12:24:11 -07:00
David Murphy
f832181ee3 Testing additional test 2024-06-03 12:24:11 -07:00
David Murphy
ec549d6a06 Working tests ported from unittest to pytest 2024-06-03 12:24:11 -07:00
David Murphy
3d2c111f58 [WIP] Almost working port from unit test to pytest, contains debugging 2024-06-03 12:24:11 -07:00
David Murphy
40d5a253fe Initial port from unittest to pytest of unit/utils/test_gitfs.py to test_gitfs_locks.py 2024-06-03 12:24:11 -07:00
David Murphy
2a532aa2a3 Fix missing typo f-string 2024-06-03 12:24:11 -07:00
David Murphy
0ba93f829c Fix up use of get_machine_identifer 2024-06-03 12:24:11 -07:00
David Murphy
563556eade Updated gitfs tests for machine identifier 2024-06-03 12:24:11 -07:00
carrychair
e4c1da4323 remove repetitive words
Signed-off-by: carrychair <linghuchong404@gmail.com>
2024-05-29 17:03:54 -07:00
jeanluc
aaad0d2ecf Allow signature verification logic to be reused for other backends 2024-05-27 01:17:57 -07:00
jeanluc
b171fae4e2 Add asymmetric execution module for low-level signature operations 2024-05-27 01:17:57 -07:00
Pedro Algarvio
26b41d5753
Merge 3007.x into master 2024-05-23 11:35:57 +01:00
jeanluc
33efd9c4a7 Ensure namespace packages and submodule entrypoints work 2024-05-22 03:27:40 -07:00
jeanluc
217fafd0fc Include saltexts by default, add filters 2024-05-22 03:27:40 -07:00
jeanluc
7c8d94799e Distribute saltexts in salt-ssh thin package [PoC]
This is an unpolished proof of concept of how to distribute Salt
extensions together with the thin package.
2024-05-22 03:27:40 -07:00
vzhestkov
7017c14ba6 Add test for getting matchers from __context__ in matchers.confirm_top 2024-05-21 15:36:54 -07:00
Max Arnold
eff969d280 Fix pre-commit 2024-05-21 15:31:17 -07:00
Max Arnold
d9a77b8d5f Update integration test 2024-05-21 15:31:17 -07:00
Max Arnold
135223313a Add clean_proc_dir tests 2024-05-21 15:31:17 -07:00
Max Arnold
0401be21ed Add read_proc_file tests 2024-05-21 15:31:17 -07:00
Max Arnold
cc1f9a4aab Add check_cmdline tests 2024-05-21 15:31:17 -07:00