2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-02 19:40:10 +00:00

1720 Commits

Author SHA1 Message Date
Wai Yee Wong
4c5cd2c52b Additional changes to the REST test cases and bundle based on Mark's comments 2020-09-24 13:54:06 -04:00
Wai Yee Wong
c2876c9a1b Remove rhels_ppcle_restapi.bundle and push the new cases0 2020-09-23 16:40:06 -04:00
Wai Yee Wong
9067d1ba42 Add REST test cases, a new bundle and this bundle to the ppcle daily.bundle 2020-09-22 16:38:21 -04:00
cxhong
7e9f608230
Merge pull request #6825 from gurevichmark/genesistest_debug2
Improve genesistest script(2)
2020-09-17 11:00:06 -04:00
Mark Gurevich
c27e3ea51c More debug output for rpower testcases 2020-09-16 10:06:06 -04:00
Mark Gurevich
4164d66152 Improve genesistest script(2) 2020-09-14 09:53:48 -04:00
cxhong
c6a8adeacd
Merge pull request #6822 from gurevichmark/br33_testcase
Add extra output to confignetwork testcase
2020-09-04 12:04:46 -04:00
Mark Gurevich
d9a1f127dc Add extra output to confignetwork testcase 2020-09-04 11:25:52 -04:00
Mark Gurevich
7a203eaf42 Retry rpower boot command 2020-09-03 14:49:10 -04:00
Mark Gurevich
b11027958c Improve genesistest script 2020-09-01 13:16:11 -04:00
Mark Gurevich
9c831a659f Better testcase output when makedhcp -q fails 2020-08-24 12:27:43 -04:00
Mark Gurevich
a1b49ffa01 xcat-inventory backend testcase fix 2020-08-18 09:45:35 -04:00
Mark Gurevich
3196739848 Retry rinstall if first one fails 2020-08-12 09:58:25 -04:00
peterwywong
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
Wai Yee Wong
4a94bf2e3f Remove the extra double quote of the rm command. 2020-08-03 16:20:07 -04:00
Wai Yee Wong
389c4e8b34 Remove the RC checking for the file removal command. 2020-07-31 17:34:56 -04:00
Mark Gurevich
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
Wai Yee Wong
36478662a0 Additional changes 2020-07-29 13:30:26 -04:00
Wai Yee Wong
0638255550 diff is done on MN. sn.tar is replaced by mn.tar. 2020-07-29 12:19:34 -04:00
Wai Yee Wong
fd6d3a4cd7 Add a separate test case to compare postscripts on MN and CN. 2020-07-28 22:58:27 -04:00
cxhong
b1a7d7f0ca
Merge pull request #6783 from gurevichmark/squashfs_disk
squashfs on RHEL8.2 hierarchy testcase debug
2020-07-28 17:31:10 -04:00
Mark Gurevich
5ef69dc56c Run on MN only 2020-07-28 17:06:06 -04:00
peterwywong
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
Mark Gurevich
025c516807 squashfs on RHEL8.2 hierarchy testcase debug 2020-07-28 11:21:37 -04:00
Wai Yee Wong
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
Mark Gurevich
2e354aead8 go-xcat testcase output fix 2020-06-30 09:15:04 -04:00
Mark Gurevich
77e80ac3e3 More improvements to go-xcat testcases 2020-06-26 10:31:29 -04:00
Mark Gurevich
3aebb472e9 Improvements to go-xcat testcase 2020-06-24 10:07:12 -04:00
cxhong
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
Mark Gurevich
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
Mark Gurevich
377ca2343b More improvements to go-xcat testcases 2020-06-23 11:14:41 -04:00
Mark Gurevich
42d1667b3f Use source 2020-06-22 16:58:21 -04:00
Mark Gurevich
8238d7d1f7 Use absolute path for lsxcatd in testcase 2020-06-22 11:10:47 -04:00
Mark Gurevich
8fe8004837 Retry go-xcat installation, if first attemp fails 2020-06-18 17:01:37 -04:00
cxhong
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
Mark Gurevich
7402d9b692 Testcase fixes 2020-06-16 13:42:57 -04:00
Mark Gurevich
0bafaab3c5 Add no-cache option to go-xcat testcases 2020-06-16 11:08:07 -04:00
Mark Gurevich
c17587e6f4 Flush out deps repomd.xml 2020-06-12 13:15:03 -04:00
Chen Hanxiao
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
Mark Gurevich
1392140002 Flush out repomd.xml 2020-06-08 15:43:45 -04:00
Chen Hanxiao
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
Mark Gurevich
e6f84d2281 Improve genesistest.pl script 2020-05-27 16:55:27 -04:00
Mark Gurevich
362c61fa35 Improve verification of kdump testcase 2020-05-19 10:37:53 -04:00
Chen Hanxiao
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
Mark Gurevich
738b147bdf Speedup execution of go-xcat testcases 2020-05-12 12:02:22 -04:00
cxhong
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
Wai Yee Wong
d41c86debf correction: m01-ib0 should be m02-ib0 for node02. 2020-05-11 12:54:41 -04:00
Mark Gurevich
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
Wai Yee Wong
93c1b83f66 Add testing of nicips and nicaliases for xcat-core Issue 6676 2020-05-10 21:29:15 -04:00
Wai Yee Wong
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