Commit graph

120426 commits

Author SHA1 Message Date
Twangboy
3d3d6d6e22 Add changelog 2025-01-30 02:30:26 -07:00
Twangboy
263c5e99dc Add test for _encode_xmlns_url 2025-01-30 02:30:26 -07:00
Will Sinatra
a887a0000b escape spaces found while parsing GPO XMLNS tags 2025-01-30 02:30:26 -07:00
twangboy
c4a1a6eeba Update urls to deps so windows pkgs will build 2025-01-29 17:22:38 -07:00
Twangboy
a5594e7bd2 Use Sudo instead of Everything 2025-01-28 15:57:08 -07:00
Twangboy
ca81605ce6 Skip the test in 1.2.1 as well 2025-01-28 15:57:08 -07:00
Twangboy
7587e8bcf2 Revert "Disable chocolatey 1.2.1 tests"
This reverts commit 2a384ec9e7.
2025-01-28 15:57:08 -07:00
Twangboy
739b94bd68 Skip test that's timing out 2025-01-28 15:57:08 -07:00
Daniel A. Wozniak
0ca299cc81 Fix mac_assistive tests
Fix for tcc database on newer macos versions
2025-01-27 16:37:30 -07:00
Twangboy
60a9edf235 Final fix for test_script failures 2025-01-27 14:51:37 -07:00
Twangboy
ab900b9375 Make action use powershell, not pwsh or core 2025-01-27 14:51:37 -07:00
Twangboy
c0fc37f0d9 Remove import (fix lint) 2025-01-27 14:51:37 -07:00
Twangboy
3f686c2e89 Clear the environment in the test 2025-01-27 14:51:37 -07:00
Twangboy
48647c2080 Try setting PSModulePath to empty 2025-01-27 14:51:37 -07:00
Twangboy
df03e6f985 Try setting AZP_AGENT_CLEANUP_PSMODULES_IN_POWERHELL 2025-01-27 14:51:37 -07:00
Twangboy
630f979214 Display Windows Environment Variables 2025-01-27 14:51:37 -07:00
Twangboy
46ce2f9e2d Show powershell version 2025-01-27 14:51:37 -07:00
Twangboy
fc87799639 Try clearing PSModulePath 2025-01-27 14:51:37 -07:00
Twangboy
02e110abc7 Use actual shell in test 2025-01-27 14:51:37 -07:00
Daniel A. Wozniak
2b45cd6ee5 Skip report steps for now 2025-01-26 15:47:42 -07:00
Daniel A. Wozniak
cec866179b Fix test step label 2025-01-26 15:47:42 -07:00
Daniel A. Wozniak
511164e10b Warn if hardware clock sync fails 2025-01-26 00:44:01 -07:00
Daniel A. Wozniak
9cb51fac91 Fix os filter for arm 2025-01-24 01:01:55 -07:00
Daniel A. Wozniak
c7a45fd32d Add identifier for arm runs 2025-01-24 00:08:39 -07:00
Twangboy
2b288fa007 Use different version for the everything package 2025-01-23 20:39:04 -07:00
Twangboy
2a384ec9e7 Disable chocolatey 1.2.1 tests 2025-01-23 20:39:04 -07:00
Daniel A. Wozniak
deda5dc15e Skip tests when it will fail due to hostnamctl not working in some containers 2025-01-23 16:36:35 -07:00
Daniel A. Wozniak
b02788ed00 Use setup python, again 2025-01-23 16:36:35 -07:00
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