{"action":"closed","issue":{"url":"https://api.github.com/repos/openstf/stf/issues/646","repository_url":"https://api.github.com/repos/openstf/stf","labels_url":"https://api.github.com/repos/openstf/stf/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/openstf/stf/issues/646/comments","events_url":"https://api.github.com/repos/openstf/stf/issues/646/events","html_url":"https://github.com/openstf/stf/issues/646","id":242274993,"number":646,"title":"Device remains in preparation mode.","user":{"login":"suvansh-dev","id":28803640,"avatar_url":"https://avatars2.githubusercontent.com/u/28803640?v=3","gravatar_id":"","url":"https://api.github.com/users/suvansh-dev","html_url":"https://github.com/suvansh-dev","followers_url":"https://api.github.com/users/suvansh-dev/followers","following_url":"https://api.github.com/users/suvansh-dev/following{/other_user}","gists_url":"https://api.github.com/users/suvansh-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/suvansh-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suvansh-dev/subscriptions","organizations_url":"https://api.github.com/users/suvansh-dev/orgs","repos_url":"https://api.github.com/users/suvansh-dev/repos","events_url":"https://api.github.com/users/suvansh-dev/events{/privacy}","received_events_url":"https://api.github.com/users/suvansh-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-12T06:40:24Z","updated_at":"2017-07-12T06:43:49Z","closed_at":"2017-07-12T06:43:49Z","body":"Hi,\r\nI know that emulators are not supported yet but still if anyone can help me with the following issue:\r\n\r\nISSUE:\r\nThe emulator remains in preparing mode and never gets connected.\r\n\r\n**Emulator details:**\r\nDevice: Nexus 6\r\nOS: Marshmallow android 6.0 armeabi-v7a\r\nRam:1536 mb\r\nGraphics: Automatic\r\n\r\n**Command line output while connecting the emulator with STF:**\r\n\r\nFTL/device 12548 [emulator-5554] Setup had an error TimeoutError: operation timed out\r\n    at afterTimeout (/usr/local/lib/node_modules/stf/node_modules/adbkit/node_modules/bluebird/js/main/timers.js:11:15)\r\n    at timeoutTimeout (/usr/local/lib/node_modules/stf/node_modules/adbkit/node_modules/bluebird/js/main/timers.js:53:9)\r\n    at Timer.listOnTimeout (timers.js:119:15)\r\nFTL/util:lifecycle 12548 [emulator-5554] Shutting down due to fatal error\r\nINF/provider 11474 [*] Cleaning up device worker \"emulator-5554\"\r\nERR/provider 11474 [*] Device worker \"emulator-5554\" died with code 1\r\nINF/provider 11474 [*] Restarting device worker \"emulator-5554\"\r\nINF/device:support:push 12567 [emulator-5554] Sending output to \"tcp://127.0.0.1:7116\"\r\nINF/device 12567 [emulator-5554] Preparing device\r\nINF/device:support:sub 12567 [emulator-5554] Receiving input from \"tcp://127.0.0.1:7114\"\r\nINF/device:support:sub 12567 [emulator-5554] Subscribing to permanent channel \"*ALL\"\r\nINF/device:support:properties 12567 [emulator-5554] Loading properties\r\nINF/device:support:abi 12567 [emulator-5554] Supports ABIs armeabi-v7a, armeabi\r\nINF/device:resources:service 12567 [emulator-5554] Checking whether we need to install STFService\r\nINF/device:resources:service 12567 [emulator-5554] Installing STFService\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nWRN/device:resources:service 12567 [emulator-5554] STFService installation is taking a long time; perhaps you have to accept 3rd party app installation on the device?\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nWRN/device:resources:service 12567 [emulator-5554] STFService installation is taking a long time; perhaps you have to accept 3rd party app installation on the device?\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nINF/provider 11474 [*] Providing 0 of 1 device(s); waiting for \"emulator-5554\"\r\nWRN/device:resources:service 12567 [emulator-5554] STFService installation is taking a long time; perhaps you have to accept 3rd party app installation on the device?\r\nFTL/device 12567 [emulator-5554] Setup had an error TimeoutError: operation timed out\r\n    at Timer.listOnTimeout (timers.js:119:15)\r\nFrom previous event:\r\n    at /usr/local/lib/node_modules/stf/lib/units/device/resources/service.js:84:18\r\n    at processImmediate [as _immediateCallback] (timers.js:367:17)\r\nFTL/util:lifecycle 12567 [emulator-5554] Shutting down due to fatal error\r\nINF/provider 11474 [*] Cleaning up device worker \"emulator-5554\"\r\nERR/provider 11474 [*] Device worker \"emulator-5554\" died with code 1\r\nINF/provider 11474 [*] Restarting device worker \"emulator-5554\"\r\n\r\n\r\n\r\n \r\n\r\n"}}
{"actor":{"display_login":"suvansh-dev"}}