{"action":"created","comment":{"url":"https://api.github.com/repos/ader1990/LISAv2/pulls/comments/223320636","pull_request_review_id":162416069,"id":223320636,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzMyMDYzNg==","diff_hunk":"@@ -0,0 +1,175 @@\n+# Copyright (c) Microsoft Corporation. All rights reserved.\n+# Licensed under the Apache License.\n+<#\n+.Synopsis\n+    Verify take snapshot and revert snapshot operations work.\n+\n+.Description\n+    Tests to see that the virtual machine snapshot operation works as well as\n+    the revert snapshot operation.\n+#>\n+\n+param([string] $testParams)\n+\n+function Main {\n+    param (\n+        $HvServer,\n+        $VMName,\n+        $Ipv4,\n+        $VMPort,\n+        $VMUserName,\n+        $VMPassword,\n+        $RootDir\n+    )\n+\n+    $snapshotname = $null\n+    $random = Get-Random -minimum 1024 -maximum 4096\n+    $remoteScript = \"STOR-Lis-Disk.sh\"\n+    #######################################################################\n+    #\n+    # Main script block\n+    #\n+    #######################################################################\n+    #\n+    # Checking the mandatory testParams\n+    #\n+    $params = $TestParams.Split(\";\")\n+    foreach ($p in $params) {\n+        $fields = $p.Split(\"=\")\n+        switch ($fields[0].Trim()) {\n+            \"Ipv4\" { $Ipv4 = $fields[1].Trim() }\n+            \"RootDir\" { $RootDir = $fields[1].Trim() }","path":"Testscripts/Windows/SETUP-STOR-TakeRevert-Snapshot.ps1","position":null,"original_position":41,"commit_id":"064ced80681c5a34eed8f2b2c1be259f89149f0c","original_commit_id":"e0c5ebbcb4345dd6a0796a9f3468dd99da8f5e7d","user":{"login":"asofron","id":40065256,"node_id":"MDQ6VXNlcjQwMDY1MjU2","avatar_url":"https://avatars3.githubusercontent.com/u/40065256?v=4","gravatar_id":"","url":"https://api.github.com/users/asofron","html_url":"https://github.com/asofron","followers_url":"https://api.github.com/users/asofron/followers","following_url":"https://api.github.com/users/asofron/following{/other_user}","gists_url":"https://api.github.com/users/asofron/gists{/gist_id}","starred_url":"https://api.github.com/users/asofron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asofron/subscriptions","organizations_url":"https://api.github.com/users/asofron/orgs","repos_url":"https://api.github.com/users/asofron/repos","events_url":"https://api.github.com/users/asofron/events{/privacy}","received_events_url":"https://api.github.com/users/asofron/received_events","type":"User","site_admin":false},"body":"removed","created_at":"2018-10-08T10:49:53Z","updated_at":"2018-10-08T10:49:53Z","html_url":"https://github.com/ader1990/LISAv2/pull/14#discussion_r223320636","pull_request_url":"https://api.github.com/repos/ader1990/LISAv2/pulls/14","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ader1990/LISAv2/pulls/comments/223320636"},"html":{"href":"https://github.com/ader1990/LISAv2/pull/14#discussion_r223320636"},"pull_request":{"href":"https://api.github.com/repos/ader1990/LISAv2/pulls/14"}},"in_reply_to_id":223306582},"pull_request":{"url":"https://api.github.com/repos/ader1990/LISAv2/pulls/14","id":220748162,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNzQ4MTYy","html_url":"https://github.com/ader1990/LISAv2/pull/14","diff_url":"https://github.com/ader1990/LISAv2/pull/14.diff","patch_url":"https://github.com/ader1990/LISAv2/pull/14.patch","issue_url":"https://api.github.com/repos/ader1990/LISAv2/issues/14","number":14,"state":"open","locked":false,"title":"Hyper-v: Added 2 Storage TCs","user":{"login":"asofron","id":40065256,"node_id":"MDQ6VXNlcjQwMDY1MjU2","avatar_url":"https://avatars3.githubusercontent.com/u/40065256?v=4","gravatar_id":"","url":"https://api.github.com/users/asofron","html_url":"https://github.com/asofron","followers_url":"https://api.github.com/users/asofron/followers","following_url":"https://api.github.com/users/asofron/following{/other_user}","gists_url":"https://api.github.com/users/asofron/gists{/gist_id}","starred_url":"https://api.github.com/users/asofron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asofron/subscriptions","organizations_url":"https://api.github.com/users/asofron/orgs","repos_url":"https://api.github.com/users/asofron/repos","events_url":"https://api.github.com/users/asofron/events{/privacy}","received_events_url":"https://api.github.com/users/asofron/received_events","type":"User","site_admin":false},"body":"Storage\tSTOR-22\tTake and Revert Back Snapshot of VM on VHDX\r\nStorage\tSTOR-23\tExport/Import VM\r\n\r\n VHD under test **Centos_7.5_x64.vhd**\r\n ARM Image under test  :  :  : \r\n Total Executed TestCases        2 (       2 Pass,        0 Fail,        0 Abort)\r\n Total Execution Time(dd:hh:mm) 0:0:12\r\n XML file: TestConfiguration\r\n \r\n #Sr. Test Name : Test Result : Test Duration (in minutes)\r\n ----------------------------------------------------\r\n 1. STORAGE-TAKE-REVERT-SNAPSHOT : PASS : 4.49\r\n 2. STORAGE-EXPORT-IMPORT-VM : PASS : 8.09\r\n\r\n VHD under test **ubuntu_18.04.vhd**\r\n ARM Image under test  :  :  : \r\n Total Executed TestCases        2 (       2 Pass,        0 Fail,        0 Abort)\r\n Total Execution Time(dd:hh:mm) 0:0:13\r\n XML file: TestConfiguration\r\n \r\n #Sr. Test Name : Test Result : Test Duration (in minutes)\r\n ----------------------------------------------------\r\n 1. STORAGE-TAKE-REVERT-SNAPSHOT : PASS : 5.54\r\n 2. STORAGE-EXPORT-IMPORT-VM : PASS : 8.19","created_at":"2018-10-05T15:53:29Z","updated_at":"2018-10-08T10:49:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f31fa97952fd83870ba7cfbbc67b6afad214896","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ader1990/LISAv2/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ader1990/LISAv2/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ader1990/LISAv2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ader1990/LISAv2/issues/14/comments","statuses_url":"https://api.github.com/repos/ader1990/LISAv2/statuses/064ced80681c5a34eed8f2b2c1be259f89149f0c","head":{"label":"asofron:stor","ref":"stor","sha":"064ced80681c5a34eed8f2b2c1be259f89149f0c","user":{"login":"asofron","id":40065256,"node_id":"MDQ6VXNlcjQwMDY1MjU2","avatar_url":"https://avatars3.githubusercontent.com/u/40065256?v=4","gravatar_id":"","url":"https://api.github.com/users/asofron","html_url":"https://github.com/asofron","followers_url":"https://api.github.com/users/asofron/followers","following_url":"https://api.github.com/users/asofron/following{/other_user}","gists_url":"https://api.github.com/users/asofron/gists{/gist_id}","starred_url":"https://api.github.com/users/asofron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asofron/subscriptions","organizations_url":"https://api.github.com/users/asofron/orgs","repos_url":"https://api.github.com/users/asofron/repos","events_url":"https://api.github.com/users/asofron/events{/privacy}","received_events_url":"https://api.github.com/users/asofron/received_events","type":"User","site_admin":false},"repo":{"id":144140822,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxNDA4MjI=","name":"LISAv2","full_name":"asofron/LISAv2","private":false,"owner":{"login":"asofron","id":40065256,"node_id":"MDQ6VXNlcjQwMDY1MjU2","avatar_url":"https://avatars3.githubusercontent.com/u/40065256?v=4","gravatar_id":"","url":"https://api.github.com/users/asofron","html_url":"https://github.com/asofron","followers_url":"https://api.github.com/users/asofron/followers","following_url":"https://api.github.com/users/asofron/following{/other_user}","gists_url":"https://api.github.com/users/asofron/gists{/gist_id}","starred_url":"https://api.github.com/users/asofron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asofron/subscriptions","organizations_url":"https://api.github.com/users/asofron/orgs","repos_url":"https://api.github.com/users/asofron/repos","events_url":"https://api.github.com/users/asofron/events{/privacy}","received_events_url":"https://api.github.com/users/asofron/received_events","type":"User","site_admin":false},"html_url":"https://github.com/asofron/LISAv2","description":null,"fork":true,"url":"https://api.github.com/repos/asofron/LISAv2","forks_url":"https://api.github.com/repos/asofron/LISAv2/forks","keys_url":"https://api.github.com/repos/asofron/LISAv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asofron/LISAv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asofron/LISAv2/teams","hooks_url":"https://api.github.com/repos/asofron/LISAv2/hooks","issue_events_url":"https://api.github.com/repos/asofron/LISAv2/issues/events{/number}","events_url":"https://api.github.com/repos/asofron/LISAv2/events","assignees_url":"https://api.github.com/repos/asofron/LISAv2/assignees{/user}","branches_url":"https://api.github.com/repos/asofron/LISAv2/branches{/branch}","tags_url":"https://api.github.com/repos/asofron/LISAv2/tags","blobs_url":"https://api.github.com/repos/asofron/LISAv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asofron/LISAv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asofron/LISAv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/asofron/LISAv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asofron/LISAv2/statuses/{sha}","languages_url":"https://api.github.com/repos/asofron/LISAv2/languages","stargazers_url":"https://api.github.com/repos/asofron/LISAv2/stargazers","contributors_url":"https://api.github.com/repos/asofron/LISAv2/contributors","subscribers_url":"https://api.github.com/repos/asofron/LISAv2/subscribers","subscription_url":"https://api.github.com/repos/asofron/LISAv2/subscription","commits_url":"https://api.github.com/repos/asofron/LISAv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/asofron/LISAv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/asofron/LISAv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/asofron/LISAv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/asofron/LISAv2/contents/{+path}","compare_url":"https://api.github.com/repos/asofron/LISAv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asofron/LISAv2/merges","archive_url":"https://api.github.com/repos/asofron/LISAv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asofron/LISAv2/downloads","issues_url":"https://api.github.com/repos/asofron/LISAv2/issues{/number}","pulls_url":"https://api.github.com/repos/asofron/LISAv2/pulls{/number}","milestones_url":"https://api.github.com/repos/asofron/LISAv2/milestones{/number}","notifications_url":"https://api.github.com/repos/asofron/LISAv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asofron/LISAv2/labels{/name}","releases_url":"https://api.github.com/repos/asofron/LISAv2/releases{/id}","deployments_url":"https://api.github.com/repos/asofron/LISAv2/deployments","created_at":"2018-08-09T11:02:14Z","updated_at":"2018-10-04T12:37:06Z","pushed_at":"2018-10-08T10:49:33Z","git_url":"git://github.com/asofron/LISAv2.git","ssh_url":"git@github.com:asofron/LISAv2.git","clone_url":"https://github.com/asofron/LISAv2.git","svn_url":"https://github.com/asofron/LISAv2","homepage":null,"size":6417,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ader1990:master","ref":"master","sha":"c7f5e007c1f486d61b59ba751e3caa5624b4939e","user":{"login":"ader1990","id":1412442,"node_id":"MDQ6VXNlcjE0MTI0NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1412442?v=4","gravatar_id":"","url":"https://api.github.com/users/ader1990","html_url":"https://github.com/ader1990","followers_url":"https://api.github.com/users/ader1990/followers","following_url":"https://api.github.com/users/ader1990/following{/other_user}","gists_url":"https://api.github.com/users/ader1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ader1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ader1990/subscriptions","organizations_url":"https://api.github.com/users/ader1990/orgs","repos_url":"https://api.github.com/users/ader1990/repos","events_url":"https://api.github.com/users/ader1990/events{/privacy}","received_events_url":"https://api.github.com/users/ader1990/received_events","type":"User","site_admin":false},"repo":{"id":139868329,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4NjgzMjk=","name":"LISAv2","full_name":"ader1990/LISAv2","private":false,"owner":{"login":"ader1990","id":1412442,"node_id":"MDQ6VXNlcjE0MTI0NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1412442?v=4","gravatar_id":"","url":"https://api.github.com/users/ader1990","html_url":"https://github.com/ader1990","followers_url":"https://api.github.com/users/ader1990/followers","following_url":"https://api.github.com/users/ader1990/following{/other_user}","gists_url":"https://api.github.com/users/ader1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ader1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ader1990/subscriptions","organizations_url":"https://api.github.com/users/ader1990/orgs","repos_url":"https://api.github.com/users/ader1990/repos","events_url":"https://api.github.com/users/ader1990/events{/privacy}","received_events_url":"https://api.github.com/users/ader1990/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ader1990/LISAv2","description":null,"fork":true,"url":"https://api.github.com/repos/ader1990/LISAv2","forks_url":"https://api.github.com/repos/ader1990/LISAv2/forks","keys_url":"https://api.github.com/repos/ader1990/LISAv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ader1990/LISAv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ader1990/LISAv2/teams","hooks_url":"https://api.github.com/repos/ader1990/LISAv2/hooks","issue_events_url":"https://api.github.com/repos/ader1990/LISAv2/issues/events{/number}","events_url":"https://api.github.com/repos/ader1990/LISAv2/events","assignees_url":"https://api.github.com/repos/ader1990/LISAv2/assignees{/user}","branches_url":"https://api.github.com/repos/ader1990/LISAv2/branches{/branch}","tags_url":"https://api.github.com/repos/ader1990/LISAv2/tags","blobs_url":"https://api.github.com/repos/ader1990/LISAv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ader1990/LISAv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ader1990/LISAv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ader1990/LISAv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ader1990/LISAv2/statuses/{sha}","languages_url":"https://api.github.com/repos/ader1990/LISAv2/languages","stargazers_url":"https://api.github.com/repos/ader1990/LISAv2/stargazers","contributors_url":"https://api.github.com/repos/ader1990/LISAv2/contributors","subscribers_url":"https://api.github.com/repos/ader1990/LISAv2/subscribers","subscription_url":"https://api.github.com/repos/ader1990/LISAv2/subscription","commits_url":"https://api.github.com/repos/ader1990/LISAv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ader1990/LISAv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ader1990/LISAv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ader1990/LISAv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ader1990/LISAv2/contents/{+path}","compare_url":"https://api.github.com/repos/ader1990/LISAv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ader1990/LISAv2/merges","archive_url":"https://api.github.com/repos/ader1990/LISAv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ader1990/LISAv2/downloads","issues_url":"https://api.github.com/repos/ader1990/LISAv2/issues{/number}","pulls_url":"https://api.github.com/repos/ader1990/LISAv2/pulls{/number}","milestones_url":"https://api.github.com/repos/ader1990/LISAv2/milestones{/number}","notifications_url":"https://api.github.com/repos/ader1990/LISAv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ader1990/LISAv2/labels{/name}","releases_url":"https://api.github.com/repos/ader1990/LISAv2/releases{/id}","deployments_url":"https://api.github.com/repos/ader1990/LISAv2/deployments","created_at":"2018-07-05T15:27:23Z","updated_at":"2018-10-05T15:49:48Z","pushed_at":"2018-10-08T10:49:34Z","git_url":"git://github.com/ader1990/LISAv2.git","ssh_url":"git@github.com:ader1990/LISAv2.git","clone_url":"https://github.com/ader1990/LISAv2.git","svn_url":"https://github.com/ader1990/LISAv2","homepage":null,"size":6259,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ader1990/LISAv2/pulls/14"},"html":{"href":"https://github.com/ader1990/LISAv2/pull/14"},"issue":{"href":"https://api.github.com/repos/ader1990/LISAv2/issues/14"},"comments":{"href":"https://api.github.com/repos/ader1990/LISAv2/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ader1990/LISAv2/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ader1990/LISAv2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ader1990/LISAv2/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ader1990/LISAv2/statuses/064ced80681c5a34eed8f2b2c1be259f89149f0c"}},"author_association":"NONE"}}
{"actor":{"display_login":"asofron"}}