2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-05 16:49:08 +00:00
Commit Graph

2346 Commits

Author SHA1 Message Date
Vinícius Ferrão
a716e8ff90 Fix DHCP CI package layout 2026-04-28 15:47:42 -03:00
Vinícius Ferrão
0f606615b3 Fix Kea UEFI reservation boot policy 2026-04-28 03:35:53 -03:00
Vinícius Ferrão
ec097e9d69 fix: show useful error when mkdef is called without attributes
When mkdef is called with an object name but no attributes (e.g.
mkdef -t node -o mynode), setFINALattrs produces an empty hash
and the OBJ loop has nothing to iterate. The code falls through to
"0 object definitions have been created or modified" with no
explanation of what went wrong.

Add a check after setFINALattrs: if FINALATTRS is empty, tell the
user what's missing. For nodes, mention that 'groups' is required.

Fixes #2765
2026-04-26 20:48:09 -03:00
Vinícius Ferrão
01150ac34b fix: reset newcmdstart between files in xcattest load_case
When a test case file is missing the end marker and the last line is a
cmd: directive, $newcmdstart stays set. The parser then appends lines
from the next file into the current command. If that next file is a
shell script (like simulatorctl.sh in the testcase tree), thousands of
lines of Perl/bash get concatenated and executed.

Reset $newcmdstart after closing each file to prevent state leaking
between files.

Fixes #5255
2026-04-26 15:28:11 -03:00
Vinícius Ferrão
e0e04f017d Render Kea additional classes by version 2026-04-23 19:39:25 -03:00
Vinícius Ferrão
714c0785b6 Preserve OPAL conf-file handling for Kea 2026-04-23 19:19:29 -03:00
Vinícius Ferrão
c2a90293ea Address DHCP backend review findings 2026-04-23 18:41:42 -03:00
Vinícius Ferrão
88579fbd77 Wire DHCP unit tests into xcattest 2026-04-23 15:10:40 -03:00
Vinícius Ferrão
fcd22757d2 Refine Kea xNBA handling and validation notes 2026-04-23 11:14:01 -03:00
Vinícius Ferrão
8399d88509 Address Perl quality findings 2026-04-23 03:04:37 -03:00
Vinícius Ferrão
6f3d9bb9d1 Add Kea DHCP backend 2026-04-23 02:01:33 -03:00
Daniel Hilst Selli
3767e0a25f fix: Fix typo in xCAT-test/xcattest
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-05 08:26:50 -03:00
Daniel Hilst Selli
e8b043f7c3 build: Add buildrpms.sh to build RPMs for multiple EL targets
Fix warning in xCAT/xCAT.spec about macro inside comments
Fix missing build dependencies in .spec files
Enable passsing gitinfo as command line argument in perl-xCAT.spec

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-02 15:27:27 -03:00
Markus Hilger
c41a2d4423 Add Alma support to all testcases 2024-07-16 12:42:39 +02:00
Markus Hilger
df64bf8feb Add missing shebang lines 2024-05-07 16:31:30 +02:00
Obihörnchen
7b7d488379 nodeset testcase: Allow dash in hostnames 2024-04-14 17:18:52 +02:00
Markus Hilger
32c4a9cfbe Remove redundant makedhcp_n_linux test case from CI pipeline
makedhcp_n_linux is the same as makedhcp_n. It doesn't make sense to run
both test cases.
2024-02-11 22:16:17 +01:00
besawn
de3976ac37 Merge pull request #7384 from gurevichmark/bmcdiscover_c684
Add/remove routing for bmcdisover testcases
2023-05-12 14:18:57 -04:00
Mark
ed1fbb1fae Add routing for bmcdisover testcases 2023-05-12 12:06:24 -04:00
besawn
a104f63d56 Merge pull request #7376 from peterwywong/disjointdhcps 2023-05-09 09:16:26 -04:00
Wai Yee Wong
cb75d9c8ba More changes to nodeset_disjointdhcps_petitboot, nodeset_grub2, nodeset_petitboot 2023-05-08 12:17:37 -04:00
Mark Gurevich
d2a3ae77e1 Use explicit pseries machine type in c684 environment 2023-05-01 16:34:58 -04:00
Wai Yee Wong
bde6f4ccab The IP address of testnode1 in nodeset_disjointdhcps_petitboot must be in the subnet of MN and SN 2023-04-21 18:30:17 -04:00
Mark Gurevich
f9f79cbd72 Add restapi testcase to reset attribute 2023-03-13 15:00:03 -04:00
Mark Gurevich
60c2dd4efe More testcase changes for AlmaLinux 2023-02-13 09:23:19 -05:00
Mark Gurevich
a5d5ee03be Additional testcase and postscript changes for AlmaLinux 2023-02-07 14:54:35 -05:00
Mark Gurevich
369683e139 Additional testcase changes for AlmaLinux 2023-02-06 14:23:16 -05:00
Mark Gurevich
89c81844af Modify testcases to run on AlmaLinux 2023-02-03 13:08:24 -05:00
Mark Gurevich
d43cb1f134 Fix password testcases for sha512 2023-02-01 11:47:16 -05:00
Mark Gurevich
20ce89e153 Update docs and testcases to use sha512 2023-01-30 14:55:29 -05:00
Mark Gurevich
1172e462bc Debug RHEL8.6 modules testcase 2023-01-17 10:49:12 -05:00
besawn
f4314bbc2a Merge pull request #7310 from gurevichmark/makedhcp_test
Testcase enhancements
2023-01-10 15:07:06 -05:00
besawn
f6837b12c5 Merge pull request #7291 from gurevichmark/lzma_test3
Ignore lzma dependency on Oracle
2023-01-10 11:13:09 -05:00
Mark Gurevich
cb72906054 Testcase enhancements 2023-01-10 10:21:40 -05:00
Wai Yee Wong
45f55e08c1 Remove added osimage and node attributes at the end of linux_diskless_kdump 2022-12-05 01:04:46 -05:00
Mark Gurevich
2ca90e4464 Split RHEL weekly bundles 2022-12-01 17:21:14 -05:00
Mark Gurevich
5ea831704d Ignore lzma dependency on Oracle 2022-11-28 15:10:28 -05:00
besawn
2b9f84b35b Fixed minor documentation typo in xcattest.1.rst 2022-11-15 13:47:47 -05:00
besawn
56a1403ad3 Merge pull request #7241 from gurevichmark/RH_module_support
Support module installation on RHEL8
2022-11-15 13:17:47 -05:00
Mark Gurevich
e942dd6f37 Limit lzma testcase to run only on EL8 family of OSes 2022-11-14 16:00:33 -05:00
Mark Gurevich
fc168cc9b8 Test lzma compression for genesis network boot 2022-11-08 14:46:00 -05:00
Mark Gurevich
89d36b9b94 more_diskspace3 2022-11-07 14:32:31 -05:00
Mark Gurevich
f4fc0014da Free up disk space for regression test on SLES (2) 2022-10-31 11:31:57 -04:00
besawn
3d88b70d81 Merge pull request #7273 from gurevichmark/apt_key_test3
Use correct string compare operator for testcase
2022-10-27 15:48:00 -04:00
Mark Gurevich
fe41b7008b Use correct string compare operator for testcase 2022-10-27 12:00:39 -04:00
Wai Yee Wong
f4351a98a5 Return year only for date for currentyear in makentp_extntpserver_value 2022-10-27 11:59:21 -04:00
besawn
2b25878533 Merge pull request #7271 from gurevichmark/apt_key_test2
Better way to check OS in testcase
2022-10-26 15:43:03 -04:00
Mark Gurevich
03741fdd37 Add more time for node to reboot 2022-10-26 11:02:50 -04:00
Mark Gurevich
5ebb85a080 Better way to check OS in testcase 2022-10-26 10:21:01 -04:00
Mark Gurevich
a6e08e4229 Free up disk space for regression test on SLES 2022-10-25 15:24:27 -04:00