{"action":"created","comment":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/37359478","id":37359478,"diff_hunk":"@@ -0,0 +1,46 @@\n+use base \"opensusebasetest\";\n+use strict;\n+use testapi;\n+\n+sub run() {\n+    my $self = shift;\n+\n+    send_key 'ctrl-alt-f4';\n+    assert_screen 'tty4-selected';\n+    assert_screen 'text-login';\n+    type_string \"root\\n\";\n+    assert_screen 'password-prompt', 10;\n+    type_password;\n+    send_key \"ret\";\n+    assert_screen 'text-logged-in';\n+    # disable packagekitd\n+    type_string \"chmod 444 /usr/lib/packagekitd\\n\"; # packagekitd will be not executable\n+    type_string \"killall packagekitd\\n\";\n+    # use repo due to missing libraries http://10.100.98.90/tests/1425/modules/install/steps/5\n+    type_string \"zypper ar http://download.suse.de/ibs/SUSE:/Maintenance:/783/SUSE_Updates_SLE-SERVER_12_x86_64/SUSE:Maintenance:783.repo\\n\";\n+    sleep 5;\n+    type_string \"zypper -n in gcc5 gcc5-c++ binutils gdb && echo 'PASSED'|tee /dev/$serialdev\\n\";\n+    wait_serial(\"PASSED\", 100);\n+    type_string \"zypper -n up && echo 'OK'\\n\";\n+    type_string \"zypper -n patch && echo 'OK'\\n\";\n+    # reboot when runing processes use deleted files after packages update\n+    type_string \"zypper ps|grep 'PID' && echo 'reboot'|tee /dev/$serialdev\\n\";\n+    if (wait_serial(\"reboot\", 100)) {\n+        type_string \"shutdown -r now\\n\";\n+        assert_screen 'displaymanager', 150;\n+        send_key 'ctrl-alt-f4';\n+        assert_screen 'tty4-selected';\n+        assert_screen 'text-login';\n+        type_string \"root\\n\";\n+        assert_screen 'password-prompt', 10;","path":"tests/toolchain/install.pm","position":35,"original_position":35,"commit_id":"c0a25779bc8dd1feaa292d1706f6a0d47fd7330b","original_commit_id":"c0a25779bc8dd1feaa292d1706f6a0d47fd7330b","user":{"login":"sysrich","id":1197728,"avatar_url":"https://avatars.githubusercontent.com/u/1197728?v=3","gravatar_id":"","url":"https://api.github.com/users/sysrich","html_url":"https://github.com/sysrich","followers_url":"https://api.github.com/users/sysrich/followers","following_url":"https://api.github.com/users/sysrich/following{/other_user}","gists_url":"https://api.github.com/users/sysrich/gists{/gist_id}","starred_url":"https://api.github.com/users/sysrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysrich/subscriptions","organizations_url":"https://api.github.com/users/sysrich/orgs","repos_url":"https://api.github.com/users/sysrich/repos","events_url":"https://api.github.com/users/sysrich/events{/privacy}","received_events_url":"https://api.github.com/users/sysrich/received_events","type":"User","site_admin":false},"body":"same as above, why not use `become_root`?","created_at":"2015-08-18T22:03:10Z","updated_at":"2015-08-18T22:03:10Z","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/660#discussion_r37359478","pull_request_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660","_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/37359478"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/660#discussion_r37359478"},"pull_request":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660"}}},"pull_request":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660","id":42703007,"html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/660","diff_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/660.diff","patch_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/660.patch","issue_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/660","number":660,"state":"open","locked":false,"title":"Toolchain module tests","user":{"login":"dzedro","id":9447312,"avatar_url":"https://avatars.githubusercontent.com/u/9447312?v=3","gravatar_id":"","url":"https://api.github.com/users/dzedro","html_url":"https://github.com/dzedro","followers_url":"https://api.github.com/users/dzedro/followers","following_url":"https://api.github.com/users/dzedro/following{/other_user}","gists_url":"https://api.github.com/users/dzedro/gists{/gist_id}","starred_url":"https://api.github.com/users/dzedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzedro/subscriptions","organizations_url":"https://api.github.com/users/dzedro/orgs","repos_url":"https://api.github.com/users/dzedro/repos","events_url":"https://api.github.com/users/dzedro/events{/privacy}","received_events_url":"https://api.github.com/users/dzedro/received_events","type":"User","site_admin":false},"body":"Had to edit releasenotes.pm and  addon_products_sle.pm as toolchain iso is in development phase and is still missing license and release notes.\r\n\r\nhttp://10.100.98.90/tests/1487","created_at":"2015-08-18T14:11:41Z","updated_at":"2015-08-18T22:03:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92418ec76cda2ec1f87107d06da6bee922aebc43","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660/commits","review_comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660/comments","review_comment_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/660/comments","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/c0a25779bc8dd1feaa292d1706f6a0d47fd7330b","head":{"label":"dzedro:toolchain","ref":"toolchain","sha":"c0a25779bc8dd1feaa292d1706f6a0d47fd7330b","user":{"login":"dzedro","id":9447312,"avatar_url":"https://avatars.githubusercontent.com/u/9447312?v=3","gravatar_id":"","url":"https://api.github.com/users/dzedro","html_url":"https://github.com/dzedro","followers_url":"https://api.github.com/users/dzedro/followers","following_url":"https://api.github.com/users/dzedro/following{/other_user}","gists_url":"https://api.github.com/users/dzedro/gists{/gist_id}","starred_url":"https://api.github.com/users/dzedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzedro/subscriptions","organizations_url":"https://api.github.com/users/dzedro/orgs","repos_url":"https://api.github.com/users/dzedro/repos","events_url":"https://api.github.com/users/dzedro/events{/privacy}","received_events_url":"https://api.github.com/users/dzedro/received_events","type":"User","site_admin":false},"repo":{"id":29915424,"name":"os-autoinst-distri-opensuse","full_name":"dzedro/os-autoinst-distri-opensuse","owner":{"login":"dzedro","id":9447312,"avatar_url":"https://avatars.githubusercontent.com/u/9447312?v=3","gravatar_id":"","url":"https://api.github.com/users/dzedro","html_url":"https://github.com/dzedro","followers_url":"https://api.github.com/users/dzedro/followers","following_url":"https://api.github.com/users/dzedro/following{/other_user}","gists_url":"https://api.github.com/users/dzedro/gists{/gist_id}","starred_url":"https://api.github.com/users/dzedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzedro/subscriptions","organizations_url":"https://api.github.com/users/dzedro/orgs","repos_url":"https://api.github.com/users/dzedro/repos","events_url":"https://api.github.com/users/dzedro/events{/privacy}","received_events_url":"https://api.github.com/users/dzedro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dzedro/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":true,"url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/dzedro/os-autoinst-distri-opensuse/releases{/id}","created_at":"2015-01-27T13:32:45Z","updated_at":"2015-04-10T11:58:15Z","pushed_at":"2015-08-18T14:06:27Z","git_url":"git://github.com/dzedro/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:dzedro/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/dzedro/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/dzedro/os-autoinst-distri-opensuse","homepage":null,"size":4150,"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":"sle11"}},"base":{"label":"os-autoinst:master","ref":"master","sha":"7c9885ef167a5e853a36bb0100490704258a0dee","user":{"login":"os-autoinst","id":6918706,"avatar_url":"https://avatars.githubusercontent.com/u/6918706?v=3","gravatar_id":"","url":"https://api.github.com/users/os-autoinst","html_url":"https://github.com/os-autoinst","followers_url":"https://api.github.com/users/os-autoinst/followers","following_url":"https://api.github.com/users/os-autoinst/following{/other_user}","gists_url":"https://api.github.com/users/os-autoinst/gists{/gist_id}","starred_url":"https://api.github.com/users/os-autoinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/os-autoinst/subscriptions","organizations_url":"https://api.github.com/users/os-autoinst/orgs","repos_url":"https://api.github.com/users/os-autoinst/repos","events_url":"https://api.github.com/users/os-autoinst/events{/privacy}","received_events_url":"https://api.github.com/users/os-autoinst/received_events","type":"Organization","site_admin":false},"repo":{"id":17630288,"name":"os-autoinst-distri-opensuse","full_name":"os-autoinst/os-autoinst-distri-opensuse","owner":{"login":"os-autoinst","id":6918706,"avatar_url":"https://avatars.githubusercontent.com/u/6918706?v=3","gravatar_id":"","url":"https://api.github.com/users/os-autoinst","html_url":"https://github.com/os-autoinst","followers_url":"https://api.github.com/users/os-autoinst/followers","following_url":"https://api.github.com/users/os-autoinst/following{/other_user}","gists_url":"https://api.github.com/users/os-autoinst/gists{/gist_id}","starred_url":"https://api.github.com/users/os-autoinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/os-autoinst/subscriptions","organizations_url":"https://api.github.com/users/os-autoinst/orgs","repos_url":"https://api.github.com/users/os-autoinst/repos","events_url":"https://api.github.com/users/os-autoinst/events{/privacy}","received_events_url":"https://api.github.com/users/os-autoinst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":false,"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/releases{/id}","created_at":"2014-03-11T12:54:42Z","updated_at":"2015-05-08T14:52:21Z","pushed_at":"2015-08-18T16:29:43Z","git_url":"git://github.com/os-autoinst/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:os-autoinst/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse","homepage":null,"size":7480,"stargazers_count":3,"watchers_count":3,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":15,"forks":32,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/660"},"issue":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/660"},"comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/660/comments"},"review_comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660/comments"},"review_comment":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/660/commits"},"statuses":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/c0a25779bc8dd1feaa292d1706f6a0d47fd7330b"}}}}