{"action":"created","comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/79529817","id":79529817,"diff_hunk":"@@ -917,15 +1004,122 @@ sub runcmd\n \n sub usage\n {\n-    print \"Usage:xcattest - Run xcat test cases.\\n\";\n-    print \"  xcattest [-?|-h]\\n\";\n-    print \"  xcattest [-f configure file] [-b case bundle list] [--restore]\\n\";\n-    print \"  xcattest [-f configure file] [-t case list] [--restore]\\n\";\n-    print \"  xcattest [-f configure file] [-c cmd list] [-l] [--restore]\\n\";\n-    print \"\\n\";\n+    log_this(\"Usage:Run xcat test cases:\");","path":"xCAT-test/xcattest","position":489,"original_position":489,"commit_id":"e3a07ac4f2d5936c18aed9bfcbaad51527c0177b","original_commit_id":"e3a07ac4f2d5936c18aed9bfcbaad51527c0177b","user":{"login":"caomengmeng","id":14899942,"avatar_url":"https://avatars.githubusercontent.com/u/14899942?v=3","gravatar_id":"","url":"https://api.github.com/users/caomengmeng","html_url":"https://github.com/caomengmeng","followers_url":"https://api.github.com/users/caomengmeng/followers","following_url":"https://api.github.com/users/caomengmeng/following{/other_user}","gists_url":"https://api.github.com/users/caomengmeng/gists{/gist_id}","starred_url":"https://api.github.com/users/caomengmeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caomengmeng/subscriptions","organizations_url":"https://api.github.com/users/caomengmeng/orgs","repos_url":"https://api.github.com/users/caomengmeng/repos","events_url":"https://api.github.com/users/caomengmeng/events{/privacy}","received_events_url":"https://api.github.com/users/caomengmeng/received_events","type":"User","site_admin":false},"body":"@tingtli log_this also print to screen.  Please read log_this function.","created_at":"2016-09-20T03:11:35Z","updated_at":"2016-09-20T03:11:35Z","html_url":"https://github.com/xcat2/xcat-core/pull/1833#discussion_r79529817","pull_request_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833","_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/79529817"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/1833#discussion_r79529817"},"pull_request":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833"}}},"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833","id":85014194,"html_url":"https://github.com/xcat2/xcat-core/pull/1833","diff_url":"https://github.com/xcat2/xcat-core/pull/1833.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/1833.patch","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1833","number":1833,"state":"open","locked":false,"title":"update xcattest to make install xCAT to be the firest case in daily run","user":{"login":"caomengmeng","id":14899942,"avatar_url":"https://avatars.githubusercontent.com/u/14899942?v=3","gravatar_id":"","url":"https://api.github.com/users/caomengmeng","html_url":"https://github.com/caomengmeng","followers_url":"https://api.github.com/users/caomengmeng/followers","following_url":"https://api.github.com/users/caomengmeng/following{/other_user}","gists_url":"https://api.github.com/users/caomengmeng/gists{/gist_id}","starred_url":"https://api.github.com/users/caomengmeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caomengmeng/subscriptions","organizations_url":"https://api.github.com/users/caomengmeng/orgs","repos_url":"https://api.github.com/users/caomengmeng/repos","events_url":"https://api.github.com/users/caomengmeng/events{/privacy}","received_events_url":"https://api.github.com/users/caomengmeng/received_events","type":"User","site_admin":false},"body":"@hu-weihua  @tingtli \r\nPlease help review code.\r\nWhat this Pull Request fixed are:\r\n1. make install xCAT to be the first case in daily run\r\n2. below 3 issues:\r\nhttps://github.com/xcat2/xcat-core/issues/1585: Enhance xCAT-test framework to display components/commands \r\nhttps://github.com/xcat2/xcat-core/issues/1584: xCAT-test framework needs a way to view available test cases in bundles\r\nhttps://github.com/xcat2/xcat-core/issues/1583: xCAT-test framework does not allow for . in testcase names\r\nThe noderange case file is updated to fix the not supported case name issue.\r\n\r\nBTW, for the man page and usage issue, they are not this fix related. \r\nWe can open new issues to track.\r\n\r\nTest list:\r\nValid options:\r\n```\r\nxcattest -f /opt/xcat/share/xcat/tools/autotest/default.conf:System  -t install_xCAT_on_rhels_sles\r\nxcattest -f /opt/xcat/share/xcat/tools/autotest/default.conf:System  -t lsdef_a\r\nxcattest -h\r\nxcattest -t lsdef_null\r\nxcattest -t lsdef_null -l\r\nxcattest -c lsdef \r\nxcattest -c lsdef -l\r\nxcattest -b test.bundle ---- create test.bundle manually \r\nxcattest -b test.bundle -l\r\nxcattest -s bundle\r\nxcattest -s command\r\n```\r\nInvalid option values:\r\n```\r\nxcattest \r\nxcattest -b/-c/-t with invalid value \r\nxcattest -b -c -t -l invalid input \r\nxcattest -f aaa\r\nxcattest -f /aaa\r\nxcattest -f /aaa -b ccc\r\nxcattest -f /aaa -t ccc\r\nxcattest -f /aaa -b ddd\r\nxcattest -f /opt/xcat/share/xcat/tools/autotest/default.conf:aaa -t install_xCAT\r\n```\r\n","created_at":"2016-09-13T09:33:48Z","updated_at":"2016-09-20T03:11:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cf254be33e8265918323ebaddbbc297d12e5244","assignee":{"login":"hu-weihua","id":7370626,"avatar_url":"https://avatars.githubusercontent.com/u/7370626?v=3","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false},"assignees":[{"login":"hu-weihua","id":7370626,"avatar_url":"https://avatars.githubusercontent.com/u/7370626?v=3","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false},{"login":"tingtli","id":12440603,"avatar_url":"https://avatars.githubusercontent.com/u/12440603?v=3","gravatar_id":"","url":"https://api.github.com/users/tingtli","html_url":"https://github.com/tingtli","followers_url":"https://api.github.com/users/tingtli/followers","following_url":"https://api.github.com/users/tingtli/following{/other_user}","gists_url":"https://api.github.com/users/tingtli/gists{/gist_id}","starred_url":"https://api.github.com/users/tingtli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tingtli/subscriptions","organizations_url":"https://api.github.com/users/tingtli/orgs","repos_url":"https://api.github.com/users/tingtli/repos","events_url":"https://api.github.com/users/tingtli/events{/privacy}","received_events_url":"https://api.github.com/users/tingtli/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/18","html_url":"https://github.com/xcat2/xcat-core/milestones/2.12.3","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/18/labels","id":1925756,"number":18,"title":"2.12.3","description":"","creator":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"open_issues":100,"closed_issues":69,"state":"open","created_at":"2016-08-05T15:38:02Z","updated_at":"2016-09-20T03:08:28Z","due_on":"2016-09-30T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833/commits","review_comments_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833/comments","review_comment_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1833/comments","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/e3a07ac4f2d5936c18aed9bfcbaad51527c0177b","head":{"label":"caomengmeng:new_xcattest_install_xCAT-branch","ref":"new_xcattest_install_xCAT-branch","sha":"e3a07ac4f2d5936c18aed9bfcbaad51527c0177b","user":{"login":"caomengmeng","id":14899942,"avatar_url":"https://avatars.githubusercontent.com/u/14899942?v=3","gravatar_id":"","url":"https://api.github.com/users/caomengmeng","html_url":"https://github.com/caomengmeng","followers_url":"https://api.github.com/users/caomengmeng/followers","following_url":"https://api.github.com/users/caomengmeng/following{/other_user}","gists_url":"https://api.github.com/users/caomengmeng/gists{/gist_id}","starred_url":"https://api.github.com/users/caomengmeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caomengmeng/subscriptions","organizations_url":"https://api.github.com/users/caomengmeng/orgs","repos_url":"https://api.github.com/users/caomengmeng/repos","events_url":"https://api.github.com/users/caomengmeng/events{/privacy}","received_events_url":"https://api.github.com/users/caomengmeng/received_events","type":"User","site_admin":false},"repo":{"id":44797193,"name":"xcat-core","full_name":"caomengmeng/xcat-core","owner":{"login":"caomengmeng","id":14899942,"avatar_url":"https://avatars.githubusercontent.com/u/14899942?v=3","gravatar_id":"","url":"https://api.github.com/users/caomengmeng","html_url":"https://github.com/caomengmeng","followers_url":"https://api.github.com/users/caomengmeng/followers","following_url":"https://api.github.com/users/caomengmeng/following{/other_user}","gists_url":"https://api.github.com/users/caomengmeng/gists{/gist_id}","starred_url":"https://api.github.com/users/caomengmeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caomengmeng/subscriptions","organizations_url":"https://api.github.com/users/caomengmeng/orgs","repos_url":"https://api.github.com/users/caomengmeng/repos","events_url":"https://api.github.com/users/caomengmeng/events{/privacy}","received_events_url":"https://api.github.com/users/caomengmeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caomengmeng/xcat-core","description":"Code repo for xCAT core packages","fork":true,"url":"https://api.github.com/repos/caomengmeng/xcat-core","forks_url":"https://api.github.com/repos/caomengmeng/xcat-core/forks","keys_url":"https://api.github.com/repos/caomengmeng/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caomengmeng/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caomengmeng/xcat-core/teams","hooks_url":"https://api.github.com/repos/caomengmeng/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/caomengmeng/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/caomengmeng/xcat-core/events","assignees_url":"https://api.github.com/repos/caomengmeng/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/caomengmeng/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/caomengmeng/xcat-core/tags","blobs_url":"https://api.github.com/repos/caomengmeng/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caomengmeng/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caomengmeng/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/caomengmeng/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caomengmeng/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/caomengmeng/xcat-core/languages","stargazers_url":"https://api.github.com/repos/caomengmeng/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/caomengmeng/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/caomengmeng/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/caomengmeng/xcat-core/subscription","commits_url":"https://api.github.com/repos/caomengmeng/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/caomengmeng/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/caomengmeng/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/caomengmeng/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/caomengmeng/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/caomengmeng/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caomengmeng/xcat-core/merges","archive_url":"https://api.github.com/repos/caomengmeng/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caomengmeng/xcat-core/downloads","issues_url":"https://api.github.com/repos/caomengmeng/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/caomengmeng/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/caomengmeng/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/caomengmeng/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caomengmeng/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/caomengmeng/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/caomengmeng/xcat-core/deployments","created_at":"2015-10-23T07:17:06Z","updated_at":"2016-01-12T05:49:17Z","pushed_at":"2016-09-13T09:01:16Z","git_url":"git://github.com/caomengmeng/xcat-core.git","ssh_url":"git@github.com:caomengmeng/xcat-core.git","clone_url":"https://github.com/caomengmeng/xcat-core.git","svn_url":"https://github.com/caomengmeng/xcat-core","homepage":null,"size":187301,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xcat2:master","ref":"master","sha":"4e9658871728414acdb60e9ab4593efbd52a4cfe","user":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars.githubusercontent.com/u/10124414?v=3","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"repo":{"id":27747508,"name":"xcat-core","full_name":"xcat2/xcat-core","owner":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars.githubusercontent.com/u/10124414?v=3","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xcat2/xcat-core","description":"Code repo for xCAT core packages","fork":false,"url":"https://api.github.com/repos/xcat2/xcat-core","forks_url":"https://api.github.com/repos/xcat2/xcat-core/forks","keys_url":"https://api.github.com/repos/xcat2/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xcat2/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xcat2/xcat-core/teams","hooks_url":"https://api.github.com/repos/xcat2/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/xcat2/xcat-core/events","assignees_url":"https://api.github.com/repos/xcat2/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/xcat2/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/xcat2/xcat-core/tags","blobs_url":"https://api.github.com/repos/xcat2/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xcat2/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xcat2/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/xcat2/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/xcat2/xcat-core/languages","stargazers_url":"https://api.github.com/repos/xcat2/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/xcat2/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/xcat2/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/xcat2/xcat-core/subscription","commits_url":"https://api.github.com/repos/xcat2/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/xcat2/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/xcat2/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/xcat2/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xcat2/xcat-core/merges","archive_url":"https://api.github.com/repos/xcat2/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xcat2/xcat-core/downloads","issues_url":"https://api.github.com/repos/xcat2/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/xcat2/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/xcat2/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/xcat2/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xcat2/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/xcat2/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/xcat2/xcat-core/deployments","created_at":"2014-12-09T03:21:50Z","updated_at":"2016-09-15T11:42:49Z","pushed_at":"2016-09-20T03:08:28Z","git_url":"git://github.com/xcat2/xcat-core.git","ssh_url":"git@github.com:xcat2/xcat-core.git","clone_url":"https://github.com/xcat2/xcat-core.git","svn_url":"https://github.com/xcat2/xcat-core","homepage":null,"size":188089,"stargazers_count":55,"watchers_count":55,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":178,"forks":62,"open_issues":178,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/1833"},"issue":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/1833"},"comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/1833/comments"},"review_comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833/comments"},"review_comment":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1833/commits"},"statuses":{"href":"https://api.github.com/repos/xcat2/xcat-core/statuses/e3a07ac4f2d5936c18aed9bfcbaad51527c0177b"}}}}
{"actor":{"display_login":"caomengmeng"}}