Commit graph

120398 commits

Author SHA1 Message Date
Daniel A. Wozniak
d4aa4e7b3b Move linux arm into it's own matrix 2025-01-23 16:36:35 -07:00
Daniel A. Wozniak
1b24b47276 Split integration less 2025-01-23 16:36:35 -07:00
Daniel A. Wozniak
838d44301e Split integration into larger chunks 2025-01-23 16:36:35 -07:00
Daniel A. Wozniak
23785aecc5 Make linux_arm_runner required 2025-01-23 16:36:35 -07:00
Daniel A. Wozniak
ca4b04b730 The macOS-12 environment is deprecated 2025-01-23 16:36:35 -07:00
Daniel A. Wozniak
6b1cd9e720 Make setup python tools work with python 3.12 2025-01-23 16:36:35 -07:00
Daniel A. Wozniak
ac8d40735e Public repositores can use github's arm runners 2025-01-23 16:36:35 -07:00
Barney Sowood
b6a92f693d Modify tests to use user temp directory
Modifies the win_dacl tests to use the user temp directory as using
any other directories breaks the expected matching perms
2025-01-22 12:57:32 -07:00
Barney Sowood
2da58365e9 Set TMPDIR to $RUNNER_TEMP
Sets the TMPDIR environment variable to the value of $RUNNER_TEMP, which
should point to a suitable temp dir for runner operations. On windows
runners, this should be on the same disk volume as the checked out repo
and the root for pytest-salt-factories masters and minions.
2025-01-22 12:57:32 -07:00
Barney Sowood
76fcc87785 Fix version check for patch
Fixes the version check for patch in test_file.py. It was expecting the
version string to be the 2nd string in the output, but it can be the
3rd. Updated the parsing to just get the last string on the first line.
2025-01-20 02:37:47 -07:00
Barney Sowood
955529f1c0 Update test_gem to set gem_binary to "gem.cmd
Updates tests/integration/modules/test_gem.py to pass
gem_binary="gem.cmd" to the gem module on windows. Although just using
"gem" on the commandline works, from the module, via cmd.run_all it
doesn't.
2025-01-20 02:37:15 -07:00
Barney Sowood
5fe28f00f9 Skip cmd.script tests on windows
Skips cmd.script tests on windows. These are using a python script
that relies on the shebang in the script to work on Unix like OSes. That
won't work on Windows.
2025-01-17 16:14:28 -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
Barney Sowood
9a327c5919 Convert test_custom grains test to pytest
Converts the test_custom grains test from an old style test to a pytest
test. This is just to make it easier for me to debug why it is failing
and needs to be done at some point anyway.
2025-01-17 15:00:54 -07:00
Daniel A. Wozniak
2ca8551615 Skip tests when system python too old 2025-01-17 14:58:38 -07:00
Twangboy
445749cbda Fix test_script for Windows 2025-01-17 14:32:19 -07:00
Daniel A. Wozniak
08853b63a3 Fix exit status reqs for release 2025-01-16 23:48:08 -07:00
Daniel A. Wozniak
1a09279741 Fix exit status test requirements 2025-01-16 23:48:08 -07:00
Daniel A. Wozniak
a5b78b55ce Reduce test flakiness
tests/pytests/scenarios/dns/multimaster/test_dns.py::test_multimaster_dns
2025-01-16 16:02:42 -07:00
Twangboy
30e2d9aaf4 Use os.linesep instead of \n 2025-01-16 15:20:27 -07:00
Daniel A. Wozniak
1a97786516 Fix systemd.enabled on Rocky 8 2025-01-16 14:56:17 -07:00
Twangboy
786db9bbbb Remove ownership check as ownership is not inherited 2025-01-16 14:47:18 -07:00
Twangboy
1798cfa247 Use DefaultAccount instead of Administrator 2025-01-16 10:20:35 -07:00
Daniel Wozniak
db5c7aefc5
Merge pull request #67159 from dwoz/skipit
Rocky 8 container does not have full systemd
2025-01-15 19:18:49 -07:00
Daniel A. Wozniak
805d10969a Rocky 8 container does not have full systemd 2025-01-15 19:16:42 -07:00
Daniel A. Wozniak
306bdf8425 Configure apparmor 2025-01-15 18:37:38 -07:00
twangboy
dc43eba7b7 Fix pre-commit 2025-01-15 16:15:41 -07:00
twangboy
f22c6cabc0 Try setting PSModulePath in cmd.script 2025-01-15 16:15:41 -07:00
twangboy
a633493f4c Fix pre-commit 2025-01-15 16:15:41 -07:00
twangboy
4eca31c2f1 Clear PSModulePath environment variable 2025-01-15 16:15:41 -07:00
Twangboy
a98b9cb138 Check for failed ping on Windows 2025-01-15 15:59:21 -07:00
Twangboy
169f0fda2f Change expected output for Windows 2025-01-15 15:05:51 -07:00
Twangboy
93acf2ee36 Fix pre-commit 2025-01-15 14:34:00 -07:00
Twangboy
5ff2c7e2a2 User temp_account instead of Administrator for testing 2025-01-15 14:34:00 -07:00
Twangboy
4e03997e27 Test with temp user instead of Administrators 2025-01-15 14:33:43 -07:00
Twangboy
a7806bc91a Check for exc existence before using 2025-01-15 14:33:14 -07:00
twangboy
65ba161cd8 Create test user and test lowercase 2025-01-14 14:05:14 -07:00
twangboy
6756f8897c Fix import 2025-01-14 14:04:41 -07:00
twangboy
b7385b0e28 Add test user to check 2025-01-14 14:04:41 -07:00
Daniel A. Wozniak
69c11b5f5c Fix virt tests 2025-01-14 10:08:00 -07:00
Daniel A. Wozniak
76e3e36e39 Fix test failures, use overlay 2025-01-14 02:45:59 -07:00
Barney Sowood
19b0db156f Make systemctl/hostctl check functions check they're on linux 2025-01-12 22:35:40 -07:00
Daniel A. Wozniak
5dd5b891f0 Include test group name in artifacts 2025-01-12 02:45:52 -07:00
Daniel A. Wozniak
028dae8379 Remove cruft 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
277b24e4a1 Show free memory and test fix 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
8b98b7990b Add docker inspect and add ulimit to container create 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
8f97ff4c59 Upload artifact name fix 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
ee33df82eb Multiple test fixes 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
faecc6d48c Unit test fix and artifact name correction 2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
718654ae21 Fix timezone and locale tests on photon 2025-01-11 15:25:01 -07:00