2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-27 08:25:52 +00:00
Commit Graph

1710 Commits

Author SHA1 Message Date
9c831a659f Better testcase output when makedhcp -q fails 2020-08-24 12:27:43 -04:00
a1b49ffa01 xcat-inventory backend testcase fix 2020-08-18 09:45:35 -04:00
3196739848 Retry rinstall if first one fails 2020-08-12 09:58:25 -04:00
aab3c29be6 Merge pull request #6709 from chenhanxiao/test_confignetwork_regex
test: confignetwork: update regexp to fix IP matching
2020-08-11 14:51:19 -05:00
4a94bf2e3f Remove the extra double quote of the rm command. 2020-08-03 16:20:07 -04:00
389c4e8b34 Remove the RC checking for the file removal command. 2020-07-31 17:34:56 -04:00
8d75b36772 Merge pull request #6785 from peterwywong/compare_postscripts
Add a separate test case to compare postscripts on MN and CN.
2020-07-29 14:05:47 -04:00
36478662a0 Additional changes 2020-07-29 13:30:26 -04:00
0638255550 diff is done on MN. sn.tar is replaced by mn.tar. 2020-07-29 12:19:34 -04:00
fd6d3a4cd7 Add a separate test case to compare postscripts on MN and CN. 2020-07-28 22:58:27 -04:00
b1a7d7f0ca Merge pull request #6783 from gurevichmark/squashfs_disk
squashfs on RHEL8.2 hierarchy testcase debug
2020-07-28 17:31:10 -04:00
5ef69dc56c Run on MN only 2020-07-28 17:06:06 -04:00
2f78873510 Revert "Compare /install/postscripts/* on MN/SN and /xcatpost/* on CN and display the difference as part of the diskfull and diskless hierarchical provisionings." 2020-07-28 11:03:28 -05:00
025c516807 squashfs on RHEL8.2 hierarchy testcase debug 2020-07-28 11:21:37 -04:00
694c9380bc This commit is to address Issue 6578. The new code is to compare /install/postscripts/* on MN/SN and /xcatpost/* on CN and display the difference. 2020-07-23 11:39:02 -04:00
2e354aead8 go-xcat testcase output fix 2020-06-30 09:15:04 -04:00
77e80ac3e3 More improvements to go-xcat testcases 2020-06-26 10:31:29 -04:00
3aebb472e9 Improvements to go-xcat testcase 2020-06-24 10:07:12 -04:00
4e2ea01358 Merge pull request #6743 from gurevichmark/go_xcat_sles_retry
More improvements to go-xcat testcases
2020-06-23 17:02:37 -04:00
a6c2f45c14 Merge pull request #6731 from chenhanxiao/test_remove_imgimport_v
test: remove imgimport -v test case
2020-06-23 14:51:46 -04:00
377ca2343b More improvements to go-xcat testcases 2020-06-23 11:14:41 -04:00
42d1667b3f Use source 2020-06-22 16:58:21 -04:00
8238d7d1f7 Use absolute path for lsxcatd in testcase 2020-06-22 11:10:47 -04:00
8fe8004837 Retry go-xcat installation, if first attemp fails 2020-06-18 17:01:37 -04:00
a01313868a Merge pull request #6733 from gurevichmark/go-xcat-sles3
Add no-cache option to go-xcat testcases
2020-06-16 14:31:30 -04:00
7402d9b692 Testcase fixes 2020-06-16 13:42:57 -04:00
0bafaab3c5 Add no-cache option to go-xcat testcases 2020-06-16 11:08:07 -04:00
c17587e6f4 Flush out deps repomd.xml 2020-06-12 13:15:03 -04:00
6b0a287cbe test: remove imgimport -v test case
we don't support show version of imgimport.
-v means verbose for imgimport.
So delete this testcase.

Issue:
# imgexport -v
Error: [xcat]: Cannot find /root/-v

Reported-by: Yang Jian <fun_yang@foxmail.com>
Signed-off-by: Chen Hanxiao <chen_han_xiao@126.com>
2020-06-10 16:32:44 +08:00
1392140002 Flush out repomd.xml 2020-06-08 15:43:45 -04:00
ebbe32a81d test: remove imgexport -v test case
we don't support show version of imgexport.
-v means verbose for imgexprot.
So delete this testcase.

Issue:
# imgexport -v
Exporting  to /root...
Error: [fnst-c0]: Cannot find image '' from the osimage table.

Signed-off-by: Chen Hanxiao <chen_han_xiao@126.com>
2020-06-05 11:43:58 +08:00
e6f84d2281 Improve genesistest.pl script 2020-05-27 16:55:27 -04:00
362c61fa35 Improve verification of kdump testcase 2020-05-19 10:37:53 -04:00
1c34dce084 test: confignetwork: update regexp to fix IP matching
update regexp to get the right IP address

Issue:

xcat-com001: configure nic and its device : eth0
xcat-com001: [I]: configure eth0
xcat-com001: [I]: call: NMCLI_USED=0 configeth eth0 10092.168.200.20 confignetworks_test1
xcat-com001: [I]: configeth on xcat-com001: os type: redhat
xcat-com001: configeth on xcat-com001: old configuration: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
xcat-com001:     link/ether 52:54:00:7d:fe:76 brd ff:ff:ff:ff:ff:ff
xcat-com001:     inet6 fe80::5054:ff:fe7d:fe76/64 scope link
xcat-com001:        valid_lft forever preferred_lft forever
xcat-com001: [I]: configeth on xcat-com001: new configuration
xcat-com001:        10092.168.200.20, 100.168.0.0, 255.255.0.0,				<==== here

Command:
 XCATTEST_MN=192.168.200.10 XCATTEST_SN=192.168.200.10 XCATTEST_ISO=/opt/xcat/CentOS-7-x86_64-DVD-1804.iso XCATTEST_SECONDNIC=eth0 XCATTEST_THIRDNIC=eth2 XCATTEST_CN=xcat-com001 xcattest -t confignetwork_vlan_eth0

# lsdef -t node xcat-com001
Object name: xcat-com001
    arch=x86_64
    currchain=shell
    currstate=runimage=http://192.168.102.124/install/my_image/my_image.tgz
    groups=compute,all
    ip=192.168.200.20
    mac=52:54:00:16:ba:39
    mgt=ipmi
    monserver=192.168.200.10
    netboot=xnba
    nfsserver=192.168.200.10
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    serialport=0
    serialspeed=115200
    status=powering-off
    statustime=05-12-2020 05:39:46
    tftpserver=192.168.200.10
    xcatmaster=192.168.200.10

Signed-off-by: Chen Hanxiao <chen_han_xiao@126.com>
2020-05-14 15:05:24 +08:00
738b147bdf Speedup execution of go-xcat testcases 2020-05-12 12:02:22 -04:00
29f5a7e3a0 Merge pull request #6702 from peterwywong/makehosts
Add testing of nicips and nicaliases for xcat-core Issue 6676
2020-05-11 13:29:27 -04:00
d41c86debf correction: m01-ib0 should be m02-ib0 for node02. 2020-05-11 12:54:41 -04:00
c8e31fa366 Merge pull request #6701 from peterwywong/duplicates
Remove duplicates: post_host from restapi/service/cases0 and lskitcom…
2020-05-11 10:34:18 -04:00
93c1b83f66 Add testing of nicips and nicaliases for xcat-core Issue 6676 2020-05-10 21:29:15 -04:00
9faeff5999 Remove duplicates: post_host from restapi/service/cases0 and lskitcomp_C gfrom liskitcomp/case0. It turns out many duplicates identified earlier have different OSes, so they are left unchanged. 2020-05-10 21:18:50 -04:00
5b1dc8a509 Add output verification to kdump testcase 2020-05-05 16:26:48 -04:00
f7dbd08b96 Testcase and genimage fixes for squashfs 2020-05-01 12:33:11 -04:00
be359b1899 Testcase and packimage fixes for squashfs 2020-04-30 13:58:35 -04:00
53d3d915d1 Make sure squashfs installed on SLES for squashfs testcase 2020-04-29 14:17:51 -04:00
c6969d9ee9 Make sure squashfs-tools installed on Ubuntu for squashfs testcase 2020-04-27 09:56:24 -04:00
4da1015c0b Add two testcases to test squashfs diskless mount 2020-04-24 10:34:10 -04:00
81200d602a Merge pull request #6669 from peterwywong/postscripts_permission
Add execute permission to all files recursively under /install/postscripts
2020-04-21 09:41:48 -04:00
1fdbbe65eb More clear default 2020-04-20 18:18:07 -04:00
a5e02ed06f Change retry_install default for number of attempts 2020-04-20 16:04:31 -04:00
8edd2f2886 Only retry 3 times to provision 2020-04-20 10:31:11 -04:00