Commit graph

3577 commits

Author SHA1 Message Date
twangboy
c2bb925bc6 Fix checking retcodes with runas on Windows 2025-03-06 13:45:16 -07:00
twangboy
b128203e9c Pass lastexitcode through to retcode 2025-03-06 13:45:16 -07:00
twangboy
8663f32962 Fix hanging test 2025-03-06 13:45:16 -07:00
twangboy
0d47d91006 Add some troubleshooting code 2025-03-06 13:45:16 -07:00
twangboy
ab9e02a1a9 Fix hanging test 2025-03-06 13:45:16 -07:00
twangboy
4524d8a54a Add some troubleshooting code 2025-03-06 13:45:16 -07:00
twangboy
af906c795e use whoami in the tests 2025-03-06 13:45:16 -07:00
twangboy
905f8c9826 Add try to the keywords list 2025-03-06 13:45:16 -07:00
twangboy
aeecd6b7b2 Use cmd /c with runas on Windows to allow compound commands 2025-03-06 13:45:16 -07:00
Twangboy
680f27f9b8 Fix stacktrace with unmapped account names 2025-02-28 02:47:47 -07:00
Georg Pfuetzenreuter
24a58e8211 Set virtual grain in Podman systemd container
Some checks failed
CI / Prepare Workflow Run (push) Has been cancelled
CI / Pre-Commit (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / NSIS Tests (push) Has been cancelled
CI / Prepare Release: (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Build Source Tarball (push) Has been cancelled
CI / Build Onedir Dependencies (push) Has been cancelled
CI / Build Salt Onedir (push) Has been cancelled
CI / Build Packages (push) Has been cancelled
CI / CI Deps (push) Has been cancelled
CI / Test Package (push) Has been cancelled
CI / Test Salt (push) Has been cancelled
CI / Combine Code Coverage (push) Has been cancelled
CI / Set the Pipeline Exit Status (push) Has been cancelled
Correctly handle the systemd-detect-virt output to identify a Podman
container running systemd as what it is instead of as a physical machine.

Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
2025-02-26 14:04:01 -07:00
Daniel A. Wozniak
d714a112b5 Fix unit test failures 2025-02-12 16:58:48 -07:00
Daniel A. Wozniak
05cd683eab Fix flaky multi-master test
Run event handlers for all master's in parallel. Otherwise, one handler
could block the other from running in a timely manner.
2025-02-12 16:58:48 -07:00
Daniel A. Wozniak
66e46a32d8 Add regression test for #66562 2025-02-12 16:58:48 -07:00
Twangboy
91dc936543 Fix failing tests 2025-02-11 15:07:32 -07:00
Twangboy
fb658a369b fix lint 2025-02-11 15:07:32 -07:00
Twangboy
49950e7a25 Handle AllowInboundRules when setting firewall 2025-02-11 15:07:32 -07:00
David Murphy
a7f38d9473 Correct dictionary format returned in test 2025-02-10 15:26:36 -07:00
David Murphy
06d813285d Add test support for slash embedded in git branch name when using pillar 2025-02-10 15:26:36 -07:00
David Murphy
ccdc5bb138 Removed debugging statements 2025-02-10 15:26:36 -07:00
David Murphy
5779722440 Fixed debugging test 2025-02-10 15:26:36 -07:00
David Murphy
c346ebaad4 Fix modified debug test 2025-02-10 15:26:36 -07:00
David Murphy
d0231f33ee Added debugging outputs 2025-02-10 15:26:36 -07:00
Tom Doherty
5a097a50be Recognise newer AMD GPU devices 2025-01-31 11:30:24 -07:00
David Murphy
bc5b823726 Restore requirements after testing with pygit2 v1.17.0 successfully 2025-01-30 14:43:31 -07:00
David Murphy
6d3178c23f Corrected exception for pygit2 enums 2025-01-30 14:43:31 -07:00
David Murphy
03df109113 Allow for pygit2 enums not available, early version of pygit2 2025-01-30 14:43:31 -07:00
David Murphy
41c3d0974c Fix pygit2 test 2025-01-30 14:43:31 -07:00
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
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
Twangboy
60a9edf235 Final fix for test_script failures 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
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
02e110abc7 Use actual shell in test 2025-01-27 14:51:37 -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
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
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
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
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
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 A. Wozniak
805d10969a Rocky 8 container does not have full systemd 2025-01-15 19:16:42 -07:00