Commit graph

1804 commits

Author SHA1 Message Date
Pedro Algarvio
6450dde07c Set open_mode to True for the package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-21 12:20:45 +00:00
Pedro Algarvio
e19cf37a61 Try a few times
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-21 12:20:45 +00:00
Pedro Algarvio
374cf24321 Increase timeout on CLI call to allow the test to pass
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-21 12:20:45 +00:00
Pedro Algarvio
5463132e9d Only generate the HMAC's for `libssl.so.1.1 and libcrypto.so.1.1` if those files exist.
Fixes #65581

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-20 21:17:51 +00:00
MKLeb
ce1f7b78be Fix rc version comparing when aarch64 is in the repo paths 2023-11-19 19:42:05 +00:00
MKLeb
92e2d79fb6 We are updating th paths for 3006.5 now 2023-11-19 19:42:05 +00:00
Megan Wilhite
c16434074f Fix errors with debug pkg 2023-11-19 19:42:05 +00:00
Megan Wilhite
e141799a94 Fix photon upgrade tests 2023-11-19 19:42:05 +00:00
MKLeb
9951e82121 Adjust package download tests and also add a package test suite for an rpm arm distribution (centosstream-9-arm) 2023-11-19 19:42:05 +00:00
MKLeb
ed2ecf48c6 Remove condition to switch from arm64 to aarch64 in the download tests 2023-11-19 19:42:05 +00:00
Pedro Algarvio
3c76698d54 Also run package tests under FIPS
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
11dd2ec8a9 Use the grains fixture
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 18:14:26 +00:00
Megan Wilhite
66bdc36a31 Fix amazon linux 2 tests 2023-11-09 17:23:55 +00:00
Megan Wilhite
1c312ca9c0 Fix amazon linux 2023 tests 2023-11-09 17:23:55 +00:00
Megan Wilhite
324a1519c1 Fix amazon linux 2023 64 bit tests and only run install package tests 2023-11-09 17:23:55 +00:00
David Murphy
9f8fc27cba Updated check version of Salt for the test 2023-11-09 17:03:03 +00:00
David Murphy
a75f0a9f41 Updated test per reviewer comments 2023-11-09 17:03:03 +00:00
David Murphy
57b02f4973 Updated tests per reviewer comments 2023-11-09 17:03:03 +00:00
David Murphy
3cee13afda Remove Photon OS from test 2023-11-09 17:03:03 +00:00
David Murphy
0ff32b01de Removed group membership check from the test 2023-11-09 17:03:03 +00:00
David Murphy
cd236c42d9 Limited test ownership to id and no longer change group on files 2023-11-09 17:03:03 +00:00
David Murphy
6d7c2f0dd1 Updated version check in test to prevent running on downgrade 2023-11-09 17:03:03 +00:00
David Murphy
7c4f68b774 Updated test to only run on RedHat family, Ubuntu/Debian has issue 65231 2023-11-09 17:03:03 +00:00
David Murphy
9b6e493db2 Added missing include for temp_directory 2023-11-09 17:03:03 +00:00
David Murphy
af8e35ebce Package test for log rotation and ownership / permissions 2023-11-09 17:03:03 +00:00
David Murphy
de84120e58 Initial log rotation test for ownership user and group 2023-11-09 17:03:03 +00:00
David Murphy
dd9a2bdfa9 Adjust ownership on log rotation 2023-11-09 17:03:03 +00:00
David Murphy
d891daa222 Ensure any pre-exiting incorrect ufw directory /etc/ufw/applications.d/salt-master is removed 2023-11-04 06:24:42 +00:00
David Murphy
90fe04b304 Adjust break in control file to 3006.4, for updated salt-common commit b3fcdf8 2023-11-03 18:30:04 +00:00
Pedro Algarvio
2ba6543016 The problem is still present in 3006.4, can't test downgrade
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 06:46:00 +00:00
Pedro Algarvio
b83ede5272 Address my own review comments
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 06:46:00 +00:00
Barney Sowood
e5b9489731 Disable test for 65231 on downgrade to 3006.3
Disables the running of the test for 65231 when downgrading to 3006.3
as the issue that is fixed is in 3006.3 so test will fail when 3006.3
is installed.
2023-11-03 06:46:00 +00:00
Barney Sowood
1dad8745de Add test for issue 65231 2023-11-03 06:46:00 +00:00
Barney Sowood
59f731c94f Add initial tests for logrotate configs
Adds initial tests for logrotate configs to ensure they are installed
in the correct location.
2023-11-03 06:46:00 +00:00
Barney Sowood
1abcf81601 Fix install of logrotate config for debian pkg
Fixes the install of logrotate config for the debian pkg
by moving file to pkg/common/logrotate/salt-common. File
is installed via salt-common.install file, which can't
rename files, only copy them to a directory, so we need to
rename the file and put it in a subdir of pkg/common.

Adds /etc/logrotate.d/salt-common to salt.common.conffiles to
ensure that dpkg will not overwrite configs modified by users.

Also updates RPM spec file for new location of logrotate config.

Config needs to be /etc/logrotate.d/salt-common as that is what
is used by 3005.x packages.
2023-11-03 06:46:00 +00:00
Pedro Algarvio
16dce0b4cc
Merge v3006.4 into 3006.x 2023-10-29 09:24:34 +00:00
David Murphy
66d9c33db7 Fixed up imports as per reviewer comments 2023-10-27 09:06:45 +01:00
David Murphy
cb1ca7ca46 Updated test 2023-10-27 09:06:45 +01:00
David Murphy
b58ee63a15 Updated test per reviewer comments 2023-10-27 09:06:45 +01:00
David Murphy
8395346ab5 Altered test 2023-10-27 09:06:45 +01:00
David Murphy
b90db6c949 Updated test to check ufw executable is installed before running the test 2023-10-27 09:06:45 +01:00
David Murphy
831f982f6f Updated ufw tests to check for Salt 2023-10-27 09:06:45 +01:00
David Murphy
11d5c5c168 Updated test 2023-10-27 09:06:45 +01:00
David Murphy
d683fade39 Updated salt-master install and test for ufw 2023-10-27 09:06:45 +01:00
David Murphy
81d6e422db Removed missed debug statements 2023-10-27 09:06:45 +01:00
David Murphy
5232ddfbbe Revised the salt ufw test 2023-10-27 09:06:45 +01:00
David Murphy
ea30d46e4a Updated package test 2023-10-27 09:06:45 +01:00
David Murphy
51a4a3ba5b WIP packaging test for salt.ufw 2023-10-27 09:06:45 +01:00
David Murphy
1941ebe28e Move salt.ufw to correct location /etc/ufw/applications.d/ 2023-10-27 09:06:45 +01:00
Pedro Algarvio
449b757223 Photon OS 5 enables services by default
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-19 10:45:22 -04:00