{"action":"created","issue":{"url":"https://api.github.com/repos/bitrise-io/build.issues/issues/30","repository_url":"https://api.github.com/repos/bitrise-io/build.issues","labels_url":"https://api.github.com/repos/bitrise-io/build.issues/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/bitrise-io/build.issues/issues/30/comments","events_url":"https://api.github.com/repos/bitrise-io/build.issues/issues/30/events","html_url":"https://github.com/bitrise-io/build.issues/issues/30","id":194908982,"number":30,"title":"start-android-emulator does not complete","user":{"login":"shaunkawano","id":920911,"avatar_url":"https://avatars.githubusercontent.com/u/920911?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunkawano","html_url":"https://github.com/shaunkawano","followers_url":"https://api.github.com/users/shaunkawano/followers","following_url":"https://api.github.com/users/shaunkawano/following{/other_user}","gists_url":"https://api.github.com/users/shaunkawano/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunkawano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunkawano/subscriptions","organizations_url":"https://api.github.com/users/shaunkawano/orgs","repos_url":"https://api.github.com/users/shaunkawano/repos","events_url":"https://api.github.com/users/shaunkawano/events{/privacy}","received_events_url":"https://api.github.com/users/shaunkawano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-12T07:41:27Z","updated_at":"2016-12-12T08:47:30Z","closed_at":null,"body":"## Description of the issue\r\n\r\nI have tried to create and start android emulator, and `create-android-emulator` works just fine but `start-android-emulator` does not.\r\n\r\n## Environment:\r\n\r\n- Bitrise.io\r\n- Android & Docker, on Ubuntu 16.04\r\n\r\n__Which build Step causes the issue and which version of the step?__\r\n\r\n`start-android-emulator@1.1.0`\r\n\r\n## Reproducibility\r\n\r\n- _Does a \"Rebuild\" help? (You can trigger a rebuild from the Build's page, by clicking the \"Rebuild\" button in the top right corner of a finished build)_ : NO\r\n- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can *delete all the caches* on the `Settings` tab of the app](https://bitrise-io.github.io/devcenter/caching/about-caching/#downloading-and-deleting-caches)._ : NO\r\n- _If you have multiple different build configurations (workflows), does the issue affect all/more than one?_ : The workflow completely blocks the further steps to execute.\r\n- _If it's an issue which happens sporadically, what's the frequency? (e.g. Once a day ; about x% of the builds)_ : 100%\r\n- _Does upgrading the build Step to the latest version help?_ : NO\r\n- _When did the issue start?_ : I have tried the step today.\r\n\r\n## Build log\r\n\r\nHere is the partial yaml code I wrote for workflow:\r\n\r\n```\r\n- create-android-emulator@1.0.0:\r\n    inputs:\r\n    - name: 'android-24-armeabi-v7a'\r\n    - custom_hardware_profile_content: 'android-24'\r\n- start-android-emulator@1.1.0: {}\r\n```\r\n\r\nand here is the output log:\r\n\r\n```\r\n[34mConfigs:[0m\r\n  emulator_name: android-24-armeabi-v7a\r\n  emulator_skin: 768x1280\r\n  emulator_options: -no-boot-anim -no-audio -no-window\r\n  [deprecated!] other_options: \r\n\r\n[34mStarting emulator[0m\r\n  /opt/android-sdk-linux/tools/emulator64-arm -avd android-24-armeabi-v7a -skin 768x1280 -no-boot-anim -no-audio -no-window\r\nemulator: WARNING:    1: missing expected assignment operator (=). line ignored\r\nemulator: ERROR: no search paths found in this AVD's configuration.\r\nWeird, the AVD's config.ini file is malformed. Try re-creating it.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bitrise-io/build.issues/issues/comments/266372900","html_url":"https://github.com/bitrise-io/build.issues/issues/30#issuecomment-266372900","issue_url":"https://api.github.com/repos/bitrise-io/build.issues/issues/30","id":266372900,"user":{"login":"shaunkawano","id":920911,"avatar_url":"https://avatars.githubusercontent.com/u/920911?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunkawano","html_url":"https://github.com/shaunkawano","followers_url":"https://api.github.com/users/shaunkawano/followers","following_url":"https://api.github.com/users/shaunkawano/following{/other_user}","gists_url":"https://api.github.com/users/shaunkawano/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunkawano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunkawano/subscriptions","organizations_url":"https://api.github.com/users/shaunkawano/orgs","repos_url":"https://api.github.com/users/shaunkawano/repos","events_url":"https://api.github.com/users/shaunkawano/events{/privacy}","received_events_url":"https://api.github.com/users/shaunkawano/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T08:47:30Z","updated_at":"2016-12-12T08:47:30Z","body":"@viktorbenei Sorry about that; here is the full log from `create-android-emulator` till the workflow fails:\r\n\r\n```\r\nINFO[07:28:26] Switching to workflow: Create and start Android Emulator \r\n\r\n+------------------------------------------------------------------------------+\r\n| (0) create-android-emulator@1.0.0                                            |\r\n+------------------------------------------------------------------------------+\r\n| id: create-android-emulator                                                  |\r\n| version: 1.0.0                                                               |\r\n| collection: https://github.com/bitrise-io/bitrise-steplib.git                |\r\n| toolkit: go                                                                  |\r\n| time: 2016-12-12T07:28:27Z                                                   |\r\n+------------------------------------------------------------------------------+\r\n|                                                                              |\r\nINFO[07:28:27] Start installing (golang) with apt-get       \r\nINFO[07:28:27]  * [OK] Step dependency (go) installed, available. \r\n\r\nConfigs:\r\n- Name: android-24-armeabi-v7a\r\n- Platform: android-19\r\n- Abi: armeabi-v7a\r\n- Options: \r\n- CustomHardwareProfileContent:\r\n- AndroidHome: /opt/android-sdk-linux\r\nandroid-24\r\n\r\nCheck if platform installed\r\ninstalled: true\r\n\r\nCheck if system image installed\r\nchecking path: /opt/android-sdk-linux/system-images/android-19/armeabi-v7a\r\nchecking path: /opt/android-sdk-linux/system-images/android-19/default/armeabi-v7a\r\ninstalled: true\r\n\r\nCreating AVD image\r\n\r\n$ android \"create\" \"avd\" \"--force\" \"--name\" \"android-24-armeabi-v7a\" \"--target\" \"android-19\" \"--abi\" \"armeabi-v7a\"\r\n\r\nAndroid 4.4.2 is a basic Android platform.\r\nDo you wish to create a custom hardware profile [no]Created AVD 'android-24-armeabi-v7a' based on Android 4.4.2, ARM (armeabi-v7a) processor,\r\nwith the following hardware config:\r\nhw.lcd.density=240\r\nhw.ramSize=512\r\nvm.heapSize=48\r\n\r\nApplying custom hardware profile\r\nconfig.ini path: /root/.android/avd/android-24-armeabi-v7a.avd/config.ini\r\n\r\nEmaultor name is exported in environment variable: BITRISE_EMULATOR_NAME (value: android-24-armeabi-v7a)\r\n|                                                                              |\r\n+---+---------------------------------------------------------------+----------+\r\n| ✓ | create-android-emulator@1.0.0                                 | 21 sec   |\r\n+---+---------------------------------------------------------------+----------+\r\n\r\n                                          ▼\r\n\r\n+------------------------------------------------------------------------------+\r\n| (1) start-android-emulator@1.1.0                                             |\r\n+------------------------------------------------------------------------------+\r\n| id: start-android-emulator                                                   |\r\n| version: 1.1.0                                                               |\r\n| collection: https://github.com/bitrise-io/bitrise-steplib.git                |\r\n| toolkit: bash                                                                |\r\n| time: 2016-12-12T07:28:47Z                                                   |\r\n+------------------------------------------------------------------------------+\r\n|                                                                              |\r\n\r\nConfigs:\r\n  emulator_name: android-24-armeabi-v7a\r\n  emulator_skin: 768x1280\r\n  emulator_options: -no-boot-anim -no-audio -no-window\r\n  [deprecated!] other_options: \r\n\r\nStarting emulator\r\n  /opt/android-sdk-linux/tools/emulator64-arm -avd android-24-armeabi-v7a -skin 768x1280 -no-boot-anim -no-audio -no-window\r\nemulator: WARNING:    1: missing expected assignment operator (=). line ignored\r\nemulator: ERROR: no search paths found in this AVD's configuration.\r\nWeird, the AVD's config.ini file is malformed. Try re-creating it.\r\n\r\n```"}}
{"actor":{"display_login":"shaunkawano"}}