{"action":"opened","issue":{"url":"https://api.github.com/repos/bbc/hive-runner-android/issues/62","repository_url":"https://api.github.com/repos/bbc/hive-runner-android","labels_url":"https://api.github.com/repos/bbc/hive-runner-android/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/bbc/hive-runner-android/issues/62/comments","events_url":"https://api.github.com/repos/bbc/hive-runner-android/issues/62/events","html_url":"https://github.com/bbc/hive-runner-android/issues/62","id":160593908,"number":62,"title":"Device IDs are incorrect when HiveMind is unavailable","user":{"login":"jonpwilson","id":6515084,"avatar_url":"https://avatars.githubusercontent.com/u/6515084?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpwilson","html_url":"https://github.com/jonpwilson","followers_url":"https://api.github.com/users/jonpwilson/followers","following_url":"https://api.github.com/users/jonpwilson/following{/other_user}","gists_url":"https://api.github.com/users/jonpwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpwilson/subscriptions","organizations_url":"https://api.github.com/users/jonpwilson/orgs","repos_url":"https://api.github.com/users/jonpwilson/repos","events_url":"https://api.github.com/users/jonpwilson/events{/privacy}","received_events_url":"https://api.github.com/users/jonpwilson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-16T07:20:21Z","updated_at":"2016-06-16T07:20:21Z","closed_at":null,"body":"When you look in the [controller](https://github.com/bbc/hive-runner-android/blob/master/lib/hive/controller/android.rb#L77) you can see that the serial is used as the device ID. This causes an issue when results are submitted to the Scheduler as that ID is submitted as the device ID and so the scheduler linking points to the wrong device.\r\n\r\nThe screenshot below demonstrates this as the tests ran on the same device, twice. The difference being that during the first run, HiveMind was unavailable: \r\n<img width=\"478\" alt=\"screen shot 2016-06-16 at 08 18 40\" src=\"https://cloud.githubusercontent.com/assets/6515084/16108438/0a006f70-339b-11e6-9d1a-f408b3c263ae.png\">\r\n"}}
{"actor":{"display_login":"jonpwilson"}}