{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/comments/27381016","id":27381016,"diff_hunk":"@@ -0,0 +1,243 @@\n+########\n+# Copyright (c) 2015 GigaSpaces Technologies Ltd. All rights reserved\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#        http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+#    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+#    * See the License for the specific language governing permissions and\n+#    * limitations under the License.\n+\n+\n+import os\n+import socket\n+import time\n+import json\n+import uuid\n+\n+import winrm\n+\n+from cloudify.workflows import local\n+from cosmo_tester.framework.testenv import TestCase\n+\n+\n+WINRM_PORT = 5985\n+CLI_PACKAGE_EXE = 'windows-cli-package.exe'\n+HELLO_WORLD_URL = 'https://github.com/cloudify-cosmo/cloudify-hello-world-example/archive/{0}.zip'  # NOQA\n+TASK_RETRIES = 20\n+\n+IGNORED_LOCAL_WORKFLOW_MODULES = (","path":"system_tests/test_windows_bootstrap.py","position":34,"original_position":34,"commit_id":"14a23bea5f2cd5d26da3326481ce299bdda9043c","original_commit_id":"14a23bea5f2cd5d26da3326481ce299bdda9043c","user":{"login":"idanmo","id":1758680,"avatar_url":"https://avatars.githubusercontent.com/u/1758680?v=3","gravatar_id":"","url":"https://api.github.com/users/idanmo","html_url":"https://github.com/idanmo","followers_url":"https://api.github.com/users/idanmo/followers","following_url":"https://api.github.com/users/idanmo/following{/other_user}","gists_url":"https://api.github.com/users/idanmo/gists{/gist_id}","starred_url":"https://api.github.com/users/idanmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanmo/subscriptions","organizations_url":"https://api.github.com/users/idanmo/orgs","repos_url":"https://api.github.com/users/idanmo/repos","events_url":"https://api.github.com/users/idanmo/events{/privacy}","received_events_url":"https://api.github.com/users/idanmo/received_events","type":"User","site_admin":false},"body":"use constant from CLI","created_at":"2015-03-30T10:59:51Z","updated_at":"2015-03-30T10:59:51Z","html_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager/pull/8#discussion_r27381016","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/comments/27381016"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-cli-packager/pull/8#discussion_r27381016"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8","id":32189135,"html_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager/pull/8","diff_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager/pull/8.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager/pull/8.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/8","number":8,"state":"open","locked":false,"title":"Windows package test","user":{"login":"idanmo","id":1758680,"avatar_url":"https://avatars.githubusercontent.com/u/1758680?v=3","gravatar_id":"","url":"https://api.github.com/users/idanmo","html_url":"https://github.com/idanmo","followers_url":"https://api.github.com/users/idanmo/followers","following_url":"https://api.github.com/users/idanmo/following{/other_user}","gists_url":"https://api.github.com/users/idanmo/gists{/gist_id}","starred_url":"https://api.github.com/users/idanmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanmo/subscriptions","organizations_url":"https://api.github.com/users/idanmo/orgs","repos_url":"https://api.github.com/users/idanmo/repos","events_url":"https://api.github.com/users/idanmo/events{/privacy}","received_events_url":"https://api.github.com/users/idanmo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-29T22:07:51Z","updated_at":"2015-03-30T10:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b25da48a49453566eb5dc4796184cac705d0bbb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/8/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/statuses/14a23bea5f2cd5d26da3326481ce299bdda9043c","head":{"label":"cloudify-cosmo:windows-package-test","ref":"windows-package-test","sha":"14a23bea5f2cd5d26da3326481ce299bdda9043c","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18327768,"name":"cloudify-cli-packager","full_name":"cloudify-cosmo/cloudify-cli-packager","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager","description":"Cloudify CLI Package Generator","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/releases{/id}","created_at":"2014-04-01T11:53:34Z","updated_at":"2015-03-27T21:03:04Z","pushed_at":"2015-03-30T10:18:03Z","git_url":"git://github.com/cloudify-cosmo/cloudify-cli-packager.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-cli-packager.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager","homepage":null,"size":1868,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"98189934ff33a6cc67184b03b255f7da35ec2a5d","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18327768,"name":"cloudify-cli-packager","full_name":"cloudify-cosmo/cloudify-cli-packager","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager","description":"Cloudify CLI Package Generator","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/releases{/id}","created_at":"2014-04-01T11:53:34Z","updated_at":"2015-03-27T21:03:04Z","pushed_at":"2015-03-30T10:18:03Z","git_url":"git://github.com/cloudify-cosmo/cloudify-cli-packager.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-cli-packager.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-cli-packager","homepage":null,"size":1868,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-cli-packager/pull/8"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/8"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-cli-packager/statuses/14a23bea5f2cd5d26da3326481ce299bdda9043c"}}}}