From 8c645eb941ff0724a4926630c604d6c8ed09e276 Mon Sep 17 00:00:00 2001 From: caomengmeng Date: Wed, 8 Jun 2016 04:12:39 -0400 Subject: [PATCH] completed --- xCAT-test/autotest/bundle/aixnim.bundle | 18 -- xCAT-test/autotest/bundle/bat.bundle | 254 ------------------ xCAT-test/autotest/bundle/def.bundle | 36 --- xCAT-test/autotest/bundle/p_aix_cmd.bundle | 249 ----------------- xCAT-test/autotest/bundle/p_ubunut.cmd.bundle | 199 -------------- .../autotest/bundle/sles11.4_ppc64le.bundle | 199 -------------- xCAT-test/autotest/bundle/x86.bundle | 214 --------------- .../installation/aix_diskless_installation | 56 ---- .../installation/aix_full_installation | 53 ---- .../installation/aix_statelite_installation | 92 ------- ...ith_sn_diskless_installation_x86_64_redhat | 67 ----- ..._sn_diskless_installation_x86_64_redhat_vm | 51 ---- ...th_sn_diskless_installation_x86_64_sles_vm | 50 ---- ...cn_with_sn_full_installation_x86_64_redhat | 51 ---- ...with_sn_full_installation_x86_64_redhat_vm | 47 ---- ...n_with_sn_full_installation_x86_64_sles_vm | 47 ---- ...th_sn_statelite_installation_x86_64_redhat | 94 ------- ...sn_statelite_installation_x86_64_redhat_vm | 88 ------ ...h_sn_statelite_installation_x86_64_sles_vm | 88 ------ .../installation/linux_diskless_installation | 50 ---- .../linux_diskless_installation_x86_64_redhat | 46 ---- .../linux_diskless_installation_x86_64_sles | 55 ---- .../installation/linux_full_installation | 48 ---- .../linux_full_installation_x86_64_redhat | 57 ---- .../linux_full_installation_x86_64_sles | 44 --- .../linux_sles_diskless_installation_ppc64 | 56 ---- .../linux_sles_statelite_installation_ppc64 | 83 ------ .../installation/linux_sn_installation_x86_64 | 53 ---- .../linux_sn_installation_x86_64_redhat | 53 ---- .../linux_sn_installation_x86_64_redhat_vm | 53 ---- .../linux_sn_installation_x86_64_sles | 53 ---- .../linux_sn_installation_x86_64_sles_vm | 63 ----- .../installation/linux_statelite_installation | 77 ------ ...linux_statelite_installation_x86_64_redhat | 66 ----- .../linux_statelite_installation_x86_64_sles | 66 ----- ...ux_diskfull_installation_flat_confignics_s | 71 ----- ...reg_linux_statelite_installation_hierarchy | 141 ---------- .../installation/sles_full_installation_p8le | 42 --- .../ubuntu_diskless_installation_cudafull | 39 --- .../ubuntu_diskless_installation_cudaruntime | 39 --- .../ubuntu_full_installation_cudafull | 35 --- .../ubuntu_full_installation_cudaruntime | 38 --- .../ubuntu_full_installation_vm_confignics_s | 49 ---- 43 files changed, 3330 deletions(-) delete mode 100644 xCAT-test/autotest/bundle/aixnim.bundle delete mode 100644 xCAT-test/autotest/bundle/bat.bundle delete mode 100644 xCAT-test/autotest/bundle/def.bundle delete mode 100644 xCAT-test/autotest/bundle/p_aix_cmd.bundle delete mode 100644 xCAT-test/autotest/bundle/p_ubunut.cmd.bundle delete mode 100644 xCAT-test/autotest/bundle/sles11.4_ppc64le.bundle delete mode 100644 xCAT-test/autotest/bundle/x86.bundle delete mode 100644 xCAT-test/autotest/testcase/installation/aix_diskless_installation delete mode 100644 xCAT-test/autotest/testcase/installation/aix_full_installation delete mode 100644 xCAT-test/autotest/testcase/installation/aix_statelite_installation delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_sles_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_sles_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_sles_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_diskless_installation delete mode 100644 xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_redhat delete mode 100644 xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_sles delete mode 100644 xCAT-test/autotest/testcase/installation/linux_full_installation delete mode 100644 xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_redhat delete mode 100644 xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_sles delete mode 100644 xCAT-test/autotest/testcase/installation/linux_sles_diskless_installation_ppc64 delete mode 100644 xCAT-test/autotest/testcase/installation/linux_sles_statelite_installation_ppc64 delete mode 100644 xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 delete mode 100644 xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat delete mode 100644 xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles delete mode 100644 xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles_vm delete mode 100644 xCAT-test/autotest/testcase/installation/linux_statelite_installation delete mode 100644 xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_redhat delete mode 100644 xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_sles delete mode 100644 xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat_confignics_s delete mode 100644 xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy delete mode 100644 xCAT-test/autotest/testcase/installation/sles_full_installation_p8le delete mode 100644 xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudafull delete mode 100644 xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudaruntime delete mode 100644 xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudafull delete mode 100644 xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudaruntime delete mode 100644 xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm_confignics_s diff --git a/xCAT-test/autotest/bundle/aixnim.bundle b/xCAT-test/autotest/bundle/aixnim.bundle deleted file mode 100644 index 24eaeb8ce..000000000 --- a/xCAT-test/autotest/bundle/aixnim.bundle +++ /dev/null @@ -1,18 +0,0 @@ -mknimimage_h -mknimimage_s -mknimimage_s_iamgename_attr -mknimimage_t_s -mknimimage_t_i -rmnimimage_imagename -rmnimimage_d_imagename -rmnimimage_x_imagename -rmnimimage_h -mkdsklsnode_h -mkdsklsnode_i_f -mkdsklsnode_i_f_V -mkdsklsnode_n_i -mkdsklsnode_node -mkdsklsnode_i_psize_sparse_paging -rmdsklsnode_h -rmdsklsnode_node -rmdsklsnode_i diff --git a/xCAT-test/autotest/bundle/bat.bundle b/xCAT-test/autotest/bundle/bat.bundle deleted file mode 100644 index 09a290afa..000000000 --- a/xCAT-test/autotest/bundle/bat.bundle +++ /dev/null @@ -1,254 +0,0 @@ -chdef_null -chdef_t_node -chdef_t_network -chdef_p -chdef_m -chdef_z -chdef_group -chdef_group_p -chdef_dynamic_group -chdef_multiple_keys -chdef_n -chdef_t_o_error -chtab_null -chtab_delete -chtab_modify -chtab_d -chtab_modify_node -chtab_modify_key -chtab_err_symble -chtab_err_table -chtab_h -chtab_v -copycds_iso -copycds_n -copycds_a -copycds_n_a -copycds_a_err -copycds_n_err -packimage_o_p_a_m -packimage_p_a_o -packimage_imagename -packimage_h -packimage_v -pping_h -pping_v -pping_all -pping_node -getmacs_noderange -getmacs_d -getmacs_f_D -gettab_key_table -gettab_H -gettab_err -gettab_h -lsdef_null -lsdef_a -lsdef_t_o_l -lsdef_t_o_l_z -lsdef_t -lsdef_t_i_o -lsdef_t_w -lsdef_t_err -lslite_i -lslite_noderange -lslite_h -makeconservercf_null -makeconservercf_noderange -makeconservercf_d -makedhcp_n -makedhcp_a -makedhcp_a_d -makedhcp_d -mkdef_null -mkdef_t_o_attr -mkdef_f_t_o_attr -mkdef_z -mkdef_t_o_error -nodeadd_noderange -nodeadd_err_symbol -nodeadd_null -nodeadd_noderange_nodetype -nodeadd_v -nodeadd_h -nodegrpch_v -nodegrpch_h -nodegrpch_groups -nodegrpch_err -nodech_noderange_table -nodech_noderange_table_comma -nodech_noderange_table_arrow -nodech_noderanage_table_at -nodech_delete -nodech_delete_error -nodech_error_node -nodech_error_table -nodech_h -nodech_v -nodech_noderange_table_include -nodech_noderange_table_uninclude -nodech_noderange_table_equal -nodech_noderange_table_unequal -nodech_noderange_shortname_groups -nodech_noderange_shortname_tags -nodech_noderange_shortname_mgt -nodels_null -nodels_H -nodels_noderange -nodels_err_symbol -nodels_err_noderange -nodels_noderange_shortname_groups -nodels_noderange_shortname_tags -nodels_noderange_shortname_mgt -nodels_table_include -nodels_noderange_table_uninclude -nodels_noderange_table_equal -nodels_noderange_table_unequal -nodels_b -nodels_S -nodels_noderange_table -nodels_tablevalue -nodels_tablevalue_tablecolumn -nodels_noderange_tablecolumn -nodels_tablevalue_tablecolumn -nodels_h -nodels_v -xcatstanzafile_normal -xcatstanzafile_colon -xcatstanzafile_attribute -xcatstanzafile_objtype -xcatstanzafile_tab -xcatstanzafile_multattr -xcatstanzafile_defaultvalue -xcatstanzafile_specificvalue -noderm_noderange -noderm_h -noderm_null -noderm_err_node -nodeset_stat -nodeset_noderange -nodestat_noderange -nodestat_err_node -rinv_null -rinv_bus -rinv_config -rinv_serial -rinv_model -rinv_firm -rinv_all -rinv_noderange_err -rmdef_null -rmdef_t_o_attr -rmdef_f_all -rmdef_t_err -rpower_off -rpower_stat -rpower_boot -rpower_on -rpower_reset -rpower_noderange -rpower_noderange_nodeps -rpower_err_noderange -rscan_noderange -rscan_x -rscan_z -rscan_w -rscan_x_w -rscan_z_w -mvitals_state -rvitals_lcds -rvitals_all -rvitals_noderange_err -sinv_c_p_t_r_o -sinv_c_s_p_t_o -tabdump_table -tabdump_d -tabdump_v -tabdump_h -tabdump_help -tabdump_w_match -tabdump_w_equal -tabdump_w_ne -tabdump_w_notmatch -tabdump_w_gt -tabdump_w_ge -tabdump_w_lt -tabdump_w_le -tabdump_f_d -tabdump_d_nodehm -tabprune_h -tabprune_v -tabprune_a_eventlog -tabprune_V_a_eventlog -tabprune_p_auditlog -tabprune_i_auditlog -tabprune_V_n_auditlog -tabgrep_node -tabgrep_null -tabgrep_h -tabgrep_err -tabrestore_table -tabrestore_null -tabrestore_h -tabrestore_err -dumpxCATdb_h -dumpxCATdb_v -dumpxCATdb_p_nullskiptables -dumpxCATdb_a_p_nullskiptables -dumpxCATdb_p_skiptables -dumpxCATdb_a_p_skiptables -dumpxCATdb_p_nullskiptables_V -dumpxCATdb_a_p_nullskiptables_V -dumpxCATdb_p_V -restorexCAT_h -restorexCATdb_v -restorexCATdb_p -restorexCATdb_p_V -restorexCATdb_a_p_V -restorexCATdb_wrongpath -regnotif_null -regnotif_o -regnotif_err -regnotif_h -regnotif_v -unregnotif_null -unregnotif_f -unregnotif_h -unregnotif_v -lsxcatd_null -lsxcatd_h -lsxcatd_d -lsxcatd_a -makehosts_h -makehosts_help -makehosts_null -makehosts_l -makehosts_d -makehosts_n -makehosts_n_noderange -xcatstart -xcatstop -xdcp_src_dst -xdcp_P -makedns_h -makedns_n_node -makedns_d_node -makedns_n -makedns -noderange_individual_node -noderange_individual_grp -noderange_node01-node10 -noderange_node[01-10] -noderange_node[01 -noderange_f[1-2]n[1-3] -noderange_group1-group3 -noderange_node001-node200 -noderange_node10+3 -noderange_10-20 -noderange_XCAT_NODE_PREFIX -noderange_XCAT_NODE_SUFFIX -noderange_/nrtestnode.* -noderange_/tmp/nodelistfile -noderange_exclusion -noderange_group_intersection - diff --git a/xCAT-test/autotest/bundle/def.bundle b/xCAT-test/autotest/bundle/def.bundle deleted file mode 100644 index e8fd7d40a..000000000 --- a/xCAT-test/autotest/bundle/def.bundle +++ /dev/null @@ -1,36 +0,0 @@ -def_null -lsdef_a -lsdef_t_o_l -lsdef_t_o_l_z -lsdef_t -lsdef_t_i_o -lsdef_t_w -lsdef_s -lsdef_t_err -chdef_null -chdef_t_o_attr -chdef_p_t_o_attr -chdef_m_t_o_attr -chdef_z -chdef_t_o_attr_noderange -chdef_group -chdef_dynamic_group -chdef_multiple_keys -chdef_t_o_error -mkdef_null -mkdef_t_o_attr -mkdef_f_t_o_attr -mkdef_z -mkdef_group -mkdef_dynamic_group -mkdef_multiple_keys -mkdef_t_o_error -rmdef_null -rmdef_t_o_node -rmdef_t_node -rmdef_node -rmdef_t_o_network -rmdef_group -rmdef_dynamic_group -rmdef_f_all -rmdef_t_err diff --git a/xCAT-test/autotest/bundle/p_aix_cmd.bundle b/xCAT-test/autotest/bundle/p_aix_cmd.bundle deleted file mode 100644 index 6ef8fc841..000000000 --- a/xCAT-test/autotest/bundle/p_aix_cmd.bundle +++ /dev/null @@ -1,249 +0,0 @@ -chdef_null -chdef_t_node -chdef_t_network -chdef_p -chdef_m -chdef_z -chdef_group -chdef_group_p -chdef_dynamic_group -chdef_multiple_keys -chdef_n -chdef_t_o_error -chtab_null -chtab_delete -chtab_modify -chtab_d -chtab_modify_node -chtab_modify_key -chtab_h -chtab_v -copycds_iso -copycds_n -copycds_a -copycds_n_a -copycds_a_err -copycds_n_err -packimage_o_p_a_m -packimage_p_a_o -packimage_imagename -packimage_h -packimage_v -pping_h -pping_v -pping_node -getmacs_noderange -getmacs_d -getmacs_f_D -gettab_key_table -gettab_H -gettab_err -gettab_h -lsdef_null -lsdef_a -lsdef_t_o_l -lsdef_t_o_l_z -lsdef_t -lsdef_t_i_o -lsdef_t_w -lsdef_t_err -lslite_i -lslite_noderange -lslite_h -makeconservercf_null -makeconservercf_noderange -makeconservercf_d -makedhcp_n -makedhcp_a -makedhcp_a_d -makedhcp_d -mkdef_null -mkdef_t_o_attr -mkdef_f_t_o_attr -mkdef_z -mkdef_t_o_error -nodeadd_noderange -nodeadd_err_symbol -nodeadd_null -nodeadd_noderange_nodetype -nodeadd_v -nodeadd_h -nodegrpch_v -nodegrpch_h -nodegrpch_groups -nodegrpch_err -nodech_noderange_table -nodech_noderange_table_comma -nodech_noderange_table_arrow -nodech_noderanage_table_at -nodech_delete -nodech_delete_error -nodech_error_node -nodech_error_table -nodech_h -nodech_v -nodech_noderange_table_include -nodech_noderange_table_uninclude -nodech_noderange_table_equal -nodech_noderange_table_unequal -nodech_noderange_shortname_groups -nodech_noderange_shortname_tags -nodech_noderange_shortname_mgt -nodels_null -nodels_H -nodels_noderange -nodels_err_symbol -nodels_err_noderange -nodels_noderange_shortname_groups -nodels_noderange_shortname_tags -nodels_noderange_shortname_mgt -nodels_table_include -nodels_noderange_table_uninclude -nodels_noderange_table_equal -nodels_noderange_table_unequal -nodels_b -nodels_S -nodels_noderange_table -nodels_tablevalue -nodels_tablevalue_tablecolumn -nodels_noderange_tablecolumn -nodels_tablevalue_tablecolumn -nodels_h -nodels_v -xcatstanzafile_normal -xcatstanzafile_colon -xcatstanzafile_attribute -xcatstanzafile_objtype -xcatstanzafile_tab -xcatstanzafile_multattr -xcatstanzafile_defaultvalue -xcatstanzafile_specificvalue -noderm_noderange -noderm_h -noderm_null -noderm_err_node -nodeset_stat -nodeset_noderange -nodestat_noderange -nodestat_err_node -rinv_null -rinv_bus -rinv_config -rinv_serial -rinv_model -rinv_firm -rinv_all -rinv_noderange_err -rmdef_null -rmdef_t_o_attr -rmdef_f_all -rmdef_t_err -rpower_off -rpower_stat -rpower_boot -rpower_on -rpower_reset -rpower_noderange -rpower_noderange_nodeps -rpower_err_noderange -rscan_noderange -rscan_x -rscan_z -rscan_w -rscan_x_w -rscan_z_w -mvitals_state -rvitals_lcds -rvitals_all -rvitals_noderange_err -tabdump_table -tabdump_d -tabdump_v -tabdump_h -tabdump_help -tabdump_w_match -tabdump_w_equal -tabdump_w_ne -tabdump_w_notmatch -tabdump_w_gt -tabdump_w_ge -tabdump_w_lt -tabdump_w_le -tabdump_f_d -tabdump_d_nodehm -tabprune_h -tabprune_v -tabprune_a_eventlog -tabprune_V_a_eventlog -tabprune_p_auditlog -tabprune_i_auditlog -tabprune_V_n_auditlog -tabgrep_node -tabgrep_null -tabgrep_h -tabgrep_err -tabrestore_table -tabrestore_null -tabrestore_h -tabrestore_err -dumpxCATdb_h -dumpxCATdb_v -dumpxCATdb_p_nullskiptables -dumpxCATdb_a_p_nullskiptables -dumpxCATdb_p_skiptables -dumpxCATdb_a_p_skiptables -dumpxCATdb_p_nullskiptables_V -dumpxCATdb_a_p_nullskiptables_V -dumpxCATdb_p_V -restorexCAT_h -restorexCATdb_v -restorexCATdb_p -restorexCATdb_p_V -restorexCATdb_a_p_V -restorexCATdb_wrongpath -regnotif_null -regnotif_o -regnotif_err -regnotif_h -regnotif_v -unregnotif_null -unregnotif_f -unregnotif_h -unregnotif_v -lsxcatd_null -lsxcatd_h -lsxcatd_d -lsxcatd_a -makehosts_h -makehosts_help -makehosts_null -makehosts_l -makehosts_d -makehosts_n -makehosts_n_noderange -xcatstart -xcatstop -xdcp_src_dst -xdcp_P -makedns_h -makedns_n_node -makedns_d_node -makedns_n -makedns -noderange_individual_node -noderange_individual_grp -noderange_node01-node10 -noderange_node[01-10] -noderange_node[01 -noderange_f[1-2]n[1-3] -noderange_group1-group3 -noderange_node001-node200 -noderange_node10+3 -noderange_10-20 -noderange_XCAT_NODE_PREFIX -noderange_XCAT_NODE_SUFFIX -noderange_/nrtestnode.* -noderange_/tmp/nodelistfile -noderange_exclusion -noderange_group_intersection - diff --git a/xCAT-test/autotest/bundle/p_ubunut.cmd.bundle b/xCAT-test/autotest/bundle/p_ubunut.cmd.bundle deleted file mode 100644 index ca61c55ca..000000000 --- a/xCAT-test/autotest/bundle/p_ubunut.cmd.bundle +++ /dev/null @@ -1,199 +0,0 @@ -makehosts_h -makehosts_help -makehosts_n -makehosts_n_noderange -chdef_null -chdef_t_o_attr -chdef_p_t_o_attr -chdef_m_t_o_attr -chdef_z -chdef_t_o_attr_noderange -chdef_t_o_error -chtab_null -chtab_delete -chtab_modify -chtab_d -chtab_modify_node -chtab_modify_key -chtab_h -chtab_v -packimage_o_p_a_m -packimage_p_a_o -packimage_imagename -packimage_h -packimage_v -pping_h -pping_v -pping_node -gettab_key_table -gettab_H -gettab_err -gettab_h -lsdef_null -lsdef_a -lsdef_t_o_l -lsdef_t_o_l_z -lsdef_t -lsdef_t_i_o -lsdef_t_w -lsdef_t_err -lslite_i -lslite_noderange -lslite_h -makeconservercf_null -makeconservercf_noderange -makeconservercf_d -makedhcp_n -makedhcp_a_ubuntu -makedhcp_a_ubuntu_d -makedhcp_d -mkdef_null -mkdef_t_o_attr -mkdef_f_t_o_attr -mkdef_z -mkdef_t_o_error -nodeadd_noderange -nodeadd_err_symbol -nodeadd_null -nodeadd_noderange_nodetype -nodeadd_v -nodeadd_h -nodegrpch_v -nodegrpch_h -nodegrpch_groups -nodegrpch_err -nodech_noderange_table -nodech_noderange_table_comma -nodech_noderange_table_arrow -nodech_noderanage_table_at -nodech_delete -nodech_delete_error -nodech_error_node -nodech_error_table -nodech_h -nodech_v -nodech_noderange_table_include -nodech_noderange_table_uninclude -nodech_noderange_table_equal -nodech_noderange_table_unequal -nodech_noderange_shortname_groups -nodech_noderange_shortname_tags -nodech_noderange_shortname_mgt -nodels_null -nodels_H -nodels_noderange -nodels_err_symbol -nodels_err_noderange -nodels_noderange_shortname_groups -nodels_noderange_shortname_tags -nodels_noderange_shortname_mgt -nodels_table_include -nodels_noderange_table_uninclude -nodels_noderange_table_equal -nodels_noderange_table_unequal -nodels_b -nodels_S -nodels_noderange_table -nodels_tablevalue -nodels_tablevalue_tablecolumn -nodels_noderange_tablecolumn -nodels_tablevalue_tablecolumn -nodels_h -nodels_v -xcatstanzafile_normal -xcatstanzafile_colon -xcatstanzafile_attribute -xcatstanzafile_objtype -xcatstanzafile_tab -xcatstanzafile_multattr -xcatstanzafile_defaultvalue -xcatstanzafile_specificvalue -noderm_noderange -noderm_h -noderm_null -noderm_err_node -nodeset_stat -nodeset_noderange -nodestat_noderange -nodestat_err_node -rmdef_null -rmdef_t_o_attr -rmdef_f_all -rmdef_t_err -rpower_err_noderange -rscan_noderange -rscan_x -rscan_z -rscan_w -rscan_x_w -rscan_z_w -mvitals_state -rvitals_lcds -rvitals_noderange_err -tabdump_table -tabdump_d -tabdump_v -tabdump_h -tabdump_help -tabdump_w_match -tabdump_w_equal -tabdump_w_ne -tabdump_w_notmatch -tabdump_w_gt -tabdump_w_ge -tabdump_w_lt -tabdump_w_le -tabdump_f_d -tabdump_d_nodehm -tabprune_h -tabprune_v -tabprune_a_eventlog -tabprune_V_a_eventlog -tabprune_i_auditlog -tabprune_V_n_auditlog -tabgrep_node -tabgrep_null -tabgrep_h -tabgrep_err -tabrestore_table -tabrestore_null -tabrestore_h -tabrestore_err -dumpxCATdb_h -dumpxCATdb_v -dumpxCATdb_p_nullskiptables -dumpxCATdb_a_p_nullskiptables -dumpxCATdb_p_skiptables -dumpxCATdb_a_p_skiptables -dumpxCATdb_p_nullskiptables_V -dumpxCATdb_a_p_nullskiptables_V -dumpxCATdb_p_V -restorexCAT_h -restorexCATdb_v -restorexCATdb_p -restorexCATdb_p_V -restorexCATdb_a_p_V -restorexCATdb_wrongpath -regnotif_null -regnotif_o -regnotif_err -regnotif_h -regnotif_v -unregnotif_null -unregnotif_f -unregnotif_h -unregnotif_v -lsxcatd_null -lsxcatd_h -lsxcatd_d -lsxcatd_a -xcatstart -xcatstop -xdcp_P -makedns_n_node -makedns_d_node -makedns_ubuntu_n -copycds_iso -copycds_n -copycds_a -copycds_n_a diff --git a/xCAT-test/autotest/bundle/sles11.4_ppc64le.bundle b/xCAT-test/autotest/bundle/sles11.4_ppc64le.bundle deleted file mode 100644 index ed800847f..000000000 --- a/xCAT-test/autotest/bundle/sles11.4_ppc64le.bundle +++ /dev/null @@ -1,199 +0,0 @@ -Diskless_installation_flat_p8_le -Full_installation_flat_p8_le -makehosts_h -makehosts_help -makehosts_n -makehosts_n_noderange -chdef_null -chdef_z -chdef_t_o_error -chtab_null -chtab_d -chtab_modify_node -chtab_modify_key -chtab_err_symble -chtab_err_table -chtab_h -chtab_v -packimage_o_p_a_m -packimage_p_a_o -packimage_imagename -packimage_h -packimage_v -pping_h -pping_v -pping_node -gettab_key_table -gettab_H -gettab_err -gettab_h -lsdef_null -lsdef_a -lsdef_t_o_l -lsdef_t_o_l_z -lsdef_t -lsdef_t_i_o -lsdef_t_w -lsdef_t_err -makeconservercf_null -makeconservercf_noderange -makeconservercf_d -makedhcp_n -makedhcp_a -makedhcp_a_d -makedhcp_d -mkdef_null -mkdef_z -mkdef_t_o_error -nodeadd_noderange -nodeadd_err_symbol -nodeadd_null -nodeadd_noderange_nodetype -nodeadd_v -nodeadd_h -nodegrpch_v -nodegrpch_h -nodegrpch_groups -nodegrpch_err -nodech_noderange_table -nodech_noderange_table_comma -nodech_noderange_table_arrow -nodech_noderanage_table_at -nodech_delete -nodech_error_node -nodech_error_table -nodech_h -nodech_v -nodech_noderange_table_include -nodech_noderange_table_uninclude -nodech_noderange_table_equal -nodech_noderange_table_unequal -nodech_noderange_shortname_groups -nodech_noderange_shortname_tags -nodech_noderange_shortname_mgt -nodels_null -nodels_H -nodels_noderange -nodels_err_symbol -nodels_err_noderange -nodels_noderange_shortname_groups -nodels_noderange_shortname_tags -nodels_noderange_shortname_mgt -nodels_table_include -nodels_noderange_table_uninclude -nodels_noderange_table_equal -nodels_noderange_table_unequal -nodels_b -nodels_S -nodels_noderange_table -nodels_tablevalue -nodels_tablevalue_tablecolumn -nodels_noderange_tablecolumn -nodels_tablevalue_tablecolumn -nodels_h -nodels_v -xcatstanzafile_colon -xcatstanzafile_attribute -xcatstanzafile_objtype -xcatstanzafile_tab -xcatstanzafile_multattr -xcatstanzafile_defaultvalue -xcatstanzafile_specificvalue -noderm_noderange -noderm_h -noderm_null -noderm_err_node -nodeset_stat -nodeset_noderange -nodestat_err_node -rinv_noderange_err -rmdef_null -rmdef_t_err -rpower_err_noderange -rvitals_noderange_err -tabdump_table -tabdump_d -tabdump_v -tabdump_h -tabdump_help -tabdump_w_match -tabdump_w_equal -tabdump_w_ne -tabdump_w_notmatch -tabdump_w_gt -tabdump_w_ge -tabdump_w_lt -tabdump_w_le -tabdump_f_d -tabdump_d_nodehm -tabprune_h -tabprune_v -tabprune_a_eventlog -tabprune_V_a_eventlog -tabprune_i_auditlog -tabprune_V_n_auditlog -tabgrep_node -tabgrep_null -tabgrep_h -tabgrep_err -tabrestore_table -tabrestore_null -tabrestore_h -tabrestore_err -dumpxCATdb_h -dumpxCATdb_v -dumpxCATdb_p_nullskiptables -dumpxCATdb_a_p_nullskiptables -dumpxCATdb_p_skiptables -dumpxCATdb_a_p_skiptables -dumpxCATdb_p_nullskiptables_V -dumpxCATdb_a_p_nullskiptables_V -dumpxCATdb_p_V -restorexCAT_h -restorexCATdb_v -restorexCATdb_p_V -restorexCATdb_a_p_V -restorexCATdb_wrongpath -regnotif_null -regnotif_o -regnotif_err -regnotif_h -regnotif_v -unregnotif_null -unregnotif_f -unregnotif_h -unregnotif_v -lsxcatd_null -lsxcatd_h -lsxcatd_d -lsxcatd_a -makedns_d_node -makedns_n -makedns -copycds_iso -copycds_n -copycds_a -copycds_n_a -copycds_a_err -copycds_n_err -xdsh_h -xdsh_V -xdsh_regular_command -xdsh_Q_command -xdsh_c_cn -xdsh_e_filename -xdsh_E -xdsh_i_linux -xdsh_t -xdsh_q -xdsh_T -xdsh_o -switchdiscover_range_default -switchdiscover_h -switchdiscover_range_s -switchdiscover_range_default_w -switchdiscover_range_r -switchdiscover_range_x -switchdiscover_range_z -switchdiscover_range_z_V - diff --git a/xCAT-test/autotest/bundle/x86.bundle b/xCAT-test/autotest/bundle/x86.bundle deleted file mode 100644 index d0f887f73..000000000 --- a/xCAT-test/autotest/bundle/x86.bundle +++ /dev/null @@ -1,214 +0,0 @@ -makehosts_h -makehosts_help -makehosts_n -makehosts_n_noderange -chdef_null -chdef_t_o_attr -chdef_p_t_o_attr -chdef_m_t_o_attr -chdef_z -chdef_t_o_attr_noderange -chdef_t_o_error -chtab_null -chtab_delete -chtab_modify -chtab_d -chtab_modify_node -chtab_modify_key -chtab_err_symble -chtab_err_table -chtab_h -chtab_v -packimage_o_p_a_m -packimage_p_a_o -packimage_imagename -packimage_h -packimage_v -pping_h -pping_v -pping_all -pping_node -gettab_key_table -gettab_H -gettab_err -gettab_h -lsdef_null -lsdef_a -lsdef_t_o_l -lsdef_t_o_l_z -lsdef_t -lsdef_t_i_o -lsdef_t_w -lsdef_t_err -lslite_i -lslite_noderange -lslite_h -makeconservercf_null -makeconservercf_noderange -makeconservercf_d -makedhcp_n -makedhcp_a -makedhcp_a_d -makedhcp_d -mkdef_null -mkdef_t_o_attr -mkdef_f_t_o_attr -mkdef_z -mkdef_t_o_error -nodeadd_noderange -nodeadd_err_symbol -nodeadd_null -nodeadd_noderange_nodetype -nodeadd_v -nodeadd_h -nodegrpch_v -nodegrpch_h -nodegrpch_groups -nodegrpch_err -nodech_noderange_table -nodech_noderange_table_comma -nodech_noderange_table_arrow -nodech_noderanage_table_at -nodech_delete -nodech_delete_error -nodech_error_node -nodech_error_table -nodech_h -nodech_v -nodech_noderange_table_include -nodech_noderange_table_uninclude -nodech_noderange_table_equal -nodech_noderange_table_unequal -nodech_noderange_shortname_groups -nodech_noderange_shortname_tags -nodech_noderange_shortname_mgt -nodels_null -nodels_H -nodels_noderange -nodels_err_symbol -nodels_err_noderange -nodels_noderange_shortname_groups -nodels_noderange_shortname_tags -nodels_noderange_shortname_mgt -nodels_table_include -nodels_noderange_table_uninclude -nodels_noderange_table_equal -nodels_noderange_table_unequal -nodels_b -nodels_S -nodels_noderange_table -nodels_tablevalue -nodels_tablevalue_tablecolumn -nodels_noderange_tablecolumn -nodels_tablevalue_tablecolumn -nodels_h -nodels_v -xcatstanzafile_normal -xcatstanzafile_colon -xcatstanzafile_attribute -xcatstanzafile_objtype -xcatstanzafile_tab -xcatstanzafile_multattr -xcatstanzafile_defaultvalue -xcatstanzafile_specificvalue -noderm_noderange -noderm_h -noderm_null -noderm_err_node -nodeset_stat -nodeset_noderange -nodestat_noderange -nodestat_err_node -rinv_null -rinv_bus -rinv_config -rinv_serial -rinv_model -rinv_firm -rinv_all -rinv_noderange_err -rmdef_null -rmdef_t_o_attr -rmdef_f_all -rmdef_t_err -rpower_err_noderange -rscan_noderange -rscan_x -rscan_z -rscan_w -rscan_x_w -rscan_z_w -mvitals_state -rvitals_lcds -rvitals_noderange_err -tabdump_table -tabdump_d -tabdump_v -tabdump_h -tabdump_help -tabdump_w_match -tabdump_w_equal -tabdump_w_ne -tabdump_w_notmatch -tabdump_w_gt -tabdump_w_ge -tabdump_w_lt -tabdump_w_le -tabdump_f_d -tabdump_d_nodehm -tabprune_h -tabprune_v -tabprune_a_eventlog -tabprune_V_a_eventlog -tabprune_i_auditlog -tabprune_V_n_auditlog -tabgrep_node -tabgrep_null -tabgrep_h -tabgrep_err -tabrestore_table -tabrestore_null -tabrestore_h -tabrestore_err -dumpxCATdb_h -dumpxCATdb_v -dumpxCATdb_p_nullskiptables -dumpxCATdb_a_p_nullskiptables -dumpxCATdb_p_skiptables -dumpxCATdb_a_p_skiptables -dumpxCATdb_p_nullskiptables_V -dumpxCATdb_a_p_nullskiptables_V -dumpxCATdb_p_V -restorexCAT_h -restorexCATdb_v -restorexCATdb_p -restorexCATdb_p_V -restorexCATdb_a_p_V -restorexCATdb_wrongpath -regnotif_null -regnotif_o -regnotif_err -regnotif_h -regnotif_v -unregnotif_null -unregnotif_f -unregnotif_h -unregnotif_v -lsxcatd_null -lsxcatd_h -lsxcatd_d -lsxcatd_a -xcatstart -xcatstop -xdcp_P -makedns_n_node -makedns_d_node -makedns_n -makedns -copycds_iso -copycds_n -copycds_a -copycds_n_a -copycds_a_err -copycds_n_err - diff --git a/xCAT-test/autotest/testcase/installation/aix_diskless_installation b/xCAT-test/autotest/testcase/installation/aix_diskless_installation deleted file mode 100644 index f5334c712..000000000 --- a/xCAT-test/autotest/testcase/installation/aix_diskless_installation +++ /dev/null @@ -1,56 +0,0 @@ -start:aix_diskless_installation_flat -os:AIX -cmd:mknimimage -V -r -t diskless -s $$SOURCE autotestcosi -check:rc==0 -cmd:lsnim | grep autotestcosi -check:rc==0 -check:output=~lpp_source -check:output=~spot -check:output=~paging -check:output=~shared_root -cmd:nim -o update -a packages=all -a source=$$SSHPKG autotestcosi_lpp_source -check:rc==0 -cmd:mkdir -p /install/nim/installp_bundle -cmd:cp $$SSHPKG/xCATaixCN71.bnd /install/nim/installp_bundle/ -check:rc==0 -cmd:nim -o define -t installp_bundle -a server=master -a location=/install/nim/installp_bundle/xCATaixCN71.bnd xCATaixCN71 -cmd:chdef -t osimage -o autotestcosi installp_bundle="xCATaixCN71" -check:rc==0 -cmd:xcatchroot -i autotestcosi "/usr/bin/echo root:cluster|/usr/bin/chpasswd -c" -check:rc==0 -cmd:mknimimage -u autotestcosi -check:rc==0 -cmd:rscan __GETNODEATTR($$CN, hcp)__ -z > test.node -check:rc==0 -cmd:sleep 60 -cmd:cat test.node|mkdef -z -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:mkdsklsnode -i autotestcosi $$CN -f -check:rc==0 -cmd:lsnim | grep $$CN -check:output=~machines -cmd:lsnim -l $$CN -check:output=~diskless or dataless boot is enabled -cmd:cat /etc/bootptab | grep $$CN -check:output=~__GETNODEATTR($$CN, mac)__ -cmd:ls -l /tftpboot/$$CN* -check:output=~$$CN -cmd:cat /etc/exports | grep $$CN -check:output=~autotestcosi_shared_root -check:output=~spot/autotestcosi/usr -check:output=~autotestcosi_paging -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CN| grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/aix_full_installation b/xCAT-test/autotest/testcase/installation/aix_full_installation deleted file mode 100644 index 7a3f96a30..000000000 --- a/xCAT-test/autotest/testcase/installation/aix_full_installation +++ /dev/null @@ -1,53 +0,0 @@ -start:aix_full_installation_flat -os:AIX -cmd:mknimimage -V -s $$SOURCE autotest -check:rc==0 -cmd:lsnim | grep autotest -check:rc==0 -check:output=~lpp_source -check:output=~spot -check:output=~bosinst_data -cmd:nim -o update -a packages=all -a source=$$SSHPKG autotest_lpp_source -check:rc==0 -cmd:mkdir -p /install/nim/installp_bundle -cmd:cp $$SSHPKG/xCATaixCN71.bnd /install/nim/installp_bundle/ -check:rc==0 -cmd:nim -o define -t installp_bundle -a server=master -a location=/install/nim/installp_bundle/xCATaixCN71.bnd xCATaixCN71 -cmd:chdef -t osimage -o autotest installp_bundle="xCATaixCN71" -check:rc==0 -cmd:rscan __GETNODEATTR($$CN, hcp)__ -w -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:xcat2nim -t node -o $$CN -check:rc==0 -cmd:lsnim | grep $$CN -check:output=~machines -cmd:nimnodeset -i autotest $$CN -check:rc==0 -cmd:lsnim -l $$CN -check:output=~BOS installation has been enabled -cmd:cat /etc/bootptab | grep $$CN -check:output=~__GETNODEATTR($$CN, mac)__ -cmd:ls -l /tftpboot/$$CN* -check:output=~$$CN -cmd:cat /etc/exports | grep $$CN -check:output=~autotest_bosinst_data -check:output=~spot/autotest/usr -check:output=~xcataixscript -check:output=~xCATaixCN71.bnd -check:output=~autotest_lpp_source -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 1800 -cmd:lsdef -l $$CN| grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/aix_statelite_installation b/xCAT-test/autotest/testcase/installation/aix_statelite_installation deleted file mode 100644 index e28ff3933..000000000 --- a/xCAT-test/autotest/testcase/installation/aix_statelite_installation +++ /dev/null @@ -1,92 +0,0 @@ -start:aix_statelite_installation_flat -os:AIX -cmd:chtab priority=1 litetree.image="autotestcosi" litetree.directory="$$MN:/mydata" -check:rc==0 -cmd:chtab node=$$CN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab litefile.image="ALL" litefile.file="/logs/" litefile.options="persistent" -check:rc==0 -cmd:chtab litefile.image="ALL" litefile.file="/ro/" litefile.options="ro" -check:rc==0 -cmd:chtab litefile.image="ALL" litefile.file="/rw/" litefile.options="rw" -check:rc==0 -cmd:tabdump litefile -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:mkdir -p /nodedata -check:rc==0 -cmd:mkdir -p /mydata/ro -check:rc==0 -cmd:mkdir -p /mydata/rw -check:rc==0 -cmd:chmod -R 555 /mydata/ro -check:rc==0 -cmd:chmod -R 777 /mydata/rw -check:rc==0 -cmd:chmod 755 /etc/exports -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata -vers=3:4,sec=sys:none,anon=0,rw " >> /etc/exports; fi -check:rc==0 -cmd:cat /etc/exports|grep mydata; if [ "$?" -ne "0" ]; then echo "/mydata -vers=3:4,sec=sys:none,anon=0,rw " >> /etc/exports; fi -check:rc==0 -cmd:exportfs -a -check:rc==0 -cmd:nim -o update -a packages=all -a source=$$SSHPKG autotestcosi_lpp_source -check:rc==0 -cmd:mkdir -p /install/nim/installp_bundle -cmd:cp $$SSHPKG/xCATaixCN71.bnd /install/nim/installp_bundle/ -check:rc==0 -cmd:nim -o define -t installp_bundle -a server=master -a location=/install/nim/installp_bundle/xCATaixCN71.bnd xCATaixCN71 -cmd:chdef -t osimage -o autotestcosi installp_bundle="xCATaixCN71" -check:rc==0 -cmd:xcatchroot -i autotestcosi "/usr/bin/echo root:cluster|/usr/bin/chpasswd -c" -check:rc==0 -cmd:mknimimage -u autotestcosi -V -check:rc==0 -check:output=~Installing installp filesets in SPOT -check:output=~Installing RPM packages in SPOT -check:output=~Completed Installing RPM packages in SPOT -check:output=~Updated software in the NIM SPOT called -cmd:lsnim | grep autotestcosi -check:rc==0 -check:output=~lpp_source -check:output=~spot -check:output=~paging -check:output=~shared_root -cmd:rscan __GETNODEATTR($$CN, hcp)__ -z > test.node -check:rc==0 -cmd:sleep 60 -cmd:cat test.node|mkdef -z -cmd:makeconservercf $$CN -check:rc==0 -cmd:sleep 90 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:mkdsklsnode -f -i autotestcosi $$CN -check:rc==0 -cmd:lsnim | grep $$CN -check:output=~machines -cmd:lsnim -l $$CN -check:output=~diskless or dataless boot is enabled -cmd:cat /etc/bootptab | grep $$CN -check:output=~__GETNODEATTR($$CN, mac)__ -cmd:ls -l /tftpboot/$$CN* -check:output=~$$CN -cmd:cat /etc/exports | grep $$CN -check:output=~autotestcosi_shared_root -check:output=~spot/autotestcosi/usr -check:output=~autotestcosi_paging -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 400 -cmd:lsdef -l $$CN| grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end - diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat deleted file mode 100644 index d0a67d785..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat +++ /dev/null @@ -1,67 +0,0 @@ -start:linux_cn_with_sn_diskless_installation_flat_x86_64_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:sleep 10 -cmd:service named restart -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:sleep 60 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcpd/dhcpd.leases| grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:rm -rf /install/netboot/__GETNODEATTR($$CNWITHSN,os)__/x86_64/compute -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-netboot-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CNWITHSN,os)__ -p compute -a __GETNODEATTR($$CNWITHSN,arch)__ -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ;then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-netboot-compute -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN netboot -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat_vm b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat_vm deleted file mode 100644 index 85a8b3f20..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_redhat_vm +++ /dev/null @@ -1,51 +0,0 @@ -start:Linux_cn_with_sn_diskless_installation_flat_x86_64_redhat_vm -os:Linux -cmd:makedns -n -check:rc==0 -cmd:sleep 10 -cmd:service named restart -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:sleep 60 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcpd/dhcpd.leases| grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:rm -rf /install/netboot/__GETNODEATTR($$CNWITHSN,os)__/x86_64/compute -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-netboot-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CNWITHSN,os)__ -p compute -a __GETNODEATTR($$CNWITHSN,arch)__ -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ;then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-netboot-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_sles_vm b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_sles_vm deleted file mode 100644 index b4d4bd1fc..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_diskless_installation_x86_64_sles_vm +++ /dev/null @@ -1,50 +0,0 @@ -start:Linux_cn_with_sn_diskless_installation_flat_x86_sles_vm -os:Linux -cmd:makedns -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:sleep 60 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -check:rc==0 -cmd:makedhcp -n -#check:rc==0 -cmd:makedhcp -a -#check:rc==0 -cmd:service dhcpd restart -check:rc==0 -#cmd:cat /var/lib/dhcpd/dhcpd.leases| grep $$CNWITHSN -#check:output=~$$CNWITHSN -cmd:rm -rf /install/netboot/__GETNODEATTR($$CNWITHSN,os)__/x86_64/compute -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-netboot-compute -check:rc==0 -cmd:packimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-netboot-compute -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ;then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-netboot-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat deleted file mode 100644 index df0816007..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat +++ /dev/null @@ -1,51 +0,0 @@ -start:Linux_cn_with_sn_full_installation_flat_x86_64_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CNWITHSN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -cmd:chdef -t osimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-install-compute synclists=/install/custom/install/rh/compute.synclist -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ; then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-install-compute -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 1200 -cmd:ping $$CNWITHSN -c 3 -check:output=~64 bytes from $$CNWITHSN -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 1200 -cmd:ping $$CNWITHSN -c 3 -check:output=~64 bytes from $$CNWITHSN -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat_vm b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat_vm deleted file mode 100644 index d3dc53604..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_redhat_vm +++ /dev/null @@ -1,47 +0,0 @@ -start:Linux_cn_with_sn_full_installation_flat_x86_64_redhat_vm -os:Linux -cmd:makedns -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CNWITHSN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -cmd:chdef -t osimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-install-compute synclists=/install/custom/install/rh/compute.synclist -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ; then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-install-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 1200 -cmd:ping $$CNWITHSN -c 3 -check:output=~64 bytes from $$CNWITHSN -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 1200 -cmd:ping $$CNWITHSN -c 3 -check:output=~64 bytes from $$CNWITHSN -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_sles_vm b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_sles_vm deleted file mode 100644 index 7ff98c331..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_full_installation_x86_64_sles_vm +++ /dev/null @@ -1,47 +0,0 @@ -start:Linux_cn_with_sn_full_installation_flat_x86_64_sles_vm -os:Linux -cmd:makedns -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CNWITHSN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CNWITHSN -check:output=~$$CNWITHSN -cmd:sleep 60 -cmd:makedhcp -n -#check:rc==0 -cmd:makedhcp -a -#check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -cmd:chdef -t osimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-install-compute synclists=/install/custom/install/rh/compute.synclist -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ; then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-install-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 2500 -cmd:ping $$CNWITHSN -c 3 -check:output=~64 bytes from $$CNWITHSN -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 2500 -cmd:ping $$CNWITHSN -c 3 -check:output=~64 bytes from $$CNWITHSN -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat deleted file mode 100644 index 169cea3d6..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat +++ /dev/null @@ -1,94 +0,0 @@ -start:Linux_cn_with_sn_statelite_installation_flat_x86_64_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CNWITHSN -check:rc==0 -cmd:sleep 90 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:rm -rf /install/netboot/__GETNODEATTR($$CN,os)__/x86_64/compute -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype= -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -check:rc==0 -cmd:tabrestore /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile.csv -check:rc==0 -cmd:tabdump litefile -check:rc==0 -cmd:mkdir -p /nodedata -cmd:chmod 755 /etc/exports -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi -check:rc==0 -cmd:cd /etc; export exports;cd - -check:rc==0 -cmd:service nfs restart -cmd:chtab node=$$CNWITHSN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CNWITHSN,arch)__ -o __GETNODEATTR($$CNWITHSN,os)__ -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -eq 0 ] ;then xdsh $$SN umount /install;fi -check:rc==0 -cmd:prsync /install $$SN:/ -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ;then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CNWITHSN,arch)__ -o __GETNODEATTR($$CNWITHSN,os)__ -t ramdisk -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 250 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rsetboot $$CNWITHSN net -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 250 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end - diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat_vm b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat_vm deleted file mode 100644 index 1c46f21b7..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_redhat_vm +++ /dev/null @@ -1,88 +0,0 @@ -start:Linux_cn_with_sn_statelite_installation_flat_x86_64_redhat_vm -os:Linux -cmd:makedns -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CNWITHSN -check:rc==0 -cmd:sleep 90 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:rm -rf /install/netboot/__GETNODEATTR($$CN,os)__/x86_64/compute -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype= -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -check:rc==0 -cmd:tabrestore /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile.csv -check:rc==0 -cmd:tabdump litefile -check:rc==0 -cmd:mkdir -p /nodedata -cmd:chmod 755 /etc/exports -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi -check:rc==0 -cmd:cd /etc; export exports;cd - -check:rc==0 -cmd:service nfs restart -cmd:chtab node=$$CNWITHSN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CNWITHSN,arch)__ -o __GETNODEATTR($$CNWITHSN,os)__ -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -eq 0 ] ;then xdsh $$SN umount /install;fi -check:rc==0 -cmd:prsync /install rhsnauto:/ -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 350 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:chdef -t osimage -o __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ;then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:liteimg __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 350 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 350 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end - diff --git a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_sles_vm b/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_sles_vm deleted file mode 100644 index e4327e5ef..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_cn_with_sn_statelite_installation_x86_64_sles_vm +++ /dev/null @@ -1,88 +0,0 @@ -start:Linux_cn_with_sn_statelite_installation_flat_x86_sels_vm -os:Linux -cmd:makedns -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CNWITHSN -check:rc==0 -cmd:sleep 90 -cmd:chdef $$CNWITHSN servicenode=$$SN xcatmaster=$$SN -check:rc==0 -cmd:makedhcp -n -#check:rc==0 -cmd:makedhcp -a -#check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:rm -rf /install/netboot/__GETNODEATTR($$CNWITHSN,os)__/x86_64/compute -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute rootfstype= -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -check:rc==0 -cmd:tabrestore /autotest/litefile_sles.csv -check:rc==0 -cmd:tabdump litefile -check:rc==0 -cmd:mkdir -p /nodedata -cmd:chmod 755 /etc/exports -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi -check:rc==0 -cmd:cd /etc; export exports;cd - -check:rc==0 -cmd:service nfs restart -cmd:chtab node=$$CNWITHSN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CNWITHSN,arch)__ -o __GETNODEATTR($$CNWITHSN,os)__ -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -eq 0 ] ;then xdsh $$SN umount /install;fi -check:rc==0 -cmd:prsync /install $$SN:/ -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 240 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$SN df|grep /install;if [ $? -ne 0 ] ;then xdsh $$SN mount $$MN:/install /install;fi -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:genimage __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:liteimg __GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:nodeset $$CNWITHSN osimage=__GETNODEATTR($$CNWITHSN,os)__-__GETNODEATTR($$CNWITHSN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 250 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CNWITHSN osimage -check:rc==0 -cmd:rpower $$CNWITHSN reset -check:rc==0 -cmd:sleep 250 -cmd:lsdef -l $$CNWITHSN | grep status -check:output=~booted -cmd:xdsh $$CNWITHSN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end - diff --git a/xCAT-test/autotest/testcase/installation/linux_diskless_installation b/xCAT-test/autotest/testcase/installation/linux_diskless_installation deleted file mode 100644 index 8665f6588..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_diskless_installation +++ /dev/null @@ -1,50 +0,0 @@ -start:Linux_diskless_installation_flat_ppc64 -os:Linux -cmd:rscan __GETNODEATTR($$CN,hcp)__ -w -check:rc==0 -cmd:makedns -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcpd/dhcpd.leases| grep $$CN -check:output=~$$CN -cmd:copycds $$ISO -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:packimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_redhat b/xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_redhat deleted file mode 100644 index 4d7331da2..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_redhat +++ /dev/null @@ -1,46 +0,0 @@ -start:Linux_diskless_installation_flat_x86_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcpd/dhcpd.leases| grep $$CN -check:output=~$$CN -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:rpower $$CN boot -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 300 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end -~ - diff --git a/xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_sles b/xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_sles deleted file mode 100644 index e4e53ecf2..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_diskless_installation_x86_64_sles +++ /dev/null @@ -1,55 +0,0 @@ -start:Linux_diskless_installation_flat_x86_64_sles -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcp/db/dhcpd.leases| grep $$CN -check:output=~$$CN -cmd:if [ ! -d /install/custom/netboot/sles ]; then mkdir -p /install/custom/netboot/sles; fi -check:rc==0 -cmd:if [ ! -e /install/custom/netboot/sles/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/sles/compute.synclist; fi -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute synclists=/install/custom/netboot/sles/compute.synclist -cmd:rm -rf /install/netboot/__GETNODEATTR($$CN,os)__/x86_64/compute -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:rsetboot $$CN net -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rsetboot $$CN net -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_full_installation b/xCAT-test/autotest/testcase/installation/linux_full_installation deleted file mode 100644 index 1b927c496..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_full_installation +++ /dev/null @@ -1,48 +0,0 @@ -start:Linux_full_installation_flat_ppc64 -os:Linux -cmd:rscan __GETNODEATTR($$CN,hcp)__ -w -check:rc==0 -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:copycds $$ISO -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 1800 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 1200 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_redhat b/xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_redhat deleted file mode 100644 index e18280099..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_redhat +++ /dev/null @@ -1,57 +0,0 @@ -start:Linux_full_installation_flat_x86_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:sleep 60 -cmd:makedns -a -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:copycds $$ISO -check: rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute synclists=/install/custom/install/rh/compute.synclist -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:rsetboot $$CN net -check:rc==0 -cmd:rpower $$CN boot -check:rc==0 -cmd:sleep 1200 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rsetboot $$CN net -check:rc==0 -cmd:rpower $$CN boot -check:rc==0 -cmd:sleep 1200 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end - - diff --git a/xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_sles b/xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_sles deleted file mode 100644 index d9953a0b4..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_full_installation_x86_64_sles +++ /dev/null @@ -1,44 +0,0 @@ -start:Linux_full_installation_flat_x86_64_sles -os:Linux -cmd:makedhcp -n -check:rc==0 -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:sleep 60 -cmd:makedhcp -a -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute synclists=/install/custom/install/sles/compute.synclist -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:rpower $$CN boot -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rpower $$CN boot -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_sles_diskless_installation_ppc64 b/xCAT-test/autotest/testcase/installation/linux_sles_diskless_installation_ppc64 deleted file mode 100644 index 85f550d77..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_sles_diskless_installation_ppc64 +++ /dev/null @@ -1,56 +0,0 @@ -start:Linux_sles_diskless_installation_ppc64_flat -os:Linux -cmd:rscan __GETNODEATTR($$CN,hcp)__ -w -check:rc==0 -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:getmacs $$CN -f -D -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcp/db/dhcpd.leases| grep $$CN -check:output=~$$CN -cmd:copycds $$ISO -check:rc==0 -cmd:if [ ! -d /install/custom/netboot/sles ]; then mkdir -p /install/custom/netboot/sles; fi -check:rc==0 -cmd:if [ ! -e /install/custom/netboot/sles/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/sles/compute.synclist; fi -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute synclists=/install/custom/netboot/sles/compute.synclist -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:packimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 600 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 600 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_sles_statelite_installation_ppc64 b/xCAT-test/autotest/testcase/installation/linux_sles_statelite_installation_ppc64 deleted file mode 100644 index 6a56a3e60..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_sles_statelite_installation_ppc64 +++ /dev/null @@ -1,83 +0,0 @@ -start:Linux_sles_statelite_installation_flat_ppc64 -os:Linux -cmd:rm -rf /install/netboot -check:rc==0 -cmd:if [ ! -d /install/custom/netboot/sles ]; then mkdir -p /install/custom/netboot/sles; fi -check:rc==0 -cmd:if [ ! -e /install/custom/netboot/sles/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/sles/compute.synclist; fi -check:rc==0 -cmd:tabrestore /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile_sles.csv -check:rc==0 -cmd:tabdump litefile -check:rc==0 -cmd:mkdir -p /nodedata -cmd:chmod 755 /etc/exports -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi -check:rc==0 -cmd:cd /etc; export exports;cd - -check:rc==0 -cmd:service nfsserver restart -cmd:chtab node=$$CN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:sleep 60 -cmd:getmacs $$CN -D -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:copycds $$ISO -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute synclists=/install/custom/netboot/sles/compute.synclist -check:rc==0 -cmd:genimage -n $$NETDRIVER __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 400 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 400 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 400 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 b/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 deleted file mode 100644 index 9e27c806a..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 +++ /dev/null @@ -1,53 +0,0 @@ -#first define -start:Linux_sn_installation_flat_x86_64_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:chdef $$SN groups=service,all -check:rc==0 -cmd:chdef -t group service arch=__GETNODEATTR($$SN,arch)__ os=__GETNODEATTR($$SN,os)__ profile=service netboot=xnba primarynic=eth0 -check:rc==0 -cmd:chdef -t group -o service setupnfs=1 setupdhcp=1 setuptftp=1 setupnameserver=1 setupconserver=1 -check:rc==0 -cmd:chdef $$SN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$SN -check:output=~$$SN -cmd:sleep 60 -cmd:makedhcp -n -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service synclists=/install/custom/install/rh/service.synclist -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service otherpkglist=/opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.otherpkgs.pkglist -check:rc==0 -cmd:mkdir -p /install/post/otherpkgs/rhels6.3/x86_64/xcat/ -check:rc==0 -cmd:cp -rf /xcat-core /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/ -check:rc==0 -cmd:createrepo /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/xcat-core -check:rc==0 -cmd:for i in mysql-server mysql mysql-bench mysql-devel mysql-connector-odbc; do cat /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist|grep "$i$";if [ $? -ne 0 ] ; then echo "$i" >> /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist; fi done -cmd:chtab node=service postscripts.postscripts="servicenode,odbcsetup" -check:rc==0 -cmd:nodeset $$SN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service -check:rc==0 -cmd:rsetboot $$SN net -check:rc==0 -cmd:rpower $$SN reset -check:rc==0 -cmd:sleep 700 -cmd:ping $$SN -c 3 -check:output=~64 bytes from $$SN -cmd:lsdef -l $$SN | grep status -check:output=~booted -cmd:xdsh $$SN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$SN nodels -check:rc==0 -end diff --git a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat b/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat deleted file mode 100644 index 66815d00e..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat +++ /dev/null @@ -1,53 +0,0 @@ -#first define -start:Linux_sn_installation_flat_x86_64_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:chdef $$SN groups=service,all -check:rc==0 -cmd:chdef -t group service arch=__GETNODEATTR($$SN,arch)__ os=__GETNODEATTR($$SN,os)__ profile=service netboot=xnba primarynic=eth0 -check:rc==0 -cmd:chdef -t group -o service setupnfs=1 setupdhcp=1 setuptftp=1 setupnameserver=1 setupconserver=1 -check:rc==0 -cmd:chdef $$SN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$SN -check:output=~$$SN -cmd:sleep 60 -cmd:makedhcp -n -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service synclists=/install/custom/install/rh/service.synclist -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service otherpkglist=/opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.otherpkgs.pkglist -check:rc==0 -cmd:mkdir -p /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/ -check:rc==0 -cmd:cp -rf /xcat-core /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/ -check:rc==0 -cmd:createrepo /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/xcat-core -check:rc==0 -cmd:for i in mysql-server mysql mysql-bench mysql-devel mysql-connector-odbc; do cat /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist|grep "$i$";if [ $? -ne 0 ] ; then echo "$i" >> /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist; fi done -cmd:chtab node=service postscripts.postscripts="servicenode,odbcsetup" -check:rc==0 -cmd:nodeset $$SN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service -check:rc==0 -cmd:rsetboot $$SN net -check:rc==0 -cmd:rpower $$SN reset -check:rc==0 -cmd:sleep 700 -cmd:ping $$SN -c 3 -check:output=~64 bytes from $$SN -cmd:lsdef -l $$SN | grep status -check:output=~booted -cmd:xdsh $$SN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$SN nodels -check:rc==0 -end diff --git a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat_vm b/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat_vm deleted file mode 100644 index 8b145f4a8..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_redhat_vm +++ /dev/null @@ -1,53 +0,0 @@ -#first define -start:Linux_sn_installation_flat_x86_64_redhat_vm -os:Linux -cmd:makedns -check:rc==0 -cmd:chdef $$SN groups=service,kvm,vm,all -check:rc==0 -cmd:chdef -t group service arch=__GETNODEATTR($$SN,arch)__ os=__GETNODEATTR($$SN,os)__ profile=service netboot=xnba primarynic=eth0 -check:rc==0 -cmd:chdef -t group -o service setupnfs=1 setupdhcp=1 setuptftp=1 setupnameserver=1 setupconserver=1 -check:rc==0 -cmd:chdef $$SN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$SN -check:output=~$$SN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service synclists=/install/custom/install/rh/service.synclist -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service otherpkglist=/opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.otherpkgs.pkglist -check:rc==0 -cmd:mkdir -p /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/ -check:rc==0 -cmd:cp -rf /2.8/xcat-core /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/ -check:rc==0 -cmd:createrepo /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/xcat-core -check:rc==0 -cmd:for i in mysql-server mysql mysql-bench mysql-devel mysql-connector-odbc iscsi-initiator-utils bridge-utils kvm perl-Sys-Virt; do cat /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist|grep "$i$";if [ $? -ne 0 ] ; then echo "$i" >> /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist; fi done -cmd:chtab node=service postscripts.postscripts="servicenode,odbcsetup" -check:rc==0 -cmd:nodeset $$SN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service -check:rc==0 -cmd:rpower $$SN off -cmd:rpower $$SN on -check:rc==0 -cmd:sleep 1200 -cmd:ping $$SN -c 3 -check:output=~64 bytes from $$SN -cmd:lsdef -l $$SN | grep status -check:output=~booted -cmd:xdsh $$SN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$SN nodels -check:rc==0 -end diff --git a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles b/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles deleted file mode 100644 index 74600f1e7..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles +++ /dev/null @@ -1,53 +0,0 @@ -#first define -start:Linux_sn_installation_flat_x86_64_sles -os:Linux -cmd:makedns -n -check:rc==0 -cmd:chdef $$SN groups=ipmi,service,all -check:rc==0 -cmd:chdef -t group service arch=__GETNODEATTR($$SN,arch)__ os=__GETNODEATTR($$SN,os)__ profile=service netboot=xnba primarynic=eth0 -check:rc==0 -cmd:chdef -t group -o service setupnfs=1 setupdhcp=1 setuptftp=1 setupnameserver=1 setupconserver=1 -check:rc==0 -cmd:chdef $$SN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$SN -check:output=~$$SN -cmd:sleep 60 -cmd:makedhcp -n -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service synclists=/install/custom/install/sles/service.synclist -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service otherpkglist=/opt/xcat/share/xcat/install/sles/service.sles11.x86_64.otherpkgs.pkglist -check:rc==0 -cmd:mkdir -p /install/post/otherpkgs/sles11.2/x86_64/xcat/ -check:rc==0 -cmd:cp -rf /xcat-core /install/post/otherpkgs/sles11.2/x86_64/xcat/ -check:rc==0 -cmd:createrepo /install/post/otherpkgs/sles11.2/x86_64/xcat/xcat-core -check:rc==0 -cmd:for i in mysql-client libmysqlclient_r15 libqt4-sql-mysql libmysqlclient15 perl-DBD-mysql mysql iscsi-initiator-utils bridge-utils kvm perl-Sys-Virt; do cat /opt/xcat/share/xcat/install/sles/service.sles11.pkglist|grep "$i$";if [ $? -ne 0 ] ; then echo "$i" >> /opt/xcat/share/xcat/install/sles/service.sles11.pkglist; fi done -cmd:chtab node=service postscripts.postscripts="servicenode,odbcsetup" -check:rc==0 -cmd:nodeset $$SN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service -check:rc==0 -cmd:rsetboot $$SN net -check:rc==0 -cmd:rpower $$SN reset -check:rc==0 -cmd:sleep 3000 -cmd:ping $$SN -c 3 -check:output=~64 bytes from $$SN -cmd:lsdef -l $$SN | grep status -check:output=~booted -cmd:xdsh $$SN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$SN nodels -check:rc==0 -end diff --git a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles_vm b/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles_vm deleted file mode 100644 index 573c7032f..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64_sles_vm +++ /dev/null @@ -1,63 +0,0 @@ -#first define -start:Linux_sn_installation_flat_x86_64_sles_vm -os:Linux -cmd:makedns -n -check:rc==0 -cmd:chdef $$SN groups=service,kvm,vm,all -check:rc==0 -cmd:chdef -t group service arch=__GETNODEATTR($$SN,arch)__ os=__GETNODEATTR($$SN,os)__ profile=service netboot=xnba primarynic=eth0 -check:rc==0 -cmd:chdef -t group -o service setupnfs=1 setupdhcp=1 setuptftp=1 setupnameserver=1 setupconserver=1 -check:rc==0 -cmd:chdef $$SN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$SN -check:output=~$$SN -cmd:sleep 60 -cmd:makedhcp -n -cmd:makedhcp -a -#check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$SN,os)__-__GETNODEATTR($$SN,arch)__-install-service synclists=/install/custom/install/sles/service.synclist -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$SN,os)__-__GETNODEATTR($$SN,arch)__-install-service pkgdir="/install/__GETNODEATTR($$SN,os)__/x86_64,/install/__GETNODEATTR($$SN,os)__/x86_64/sdk1" -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$SN,os)__-__GETNODEATTR($$SN,arch)__-install-service otherpkglist=/opt/xcat/share/xcat/install/sles/service.sles11.x86_64.otherpkgs.pkglist -check:rc==0 -cmd:mkdir -p /install/post/otherpkgs/__GETNODEATTR($$SN,os)__/x86_64/xcat/ -check:rc==0 -cmd:cp -rf /xcat-core /install/post/otherpkgs/__GETNODEATTR($$SN,os)__/x86_64/xcat/ -check:rc==0 -cmd:createrepo /install/post/otherpkgs/__GETNODEATTR($$SN,os)__/x86_64/xcat/xcat-core -check:rc==0 -cmd:for i in mysql-client libmysqlclient_r15 libqt4-sql-mysql libmysqlclient15 perl-DBD-mysql mysql bridge-utils iscsitarget libvirt kvm libvirt-devel gcc; do cat /opt/xcat/share/xcat/install/sles/service.sles11.pkglist|grep "$i$";if [ $? -ne 0 ] ; then echo "$i" >> /opt/xcat/share/xcat/install/sles/service.sles11.pkglist; fi done -cmd:chtab node=service postscripts.postscripts="servicenode,odbcsetup" -check:rc==0 -cmd:nodeset $$SN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-service -check:rc==0 -cmd:rpower $$SN reset -check:rc==0 -cmd:sleep 2400 -cmd:ping $$SN -c 3 -check:output=~64 bytes from $$SN -cmd:lsdef -l $$SN | grep status -check:output=~booted -cmd:xdsh $$SN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$SN nodels -check:rc==0 -cmd:xdsh $$SN mkdir -p /autotest -check:rc==0 -cmd:scp /autotest/Sys-Virt-0.9.5.tar slessnauto:/autotest/ -check:rc==0 -cmd:xdsh $$SN tar xvf /autotest/Sys-Virt-0.9.5.tar -check:rc==0 -cmd:xdsh $$SN "cd /root/Sys-Virt-0.9.5/; perl Makefile.PL" -check:rc==0 -cmd:xdsh $$SN "cd Sys-Virt-0.9.5 ;perl Makefile.PL; sleep 10; make" -cmd:xdsh $$SN "cd Sys-Virt-0.9.5 ;sudo make install" -end diff --git a/xCAT-test/autotest/testcase/installation/linux_statelite_installation b/xCAT-test/autotest/testcase/installation/linux_statelite_installation deleted file mode 100644 index 286506fc7..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_statelite_installation +++ /dev/null @@ -1,77 +0,0 @@ -start:Linux_statelite_installation_flat_ppc64 -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:sleep 90 -cmd:getmacs $$CN -D -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:copycds $$ISO -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -check:rc==0 -cmd:tabrestore /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile.csv -check:rc==0 -cmd:tabdump litefile -check:rc==0 -cmd:mkdir -p /nodedata -cmd:chmod 755 /etc/exports -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi -check:rc==0 -cmd:cd /etc; export exports;cd - -check:rc==0 -cmd:service nfs restart -cmd:chtab node=$$CN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__ -check:rc==0 -cmd:nodeset $$CN statelite -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 400 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__ -t ramdisk -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 400 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rnetboot $$CN -check:rc==0 -cmd:sleep 400 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_redhat b/xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_redhat deleted file mode 100644 index 23a7ce894..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_redhat +++ /dev/null @@ -1,66 +0,0 @@ -start:Linux_statelite_installation_flat_x86_64_redhat -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcp/db/dhcpd.leases| grep $$CN -check:output=~$$CN -cmd:tabrestore /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile.csv -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:mkdir -p /nodedata -check:rc==0 -cmd:chmod 755 /etc/exports -check:rc==0 -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi -check:rc==0 -cmd:cd /etc; export exports;cd - -check:rc==0 -cmd:service nfs restart -check:rc==0 -cmd:chtab node=$$CN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__ -t ramdisk -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_sles b/xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_sles deleted file mode 100644 index 631a1d225..000000000 --- a/xCAT-test/autotest/testcase/installation/linux_statelite_installation_x86_64_sles +++ /dev/null @@ -1,66 +0,0 @@ -start:Linux_statelite_installation_flat_x86_64_sles -os:Linux -cmd:makedns -n -check:rc==0 -cmd:service named restart -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:service dhcpd restart -check:rc==0 -cmd:cat /var/lib/dhcp/db/dhcpd.leases| grep $$CN -check:output=~$$CN -cmd:tabrestore /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile_sles.csv -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:mkdir -p /nodedata -check:rc==0 -cmd:chmod 755 /etc/exports -check:rc==0 -cmd:cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi -check:rc==0 -cmd:cd /etc; export exports;cd - -check:rc==0 -cmd:service nfsserver restart -check:rc==0 -cmd:chtab node=$$CN statelite.statemnt="$$MN:/nodedata" -check:rc==0 -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 -cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:liteimg -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__ -t ramdisk -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat_confignics_s b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat_confignics_s deleted file mode 100644 index 2b9c7c948..000000000 --- a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat_confignics_s +++ /dev/null @@ -1,71 +0,0 @@ -start:reg_linux_diskfull_installation_flat_confignics_s -os:Linux - -cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi - -cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN -check:rc==0 - -cmd:makedns -n -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 20 -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then getmacs -D $$CN; fi -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:if cat /etc/*release |grep SUSE >/dev/null;then cat /var/lib/dhcp/db/dhcpd.leases|grep $$CN;elif cat /etc/*release |grep "Red Hat" >/dev/null;then cat /var/lib/dhcpd/dhcpd.leases|grep $$CN;fi -check:output=~$$CN - -cmd:copycds $$ISO -check:rc==0 - -cmd:chdef $$CN postscripts="confignics -s" -check:rc==0 - -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:lsdef $$CN |grep provmethod -check:rc==0 -check:output=~__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then rpower $$CN boot; fi -check:rc==0 - -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc" ]]; then sleep 120;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then sleep 80;else sleep 180;fi - -cmd:lsdef -l $$CN | grep status -check:rc==0 -check:output!~booted - -cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 300 ];then break;fi done - -cmd:ping $$CN -c 3 -check:rc==0 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:rc==0 -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$CN mount -check:rc==0 -check:output=~on / type ext - -cmd:port=`xdsh $$CN ip addr |grep $$INSTALLNICIP |cut -f 12 -d ' '`;if [ "$$OS" = "ubuntu" ];then xdsh $$CN cat /etc/network/interfaces.d/$port ; elif [ "$$OS" = "rhels" ]; then xdsh $$CN cat /etc/sysconfig/network-scripts/ifcfg-$port;else xdsh $$CN cat /etc/sysconfig/network/ifcfg-$port; fi -check:output=~$$INSTALLNICIP -check:output=~static -check:output!=\d\d:\d\d:\d\d - - -cmd:if [ "$$OS" = "ubuntu" ];then xdsh $$CN cat /etc/network/interfaces ; elif [ "$$OS" = "rhels" ]; then xdsh $$CN cat /etc/sysconfig/network;else xdsh $$CN cat /etc/sysconfig/network/routes; fi -check:rc==0 -check:output=~$$GATEWAY - - -end diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy b/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy deleted file mode 100644 index 6ffbfddd4..000000000 --- a/xCAT-test/autotest/testcase/installation/reg_linux_statelite_installation_hierarchy +++ /dev/null @@ -1,141 +0,0 @@ -start:reg_linux_statelite_installation_hierarchy -os:Linux -stop:yes - -cmd:MNIP=`cat /etc/hosts|grep $$MN|awk '{print $1}'`;sed -i "s:nameserver .*:nameserver $MNIP:g" /etc/resolv.conf - -cmd:chdef -t node -o $$CN servicenode=$$SN monserver=$$SN nfsserver=$$SN tftpserver=$$SN xcatmaster=$$SN -check:rc==0 -cmd:chdef -t node $$SN groups=service,all -check:rc==0 - -cmd:makedns -n -check:rc==0 -cmd:makeconservercf -check:rc==0 -cmd:sleep 20 -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then getmacs -D $$CN; fi -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 - -cmd:copycds $$ISO -check:rc==0 -cmd:mkdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -u profile=compute provmethod=statelite osvers=__GETNODEATTR($$CN,os)__ -check:rc==0 -cmd:xdsh $$SN df|grep /install;if [ $? -eq 0 ] ;then xdsh $$SN umount /install;fi -check:rc==0 -cmd:xdsh $$SN 'cat /etc/exports|grep install; if [ "$?" -ne "0" ]; then echo "/install *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi' -check:rc==0 - -cmd:xdsh $$SN "mkdir -p /nodedata" -check:rc==0 -cmd:xdsh $$SN "chmod 755 /etc/exports" -check:rc==0 -cmd:xdsh $$SN 'cat /etc/exports|grep nodedata; if [ "$?" -ne "0" ]; then echo "/nodedata *(rw,no_root_squash,sync,no_subtree_check)" >> /etc/exports; fi' -check:rc==0 -cmd:xdsh $$SN 'cd /etc; export exports;cd -' -check:rc==0 -cmd:if cat /etc/*release |grep SUSE >/dev/null;then xdsh $$SN 'service nfsserver restart'; elif cat /etc/*release |grep "Red Hat" >/dev/null;then xdsh $$SN 'service nfs restart'; fi -check:rc==0 - -cmd:chtab node=$$CN statelite.statemnt="$$SN:/nodedata" -check:rc==0 - -cmd:if cat /etc/*release |grep SUSE >/dev/null; then cp /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile_sles.csv /tmp/litefile.csv; tabrestore /tmp/litefile.csv; elif cat /etc/*release |grep "Red Hat" >/dev/null; then tabrestore /opt/xcat/share/xcat/tools/autotest/testcase/installation/litefile.csv; fi -check:rc==0 -cmd:tabdump litefile -check:rc==0 - -cmd:chtab priority=4.7 policy.commands=litefile policy.rule=allow -check:rc==0 -cmd:chtab priority=4.8 policy.commands=litetree policy.rule=allow -check:rc==0 - -cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir ]; then mv $rootimgdir $rootimgdir.regbak;fi -check:rc==0 - -cmd:if cat /etc/*release |grep SUSE >/dev/null;then if [ ! -d /install/custom/netboot/sles ]; then mkdir -p /install/custom/netboot/sles; fi; elif cat /etc/*release |grep "Red Hat" >/dev/null;then if [ ! -d /install/custom/netboot/rh ]; then mkdir -p /install/custom/netboot/rh; fi;fi -check:rc==0 -cmd:if cat /etc/*release |grep SUSE >/dev/null;then if [ ! -e /install/custom/netboot/sles/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/sles/compute.synclist; fi; elif cat /etc/*release |grep "Red Hat" >/dev/null;then if [ ! -e /install/custom/netboot/rh/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/rh/compute.synclist; fi;fi -check:rc==0 -cmd:if cat /etc/*release |grep SUSE >/dev/null;then chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute synclists=/install/custom/netboot/sles/compute.synclist rootfstype=; elif cat /etc/*release |grep "Red Hat" >/dev/null;then chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute synclists=/install/custom/netboot/rh/compute.synclist rootfstype=; fi -check:rc==0 - -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:prsync /install $$SN:/ -check:rc==0 - -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:lsdef $$CN |grep provmethod -check:rc==0 -check:output=~statelite -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then rpower $$CN boot; fi -check:rc==0 - -cmd:sleep 900 -cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 60 ];then break;fi done - -cmd:ping $$CN -c 3 -check:rc==0 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:rc==0 -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$CN mount -check:rc==0 -check:output=~/nodedata/$$CN on /.statelite/persistent -check:output=~compute/rootimg on / type nfs - - -cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir ]; then rm -rf $rootimgdir;fi -check:rc==0 - -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute rootfstype=ramdisk -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:liteimg __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:prsync /install $$SN:/ -check:rc==0 - -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -cmd:lsdef $$CN |grep provmethod -check:rc==0 -check:output=~__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]]; then rnetboot $$CN;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then rpower $$CN boot; fi -check:rc==0 - -cmd:sleep 900 -cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 60 ];then break;fi done - -cmd:ping $$CN -c 3 -check:rc==0 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:rc==0 -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$CN mount -check:rc==0 -check:output=~/nodedata/$$CN on /.statelite/persistent -check:output=~rootfs on / type - -cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir.regbak ]; then rm -rf $rootimgdir; mv $rootimgdir.regbak $rootimgdir; fi -check:rc==0 -cmd:rmdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute -check:rc==0 -end diff --git a/xCAT-test/autotest/testcase/installation/sles_full_installation_p8le b/xCAT-test/autotest/testcase/installation/sles_full_installation_p8le deleted file mode 100644 index 989225fa1..000000000 --- a/xCAT-test/autotest/testcase/installation/sles_full_installation_p8le +++ /dev/null @@ -1,42 +0,0 @@ -start:sles_full_installation_flat_p8le_vm -os:Linux -cmd:makedns -n -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:if [ ! -e /install/custom/netboot/sles/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/sles/compute.synclist; fi -check:rc==0 -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute synclists=/install/custom/install/sles/compute.synclist -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rpower $$CN boot -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -end diff --git a/xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudafull b/xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudafull deleted file mode 100644 index b9335eeb7..000000000 --- a/xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudafull +++ /dev/null @@ -1,39 +0,0 @@ -start:Ubuntu_diskless_installation_p8le_vm_cudafull -os:Linux -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;echo "deb http://developer.download.nvidia.com/compute/cuda/repos/$ver/__GETNODEATTR($$CN,arch)__ /" >> /etc/apt/sources.list -cmd:makedns -n -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:if [ ! -d /install/custom/netboot/ubuntu ]; then mkdir -p /install/custom/netboot/ubuntu; fi -check:rc==0 -cmd:if [ ! -e /install/custom/netboot/ubuntu/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/ubuntu/compute.synclist; fi -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -p pkgdir="http://ports.ubuntu.com/ubuntu-ports trusty main,http://ports.ubuntu.com/ubuntu-ports trusty-updates main" -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute otherpkgdir="http://developer.download.nvidia.com/compute/cuda/repos/$ver/__GETNODEATTR($$CN,arch)__ /" otherpkglist="/opt/xcat/share/xcat/netboot/ubuntu/cudafull.otherpkgs.pkglist" pkglist="/opt/xcat/share/xcat/netboot/ubuntu/cudafull.__GETNODEATTR($$CN,os)__.__GETNODEATTR($$CN,arch)__-.pkglist" rootimgdir="/install/netboot/ __GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/cudafull" -cmd:apt-get install -y acpid -check:rc==0 -cmd:rm -rf /install/netboot/__GETNODEATTR($$CN,os)__/x86_64/compute -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:packimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$CN dpkg -l |grep cuda -check:rc==0 -check:output=~cuda -end diff --git a/xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudaruntime b/xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudaruntime deleted file mode 100644 index 777916ec6..000000000 --- a/xCAT-test/autotest/testcase/installation/ubuntu_diskless_installation_cudaruntime +++ /dev/null @@ -1,39 +0,0 @@ -start:Ubuntu_diskless_installation_vm_cudaruntime -os:Linux -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;echo "deb http://developer.download.nvidia.com/compute/cuda/repos/$ver/__GETNODEATTR($$CN,arch)__ /" >> /etc/apt/sources.list -cmd:makedns -n -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:if [ ! -d /install/custom/netboot/ubuntu ]; then mkdir -p /install/custom/netboot/ubuntu; fi -check:rc==0 -cmd:if [ ! -e /install/custom/netboot/ubuntu/compute.synclist ]; then echo "/etc/resolv.conf -> /etc/resolv.conf" > /install/custom/netboot/ubuntu/compute.synclist; fi -check:rc==0 -cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -p pkgdir="http://ports.ubuntu.com/ubuntu-ports trusty main,http://ports.ubuntu.com/ubuntu-ports trusty-updates main " -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute otherpkgdir="http://developer.download.nvidia.com/compute/cuda/repos/$ver/__GETNODEATTR($$CN,arch)__ /" otherpkglist="/opt/xcat/share/xcat/netboot/ubuntu/cudaruntime.otherpkgs.pkglist" pkglist="/opt/xcat/share/xcat/netboot/ubuntu/cudaruntime.__GETNODEATTR($$CN,os)__.__GETNODEATTR($$CN,arch)__-.pkglist" rootimgdir="/install/netboot/ __GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/cudaruntime" -cmd:apt-get install -y acpid -check:rc==0 -cmd:rm -rf /install/netboot/__GETNODEATTR($$CN,os)__/x86_64/compute -check:rc==0 -cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:packimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 200 -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$CN dpkg -l |grep cuda -check:rc==0 -check:output=~cuda -end diff --git a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudafull b/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudafull deleted file mode 100644 index 24f9b4827..000000000 --- a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudafull +++ /dev/null @@ -1,35 +0,0 @@ -start:Ubuntu_full_installation_flat_cudafull -os:Linux -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;echo "deb http://developer.download.nvidia.com/compute/cuda/repos/$ver/__GETNODEATTR($$CN,arch)__ /" >> /etc/apt/sources.list -cmd:makedns -n -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:copycds $$ISO -check:rc==0 -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -p pkgdir="http://ports.ubuntu.com/ubuntu-ports trusty main,http://ports.ubuntu.com/ubuntu-ports trusty-updates main,http://developer.download.nvidia.com/compute/cuda/repos/$ver/__GETNODEATTR($$CN,arch)__/ /" -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute pkglist="/opt/xcat/share/xcat/install/ubuntu/cudafull.__GETNODEATTR($$CN,os)__.__GETNODEATTR($$CN,arch)__.pkglist" -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute template="/opt/xcat/share/xcat/install/ubuntu/cudafull.tmpl" -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$CN dpkg -l |grep cuda -check:rc==0 -check:output=~cuda -end diff --git a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudaruntime b/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudaruntime deleted file mode 100644 index 1695429e1..000000000 --- a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_cudaruntime +++ /dev/null @@ -1,38 +0,0 @@ -start:Ubuntu_full_installation_flat_cudaruntime -os:Linux -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;echo "deb http://developer.download.nvidia.com/compute/cuda/repos/$ver/__GETNODEATTR($$CN,arch)__ /" >> /etc/apt/sources.list -cmd:makedns -n -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:copycds $$ISO -check:rc==0 -cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.04" ]];then ver=ubuntu1404;elif [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu14.10" ]];then ver=ubuntu1410; fi;chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -p pkgdir="/install/__GETNODEATTR($$CN,os)__/ppc64el,http://ports.ubuntu.com/ubuntu-ports trusty main,http://ports.ubuntu.com/ubuntu-ports trusty-updates main, http://developer.download.nvidia.com/compute/cuda/repos/__GETNODEATTR($$CN,os)__/$ver /" -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute pkglist="/opt/xcat/share/xcat/install/ubuntu/cudaruntime.__GETNODEATTR($$CN,os)__.__GETNODEATTR($$CN,arch)__.pkglist" -cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute template="/opt/xcat/share/xcat/install/ubuntu/cudaruntime.tmpl" -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:xdsh $$CN dpkg -l |grep cuda -check:rc==0 -check:output=~cuda -cmd:xdsh $$CN dpkg -l |grep cuda -check:rc==0 -check:output=~cuda -end diff --git a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm_confignics_s b/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm_confignics_s deleted file mode 100644 index 8c208998d..000000000 --- a/xCAT-test/autotest/testcase/installation/ubuntu_full_installation_vm_confignics_s +++ /dev/null @@ -1,49 +0,0 @@ -start:Ubuntu_full_installation_flat_x86_vm_confignics -os:Linux -cmd:copycds $$ISO -check:rc==0 -cmd:chdef $$CN postscripts="confignics -s" -check:rc==0 -cmd:makedns -n -check:rc==0 -cmd:sleep 60 -cmd:makedhcp -n -check:rc==0 -cmd:makedhcp -a -check:rc==0 -cmd:makeconservercf $$CN -check:rc==0 -cmd:cat /etc/conserver.cf | grep $$CN -check:output=~$$CN -cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute -check:rc==0 -cmd:rpower $$CN boot -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:nodeset $$CN osimage -check:rc==0 -cmd:rpower $$CN reset -check:rc==0 -cmd:sleep 2000 -cmd:ping $$CN -c 3 -check:output=~64 bytes from $$CN -cmd:lsdef -l $$CN | grep status -check:output=~booted -cmd:xdsh $$CN date -check:rc==0 -check:output=~\d\d:\d\d:\d\d -cmd:port=`xdsh $$CN ip addr |grep $$INSTALLNICIP |cut -f 12 -d ' '`;if [ "$$OS" = "ubuntu" ];then xdsh $$CN cat /etc/network/interfaces.d/$port ; elif [ "$$OS" = "rhels" ]; then xdsh $$CN cat /etc/sysconfig/network-scripts/ifcfg-$port;else xdsh $$CN cat /etc/sysconfig/network/ifcfg-$port; fi -check:output=~$$INSTALLNICIP -check:output=~static -check:output!=\d\d:\d\d:\d\d -cmd:if [ "$$OS" = "ubuntu" ];then xdsh $$CN cat /etc/network/interfaces ; elif [ "$$OS" = "rhels" ]; then xdsh $$CN cat /etc/sysconfig/network;else xdsh $$CN cat /etc/sysconfig/network/routes; fi -check:rc==0 -check:output=~$$GATEWAY -end