Daniel A. Wozniak
9f1647d0f6
Merge branch '3006.x' into merge/3007.x/3006.x
2025-01-29 15:22:23 -07:00
Barney Sowood
b0a06655e4
Update salt_factories_default_root_dir GH runners
...
Updates salt_factories_default_root_dir to use $RUNNER_TEMP if running
in CI and using Windows. This is setup by the Github Runner and
should be on the same disk as the checked out repo.
Without doing that, the salt_factories_default_root_dir will be in the
user's temp dir which is on a different disk. This causes the fileserver
to throw an error as it tries to combine file_roots from the repo and
pytest-salt-factories.
2025-01-17 15:00:54 -07:00
twangboy
72bb50cb27
Revert SSH settings
2024-09-11 16:52:27 -07:00
twangboy
36c65391a1
Add some SSH settings to fix the SSH Broken Pipe with Amazon Linux
2024-09-11 16:52:27 -07:00
Daniel A. Wozniak
60cc8dbce8
Merge forward 3006.x into 3007.x
2024-06-21 23:53:49 -07:00
Daniel A. Wozniak
277e56b113
Fix encryption config for tests
2024-06-18 22:12:20 -07:00
Daniel A. Wozniak
b32f09b655
Clean up un-needed re-init crypto and test fix
2024-06-18 22:12:20 -07:00
Pedro Algarvio
20f4966ca0
Stop ignoring the host keys, query and write them down as accepted.
2024-04-04 14:31:11 +01:00
Pedro Algarvio
37e56ba0a6
Reap child processes after each of the ssh tests in case of timeouts
2024-04-04 14:31:11 +01:00
Pedro Algarvio
7f98810ea6
Merge 3006.x into 3007.x
2024-03-28 13:50:44 +00:00
Pedro Algarvio
6fb74a0d1a
Reap child processes after each of the ssh tests in case of timeouts
2024-03-27 18:44:44 +00:00
Pedro Algarvio
fccecc695c
Stop ignoring the host keys, query them and write them down as accepted.
2024-03-21 16:56:53 +00:00
Pedro Algarvio
16bead7bcc
Remove log call which no longer makes sense
2024-03-20 11:55:21 +00:00
Pedro Algarvio
7b277420ce
Merge 3006.x into 3007.x
2024-03-20 07:32:06 +00:00
Pedro Algarvio
dfb87cdf57
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x
2024-03-20 07:30:32 +00:00
Shane Lee
559ad14f54
Make the tests run on Windows
2024-03-19 19:07:20 +00:00
Shane Lee
0788122499
Whitelist package tests for Windows
2024-03-19 19:07:20 +00:00
Shane Lee
76d750dce9
Make the tests run on Windows
2024-03-19 16:07:31 +00:00
Shane Lee
608a8ffd1c
Whitelist package tests for Windows
2024-03-19 16:07:31 +00:00
Pedro Algarvio
f7570047bd
Merge 3006.x into 3007.x
2024-03-14 13:06:00 +00:00
Pedro Algarvio
d8cb80216e
Remove custom fixture scope ordering code
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-03-14 12:32:06 +00:00
Pedro Algarvio
b7630f3b08
Merge 3006.x into 3007.x
2024-02-29 14:25:24 +00:00
Pedro Algarvio
f4549113b1
Update pre-commit hook versions
2024-02-29 12:30:49 +00:00
Pedro Algarvio
03ad4c6337
Update code to be Py3.7+ to reduce merge forward conflicts
2024-02-29 10:16:58 +00:00
Pedro Algarvio
3dea2eb541
Update pre-commit hook versions
2024-02-29 10:16:58 +00:00
Pedro Algarvio
b9be2dec1b
Update and remove obsolete pylint plugins
2024-02-27 08:07:04 +00:00
Daniel A. Wozniak
736ae6c79e
Fix ssh tests
2024-02-20 15:15:13 +00:00
Daniel A. Wozniak
66d8a33c88
Fix ssh tests
2024-02-19 22:50:37 -07:00
Pedro Algarvio
6e1372d66f
Merge 3006.x into 3007.x
2024-02-18 09:22:18 +00:00
Pedro Algarvio
1ad68fcd93
Increase timeouts on problematic tests and default to func_only=True
2024-02-16 14:03:50 -07:00
Pedro Algarvio
94b6f4cc78
Merge 3006.x into 3007.x
2024-02-16 07:21:19 +00:00
Pedro Algarvio
17dddc83ba
Increase timeouts on problematic tests
2024-02-15 15:25:35 -07:00
Pedro Algarvio
fd800f57f1
Merge 3006.x into 3007.x
2024-02-14 08:56:16 +00:00
Pedro Algarvio
5f63d785e9
Switch to a custom timeout_unless_on_windows
marker
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00
Pedro Algarvio
5d96fdcad2
All tests except tests/pytests/{scenarios,pkg}
timeout at 60 seconds
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00
Pedro Algarvio
7d6a97e7ba
Timeout all unit tests at 60 seconds(if not running on windows)
...
We have some random test hangs and this will prevent that by forcing the
tests to fail in such cases.
Windows does not take part of this because it does not support
`signal.SIGABRT`, we would have to use threads.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00
Pedro Algarvio
a420d94431
Merge 3006.x into master
2023-11-26 16:10:40 +00:00
Pedro Algarvio
02b147ae59
Add a FIPS enabled test run under PhotonOS 4 to the CI process
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
5a62968da8
Fix test groups issue when re-running test failures
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-26 17:12:02 +01:00
Pedro Algarvio
6cb08d68b4
Fix test groups issue when re-running test failures
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-25 16:19:02 +01:00
Pedro Algarvio
830daeee97
Merge 3006.x into master
2023-10-19 20:00:40 +01:00
Pedro Algarvio
b0d0e32b50
Fail tests which require an sshd server but we can't find the path to sftp-server
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-19 10:45:22 -04:00
Pedro Algarvio
d9893886bb
Fix the path to sftp-server
on Photon OS 5
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-19 10:45:22 -04:00
Pedro Algarvio
8e07f20ef0
Merge 3006.x into master
2023-10-04 21:25:32 +01:00
Pedro Algarvio
1981c3784d
Switch to more-itertools
when splitting the tests into slices/chunks
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
Pedro Algarvio
95b43d4226
Split integration tests into 2 chunks on full test runs
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
Pedro Algarvio
2702705043
Merge 3006.x into master
2023-09-29 18:15:30 +01:00
Pedro Algarvio
9da38c3898
Show which salt transport is being tested
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
e646735f91
Define salt_factories_default_root_dir
to try and avoid SELinux error on Fedora 38
...
```
Internal Server Error ("error setting label on mount source '/tmp': SELinux relabeling of /tmp is not allowed")
```
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-19 20:37:29 +00:00
Pedro Algarvio
49f3401741
Show sys.path
on error
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-19 20:37:29 +00:00