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
Daniel A. Wozniak
78e06fdb42
test fix
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
6f7b448591
Fix pkg tests on debian containers
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
8909607ab9
Fix tests on amazonlinux-2 container
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
f7e331a746
Revert single test change
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
2e6671cf86
Check test
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
9ead172225
Add host network config
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
c7220f13b9
Fix pkg test when no souces.list exists
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
f2046b3a71
Try setting network mtu to fix tests
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
05f9bcae18
Skip tests when hostnamectl does not work
2025-01-11 15:25:01 -07:00