{"action":"created","comment":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/212560156","pull_request_review_id":149220490,"id":212560156,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjU2MDE1Ng==","diff_hunk":"@@ -157,4 +158,26 @@ sub reset_consoles_tty {\n     reset_consoles;\n }\n \n+# Assert read-only snapshot before migrated\n+# Assert screen 'linux-login' with 200s\n+# Workaround known issue: bsc#980337\n+# In this case try to select tty1 with multi-times then select root console\n+sub boot_into_ro_snapshot {\n+    if (!check_screen('linux-login', 200)) {\n+        record_soft_failure 'bsc#980337';\n+        my $retries = 10;\n+        for my $i (0 .. $retries) {\n+            send_key \"ctrl-alt-f1\";\n+            if (check_screen('tty1-selected', 5)) {\n+                last;\n+            }\n+            else {\n+                record_info('not in tty1', 'switch to tty1 failed', result => 'softfail');\n+            }\n+            die \"Boot into read-only snapshot failed over 5 minutes, considering a product issue\" if $i == $retries;\n+            sleep 10;","path":"lib/migration.pm","position":29,"original_position":29,"commit_id":"a0b98ab5b1db6e05bc6dee8562ffa688f6de8c84","original_commit_id":"a0b98ab5b1db6e05bc6dee8562ffa688f6de8c84","user":{"login":"rwx788","id":28305643,"node_id":"MDQ6VXNlcjI4MzA1NjQz","avatar_url":"https://avatars1.githubusercontent.com/u/28305643?v=4","gravatar_id":"","url":"https://api.github.com/users/rwx788","html_url":"https://github.com/rwx788","followers_url":"https://api.github.com/users/rwx788/followers","following_url":"https://api.github.com/users/rwx788/following{/other_user}","gists_url":"https://api.github.com/users/rwx788/gists{/gist_id}","starred_url":"https://api.github.com/users/rwx788/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwx788/subscriptions","organizations_url":"https://api.github.com/users/rwx788/orgs","repos_url":"https://api.github.com/users/rwx788/repos","events_url":"https://api.github.com/users/rwx788/events{/privacy}","received_events_url":"https://api.github.com/users/rwx788/received_events","type":"User","site_admin":false},"body":"You could also put this in checkscreen, and have timeout there, so we have chance to match it earlier.","created_at":"2018-08-24T08:43:13Z","updated_at":"2018-08-24T08:43:13Z","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5629#discussion_r212560156","pull_request_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/5629","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/comments/212560156"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5629#discussion_r212560156"},"pull_request":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/5629"}}},"pull_request":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/5629","id":210365299,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMzY1Mjk5","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5629","diff_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5629.diff","patch_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5629.patch","issue_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/5629","number":5629,"state":"open","locked":false,"title":"Switch to tty1 multi-times in ro snapshot","user":{"login":"mitiao","id":9360645,"node_id":"MDQ6VXNlcjkzNjA2NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/9360645?v=4","gravatar_id":"","url":"https://api.github.com/users/mitiao","html_url":"https://github.com/mitiao","followers_url":"https://api.github.com/users/mitiao/followers","following_url":"https://api.github.com/users/mitiao/following{/other_user}","gists_url":"https://api.github.com/users/mitiao/gists{/gist_id}","starred_url":"https://api.github.com/users/mitiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitiao/subscriptions","organizations_url":"https://api.github.com/users/mitiao/orgs","repos_url":"https://api.github.com/users/mitiao/repos","events_url":"https://api.github.com/users/mitiao/events{/privacy}","received_events_url":"https://api.github.com/users/mitiao/received_events","type":"User","site_admin":false},"body":"- To fix: https://openqa.suse.de/tests/1969085#step/snapper_rollback/1\r\n- Related ticket: https://progress.opensuse.org/issues/40154\r\n- Verification run: http://openqa-apac1.suse.de/tests/1587#step/snapper_rollback/3\r\n\r\nThis MAY fix some sporadic failures during booting read-only snapshot at snapper rollback stage.\r\nThe failure is hard to reproduce, sometimes it would not appear if we give another run.\r\n","created_at":"2018-08-23T08:14:29Z","updated_at":"2018-08-24T08:43:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9a1e012d2b84ca7f82d8a7ddb036f4533476aed","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/5629/commits","review_comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/5629/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/5629/comments","statuses_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/a0b98ab5b1db6e05bc6dee8562ffa688f6de8c84","head":{"label":"mitiao:poo#40154","ref":"poo#40154","sha":"a0b98ab5b1db6e05bc6dee8562ffa688f6de8c84","user":{"login":"mitiao","id":9360645,"node_id":"MDQ6VXNlcjkzNjA2NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/9360645?v=4","gravatar_id":"","url":"https://api.github.com/users/mitiao","html_url":"https://github.com/mitiao","followers_url":"https://api.github.com/users/mitiao/followers","following_url":"https://api.github.com/users/mitiao/following{/other_user}","gists_url":"https://api.github.com/users/mitiao/gists{/gist_id}","starred_url":"https://api.github.com/users/mitiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitiao/subscriptions","organizations_url":"https://api.github.com/users/mitiao/orgs","repos_url":"https://api.github.com/users/mitiao/repos","events_url":"https://api.github.com/users/mitiao/events{/privacy}","received_events_url":"https://api.github.com/users/mitiao/received_events","type":"User","site_admin":false},"repo":{"id":36909604,"node_id":"MDEwOlJlcG9zaXRvcnkzNjkwOTYwNA==","name":"os-autoinst-distri-opensuse","full_name":"mitiao/os-autoinst-distri-opensuse","owner":{"login":"mitiao","id":9360645,"node_id":"MDQ6VXNlcjkzNjA2NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/9360645?v=4","gravatar_id":"","url":"https://api.github.com/users/mitiao","html_url":"https://github.com/mitiao","followers_url":"https://api.github.com/users/mitiao/followers","following_url":"https://api.github.com/users/mitiao/following{/other_user}","gists_url":"https://api.github.com/users/mitiao/gists{/gist_id}","starred_url":"https://api.github.com/users/mitiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitiao/subscriptions","organizations_url":"https://api.github.com/users/mitiao/orgs","repos_url":"https://api.github.com/users/mitiao/repos","events_url":"https://api.github.com/users/mitiao/events{/privacy}","received_events_url":"https://api.github.com/users/mitiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitiao/os-autoinst-distri-opensuse","description":"os-autoinst test cases for openSUSE","fork":true,"url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse","forks_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/forks","keys_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/teams","hooks_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/hooks","issue_events_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/issues/events{/number}","events_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/events","assignees_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/assignees{/user}","branches_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/branches{/branch}","tags_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/tags","blobs_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/statuses/{sha}","languages_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/languages","stargazers_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/stargazers","contributors_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/contributors","subscribers_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/subscribers","subscription_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/subscription","commits_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/contents/{+path}","compare_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/merges","archive_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/downloads","issues_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/issues{/number}","pulls_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/pulls{/number}","milestones_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/milestones{/number}","notifications_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/labels{/name}","releases_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/releases{/id}","deployments_url":"https://api.github.com/repos/mitiao/os-autoinst-distri-opensuse/deployments","created_at":"2015-06-05T03:23:13Z","updated_at":"2018-08-23T04:30:31Z","pushed_at":"2018-08-23T08:34:03Z","git_url":"git://github.com/mitiao/os-autoinst-distri-opensuse.git","ssh_url":"git@github.com:mitiao/os-autoinst-distri-opensuse.git","clone_url":"https://github.com/mitiao/os-autoinst-distri-opensuse.git","svn_url":"https://github.com/mitiao/os-autoinst-distri-opensuse","homepage":null,"size":91802,"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":"1fb8d23288527c31b7c84c3a332fc61c9627f943","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","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},"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}","deployments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/deployments","created_at":"2014-03-11T12:54:42Z","updated_at":"2018-08-24T06:29:20Z","pushed_at":"2018-08-24T08:42:53Z","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":91998,"stargazers_count":32,"watchers_count":32,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":139,"mirror_url":null,"archived":false,"open_issues_count":52,"license":null,"forks":139,"open_issues":52,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/5629"},"html":{"href":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5629"},"issue":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/5629"},"comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/5629/comments"},"review_comments":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/5629/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/5629/commits"},"statuses":{"href":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/statuses/a0b98ab5b1db6e05bc6dee8562ffa688f6de8c84"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rwx788"}}