{"action":"created","comment":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/244289520","pull_request_review_id":188253203,"id":244289520,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDI4OTUyMA==","diff_hunk":"@@ -19,11 +19,27 @@\n use strict;\n use base 'console_yasttest';\n use testapi;\n+use version_utils 'is_sle';\n \n sub run {\n     my $self = shift;\n     assert_script_run 'rm -f /root/autoinst.xml';\n-    assert_script_run 'yast2 --ncurses clone_system', 400;\n+    script_run('(yast2 --ncurses clone_system;echo ZYPPER-DONE) | tee /dev/$serialdev', 0);\n+    # precompile regexes\n+    my $zypper_done  = qr/^ZYPPER-DONE/m;\n+    my $clone_checks = [$zypper_done];\n+    my $timeout      = 400;\n+    if (is_sle('15+') && check_screen 'autoyast2-install-accept', 30) {\n+        assert_screen 'autoyast2-install-accept';\n+        send_key 'alt-i';\n+    }\n+    my $out = wait_serial($clone_checks, $timeout);\n+    while ($out) {\n+        if ($out =~ $zypper_done) {\n+            last;\n+        }\n+        $out = wait_serial($clone_checks, $timeout);\n+    }","path":"tests/autoyast/clone.pm","position":null,"original_position":31,"commit_id":"a86a357a6c19bbf9fa0093853834d68823bc8c6e","original_commit_id":"21d5cf464a7f2b65eaee073383ab7f339c556ed0","user":{"login":"lemon-suse","id":34636462,"node_id":"MDQ6VXNlcjM0NjM2NDYy","avatar_url":"https://avatars1.githubusercontent.com/u/34636462?v=4","gravatar_id":"","url":"https://api.github.com/users/lemon-suse","html_url":"https://github.com/lemon-suse","followers_url":"https://api.github.com/users/lemon-suse/followers","following_url":"https://api.github.com/users/lemon-suse/following{/other_user}","gists_url":"https://api.github.com/users/lemon-suse/gists{/gist_id}","starred_url":"https://api.github.com/users/lemon-suse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemon-suse/subscriptions","organizations_url":"https://api.github.com/users/lemon-suse/orgs","repos_url":"https://api.github.com/users/lemon-suse/repos","events_url":"https://api.github.com/users/lemon-suse/events{/privacy}","received_events_url":"https://api.github.com/users/lemon-suse/received_events","type":"User","site_admin":false},"body":"Updated code and verified log: http://openqa-apac1.suse.de/tests/3011#step/clone/4","created_at":"2018-12-28T09:32:58Z","updated_at":"2018-12-28T09:32:58Z","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6456#discussion_r244289520","pull_request_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/6456","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/244289520"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6456#discussion_r244289520"},"pull_request":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/6456"}},"in_reply_to_id":244278076},"pull_request":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/6456","id":241265981,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMjY1OTgx","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6456","diff_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6456.diff","patch_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6456.patch","issue_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/6456","number":6456,"state":"open","locked":false,"title":"Assert needle to install autoyast2 for clone_system","user":{"login":"lemon-suse","id":34636462,"node_id":"MDQ6VXNlcjM0NjM2NDYy","avatar_url":"https://avatars1.githubusercontent.com/u/34636462?v=4","gravatar_id":"","url":"https://api.github.com/users/lemon-suse","html_url":"https://github.com/lemon-suse","followers_url":"https://api.github.com/users/lemon-suse/followers","following_url":"https://api.github.com/users/lemon-suse/following{/other_user}","gists_url":"https://api.github.com/users/lemon-suse/gists{/gist_id}","starred_url":"https://api.github.com/users/lemon-suse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemon-suse/subscriptions","organizations_url":"https://api.github.com/users/lemon-suse/orgs","repos_url":"https://api.github.com/users/lemon-suse/repos","events_url":"https://api.github.com/users/lemon-suse/events{/privacy}","received_events_url":"https://api.github.com/users/lemon-suse/received_events","type":"User","site_admin":false},"body":"After run the 'yast2 --ncurses clone_system' on SLE15, it will be required to install package 'autoyast2', so add needle to assert to install 'autoyast2' here.\r\n\r\n- Related ticket: https://progress.opensuse.org/issues/45095\r\n- Needles: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/1034\r\n- Verification run: http://openqa-apac1.suse.de/tests/3006#step/clone/3\r\n","created_at":"2018-12-28T05:12:34Z","updated_at":"2018-12-28T09:32:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84b8ea2a5839c02feb161bf20faec4fa497e4b10","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/6456/commits","review_comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/6456/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/6456/comments","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/a86a357a6c19bbf9fa0093853834d68823bc8c6e","head":{"label":"lemon-suse:clone_update_to_assert_install_autoyast2","ref":"clone_update_to_assert_install_autoyast2","sha":"a86a357a6c19bbf9fa0093853834d68823bc8c6e","user":{"login":"lemon-suse","id":34636462,"node_id":"MDQ6VXNlcjM0NjM2NDYy","avatar_url":"https://avatars1.githubusercontent.com/u/34636462?v=4","gravatar_id":"","url":"https://api.github.com/users/lemon-suse","html_url":"https://github.com/lemon-suse","followers_url":"https://api.github.com/users/lemon-suse/followers","following_url":"https://api.github.com/users/lemon-suse/following{/other_user}","gists_url":"https://api.github.com/users/lemon-suse/gists{/gist_id}","starred_url":"https://api.github.com/users/lemon-suse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemon-suse/subscriptions","organizations_url":"https://api.github.com/users/lemon-suse/orgs","repos_url":"https://api.github.com/users/lemon-suse/repos","events_url":"https://api.github.com/users/lemon-suse/events{/privacy}","received_events_url":"https://api.github.com/users/lemon-suse/received_events","type":"User","site_admin":false},"repo":{"id":115696511,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU2OTY1MTE=","name":"os-autoinst-distri-opensuse","full_name":"lemon-suse/os-autoinst-distri-opensuse","private":false,"owner":{"login":"lemon-suse","id":34636462,"node_id":"MDQ6VXNlcjM0NjM2NDYy","avatar_url":"https://avatars1.githubusercontent.com/u/34636462?v=4","gravatar_id":"","url":"https://api.github.com/users/lemon-suse","html_url":"https://github.com/lemon-suse","followers_url":"https://api.github.com/users/lemon-suse/followers","following_url":"https://api.github.com/users/lemon-suse/following{/other_user}","gists_url":"https://api.github.com/users/lemon-suse/gists{/gist_id}","starred_url":"https://api.github.com/users/lemon-suse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemon-suse/subscriptions","organizations_url":"https://api.github.com/users/lemon-suse/orgs","repos_url":"https://api.github.com/users/lemon-suse/repos","events_url":"https://api.github.com/users/lemon-suse/events{/privacy}","received_events_url":"https://api.github.com/users/lemon-suse/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lemon-suse/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":true,"url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/releases{/id}","deployments_url":"https://api.github.com/repos/lemon-suse/os-autoinst-distri-opensuse/deployments","created_at":"2017-12-29T07:00:26Z","updated_at":"2018-12-07T03:11:16Z","pushed_at":"2018-12-28T09:32:13Z","git_url":"git://github.com/lemon-suse/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:lemon-suse/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/lemon-suse/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/lemon-suse/os-autoinst-distri-opensuse","homepage":"https://progress.opensuse.org/projects/openqatests/issues","size":99474,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"os-autoinst:master","ref":"master","sha":"6c35d5c4dede928a934703d6ba9c36b8f05ddb4a","user":{"login":"os-autoinst","id":6918706,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MTg3MDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6918706?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYzMDI4OA==","name":"os-autoinst-distri-opensuse","full_name":"os-autoinst/os-autoinst-distri-opensuse","private":false,"owner":{"login":"os-autoinst","id":6918706,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MTg3MDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6918706?v=4","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},"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}","deployments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/deployments","created_at":"2014-03-11T12:54:42Z","updated_at":"2018-12-28T08:45:36Z","pushed_at":"2018-12-28T09:32:15Z","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":"https://progress.opensuse.org/projects/openqatests/issues","size":99504,"stargazers_count":35,"watchers_count":35,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":156,"mirror_url":null,"archived":false,"open_issues_count":48,"license":null,"forks":156,"open_issues":48,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/6456"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6456"},"issue":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/6456"},"comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/6456/comments"},"review_comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/6456/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/6456/commits"},"statuses":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/a86a357a6c19bbf9fa0093853834d68823bc8c6e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lemon-suse"}}